f6a03715da8d7df30d2441f6ecdbd45f903ed31e
[platform/upstream/glibc.git] / ChangeLog
1 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2
3         * nptl/version.c (__nptl_main): Use normal __write rather than
4         INTERNAL_SYSCALL.
5         (banner): Update copyright years.
6
7         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8         gettimeofday.
9         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10         * nptl/pthread_cond_timedwait.c: Likewise.
11         * nptl/pthread_mutex_timedlock.c: Likewise.
12         * nptl/sem_timedwait.c: Likewise.
13
14         * sysdeps/nptl/bits/libc-lock.h
15         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16         (__libc_lock_init_recursive): Return void, not 0.
17         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
18         (__libc_rwlock_init): Likewise.
19         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20
21 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22
23         [BZ #15215]
24         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
25         (__pthread_once_slow): ... here.
26         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28
29 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30
31         [BZ #15215]
32         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
33         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34         * sysdeps/nptl/fork.c (__libc_fork): Use them.
35         * nptl/pthread_once.c (__pthread_once): Likewise.
36         Update comments.
37
38 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39
40         [BZ #14138]
41         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
42         name.
43         (writev): Use __libc_writev as strong name.
44         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45         * sysdeps/unix/sysv/linux/writev.c: Likewise.
46
47 2014-10-17  Roland McGrath  <roland@hack.frob.com>
48
49         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
50
51         * sysdeps/i386/nptl/tls.h
52         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
53         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
54         New macros.
55         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
56         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
57         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
58         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
59         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
60         Call CHECK_THREAD_SYSINFO instead of doing an assert.
61
62         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
63         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
64         on [__NR_futex].
65         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
66         broken out of ...
67         (__pthread_mutex_init): ... here.  Call it.
68         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
69         Conditionalize PI cases on [__NR_futex].
70         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
71         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
72         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
73
74         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
75         conditional on [SIGSETXID].
76         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
77         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
78         is defined.  Likewise for SIGSETXID.
79         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
80         Conditionalize definitions on [SIGSETXID].
81         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
82         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
83         unblocking on [SIGCANCEL].
84
85         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
86         [__NR_set_robust_list].
87
88 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
89
90         * string/strcoll_l.c (get_next_seq): Fix up formatting.
91         (do_compare): Likewise.
92
93 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
94
95         [BZ #15884]
96         * string/strcoll_l.c: Don't include stdio.h.
97         (coll_seq): Remove members idxarr and rulearr.
98         (get_next_seq_cached): Remove function.
99         (get_next_seq): Likewise.
100         (get_next_seq_nocache): Rename to get_next_seq.
101         (do_compare): Remove function.
102         (do_compare_nocache): Rename to do_compare.
103         (STRCOLL): Remove weight and rules cache.
104
105 2014-10-16  Roland McGrath  <roland@hack.frob.com>
106
107         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
108         * sysdeps/arm/sfp-machine.h: ... to here.
109         * sysdeps/arm/Implies: Remove arm/soft-fp.
110
111 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
112
113         * conform/data/sys/utsname.h-data (*_t): Allow.
114         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
115         [POSIX] (WEXITED): Do not expect constant.
116         [POSIX] (WSTOPPED): Likewise.
117         [POSIX] (WNOHANG): Likewise.
118         [POSIX] (WNOWAIT): Likewise.
119         [POSIX] (siginfo_t): Do not expect type or elements.
120         [POSIX] (pid_t): Do not expect type.
121         [POSIX] (signal.h): Do not allow header.
122         [POSIX] (sys/resource.h): Likewise.
123         [POSIX] (si_*): Do not allow pattern.
124         [POSIX] (W*): Likewise.
125         [POSIX] (P_*): Likewise.
126         [POSIX] (BUS_*): Likewise.
127         [POSIX] (CLD_*): Likewise.
128         [POSIX] (FPE_*): Likewise.
129         [POSIX] (ILL_*): Likewise.
130         [POSIX] (POLL_*): Likewise.
131         [POSIX] (SEGV_*): Likewise.
132         [POSIX] (SI_*): Likewise.
133         [POSIX] (TRAP_*): Likewise.
134         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
135         variable.
136
137 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
138
139         [BZ #12926]
140         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
141         infinite loop when __recvmsg returns 0.
142
143 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
144
145         * CANCEL-FCT-WAIVE: Remove file.
146         * CANCEL-FILE-WAIVE: Likewise.
147
148         [BZ #14132]
149         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
150         instead of INTVARDEF.
151         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
152         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
153         rtld_hidden_data_def instead of INTVARDEF.
154         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
155         * elf/dl-deps.c (expand_dst): Likewise.
156         * elf/dl-load.c (_dl_dst_count): Likewise.
157         (_dl_dst_substitute): Likewise.
158         (decompose_rpath): Likewise.
159         (_dl_init_paths): Likewise.
160         (open_path): Likewise.
161         (_dl_map_object): Likewise.
162         * elf/rtld.c (dl_main): Likewise.
163         (process_dl_audit): Likewise.
164         (process_envvars): Likewise.
165         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
166         Remove declaration.
167         (__libc_enable_secure): Use rtld_hidden_proto.
168
169 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
170
171         * elf/dl-load.c
172         (add_path): New function broken out of _dl_rtld_di_serinfo.
173         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
174
175 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
176
177         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
178         parentheses around macro arguments.
179         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
180         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
181         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
182         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
183         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
184         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
185         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
186         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
187         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
188         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
189         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
190         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
191         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
192         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
193         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
194         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
195         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
196         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
197         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
198         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
199         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
204         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
208         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
209         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
210         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
211         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
212         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
213         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
214         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
215         Likewise.
216         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
217         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
218         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
220         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
221         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
223         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
224         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
225         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
226         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
227         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
228         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
230         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
231         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
232         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
233         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
234         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
235         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
236         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
237         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
238         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
239         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
240         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
241         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
242         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
243         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
244         (_FP_FRAC_SRS_1): Likewise.
245         (_FP_FRAC_CLZ_1): Likewise.
246         (_FP_MUL_MEAT_1_imm): Likewise.
247         (_FP_MUL_MEAT_1_wide): Likewise.
248         (_FP_MUL_MEAT_1_hard): Likewise.
249         (_FP_SQRT_MEAT_1): Likewise.
250         (_FP_FRAC_ASSEMBLE_1): Likewise.
251         (_FP_FRAC_DISASSEMBLE_1): Likewise.
252         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
253         (__FP_CLZ_2): Likewise.
254         (_FP_MUL_MEAT_2_wide): Likewise.
255         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
256         (_FP_MUL_MEAT_2_gmp): Likewise.
257         (_FP_MUL_MEAT_2_120_240_double): Likewise.
258         (_FP_SQRT_MEAT_2): Likewise.
259         (_FP_FRAC_ASSEMBLE_2): Likewise.
260         (_FP_FRAC_DISASSEMBLE_2): Likewise.
261         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
262         (_FP_FRAC_CLZ_4): Likewise.
263         (_FP_MUL_MEAT_4_wide): Likewise.
264         (_FP_MUL_MEAT_4_gmp): Likewise.
265         (_FP_SQRT_MEAT_4): Likewise.
266         (_FP_FRAC_ASSEMBLE_4): Likewise.
267         (_FP_FRAC_DISASSEMBLE_4): Likewise.
268         * soft-fp/op-common.h (_FP_CMP): Likewise.
269         (_FP_CMP_EQ): Likewise.
270         (_FP_CMP_UNORD): Likewise.
271         (_FP_TO_INT): Likewise.
272         (_FP_FROM_INT): Likewise.
273         [!__FP_CLZ] (__FP_CLZ): Likewise.
274         (_FP_DIV_HELP_imm): Likewise.
275         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
276         Likewise.
277         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
278         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
279         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
280         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
282         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
283         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
284         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
288         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
289         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
290         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
291         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
292         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
293         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
294         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
295         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
296         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
297         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
298         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
299         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
300         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
302         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
306         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
307         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
308         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
309         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
310         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
311         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
312         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
313         (FP_UNPACK_RAW_SP): Likewise.
314         (FP_PACK_RAW_S): Likewise.
315         (FP_PACK_RAW_SP): Likewise.
316         (FP_UNPACK_S): Likewise.
317         (FP_UNPACK_SP): Likewise.
318         (FP_UNPACK_SEMIRAW_S): Likewise.
319         (FP_UNPACK_SEMIRAW_SP): Likewise.
320         (FP_PACK_S): Likewise.
321         (FP_PACK_SP): Likewise.
322         (FP_PACK_SEMIRAW_S): Likewise.
323         (FP_PACK_SEMIRAW_SP): Likewise.
324         (_FP_SQRT_MEAT_S): Likewise.
325         (FP_CMP_S): Likewise.
326         (FP_CMP_EQ_S): Likewise.
327         (FP_CMP_UNORD_S): Likewise.
328         (FP_TO_INT_S): Likewise.
329         (FP_FROM_INT_S): Likewise.
330
331         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
332
333         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
334         (FP_EX_INVALID_IMZ): Likewise.
335         (FP_EX_INVALID_IMZ_FMA): Likewise.
336         (FP_EX_INVALID_ISI): Likewise.
337         (FP_EX_INVALID_ZDZ): Likewise.
338         (FP_EX_INVALID_IDI): Likewise.
339         (FP_EX_INVALID_SQRT): Likewise.
340         (FP_EX_INVALID_CVI): Likewise.
341         (FP_EX_INVALID_VC): Likewise.
342         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
343         "invalid" exceptions.
344         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
345         (_FP_ADD_INTERNAL): Likewise.
346         (_FP_MUL): Likewise.
347         (_FP_FMA): Likewise.
348         (_FP_DIV): Likewise.
349         (_FP_CMP_CHECK_NAN): Likewise.
350         (_FP_SQRT): Likewise.
351         (_FP_TO_INT): Likewise.
352         (FP_EXTEND): Likewise.
353
354 2014-10-09  Allan McRae  <allan@archlinux.org>
355
356         * po/fr.po: Update French translation from translation project.
357
358 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
359
360         [BZ #14132]
361         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
362         of INTDEF.
363         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
364         (__cxa_atexit): Use libc_hidden_proto.
365         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
366
367         [BZ #14132]
368         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
369         declaration.
370         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
371         [!_ISOMAC] (__iswspace_l_internal): Likewise.
372         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
373         [!_ISOMAC] (__iswctype_internal): Likewise.
374         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
375         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
376         alias.
377         (fcntl): Remove __fcntl_internal alias.
378         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
379         __connect_internal alias.
380         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
381         Likewise.
382
383         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
384         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
385         FP_DENORM_ZERO.
386         (_FP_CHECK_FLUSH_ZERO): New macro.
387         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
388         (_FP_CMP): Likewise.
389         (_FP_CMP_EQ): Likewise.
390         (_FP_TO_INT): Do not set inexact for subnormal arguments if
391         FP_DENORM_ZERO.
392         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
393         (FP_TRUNC): Likewise.
394
395         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
396         treated as invalid conversion, not as normal exponent.
397
398         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
399         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
400         (_FP_CMP_EQ): Likewise.
401         (_FP_CMP_UNORD): Likewise.
402         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
403         (FP_CMP_EQ_D): Likewise.
404         (FP_CMP_UNORD_D): Likewise.
405         * soft-fp/extended.h (FP_CMP_E): Likewise.
406         (FP_CMP_EQ_E): Likewise.
407         (FP_CMP_UNORD_E): Likewise.
408         * soft-fp/quad.h (FP_CMP_Q): Likewise.
409         (FP_CMP_EQ_Q): Likewise.
410         (FP_CMP_UNORD_Q): Likewise.
411         * soft-fp/single.h (FP_CMP_S): Likewise.
412         (FP_CMP_EQ_S): Likewise.
413         (FP_CMP_UNORD_S): Likewise.
414         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
415         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
416         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
417         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
418         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
419         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
420         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
421         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
422         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
423         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
424         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
425         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
426         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
427         to FP_CMP_Q.
428         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
429         FP_CMP_Q.
430         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
431         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
432         FP_CMP_EQ_Q.
433         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
434         FP_CMP_Q.
435         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
436         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
437         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
438         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
439         FP_CMP_EQ_Q.
440         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
441         FP_CMP_Q.
442         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
443         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
444         FP_CMP_EQ_Q.
445         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
446         FP_CMP_Q.
447         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
448         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
449         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
450         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
451         FP_CMP_EQ_Q.
452
453         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
454         a subnormal result, set the underflow exception if trapping on
455         underflow is enabled.
456         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
457         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
458         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
459         redefine to 0.
460         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
461         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
462         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
463         * soft-fp/extendxftf2.c (__extendxftf2): Use
464         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
465
466         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
467         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
468         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
469         FP_HANDLE_EXCEPTIONS.
470         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
471         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
472         FP_HANDLE_EXCEPTIONS.
473         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
474         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
475         FP_HANDLE_EXCEPTIONS.
476         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
477         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
478         FP_HANDLE_EXCEPTIONS.
479
480 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
481
482         [BZ #14132]
483         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
484         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
485         use INTUSE.
486         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
487         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
488         Remove alias.
489         (__adjtimex): Define using libc_hidden_ver.
490         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
491         Remove declaration.
492         (ntp_gettime): Call __adjtimex directly.
493         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
494         Remove declaration.
495         (ntp_gettimex): Call __adjtimex directly.
496         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
497         __adjtimex_internal alias.
498
499 2014-10-08  Roland McGrath  <roland@hack.frob.com>
500
501         [BZ #17460]
502         * nscd/nscd.c (more_help): Rewrite list of tables collection
503         using xstrdup and asprintf.
504
505         * nscd/nscd_conf.c: Remove local xstrdup declaration.
506
507 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
508             Roland McGrath  <roland@hack.frob.com>
509
510         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
511         (do_lookup_unique): ... local function 'enter' here; update callers.
512
513 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
514
515         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
516         compat_symbol calls on [SHARED].
517         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
518         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
519         Remove.
520         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
521         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
522         (oldsetrlimit): Remove.
523         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
525         (lchown): New syscall entry.
526         (oldsetrlimit): Remove.
527         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
528         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
529         (oldsetrlimit): Remove.
530         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
531
532         [BZ #14138]
533         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
534         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
535         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
536         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
537         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
538         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
539         (fchown): Likewise.
540         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
541         (fchown): Likewise.
542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
543         Likewise.
544
545 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
546
547         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
548         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
549         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
550         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
551         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
552         Likewise.
553         (__old_sem_post): Likewise.
554
555 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
556
557         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
558         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
559         HAVE_CLOCK_GETTIME_VSYSCALL macros.
560         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
561         Use INLINE_VSYSCALL macro.
562         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
563         __vdso_clock_gettime.
564         * sysdeps/unix/sysv/linux/tile/init-first.c
565         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
566         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
567         __vdso_clock_gettime.
568
569         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
570         to set up frame more cleanly.
571
572         * sysdeps/tile/memcmp.c: New file.
573
574         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
575
576         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
577         * sysdeps/tile/tilegx/strcasestr.c: New file.
578         * sysdeps/tile/tilegx/strnlen.c: New file.
579         * sysdeps/tile/tilegx/strstr.c: New file.
580
581         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
582
583 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
584
585         * nptl/tst-setuid3.c: Write errors to stdout.
586
587 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
588
589         * elf/dl-deps.c
590         (preload): New functions broken out of _dl_map_object_deps.
591         (_dl_map_object_deps):  Remove a nested function. Update call sites.
592
593 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
594
595         [BZ #14138]
596         * sysdeps/unix/sysv/linux/execve.c: Remove file.
597         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
598
599 2014-10-01  Steve Ellcey  <sellcey@mips.com>
600
601         * sysdeps/mips/strcmp.S: New.
602
603 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
604
605         [BZ #14138]
606         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
607         (linkat): Likewise.
608         (mkdirat): Likewise.
609         (readlinkat): Likewise.
610         (renameat): Likewise.
611         (symlinkat): Likewise.
612         (unlinkat): Likewise.
613         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
614         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
615         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
616         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
617         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
618         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
619         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
620
621 2014-09-30  Will Newton  <will.newton@linaro.org>
622
623         * math/math.h: Define long double math functions if
624         _LIBC_TEST is defined.
625         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
626
627         * localedata/Makefile: Move assignment to tests-special
628         into an ifdef testing run-built-tests.
629         * timezone/Makefile: Likewise.
630
631 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
632
633         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
634         with $(BASH) not $(SHELL).
635
636 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
637             Matthew LeGendre  <legendre1@llnl.gov>
638
639         [BZ #17411]
640         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
641         l_reloc_result.
642
643 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
644
645         * stdio-common/printf_fp.c
646         (hack_digit): New function, broken out of ...
647         (__printf_fp): ... local function here.  Update call sites.
648         hack_digit now takes an additional parameter that is a pointer
649         to a struct of the referenced locals.  Those locals moved inside
650         the struct and references updated.
651
652 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
653
654         * aclocal.m4: Require autoconf 2.69.
655         * configure: Regenerated.
656         * sysdeps/aarch64/configure: Likewise.
657         * sysdeps/alpha/configure: Likewise.
658         * sysdeps/arm/armv7/configure: Likewise.
659         * sysdeps/arm/configure: Likewise.
660         * sysdeps/ia64/configure: Likewise.
661         * sysdeps/mach/configure: Likewise.
662         * sysdeps/mips/configure: Likewise.
663         * sysdeps/s390/configure: Likewise.
664         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
666
667         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
668         file.
669         * sysdeps/ia64/configure.ac: Likewise.
670
671 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
672
673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
674         specify symbol version for ld.so.  Do not include entry for
675         libpthread.
676         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
677         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
678         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
679
680         [BZ #14171]
681         * Makeconfig [$(build-shared) = yes]
682         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
683         makefiles.
684         [$(build-shared) = yes && $(soversions.mk-done) = t]
685         ($(common-objpfx)gnu/lib-names.h): Remove rule.
686         [$(build-shared) = yes && $(soversions.mk-done) = t]
687         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
688         to Makerules.
689         [$(build-shared) = yes && $(soversions.mk-done) = t]
690         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
691         here.
692         [$(build-shared) = yes && $(soversions.mk-done) = t]
693         (common-generated): Don't append gnu/lib-names.h and
694         gnu/lib-names.stmp here.
695         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
696         (lib-names-h-abi): New variable.
697         [$(build-shared) = yes && $(soversions.mk-done) = t]
698         (lib-names-stmp-abi): Likewise.
699         [$(build-shared) = yes && $(soversions.mk-done) = t &&
700         abi-variants] (before-compile): Append
701         $(common-objpfx)$(lib-names-h-abi).
702         [$(build-shared) = yes && $(soversions.mk-done) = t &&
703         abi-variants] (common-generated): Append gnu/lib-names.h.
704         [$(build-shared) = yes && $(soversions.mk-done) = t &&
705         abi-variants] (install-others-nosubdir): Depend on
706         $(inst_includedir)/$(lib-names-h-abi).
707         [$(build-shared) = yes && $(soversions.mk-done) = t &&
708         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
709         [$(build-shared) = yes && $(soversions.mk-done) = t]
710         ($(common-objpfx)$(lib-names-h-abi)): New rule.
711         [$(build-shared) = yes && $(soversions.mk-done) = t]
712         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
713         [$(build-shared) = yes && $(soversions.mk-done) = t]
714         (common-generated): Append $(lib-names-h-abi) and
715         $(lib-names-stmp-abi).
716         * scripts/lib-names.awk: Do not handle multi being set.
717         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
718         Remove variable.
719         (abi-lp64_be-ld-soname): Likewise.
720         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
721         Likewise.
722         (abi-hard-ld-soname): Likewise.
723         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
724         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
725         Remove variable.
726         (abi-o32_hard-ld-soname): Likewise.
727         (abi-o32_soft_2008-ld-soname): Likewise.
728         (abi-o32_hard_2008-ld-soname): Likewise.
729         (abi-n32_soft-ld-soname): Likewise.
730         (abi-n32_hard-ld-soname): Likewise.
731         (abi-n32_soft_2008-ld-soname): Likewise.
732         (abi-n32_hard_2008-ld-soname): Likewise.
733         (abi-n64_soft-ld-soname): Likewise.
734         (abi-n64_hard-ld-soname): Likewise.
735         (abi-n64_soft_2008-ld-soname): Likewise.
736         (abi-n64_hard_2008-ld-soname): Likewise.
737         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
738         Likewise.
739         (abi-64-v2-ld-soname): Likewise.
740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
741         ld.so entries.
742         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
743         variable.
744         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
745         entry.
746         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
747         variable.
748         (abi-64-ld-soname): Likewise.
749         (abi-x32-ld-soname): Likewise.
750         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
751         entry.
752         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
753
754 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
755
756         [BZ #14138]
757         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
758         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
759         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
760         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
761         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
762         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
763         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
764         syscall entry for GLIBC_2.2 symbol version.
765         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
766         Likewise.
767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
768         (setrlimit): Likewise.
769         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
770         Likewise.
771
772 2014-09-23  Will Newton  <will.newton@linaro.org>
773
774         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
775         _LINUX_ARM_SYSDEP_H include guard too.
776         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
777         define.
778
779 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
780
781         * sysdeps/unix/sysv/linux/eventfd.c:
782         Make first argument unsigned.
783         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
784         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
785
786 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
787
788         * socket/recvmmsg.c (recvmmsg): Drop const argument.
789         * socket/sys/socket.h: Likewise
790         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
791
792 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
793
794         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
795
796 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
797
798         * time/tst-ftime.c: New test.
799         * time/Makefile (tests): Add tst-ftime.
800
801 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
802
803         * soft-fp/extended.h: Fix comment formatting.
804         * soft-fp/op-1.h: Likewise.
805         * soft-fp/op-2.h: Likewise.
806         * soft-fp/op-4.h: Likewise.
807         * soft-fp/op-8.h: Likewise.
808         * soft-fp/op-common.h: Likewise.
809         * soft-fp/soft-fp.h: Likewise.
810
811         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
812
813 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
814
815         [BZ #6652]
816         * Makeconfig (soversions-default-setname): Remove variable.
817         ($(common-objpfx)soversions.i): Don't pass default_setname to
818         soversions.awk.
819         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
820         oldest_abi to abi-versions.awk.
821         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
822         * config.make.in (oldest-abi): Remove variable.
823         * configure.ac (--enable-oldest-abi): Remove configure option.
824         * configure: Regenerated.
825         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
826         text.
827         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
828         * scripts/soversions.awk: Do not handle default_setname variable.
829         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
830         variable.
831         * sysdeps/mach/hurd/configure: Regenerated.
832         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
833         variable.
834         * sysdeps/unix/sysv/linux/configure: Regenerated.
835
836 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
837
838         * elf/Makefile (CFLAGS-interp.c): Remove.
839         ($(elf-objpfx)runtime-linker.h): Generate header with linker
840         path string.
841         * elf/interp.c: Include generated runtime-linker.h
842
843         * Makerules (lib%.so): Don't include $(+interp) in
844         prerequisites.
845         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
846         * dlfcn/eval.c: Remove file.
847
848         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
849         macros.
850
851         [BZ #17266]
852         * misc/sys/cdefs.h: Define __extern_always_inline for clang
853         4.2 and newer.
854
855         [BZ #17370]
856         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
857
858 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
859             Jakub Jelinek  <jakub@redhat.com>
860
861         [BZ #17266]
862         * libio/stdio.h: Check definition of __fortify_function
863         instead of __extern_always_inline to include bits/stdio2.h.
864         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
865         check if __extern_always_inline is defined.
866         [__USE_MISC || __USE_XOPEN]: Likewise.
867         [__USE_ISOC99] Likewise.
868         * misc/sys/cdefs.h (__fortify_function): Define only if
869         __extern_always_inline is defined.
870         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
871         __extern_always_inline and __extern_inline only for g++-4.3
872         and newer or a compatible gcc.
873
874 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
875
876         [BZ #17371]
877         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
878         last change to handle zero prefix length.
879
880 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
881
882         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
883         _SC_REGEX_VERSION.
884
885         * posix/getconf.c (vars): Add _POSIX_IPV6 and
886         _POSIX_RAW_SOCKETS.
887
888 2014-09-13  Allan McRae  <allan@archlinux.org>
889
890         * po/ru.po: Update Russian translation from translation project.
891
892 2014-09-12  Roland McGrath  <roland@hack.frob.com>
893
894         * locale/programs/locale.c (show_locale_vars): Inline local function
895         into its sole call site.  Clean up some style nits.
896         (print_item): New function, broken out of ...
897         (show_info): ... local function here.  Clean up style nits.
898
899         * locale/programs/ld-ctype.c (set_one_default): New function, broken
900         out of ...
901         (set_class_defaults): ... local function set_default here.
902         Define set_default as a macro locally to pass constant parameters.
903         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
904         rather than a shared local.
905
906         * stdlib/rpmatch.c (try): New function, broken out of ...
907         (rpmatch): ... local function here.  Also, prototypify definition.
908
909 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
910
911         * scripts/soversions.awk: Do not handle configuration names.
912         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
913         vendor and os variables to soversions.awk.
914         * configure.ac: Do not modify gnu-* host_os.
915         * configure: Regenerated
916         * shlib-versions: Remove first column with configuration names.
917         * nptl/shlib-versions: Likewise.
918         * nptl_db/shlib-versions: Likewise.
919         * sysdeps/hppa/shlib-versions: Likewise.
920         * sysdeps/m68k/shlib-versions: Likewise.
921         * sysdeps/mach/hurd/shlib-versions: Likewise.
922         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
923         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
924         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
925         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
926         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
927         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
928         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
929         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
931         Likewise.
932         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
933         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
934         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
935         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
936         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
937         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
938         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
939         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
940
941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
942         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
944         Regenerated.
945         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
947         Condition symbol version definitions on [HAVE_ELFV2_ABI].
948
949         * shlib-versions: Remove OS-specific entries.  Moved to files in
950         sysdeps.
951         * sysdeps/mach/hurd/shlib-versions: New file.
952         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
953
954         * nptl/shlib-versions: Remove architecture-specific entries.
955         Moved to files in sysdeps.
956         * shlib-versions: Likewise.
957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
958         file.
959         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
960         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
961         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
962         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
963
964         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
965         (UDP_NO_CHECK6_RX): Likewise.
966
967 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
968
969         * sysdeps/posix/sysconf.c (__sysconf): Spell
970         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
971
972 2014-08-12  Florian Weimer  <fweimer@redhat.com>
973
974         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
975         loading.
976         * iconv/Versions (__gconv_transliterate): Export for use from
977         gconv modules.
978         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
979         (struct __gconv_trans_data, __gconv_trans_fct,
980         __gconv_trans_context_fct, __gconv_trans_query_fct,
981         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
982         definitions.
983         (struct __gconv_step_data): Remove __trans member.
984         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
985         longer hidden.  Remove unused trans_data argument.
986         * iconv/gconv_int.h (struct trans_struct): Remove definition.
987         (__gconv_translit_find): Remove declaration.
988         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
989         prototype.
990         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
991         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
992         trans_data argument.  Add hidden definition.
993         (__gconv_translit_find): Remove.
994         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
995         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
996         * iconv/skeleton.c: Remove transliteration initialization.
997         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
998         __gconv_step_data initialization.
999         * libio/iofwide.c (__libio_translit_): Remove.
1000         (_IO_fwide): Adjust struct __gconv_step_data initialization.
1001         * wcsmbs/btowc.c (__btowc): Likewise.
1002         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1003         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1004         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1005         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1006         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1007         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1008         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1009         * wcsmbs/wctob.c (wctob): Likewise.
1010
1011 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1012
1013         [BZ #16194]
1014         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1015         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
1016         register usage.
1017         * sysdeps/x86/Makefile: Adjust.
1018
1019 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1020             Roland McGrath  <roland@hack.frob.com>
1021
1022         * locale/weight.h: Add include guard.
1023         (findidx): Make static rather than auto; take new parameters
1024         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1025         * locale/weightwc.h: Likewise.
1026         * posix/fnmatch_loop.c
1027         (FCT): Change type of EXTRA from int32_t to wint_t.
1028         Don't include either header inside the function.
1029         Call FINDIDX rather than findidx, and pass new arguments.
1030         #undef FINDIDX at the end of the file.
1031         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1032         FINDIDX before including fnmatch_loop.c for the non-wide version.
1033         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1034         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1035         for the wide version.
1036         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1037         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1038         Pass new arguments to findidx.
1039         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1040         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1041         Don't #include it inside the function.  Pass new arguments to findidx.
1042         * posix/regex_internal.h
1043         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1044         (re_string_elem_size_at): Don't #include it inside the function.
1045         Pass new arguments to findidx.
1046         * string/strcoll_l.c: #include WEIGHT_H at top level.
1047         (get_next_seq): Don't #include it inside the function.
1048         Pass new arguments to findidx.
1049         (get_next_seq_nocache): Likewise.
1050         * string/strxfrm_l.c: #include WEIGHT_H at top level.
1051         (STRXFRM): Don't #include it inside the function.
1052         Pass new arguments to findidx.
1053
1054 2014-09-11  Florian Weimer  <fweimer@redhat.com>
1055
1056         [BZ #17344]
1057         * malloc/malloc.c (unlink): Turn asserts into a call to
1058         malloc_printerr.
1059
1060 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
1061
1062         [BZ #17370]
1063         * libio/wfileops (do_ftell_wide): Free OUT.
1064
1065 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
1066
1067         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1068
1069 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1070
1071         [BZ #17363]
1072         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1073         group if the current group is empty.
1074
1075 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1076
1077         * benchtests/bench-memset.c (test_main): Add more test from size
1078         from 32 to 512 bytes.
1079         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1080         Add POWER8 memset object.
1081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1082         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1083         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1084         implementation.
1085         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1086         Likewise.
1087         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1088         multiarch POWER8 memset optimization.
1089         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1090         POWER8 memset optimization.
1091
1092         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1093         Remove bzero multiarch objects.
1094         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1095         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1096         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1097         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1098         Remove define.
1099         [__bzero]: Redefine to specific name.
1100         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1101         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1102         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1103         define.
1104         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1105         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1106
1107 2014-09-10  Florian Weimer  <fweimer@redhat.com>
1108
1109         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1110         warnings into errors.
1111
1112         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1113         __cxa_thread_atexit_impl prototype.
1114
1115 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1116
1117         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1118         Fix capitalization of error message.
1119
1120 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1121
1122         * sysdeps/mips/preconfigure: Modify ABI tests.
1123
1124 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
1125
1126         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1127
1128 2014-09-07  Roland McGrath  <roland@hack.frob.com>
1129             Carlos O'Donell  <carlos@systemhalted.org>
1130
1131         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1132         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1133         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1134         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1135         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1136         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1137         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1138         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1139         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1140         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1141         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1142         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1143         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1144         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1145         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1146         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1147         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1148         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1149         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1150         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1151         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1152         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1153         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1154         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1155         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1156         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1157         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1158         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1159         Deconditionalize the code that was previously under [RESET_PID].
1160         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1161         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1162         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1163         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1164         include sysdep.h.
1165
1166 2014-09-08  Allan McRae  <allan@archlinux.org>
1167
1168         * version.h (RELEASE): Set to "development".
1169         (VERSION): Set to "2.20.90"
1170
1171 2014-09-07  Allan McRae  <allan@archlinux.org
1172
1173         * version.h (RELEASE): Set to "stable".
1174         (VERSION): Set to "2.20"
1175         * include/features.h (__GLIBC_MINOR__): Set to 20.
1176
1177         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1178         Liebler.
1179
1180         * po/ko.po: Update Korean translation from translation project.
1181
1182 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
1183
1184         [BZ #17354]
1185         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1186         macro for handling signed relocations.
1187
1188 2014-09-03  Florian Weimer  <fweimer@redhat.com>
1189
1190         [BZ #17325]
1191         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1192         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1193         assert.
1194         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1195         * iconvdata/ibm935.c (BODY): Likewise.
1196         * iconvdata/ibm937.c (BODY): Likewise.
1197         * iconvdata/ibm939.c (BODY): Likewise.
1198         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1199         assert.
1200         * iconvdata/Makefile (iconv-test.out): Pass module list to test
1201         script.
1202         * iconvdata/run-iconv-test.sh: New test loop for checking for
1203         decoder crashers.
1204
1205 2014-09-02  Khem Raj  <raj.khem@gmail.com>
1206
1207         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1208         libm_hidden_ver.
1209
1210 2014-09-01  Allan McRae  <allan@archlinux.org>
1211
1212         * po/eo.po: Update Esperanto translation from translation project.
1213
1214         * po/ca.po: Update Catalan translation from translation project.
1215
1216 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1217
1218         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1219         __proc_dostop call.
1220
1221 2014-08-27  Mark Wielaard  <mjw@redhat.com>
1222
1223         [BZ #17319]
1224         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1225         to call set_thread_area instead of hand written asm.
1226         (__NR_set_thread_area): Removed define.
1227         (TLS_FLAG_WRITABLE): Likewise.
1228         (__ASSUME_SET_THREAD_AREA): Remove check.
1229         (TLS_EBX_ARG): Remove define.
1230         (TLS_LOAD_EBX): Likewise.
1231
1232 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1233
1234         Simplify atomicity of socket creation in bind.
1235
1236         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1237         looking up the name after linking the file.
1238
1239 2014-08-27  Allan McRae  <allan@archlinux.org>
1240
1241         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1242
1243 2014-08-26  Florian Weimer  <fweimer@redhat.com>
1244
1245         [BZ #17187]
1246         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1247         trans_compare, open_translit, __gconv_translit_find):
1248         Remove module loading code.
1249
1250 2014-08-26  Allan McRae  <allan@archlinux.org>
1251
1252         * po/vi.po: Update Vietnamese translation from translation project.
1253
1254         * po/uk.po: Update Ukrainian translation from translation project.
1255
1256         * po/fr.po: Update French translation from translation project.
1257
1258         * po/ru.po: Update Russian translation from translation project.
1259
1260         * po/pl.po: Update Polish translation from translation project.
1261
1262         * po/cs.po: Update Czech translation from translation project.
1263
1264         * po/de.po: Update German translation from translation project.
1265
1266         * po/bg.po: Update Bulgarian translation from translation project.
1267
1268         * po/sv.po: Update Sweedish translation from translation project.
1269
1270         * po/nl.po: Update Dutch translation from translation project.
1271
1272         * po/es.po: Update Spanish translation from translation project.
1273
1274 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1275
1276         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1277
1278         * catgets/Makefile (CPPFLAGS-gencat): Remove.
1279         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1280         (CPPFLAGS-iconvconfig): Likewise.
1281         * timezone/Makefile (CPPFLAGS-zic): Likewise.
1282
1283         * include/libc-symbols.h: Remove unnecessary check for
1284         NOT_IN_libc.
1285         * nptl/pthreadP.h: Likewise.
1286         * sysdeps/aarch64/setjmp.S: Likewise.
1287         * sysdeps/alpha/setjmp.S: Likewise.
1288         * sysdeps/arm/sysdep.h: Likewise.
1289         * sysdeps/i386/setjmp.S: Likewise.
1290         * sysdeps/m68k/setjmp.c: Likewise.
1291         * sysdeps/posix/getcwd.c: Likewise.
1292         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1293         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1294         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1295         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1296         * sysdeps/sh/sh3/setjmp.S: Likewise.
1297         * sysdeps/sh/sh4/setjmp.S: Likewise.
1298         * sysdeps/unix/alpha/sysdep.h: Likewise.
1299         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1300         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1301         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1302         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1305         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1307         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1309         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1310         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1312         * sysdeps/x86_64/setjmp.S: Likewise.
1313
1314 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
1315
1316         [BZ #17263]
1317         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1318         <stdint.h>.
1319         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1320         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1321
1322 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1323
1324         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1325
1326         [BZ #17262]
1327         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1328         and __x86_64__ when disabling x87 inline functions.
1329
1330 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1331
1332         [BZ #17259]
1333         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1334         asm statement with __cpuid_count.
1335
1336 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
1337
1338         * configure.ac: Change __ehdr_start code to dereference the struct.
1339         Run readelf on the output to look for relocations.
1340         * configure: Regenerated.
1341
1342 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
1343
1344         [BZ #17261]
1345         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1346         value to 0.
1347         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1348
1349 2014-08-12  Roland McGrath  <roland@hack.frob.com>
1350
1351         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1352
1353 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
1354
1355         [BZ #16892]
1356         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1357         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1358
1359 2014-08-12  Sean Anderson  <seanga2@gmail.com>
1360
1361         * malloc/malloc.c: Fix typo in comment.
1362
1363 2014-08-09  Allan McRae  <allan@archlinux.org>
1364
1365         * Regenerate libc.po.
1366
1367 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
1368
1369         * intl/tst-gettext2.sh: Check every lang file for creation.
1370
1371 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1372
1373         * sysdeps/aarch64/fpu/math_private.h
1374         (libc_feholdsetround_noex_aarch64_ctx): New function.
1375
1376 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1377
1378         * sysdeps/arm/armv6/strcpy.S (strcpy):
1379         Fix performance issue in misaligned cases.
1380
1381 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1382
1383         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1384         Move definition from termios.h.
1385         (struct termio): Likewise.
1386         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1387         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1388         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1389         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1390         Likewise.
1391         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1392         Move definition to ioctl-types.h
1393         (struct termio): Likewise.
1394         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1395         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1396         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1397         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1398         Likewise.
1399
1400 2014-08-05  Richard Henderson  <rth@redhat.com>
1401
1402         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1403         exceptions.
1404         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1405         Add fraiseexcpt.
1406         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1407         Use __feraiseexcept.
1408         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1409         Protect libm symbols with IS_IN_libm.
1410
1411         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1412
1413 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1414
1415         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1416
1417 2014-08-04  Will Newton  <will.newton@linaro.org>
1418
1419         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1420         file.
1421
1422 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1423
1424         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1425         variants for each function.
1426
1427 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1428
1429         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1430         appended ...
1431         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1432         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1433         appended ...
1434         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1435         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1436         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1437         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1438         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1439         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1440         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1441         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1442         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1443         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1444         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1445         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1446         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1447         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1448         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1449         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1450         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1451         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1452         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1453         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1454         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1455         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1456         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1457         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1458         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1459         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1460         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1461         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1462         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1463         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1464         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1465         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1466         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1467         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1468         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1469         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1470         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1471         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1472         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1473         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1474         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1475         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1476         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1477         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1478         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1479         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1480         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1481         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1482         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1483         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1484         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1485         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1486         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1487         Update #include.
1488         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1489         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1490
1491 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1492
1493         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1494         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1495         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1496         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1497         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1498         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1499
1500 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1501
1502         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1503         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1504         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1505         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1506
1507 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1508
1509         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1510         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1511         (__libc_vfork): Define function under this name.
1512         (__vfork): Define as an alias.
1513         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1514         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1515
1516 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1517
1518         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1519         that was previously under [RESET_PID].
1520         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1521
1522 2014-08-04  Andreas Schwab  <schwab@suse.de>
1523
1524         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1525
1526 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1527
1528         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1529         (main): Likewise.
1530
1531 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1532
1533         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1534
1535 2014-08-01  Richard Henderon  <rth@redhat.com>
1536
1537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1538         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1539         typo in exact zero test.
1540         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1541         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1542         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1543
1544 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1545
1546         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1547         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1548         * sysdeps/arm/sysdep.h: ... here.
1549         [!__ASSEMBLER__]: Include <stdint.h>.
1550
1551 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1552
1553         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1554         (HAVE_WCTYPE_H): Likewise.
1555         (HAVE_ISWCTYPE): Likewise.
1556         (ENABLE_NLS): Likewise.
1557         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1558         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1559
1560         * posix/regex_internal.c: Check if DEBUG is defined and is
1561         set.
1562
1563         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1564         (HAVE_MBSRTOWCS): Likewise.
1565         * posix/fnmatch.c: Include string.h unconditionally.
1566
1567 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1568
1569         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1570         reversal.
1571
1572 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1573
1574         * sysdeps/generic/safe-fatal.h: New file.
1575         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1576         * nptl/forward.c: Include it.
1577         (__pthread_unwind): Use __safe_fatal as default action, rather
1578         than a bogus use of INTERNAL_SYSCALL that could never work.
1579
1580         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1581         * configure.ac (libc_cv_builtin_trap): New test.
1582         * configure: Regenerated.
1583         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1584         (ABORT_INSTRUCTION): Define using __builtin_trap.
1585
1586         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1587         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1588         * sysdeps/nptl/nptl-signals.h: New file.
1589         * nptl/pthreadP.h: Include <nptl-signals.h>.
1590
1591 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1592
1593         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1594         (ONE_DIRECTION): Define.
1595         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1596         (ONE_DIRECTION): Define.
1597         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1598         (ONE_DIRECTION): Define.
1599
1600 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1601
1602         * sysdeps/s390/Makefile: Delete file.
1603         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1604         * sysdeps/s390/__longjmp.c: Delete file.
1605         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1606         Remove fields __flags and __reserved.
1607         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1608         and add versioning.
1609         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1610         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1611         * sysdeps/s390/rtld-setjmp.S: Likewise.
1612         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1613         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1614         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1615         * sysdeps/s390/s390-32/setjmp.S: ... here.
1616         Add versioning.
1617         (__sigsetjmp): Remove setting __flags field.
1618         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1619         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1620         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1621         * sysdeps/s390/s390-64/setjmp.S: ... here.
1622         Add versioning.
1623         (__sigsetjmp): Remove setting __flags field.
1624         * sysdeps/s390/setjmp.S: Delete file.
1625         * sysdeps/s390/sigjmp.c: Likewise.
1626         * sysdeps/s390/v1-longjmp.c: Likewise.
1627         * sysdeps/s390/v1-setjmp.h: Likewise.
1628         * sysdeps/s390/v1-sigjmp.c: Likewise.
1629         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1630         Remove v1-longjmp_chk.
1631         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1632         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1633         Include debug/longjmp_chk.c and add versioning.
1634         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1635         Include nptl/pt-longjmp.c and add versioning.
1636         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1637         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1638         Include __longjmp.c.
1639         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1640         Move to ...
1641         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1642         (__getcontext): Remove setting __flags field.
1643         Add versioning.
1644         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1645         Don't restore upper high grps.
1646         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1647         Likewise.
1648         (__swapcontext): Remove setting uc_flags field.
1649         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1650         Delete file.
1651         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1652         Include __longjmp.c.
1653         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1654         Move to ...
1655         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1656         (__getcontext): Remove setting __flags field.
1657         Add versioning.
1658         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1659         (__swapcontext): Remove setting uc_flags field.
1660         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1661         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1662         Remove fields uc_high_gprs and __reserved.
1663         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1664         New file with reverted content.
1665         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1666         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1667         Regenerated.
1668         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1669         Regenerated.
1670
1671 2014-07-31  Andreas Schwab  <schwab@suse.de>
1672
1673         * config.h.in (HAVE_IFUNC): Define to 0.
1674         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1675         definedness.
1676
1677 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1678
1679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1680         memmove-avx-unaligned, memcpy-avx-unaligned and
1681         mempcpy-avx-unaligned.
1682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1683         Add tests for AVX memcpy functions.
1684         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1685         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1686         memcpy_chk.
1687         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1688         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1689         memmove_chk.
1690         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1691         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1692         mempcpy_chk.
1693         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1694         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1695         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1696
1697 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1698
1699         [BZ #17213]
1700         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1701         powerpc64le.
1702
1703 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1704
1705         [BZ #16839]
1706         * manual/llio.texi: Add section about open file description locks.
1707         * manual/examples/ofdlocks.c: Example of open file description
1708         lock usage.
1709         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1710         F_OFD_SETLK, and F_OFD_SETLKW.
1711
1712 2014-07-23  Allan McRae  <allan@archlinux.org>
1713
1714         * po/es.po: Update Spanish translation from translation project.
1715
1716 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1717
1718         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1719
1720 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1721
1722         [BZ #17078]
1723         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1724         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1725         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1726
1727 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1728
1729         [BZ #17088]
1730         * math/fesetenv.c (__fesetenv)
1731         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1732         * math/feupdateenv.c (__feupdateenv)
1733         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1734
1735         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1736         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1737         (__ASSUME_SOCKETCALL): Do not define.
1738
1739         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1740         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1741         (__ASSUME_SOCKETCALL): Do not define.
1742         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1743         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1744         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1745         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1746         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1747         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1748         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1749         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1750
1751         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1752         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1753         (__ASSUME_SOCKETCALL): Do not define.
1754         (__ASSUME_IPC64): Define unconditionally.
1755         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1756         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1757         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1758         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1759         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1760         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1761         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1762         Likewise.
1763
1764         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1765         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1766         (__ASSUME_SOCKETCALL): Do not define.
1767         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1768         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1769         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1770         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1771         (__ASSUME_REQUEUE_PI): Define unconditionally.
1772         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1773         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1774         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1775         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1776         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1777         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1778
1779         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1780         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1781         (__ASSUME_SOCKETCALL): Do not define.
1782         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1783         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1784         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1785         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1786         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1787         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1788
1789         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1790         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1791         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1792         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1793         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1794         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1795         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1796         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1797         (__ASSUME_GETCPU_SYSCALL): Likewise.
1798
1799         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1800         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1801         cases for individual architectures.
1802         * sysdeps/gnu/configure: Regenerated.
1803         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1804         LIBC_SLIBDIR_RTLDDIR.
1805         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1806         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1807         LIBC_SLIBDIR_RTLDDIR.
1808         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1810         LIBC_SLIBDIR_RTLDDIR.
1811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1812         Regenerated.
1813         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1814         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1815         file.
1816         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1817         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1818         file.
1819         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1820         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1821         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1822         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1823
1824         * sysdeps/aarch64/shlib-versions: Move to ...
1825         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1826         * sysdeps/alpha/shlib-versions: Move to ...
1827         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1828         * sysdeps/arm/shlib-versions: Move to ...
1829         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1830         * sysdeps/hppa/shlib-versions: Move all contents except for
1831         libgcc_s entry to ...
1832         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1833         entry from ...
1834         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1835         * sysdeps/ia64/shlib-versions: Move to ...
1836         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1837         entry from ...
1838         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1839         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1840         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1841         * sysdeps/microblaze/shlib-versions: Move to ...
1842         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1843         * sysdeps/mips/shlib-versions: Move to ...
1844         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1845         entry from ...
1846         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1847         * sysdeps/tile/shlib-versions: Move to ...
1848         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1849         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1850         from ...
1851         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1852         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1853         entry from ...
1854         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1855
1856 2014-07-17  Will Newton  <will.newton@linaro.org>
1857
1858         * sysdeps/arm/bits/atomic.h
1859         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1860         (__arch_compare_and_exchange_bool_16_int): Likewise.
1861         (__arch_compare_and_exchange_bool_64_int): Likewise.
1862
1863         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1864         into an #else block.
1865
1866 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1867
1868         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1869         just Linux configurations.  Test empirically that the compiler sets
1870         __ARM_EABI__, rather than using the tuple to decide.
1871         * sysdeps/arm/preconfigure: Regenerated.
1872         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1873         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1874         contents appended ...
1875         * sysdeps/arm/configure.ac: ... here.
1876         * sysdeps/arm/configure: Regenerated.
1877
1878 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1879
1880         * nptl/pthread_kill.c: New file.
1881         * nptl/pthread_sigmask.c: New file.
1882         * nptl/pthread_sigqueue.c: New file.
1883
1884         * sysdeps/nptl/lowlevellock.h: New file.
1885         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1886         * sysdeps/nptl/lowlevellock-futex.h: New file.
1887
1888         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1889         Remove dead declarations.
1890
1891 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1892
1893         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1894         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1895         config-cflags-avx2.
1896         * sysdeps/x86_64/configure.ac: Likewise.
1897         * sysdeps/i386/configure: Regenerated.
1898         * sysdeps/x86_64/configure: Likewise.
1899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1900         memset-avx2 only if config-cflags-avx2 is yes.
1901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1902         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1903         defined.
1904         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1905         only if HAVE_AVX2_SUPPORT is defined.
1906         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1907
1908 2014-07-14  Alan Modra  <amodra@gmail.com>
1909
1910         [BZ #17153]
1911         * elf/elf.h (DT_PPC64_NUM): Correct value.
1912         * NEWS: Add to fixed bug list.
1913
1914 2014-07-13  Jim Meyering  <meyering@fb.com>
1915
1916         [BZ 17150]
1917         regex: don't deref NULL upon heap allocation failure
1918         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1919         failure in one more place.
1920         To trigger the segfault, configure grep -with-included-regex,
1921         build it, and run these commands:
1922         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1923
1924 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1925
1926         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1927
1928 2014-07-11  Richard Henderson  <rth@redhat.com>
1929
1930         * sysdeps/aarch64/libm-test-ulps: Update.
1931
1932 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1933
1934         [BZ #17135]
1935         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1936         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1937         (__nptl_setxid): Initialize error member.  Call
1938         __nptl_setxid_error.
1939         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1940         * nptl/descr.h (struct xid_command): Add error member.
1941         * nptl/tst-setuid3.c: New file.
1942         * nptl/Makefile (tests): Add it.
1943
1944 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1945
1946         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1947         New define.
1948         (__lll_trylock): Use __lll_base_trylock.
1949         (__lll_cond_trylock): Likewise.
1950
1951 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1952
1953         * nptl/pthread_create.c (start_thread): Use atomic_or and
1954         lll_futex_wake directly rather than lll_robust_dead.
1955         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1956         (lll_robust_dead): Macro removed.
1957         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1958         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1959         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1960         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1961         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1962         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1963         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1964         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1965         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1966         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1967         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1968         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1969         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1970         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1971         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1972
1973         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1974         Use atomic_compare_and_exchange_val_acq directly rather than
1975         lll_robust_trylock.
1976         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1977         (__lll_robust_trylock, lll_robust_trylock): Removed.
1978         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1979         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1980         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1981         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1982         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1983         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1984         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1985         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1986         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1987         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1988         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1989         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1990         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1991         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1992
1993 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1994
1995         * manual/locale.texi (Locale Names): New section documenting
1996         locale name syntax.  Adjust menu and node chaining accordingly.
1997         (Choosing Locale): Reference Locale Names, Locale Categories.
1998         Mention setting LC_ALL=C.  Reflect that name syntax is now
1999         documented.
2000         (Locale Categories): New section title.  Reference Locale Names.
2001         LC_ALL is an environment variable, but not a category.
2002         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2003         description, now in Locale Name.  Reference that section.  Locale
2004         name syntax is now documented.
2005
2006 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2007
2008         [BZ #17137]
2009         * locale/findlocale.c (name_present, valid_locale_name): New
2010         functions.
2011         (_nl_find_locale): Use the loc_name variable to store name
2012         candidates.  Call name_present and valid_locale_name to check and
2013         validate locale names.  Return an error if the locale is invalid.
2014
2015 2014-07-02  Florian Weimer  <fweimer@redhat.com>
2016
2017         * locale/setlocale.c (setlocale): Use strdup for allocating
2018         composite name copy.
2019
2020 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2021
2022         Sync up with gnulib.
2023         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2024         [!_LIBC && ENABLE_NLS]: Include gettext.h.
2025         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2026         and _GL_ARG_NONNULL.
2027         [USE_UNLOCKED_IO]: Include unlocked-io.h.
2028         [!_LIBC]: Include code for Windows and Cygwin.
2029         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2030         Include prototype for int strerror_r.
2031         [!_LIBC] (is_open): New function.
2032         (flush_stdout): New function.
2033         (print_errno_message): Use it.
2034         (error): Likewise.
2035         (error_at_line): Likewise.
2036         (error_tail) Add function attribute macros.  Use
2037         __builtin_expect.
2038
2039         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2040
2041         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2042
2043         * io/ftw.c: Include sys/param.h unconditionally.
2044
2045         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2046
2047         [BZ #17125]
2048         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2049         libc_freeres_ptr.
2050         (freecache): New function to free CACHE on exit.
2051
2052         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2053         initialization.
2054
2055 2014-07-09  David S. Miller  <davem@davemloft.net>
2056
2057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2058
2059         * sysdeps/sparc/nptl/internaltypes.h: Delete.
2060         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2061         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2062         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2063         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2064         * sysdeps/sparc/nptl/sem_init.c: Likewise.
2065         * sysdeps/sparc/nptl/sem_post.c: Likewise.
2066         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2067         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2068         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2069         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2070         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2071         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2072
2073 2014-07-09  Andreas Schwab  <schwab@suse.de>
2074
2075         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2076         output.
2077         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2078         (do_test): Likewise.
2079
2080         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2081
2082 2014-07-09  Will Newton  <will.newton@linaro.org>
2083
2084         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2085         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2086         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2087         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2088         * sysdeps/hppa/start.S (_start): Likewise.
2089
2090 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2091
2092         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2093
2094         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2095         defined.
2096
2097 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2098
2099         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2100         after checking that it is non-NULL.
2101
2102         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2103
2104 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2105
2106         * sysdeps/powerpc/memmove.c: Remove file.
2107         * sysdeps/powerpc/powerpc32/power4/memcopy.h
2108         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2109         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2110         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2111         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2112         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2113         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2114         string memmove instead of removed powerpc one.
2115
2116         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2117         [weak_alias]: Fix compiler warning due trailing data.
2118         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2119         [weak_alias]: Likewise.
2120         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2121         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2122
2123         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2124         (__libc_ifunc_impl_list): Add memmove functions.
2125
2126 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2127
2128         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2129         Remove code.
2130         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2131         Likewise
2132         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2133         Likewise
2134         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2135         Likewise
2136         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2137         Likewise
2138         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2139         Likewise
2140         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2141         Likewise
2142         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2143         Likewise
2144         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2145         Likewise
2146         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2147         Likewise
2148         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2149         Likewise
2150         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2151         Likewise
2152         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2153         Likewise
2154         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2155         Likewise
2156         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2157         Likewise
2158         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2159         Likewise
2160         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2161         Likewise
2162
2163 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2164
2165         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2166         to avoid alignment traps in non-cacheable memory.
2167         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2168
2169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2170         multiarch objects.
2171         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2172         file: multiarch power7 memmove.
2173         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2174         multiarch default memmove.
2175         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2176         multiarch memove for powerpc32/power4.
2177
2178         * string/bcopy.c: Use full path to include memmove.c.
2179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2180         multiarch objects.
2181         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2182         bcopy for powerpc64.
2183         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2184         bcopy for powerpc64.
2185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2186         and memmove implementations.
2187         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2188         optimized multiarch memmove for POWER7/powerpc64.
2189         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2190         default multiarch memmove for powerpc64.
2191         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2192         multiarch for powerpc64.
2193         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2194         for POWER7/powerpc64.
2195         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2196         memmove for POWER7/powerpc64.
2197
2198         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2199         glibc default one.
2200
2201         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2202         __ELF_NATIVE_CLASS equal to 64.
2203
2204 2014-07-07  Roland McGrath  <roland@hack.frob.com>
2205
2206         * sysdeps/nptl/lowlevellock.h: File removed.
2207
2208         * NEWS: NPTL is no longer an add-on!
2209         * nptl/internaltypes.h: Moved ...
2210         * sysdeps/nptl/internaltypes.h: ... here.
2211         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2212         * sysdeps/nptl/fork.c: Likewise.
2213         * sysdeps/nptl/gai_misc.h: Likewise.
2214         * sysdeps/nptl/librt-cancellation.c: Likewise.
2215         * sysdeps/nptl/jmp-unwind.c: Likewise.
2216         * sysdeps/nptl/setxid.h: Likewise.
2217         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2218         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2219         * sysdeps/unix/sysv/linux/arm/Implies: New file.
2220         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2221         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2222         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2223         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2224         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2225         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2226         * sysdeps/unix/sysv/linux/mips/Implies: New file.
2227         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2228         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2229         * sysdeps/unix/sysv/linux/sh/Implies: New file.
2230         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2231         * sysdeps/unix/sysv/linux/tile/Implies: New file.
2232         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2233         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2234         * nptl/Makeconfig: Moved ...
2235         * sysdeps/nptl/Makeconfig: ... here.
2236         * nptl/configure: File removed.
2237         * nptl/ANNOUNCE: File removed.
2238         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2239         * sysdeps/unix/sysv/linux/configure: Regenerated.
2240
2241         * nptl/Makefile (routines): Add libc_pthread_init,
2242         libc_multiple_threads, register-atfork and unregister-atfork.
2243         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2244         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2245         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2246         pthread-pi-defines.sym, structsem.sym.
2247         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2248         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2249         [$(subdir) = nptl] (tests): Add tst-setgetname.
2250         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2251         * sysdeps/unix/sysv/linux/sigaction.c: Just include
2252         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2253         [!LIBC_SIGACTION]: Remove aliases.
2254         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2255         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2256         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2257         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2258         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2259         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2260         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2261         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2262         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2263         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2264         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2265         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2266         __libc_allocate_rtsig_private.
2267         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2268         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2269         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2270         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2271         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2272         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2273         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2274         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2275         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2276         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2277         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2278         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2279         * nptl/internaltypes.h: ... here.
2280         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2281         * sysdeps/nptl/jmp-unwind.c: ... here.
2282         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2283         * nptl/libc-lowlevellock.c: ... here.
2284         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2285         * nptl/libc_multiple_threads.c: ... here.
2286         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2287         * nptl/libc_pthread_init.c: ... here.
2288         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2289         * nptl/lowlevelbarrier.sym: ... here.
2290         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2291         * nptl/lowlevelcond.sym: ... here.
2292         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2293         * nptl/lowlevellock.c: ... here.
2294         * nptl/lowlevellock.h: Moved ...
2295         * sysdeps/nptl/lowlevellock.h: ... here.
2296         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2297         * nptl/lowlevelrobustlock.c: ... here.
2298         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2299         * nptl/lowlevelrobustlock.sym: ... here.
2300         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2301         * nptl/lowlevelrwlock.sym: ... here.
2302         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2303         * nptl/pt-fork.c: ... here.
2304         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2305         * nptl/pthread-pi-defines.sym: ... here.
2306         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2307         * nptl/pthread_attr_getaffinity.c: ... here.
2308         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2309         * nptl/pthread_attr_setaffinity.c: ... here.
2310         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2311         * nptl/pthread_mutex_cond_lock.c: ... here.
2312         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2313         Update #include.
2314         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2315         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2316         * nptl/pthread_once.c: ... here, replacing old file.
2317         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2318         * nptl/pthread_yield.c: ... here.
2319         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2320         * nptl/register-atfork.c: ... here.
2321         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2322         * nptl/sem_post.c: ... here.
2323         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2324         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2325         * nptl/sem_timedwait.c: ... here.
2326         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2327         * nptl/sem_trywait.c: ... here.
2328         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2329         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2330         * nptl/sem_wait.c: ... here.
2331         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2332         * nptl/structsem.sym: ... here.
2333         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2334         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2335         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2336         * nptl/unregister-atfork.c: ... here.
2337         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2338         * nptl/unwindbuf.sym: ... here.
2339         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2340         * sysdeps/nptl/fork.c: ... here.
2341         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2342         * sysdeps/nptl/fork.h: ... here.
2343         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2344         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2345         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2346         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2347         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2348         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2349         * sysdeps/unix/sysv/linux/getpid.c: ... here.
2350         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2351         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2352         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2353         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2354         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2355         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2356         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2357         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2358         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2359         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2360         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2361         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2362         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2363         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2364         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2365         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2366         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2367         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2368         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2369         * sysdeps/unix/sysv/linux/raise.c: ... here.
2370         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2371         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2372         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2373         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2374         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2375         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2376         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2377         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2378         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2379         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2380         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2381         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2382         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2383         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2384         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2385
2386 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2387
2388         * sysdeps/generic/memcopy.h: Add comment for
2389         MEMCPY_OK_FOR_FWD_MEMMOVE.
2390
2391 2014-07-04  Will Newton  <will.newton@linaro.org>
2392
2393         * string/memchr.c: Merge from gnulib.
2394         [_LIBC]: Remove conditionals.
2395         (__ptr_t): Remove define.
2396         (LONG_MAX_32_BITS): Likewise.
2397         (LONG_MAX): Likewise.
2398         (MEMCHR): Use ANSI prototype and optimize algorithm.
2399
2400         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2401
2402 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2403
2404         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2405         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2406
2407         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2408         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2409         in a bare environment with no <stdlib.h> installed.
2410         * sysdeps/nptl/configure: Regenerated.
2411
2412         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2413
2414         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2415         AC_EGREP_CPP for kernel header checks, so they only succeed if
2416         including <linux/version.h> actually works right.
2417         * sysdeps/unix/sysv/linux/configure: Regenerated.
2418
2419         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2420         value so it's not diagnosed as unused.
2421
2422         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2423         thing) with "ifeq ($(subdir),rt)".
2424
2425 2014-07-03  Richard Henderson  <rth@redhat.com>
2426
2427         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2428         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2429         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2430
2431         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2432         (math_force_eval): New.
2433
2434         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2435         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2436
2437         * sysdeps/alpha/fpu/s_round.c: Remove file.
2438         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2439
2440         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2441         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2442         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2443         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2444         (_dl_start, print_statistics): Likewise.
2445         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2446         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2447
2448         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2449         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2450         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2451         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2452         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2453         (HP_SMALL_TIMING_AVAIL): Define.
2454         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2455         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2456         (HP_SMALL_TIMING_AVAIL): Define.
2457         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2458         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2459
2460         * sysdeps/aarch64/hp-timing.h: New file.
2461
2462         * sysdeps/generic/hp-timing.h: Remove dead comment.
2463         * sysdeps/generic/hp-timing-common.h: New file.
2464         * sysdeps/alpha/hp-timing.h: Include it.
2465         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2466         * sysdeps/i386/i686/hp-timing.h: Likewise.
2467         * sysdeps/ia64/hp-timing.h: Likewise.
2468         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2469         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2470         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2471         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2472         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2473         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2474         (hp_timing_t): New.
2475
2476         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2477         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2478         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2479         * elf/rtld.c (_dl_start_final): Likewise.
2480         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2481         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2482         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2483         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2484         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2486         (HP_TIMING_DIFF_INIT): Remove.
2487         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2488         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2489         (HP_TIMING_DIFF_INIT): Remove.
2490         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2491         * sysdeps/i386/i686/hp-timing.c: Remove file.
2492         * sysdeps/x86_64/hp-timing.c: Remove file.
2493         * sysdeps/ia64/hp-timing.c: Remove file.
2494         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2495         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2496         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2497         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2498
2499         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2500         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2501         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2502         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2503         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2504         (HP_TIMING_ACCUM): Remove.
2505         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2506         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2507         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2508
2509         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2510         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2511         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2512         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2513         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2514         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2515         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2516         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2517
2518         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2519
2520 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2521
2522         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2523
2524 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2525
2526         Sync up with gettext.
2527         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2528         [_MSC_VER]: Include malloc.h
2529         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2530         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2531         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2532         TEMP_FAILURE_RETRY.  Cast return of alloca.
2533         [!_LIBC] Call gl_rwlock_init.
2534         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2535
2536 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2537
2538         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2539         before checking its value.
2540
2541 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2542
2543         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2544
2545         * debug/memcpy_chk.c: Don't include pagecopy.h.
2546         * debug/mempcpy_chk.c: Likewise.
2547         * string/memcpy.c: Likewise.
2548         * string/memmove.c: Likewise.
2549         * sysdeps/powerpc/memmove.c: Likewise.
2550         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2551         definition of PAGE_COPY_FWD_MAYBE here...
2552         * sysdeps/generic/pagecopy.h: ... from here.
2553         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2554
2555 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2556             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2557
2558         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2559         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2560         optimizations.
2561         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2562         (__libc_ifunc_impl_list): Likewise.
2563         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2564         multiarch strcat for PPC64.
2565         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2566         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2567
2568 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2569
2570         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2571
2572 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2573
2574         * intl/loadmsgcat.c: Remove declaration of
2575         get_sysdep_segment_value.
2576         (get_sysdep_segment_value): Use ISO C style.
2577         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2578         semicolon.  Fix typo and formatting in comment.
2579         (_nl_unload_domain): Use ISO C style.
2580
2581         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2582
2583 2014-07-02  Will Newton  <will.newton@linaro.org>
2584
2585         * malloc/obstack.c: Merge from gnulib master.
2586         [HAVE_CONFIG_H]: Remove conditional code.
2587         [!_LIBC]: Include config.h.
2588         [!ELIDE_CODE]: Don't include inttypes.h, include
2589         stdint.h unconditionally.
2590         (print_and_abort): Mark as _Noreturn.
2591         (_obstack_allocated_p): Mark as __attribute_pure__.
2592         (obstack_free): Rename to __obstack_free.
2593         [!__attribute__]: Remove conditional code.
2594         * malloc/obstack.h: Merge from gnulib master.
2595         [__cplusplus]: Move conditional down.
2596         [!__attribute_pure__]: Define __attribute_pure__ here
2597         if it is not already defined.
2598         (_obstack_memory_used): Mark as __attribute_pure__.
2599         [!__obstack_free]: Define as obstack_free.
2600         [__GNUC__]: Remove check for ancient NeXT gcc.
2601
2602 2014-07-02  Will Newton  <will.newton@linaro.org>
2603             Paul Eggert  <eggert@cs.ucla.edu>
2604
2605         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2606
2607 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2608
2609         * resolv/gethnamaddr.c: Add comment warning that the file is
2610         not maintained.
2611
2612 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2613
2614         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2615         entries.
2616
2617         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2618         entry for aio_cancel and aio_cancel64.
2619         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2620         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2621         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2622         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2623         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2624         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2625         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2626         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2627         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2628         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2629         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2630         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2631         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2632
2633 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2634
2635         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2636         * nptl/pthread_mutex_lock.c: Likewise.
2637         * nptl/pthread_mutex_timedlock.c: Likewise.
2638         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2639
2640 2014-07-01  Richard henderson  <rth@redhat.com>
2641
2642         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2643         (__isnan, __isnanl): Remove.
2644         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2645
2646         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2647
2648 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2649
2650         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2651
2652 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2653
2654         * resolv/nss_dns/dns-host.c (getanswer_r)
2655         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2656
2657 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2658
2659         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2660         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2661         undefine.
2662         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2663         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2664
2665 2014-07-01  Roland McGrath <roland@hack.frob.com>
2666
2667         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2668         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2669
2670         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2671         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2672
2673         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2674         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2675         ... here.
2676         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2677         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2678
2679         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2680         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2681         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2682         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2683
2684         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2685         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2686         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2687         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2688         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2689         Moved ...
2690         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2691         ... here.
2692         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2693         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2694         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2695         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2696         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2697         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2698         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2699         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2700         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2701         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2702         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2703         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2704         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2705         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2707         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2708         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2709         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2710         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2711         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2712         ... here.
2713         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2714         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2715         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2716         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2717         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2718         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2719         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2720         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2721
2722 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2723
2724         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2725         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2726         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2727         Add sysdep.
2728
2729 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2730
2731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2732
2733 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2734
2735         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2736         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2737
2738         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2739
2740         * sysdeps/arm/libm-test-ulps: Regenerated.
2741
2742 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2743             Roland McGrath <roland@hack.frob.com>
2744
2745         * test-skeleton.c (signal_handler): Kill the whole process group
2746         before killing the child individually.
2747         (main): Report any failure on `setpgid'.
2748
2749 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2750
2751         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2752         from _TLS_H to _ARM_NPTL_TLS_H.
2753         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2754         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2755
2756 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2757
2758         [BZ #16539]
2759         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2760         (__expm1l): Return argument unchanged when small but not
2761         subnormal.
2762
2763         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2764         include macro name.
2765         (_FP_UNPACK_RAW_1_P): Likewise.
2766         (_FP_PACK_RAW_1): Likewise.
2767         (_FP_PACK_RAW_1_P): Likewise.
2768         (_FP_MUL_MEAT_1_wide): Likewise.
2769         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2770         (_FP_MUL_MEAT_1_hard): Likewise.
2771         (_FP_DIV_MEAT_1_imm): Likewise.
2772         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2773         (_FP_DIV_MEAT_1_udiv): Likewise.
2774         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2775         (_FP_UNPACK_RAW_2): Likewise.
2776         (_FP_UNPACK_RAW_2_P): Likewise.
2777         (_FP_PACK_RAW_2): Likewise.
2778         (_FP_PACK_RAW_2_P): Likewise.
2779         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2780         (_FP_MUL_MEAT_2_wide): Likewise.
2781         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2782         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2783         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2784         (_FP_MUL_MEAT_2_gmp): Likewise.
2785         (_FP_DIV_MEAT_2_udiv): Likewise.
2786         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2787         (_FP_FRAC_SRL_4): Likewise.
2788         (_FP_FRAC_SRST_4): Likewise.
2789         (_FP_FRAC_SRS_4): Likewise.
2790         (_FP_UNPACK_RAW_4): Likewise.
2791         (_FP_UNPACK_RAW_4_P): Likewise.
2792         (_FP_PACK_RAW_4): Likewise.
2793         (_FP_PACK_RAW_4_P): Likewise.
2794         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2795         (_FP_MUL_MEAT_4_wide): Likewise.
2796         (_FP_MUL_MEAT_4_gmp): Likewise.
2797         (umul_ppppmnnn): Likewise.
2798         (_FP_DIV_MEAT_4_udiv): Likewise.
2799         (__FP_FRAC_ADD_4): Likewise.
2800         (__FP_FRAC_SUB_3): Likewise.
2801         (__FP_FRAC_SUB_4): Likewise.
2802         (__FP_FRAC_DEC_3): Likewise.
2803         (__FP_FRAC_DEC_4): Likewise.
2804         (__FP_FRAC_ADDI_4): Likewise.
2805         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2806         (_FP_FRAC_SRL_8): Likewise.
2807         (_FP_FRAC_SRS_8): Likewise.
2808
2809         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2810         include macro name.
2811         (FP_UNPACK_RAW_EP): Likewise.
2812         (FP_PACK_RAW_E): Likewise.
2813         (FP_PACK_RAW_EP): Likewise.
2814         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2815         (_FP_ISSIGNAN): Likewise.
2816         (_FP_ADD_INTERNAL): Likewise.
2817         (_FP_FMA): Likewise.
2818         (_FP_CMP): Likewise.
2819         (_FP_SQRT): Likewise.
2820         (_FP_TO_INT): Likewise.
2821         (_FP_FROM_INT): Likewise.
2822         (FP_EXTEND): Likewise.
2823         (_FP_DIV_MEAT_N_loop): Likewise.
2824
2825 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2826
2827         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2828         throughout.
2829
2830 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2831
2832         [BZ #17097]
2833         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2834         result with correct sign in case of exponents that produce
2835         overflow except for X very close to 1.
2836
2837 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2838
2839         mktime: merge #if/#ifdef usage from glibc
2840         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2841         as that works with both Glibc's and Gnulib's style.
2842         See thread starting at Siddhesh Poyarekar's bug report at:
2843         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2844
2845 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2846
2847         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2848         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2849         * sysdeps/tile/tilegx/memmove.c: Remove file.
2850
2851 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2852
2853         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2854         abi-name definition.
2855         * scripts/soversions.awk: Do not handle or generate ABI lines.
2856         * shlib-versions: Remove ABI entries.
2857         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2858         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2859
2860 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2861
2862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2863         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2864         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2865         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2867         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2868         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2869         Moved ...
2870         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2871         ... here.
2872         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2873         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2875         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2877         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2878         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2879         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2881         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2883         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2885         Moved ...
2886         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2887         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2888         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2890         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2892         Moved ...
2893         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2895         Moved ...
2896         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2897         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2898         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2900         Moved ...
2901         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2902         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2903         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2904         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2905         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2906         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2907         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2909         Moved ...
2910         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2912         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2913         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2914         Moved ...
2915         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2916         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2917         Moved ...
2918         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2919         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2920         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2921         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2922         Moved ...
2923         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2924         ... here.
2925         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2926         Identical file removed.
2927         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2928         Moved ...
2929         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2931         Identical file removed.
2932         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2933         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2934         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2935         Moved ...
2936         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2937         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2938         Identical file removed.
2939         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2940         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2942         Identical file removed.
2943         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2944         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2946         Identical file removed.
2947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2948         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2949         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2950         Identical file removed.
2951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2952         Moved ...
2953         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2955         Identical file removed.
2956         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2957         Moved ...
2958         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2959         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2960         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2961         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2962         Identical file removed.
2963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2964         Moved ...
2965         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2966         ... here.
2967         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2968         Identical file removed.
2969         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2970         Moved ...
2971         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2972         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2973         Identical file removed.
2974         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2975         Moved ...
2976         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2978         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2979         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2980         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2981         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2982         Moved ...
2983         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2984         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2985         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2986
2987         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2988         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2989         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2990         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2991         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2992
2993 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2994
2995         [BZ #17092]
2996         * nscd/nscd.c (monitor_child): Return exit status of child
2997         instead of return value from wait syscall.
2998
2999 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
3000
3001         * configure.ac (libc_commonpagesize): Remove variable.
3002         (libc_relro_required): Likewise.
3003         (libc_cv_z_relro): Remove configure test.
3004         * configure: Regenerated.
3005         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3006         variable.
3007         (libc_relro_required): Likewise.
3008         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3009         (libc_relro_required): Likewise.
3010         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3011         (libc_relro_required): Likewise.
3012         * sysdeps/arm/preconfigure: Regenerated.
3013         * sysdeps/ia64/preconfigure: Remove file.
3014         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3015         variable.
3016         (libc_relro_required): Likewise.
3017
3018         [BZ #16561]
3019         [BZ #16562]
3020         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3021         (__ieee754_yn): Set FE_TONEAREST mode internally and then
3022         recompute overflowing results in original rounding mode.
3023         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3024         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3025         recompute overflowing results in original rounding mode.
3026         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3027         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3028         recompute overflowing results in original rounding mode.
3029         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3030         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3031         recompute overflowing results in original rounding mode.
3032         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3033         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3034         recompute overflowing results in original rounding mode.
3035         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3036         (libc_feholdsetround_ctx): New macro.
3037         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3038         * sysdeps/i386/fpu/libm-test-ulps: Update.
3039         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3040
3041 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3042
3043         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3044         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3045         corresponding .cpsetup call.
3046
3047 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3048
3049         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3050         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3051         * sysdeps/arm/Makefile [$(subdir) = csu]
3052         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3053         (static-only-routines): Add aeabi_read_tp here.
3054         (shared-only-routines): Add libc-aeabi_read_tp here.
3055         (CFLAGS-libc-start.c): Add -fexceptions here.
3056         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3057         (sysdep_routines, static-only-routines, shared-only-routines):
3058         Don't add to these here.
3059         (CFLAGS-libc-start.c): Likewise.
3060
3061         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3062         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3063         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3064         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3065         * sysdeps/arm/Makefile [$(subdir) = rt]
3066         (librt-sysdep_routines, librt-shared-only-routines):
3067         Append rt-aeabi_unwind_cpp_pr1 here.
3068         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3069         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3070         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3071         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3072         Append nptl-aeabi_unwind_cpp_pr1 here.
3073         (tests): Filter out tst-cleanupx4 here.
3074         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3075         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3076         Don't do those here.
3077
3078 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3079
3080         * scripts/list-sources.sh: Do not handle ports specially.
3081
3082 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3083
3084         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3085         * sysdeps/arm/feupdateenv.c: Likewise.
3086
3087         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3088
3089 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3090
3091         * manual/texinfo.tex: Update to version 2014-05-05.10 with
3092         trailing whitespace removed.
3093         * scripts/config.guess: Update to version 2014-03-23.
3094         * scripts/config.sub: Update to version 2014-05-01
3095         * scripts/install-sh: Update to version 2013-12-25.23.
3096         * scripts/move-if-change: Update from gnulib.
3097
3098 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3099
3100         * debug/memmove_chk.c: Remove pagecopy.h include.
3101
3102 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
3103
3104         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
3105         identical to gnulib mktime.
3106
3107 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3108
3109         * configure.ac: Do not test for machine being rs6000.  Do not test
3110         for powerpc*-*soft.
3111         * configure: Regenerated.
3112
3113         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3114         test.
3115         * configure: Regenerated.
3116         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3117         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3118         Remove configure test.
3119         * sysdeps/arm/configure: Regenerated.
3120         * sysdeps/nptl/configure.ac: Do not check
3121         libc_cv_asm_cfi_directives.
3122         * sysdeps/nptl/configure: Regenerated.
3123         * sysdeps/x86_64/nptl/configure.ac: Remove file.
3124         * sysdeps/x86_64/nptl/configure: Remove generated file.
3125         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3126         unconditional.
3127         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3128
3129 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3130
3131         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3132         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3133         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3134         it is defined.
3135
3136         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3137         instead of whether it is defined.
3138         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3139         * sysdeps/hppa/dl-machine.h: Likewise.
3140         * sysdeps/ia64/dl-machine.h: Likewise.
3141         * sysdeps/m68k/dl-machine.h: Likewise.
3142         * sysdeps/microblaze/dl-machine.h: Likewise.
3143         * sysdeps/mips/dl-machine.: Likewise.
3144         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3145         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3146         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3147         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3148         * sysdeps/sh/dl-machine.h: Likewise.
3149         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3150         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3151         * sysdeps/tile/dl-machine.h: Likewise.
3152         * sysdeps/x86_64/dl-machine.h: Likewise.
3153
3154         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3155         code.
3156         (verify_persistent_db): Likewise.
3157
3158 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3159
3160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3161         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3163         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3165         Moved ...
3166         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3167         ... here.
3168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3169         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3171         Identical file removed.
3172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3173         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3175         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3177         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3179         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3181         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3183         Moved ...
3184         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3186         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3188         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3190         Moved ...
3191         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3193         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3195         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3197         Identical file removed.
3198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3199         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3201         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3203         Moved ...
3204         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3205         ... here.
3206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3207         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3209         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3211         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3213         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3215         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3217         Moved ...
3218         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3220         Moved ...
3221         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3223         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3225         Moved ...
3226         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3228         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3229
3230         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3231         folded into ...
3232         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3233         * sysdeps/unix/sysv/linux/s390/Versions
3234         (libpthread: GLIBC_2.19): New version set.
3235         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3236         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3237         (librt: GLIBC_2.3.3): New version set.
3238         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3239         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3240         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3241         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3242         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3243         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3244         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3245         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3246         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3247         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3248         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3249         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3250         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3251         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3252         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3253         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3254         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3255         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3256         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3257         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3258         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3259         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3260         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3261         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3262         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3263         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3264         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3265         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3266         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3267         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3268         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3269         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3270         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3271         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3273         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3274         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3275         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3276         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3278         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3280         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3281         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3282         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3283
3284         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3285         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3286         (__libc_vfork): Define the function under this name.
3287         [!NOT_IN_libc] (__vfork): Make this an alias.
3288         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3290         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3291         (__libc_vfork): Define the function under this name.
3292         [!NOT_IN_libc] (__vfork): Make this an alias.
3293         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3294         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3295         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3297         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3298         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3299
3300         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3301         code that was previously under [RESET_PID].
3302         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3303         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3305
3306         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3307         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3308         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3309         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3310         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3311         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3312         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3313         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3314         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3315         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3316         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3317         Moved ...
3318         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3319         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3320         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3321         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3322         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3323         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3324         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3325         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3326         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3327         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3328         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3329         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3330         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3331         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3332         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3333         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3334         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3335         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3336         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3337         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3338         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3339         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3340         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3341         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3342         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3343         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3344         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3345         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3346         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3347
3348 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3349
3350         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3351         that was previously under [RESET_PID].
3352         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3353
3354 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3355
3356         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3357         not undefine and redefine.
3358         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3359         [O_CLOEXEC]: Make code unconditional.
3360         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3361         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3362         <kernel-features.h>.
3363         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3364         conditional variable definition.
3365         (shm_open) [O_CLOEXEC]: Make code unconditional.
3366         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3367         code.
3368
3369         * configure.ac (USE_REGPARMS): Don't define here.
3370         * configure: Regenerated.
3371         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3372         * sysdeps/i386/configure: Regenerated.
3373
3374         * nptl/createthread.c: Don't include kernel-features.h.
3375         * nptl/pthread_cancel.c: Likewise.
3376         * nptl/pthread_condattr_setclock.c: Likewise.
3377         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3378         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3379         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3380         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3381         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3382         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3383         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3385         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3386         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3387         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3388         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3389         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3390         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3391         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3392         * nscd/gai.c: Likewise.
3393         * nss/nss_db/db-open.c: Likewise.
3394         * sysdeps/generic/ldsodefs.h: Likewise.
3395         * sysdeps/sh/nptl/tls.h: Likewise.
3396         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3397         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3398         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3399         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3400         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3401         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3402         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3403         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3404         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3405         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3406         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3407         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3408         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3409         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3410         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3411         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3412         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3413         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3414         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3415         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3416         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3417         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3418         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3419         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3420         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3422         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3423         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3424         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3425         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3426         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3427         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3428         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3429         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3430         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3431         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3432         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3433         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3434         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3435         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3436         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3437         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3438         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3439         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3440         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3441         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3442         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3443         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3444         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3445         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3446         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3447         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3448         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3449         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3450         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3451         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3452         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3453         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3476         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3477         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3478         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3479         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3480         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3481         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3482         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3483         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3484         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3485         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3486         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3487         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3488         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3489         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3490         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3491         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3492         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3493         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3494         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3495         * sysdeps/unix/sysv/linux/system.c: Likewise.
3496         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3497         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3498         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3499         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3500         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3501         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3502         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3503
3504         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3505         * configure: Regenerated.
3506         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3507
3508         * configure.ac (base_machine): Do not set specially for particular
3509         machines here.
3510         * configure: Regenerated.
3511         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3512         settings from configure.ac.
3513         * sysdeps/i386/preconfigure: New file.
3514         * sysdeps/s390/preconfigure: Likewise.
3515         * sysdeps/sh/preconfigure: Likewise.
3516         * sysdeps/sparc/preconfigure: Likewise.
3517
3518 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3519
3520         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3521         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3522         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3523         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3524         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3525         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3526         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3527         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3528         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3529         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3530         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3531         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3532         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3533         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3534         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3535         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3537         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3538         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3539
3540         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3541         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3542         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3543         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3544         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3545         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3546         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3547         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3548         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3549         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3550         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3551         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3552         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3553         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3554         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3555         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3556         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3557         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3558         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3559         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3560         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3561         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3562         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3563         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3564         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3565         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3566         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3567         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3568         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3569         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3570         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3571         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3572         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3573         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3574         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3575         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3576         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3577         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3578
3579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3580         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3582         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3584         Moved ...
3585         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3586         ... here.
3587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3588         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3590         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3592         Moved ...
3593         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3595         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3597         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3599         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3601         Moved ...
3602         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3604         Moved ...
3605         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3607         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3609         Moved ...
3610         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3612         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3614         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3616         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3618         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3620         Moved ...
3621         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3622         ... here.
3623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3624         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3626         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3628         Moved ...
3629         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3631         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3633         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3635         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3637         Moved ...
3638         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3640         Moved ...
3641         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3643         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3645         Moved ...
3646         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3648         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3650         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3651
3652 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3653
3654         * timezone/checktab.awk: Update from tzcode 2014e.
3655         * timezone/private.h: Likewise.
3656         * timezone/tzfile.h: Likewise.
3657         * timezone/zdump.c: Likewise.
3658         * timezone/zic.c: Likewise.
3659
3660         * sysdeps/unix/sysv/linux/kernel-features.h
3661         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3662         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3663         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3664         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3665         Remove conditional code.
3666
3667 2014-06-25  Will Newton  <will.newton@linaro.org>
3668
3669         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3670         (_dl_arm_cap_flags): Add HWCAP2 values.
3671         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3672         (_DL_HWCAP_COUNT): Increase to 37.
3673         (_DL_HWCAP_LAST): New define.
3674         (_DL_HWCAP2_LAST): New define.
3675         (_dl_procinfo): Add support for printing
3676         AT_HWCAP2 entries.
3677         (_dl_string_hwcap): Use _dl_hwcap_string.
3678
3679 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3680
3681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3682
3683 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3684
3685         * README: Do not mention ports directory.
3686
3687         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3688         Remove macro.
3689         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3690         <kernel-features.h>.
3691         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3692         conditional variable definition.
3693         (__futimes): Update comment.
3694         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3695         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3696
3697         [BZ #16560]
3698         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3699         arguments close to 0.
3700         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3701         Likewise.
3702         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3703         Likewise.
3704         * math/auto-libm-test-in: Add more tests of exp10.
3705         * math/auto-libm-test-out: Regenerated.
3706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3707
3708         * sysdeps/unix/sysv/linux/kernel-features.h
3709         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3710         * sysdeps/unix/sysv/linux/readv.c: Do not include
3711         <kernel-features.h>.
3712         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3713         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3714         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3715         unconditional.
3716         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3717         conditional code.
3718         * sysdeps/unix/sysv/linux/writev.c: Do not include
3719         <kernel-features.h>.
3720         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3721         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3722         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3723         unconditional.
3724         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3725         conditional code.
3726
3727 2014-06-25  Will Newton  <will.newton@linaro.org>
3728
3729         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3730         comment changes throughout the file.  Remove checks
3731         for HAVE_*_H definitions that are not required.
3732         (__gen_tempname): Call abort if an unknown kind value is
3733         passed.
3734
3735 2014-06-25  Andreas Schwab  <schwab@suse.de>
3736
3737         [BZ #17086]
3738         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3739         scalbln, scalblnf, scalblnl in libc.
3740
3741 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3742
3743         [BZ #17086]
3744         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3745         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3746         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3747
3748 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3749
3750         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3751         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3752         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3753         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3754         Update #include.
3755         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3756         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3757         Update #include.
3758         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3759         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3760         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3761         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3762         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3763         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3764         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3765         * sysdeps/x86/bits/semaphore.h: ... here.
3766         * sysdeps/x86/nptl/elide.h: Moved ...
3767         * sysdeps/x86/elide.h: ... here.
3768         * sysdeps/x86_64/nptl/Implies: File removed.
3769         * sysdeps/i386/nptl/Implies: File removed.
3770
3771 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3772
3773         [BZ #16539]
3774         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3775         return the argument for normal arguments with exponent below -64.
3776         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3777         Likewise.
3778         * math/auto-libm-test-in: Add another test of expm1.
3779         * math/auto-libm-test-out: Regenerated.
3780
3781         [BZ #16287]
3782         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3783         calling __erfcl for arguments at least 16.
3784         * math/auto-libm-test-in: Add more tests of erf.
3785         * math/auto-libm-test-out: Regenerated.
3786
3787         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3788         individual architectures.
3789         * sysdeps/unix/sysv/linux/configure: Regenerated.
3790         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3791         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3792         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3793         (ldd_rewrite_script): Define variable.
3794         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3796         file.
3797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3798         generated file.
3799         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3800         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3801         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3802         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3803         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3804         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3805         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3806         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3807
3808 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3809
3810         [BZ #17084]
3811         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3812         Rename member __data.d to __data.__elision_data.
3813
3814 2014-06-24  Wilco  <wdijkstr@arm.com>
3815
3816         * NEWS: Add 16918 to fixed bug list.
3817
3818 2014-06-24  Wilco  <wdijkstr@arm.com>
3819
3820         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3821
3822 2014-06-24  Wilco  <wdijkstr@arm.com>
3823
3824         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3825         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3826         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3827         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3828         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3829         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3830         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3831         Use _FPU_MASK_RM.
3832
3833 2014-06-24  Wilco  <wdijkstr@arm.com>
3834
3835         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3836
3837 2014-06-24  Wilco  <wdijkstr@arm.com>
3838
3839         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3840         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3841         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3842         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3843
3844 2014-06-24  Wilco  <wdijkstr@arm.com>
3845
3846         [BZ #16918]
3847         * sysdeps/arm/feupdateenv.c (feupdateenv):
3848         Rewrite to reduce FPSCR accesses and fix return value.
3849
3850 2014-06-24  Wilco  <wdijkstr@arm.com>
3851
3852         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3853         Optimize to avoid unnecessary FPSCR writes.
3854         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3855         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3856         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3857         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3858
3859 2014-06-24  Wilco  <wdijkstr@arm.com>
3860
3861         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3862         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3863         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3864         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3865         Call libc_fetestexcept_vfp.
3866         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3867         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3868         __SOFTFP__ ifdef so that they can be built for softfp.
3869
3870 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3871
3872         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3873         argument type signed char.
3874
3875         * Makerules (check-abi): Dump diff of symlist if the test
3876         fails.
3877
3878 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3879
3880         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3881         using abort.
3882
3883         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3884         Remove unused variable ST.
3885
3886 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3887
3888         [BZ #16354]
3889         [BZ #17061]
3890         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3891         small arguments before calling __expm1.
3892         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3893         small arguments before calling __expm1f.
3894         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3895         small arguments before calling __expm1l.
3896         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3897         Likewise.
3898         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3899         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3900         spurious underflow for some cosh tests.
3901         * math/auto-libm-test-out: Regenerated.
3902         * sysdeps/i386/fpu/libm-test-ulps: Update.
3903
3904         [BZ #17050]
3905         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3906         (__ieee754_y1): Set errno if return value overflows.
3907         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3908         (__ieee754_y1f): Set errno if return value overflows.
3909         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3910         (__ieee754_y1l): Set errno if return value overflows.
3911         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3912         (__ieee754_y1l): Set errno if return value overflows.
3913         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3914         * math/auto-libm-test-out: Regenerated.
3915
3916         * math/gen-auto-libm-tests.c: Document use of
3917         ignore-zero-inf-sign.
3918         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3919         (input_flags): Add ignore-zero-inf-sign.
3920         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3921         * math/gen-libm-test.pl (generate_testfile): Handle
3922         ignore-zero-inf-sign.
3923         * math/auto-libm-test-in: Mark some cpow tests with
3924         ignore-zero-inf-sign and some with xfail-rounding.
3925         * math/auto-libm-test-out: Regenerated.
3926         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3927         * sysdeps/i386/fpu/libm-test-ulps: Update.
3928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3929
3930         [BZ #16315]
3931         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3932         overflowing or underflowing operations take place with sign of
3933         result.
3934         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3935         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3936         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3937         (__ieee754_pow): Recompute overflowing and underflowing results in
3938         original rounding mode.
3939         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3940         (__powl_helper): Allow negative argument X and scale negated value
3941         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3942         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3943         overflowing or underflowing operations take place with sign of
3944         result.
3945         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3946         Include <math.h>.
3947         * math/auto-libm-test-in: Add more tests of pow.
3948         * math/auto-libm-test-out: Regenerated.
3949         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3950         (pow_tonearest_test_data): Remove.
3951         (pow_test_tonearest): Likewise.
3952         (pow_towardzero_test_data): Likewise.
3953         (pow_test_towardzero): Likewise.
3954         (pow_downward_test_data): Likewise.
3955         (pow_test_downward): Likewise.
3956         (pow_upward_test_data): Likewise.
3957         (pow_test_upward): Likewise.
3958         (main): Don't call removed functions.
3959         * sysdeps/i386/fpu/libm-test-ulps: Update.
3960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3961
3962 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3963
3964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3965         Moved ...
3966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3968         Moved ...
3969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3971         Moved ...
3972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3974         Moved ...
3975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3977         File removed.
3978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3979         File removed.
3980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3981         File removed.
3982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3983         File removed.
3984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3985         File removed.
3986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3987         File removed.
3988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3989         File removed.
3990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3991         File removed.
3992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3993         File removed.
3994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3995         File removed.
3996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3997         File removed.
3998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3999         File removed.
4000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4001         Moved ...
4002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4004         Moved ...
4005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4006         ... here.
4007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4008         Moved ...
4009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4011         Moved ...
4012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4014         Moved ...
4015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4017         Moved ...
4018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4020         Moved ...
4021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4023         Moved ...
4024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4026         Moved ...
4027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4030         ... here.
4031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4032         Moved ...
4033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4035         Moved ...
4036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4037         ... here.
4038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4039         Moved ...
4040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4041         ... here.
4042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4043         Moved ...
4044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4045         ... here.
4046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4047         Moved ...
4048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4050         Moved ...
4051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4055         Moved ...
4056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4057         ... here.
4058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4059         Moved ...
4060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4061         ... here.
4062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4063         Moved ...
4064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4066         Moved ...
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4069         Moved ...
4070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4072         Moved ...
4073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4075         Moved ...
4076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4077         ... here.
4078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4079         Moved ...
4080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4082         Moved ...
4083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4085         Moved ...
4086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4088         Moved ...
4089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4093         Moved ...
4094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4096         Moved ...
4097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4099         Moved ...
4100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4101         ... here.
4102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4103         Moved ...
4104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4105         ... here.
4106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4107         Moved ...
4108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4109         ... here.
4110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4111         Moved ...
4112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4114         Moved ...
4115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4117         Moved ...
4118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4120         Moved ...
4121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4122         ... here.
4123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4124         Moved ...
4125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4126         ... here.
4127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4128         Moved ...
4129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4130         ... here.
4131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4132         Moved ...
4133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4135         Moved ...
4136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4137
4138 2014-06-23  Will Newton  <will.newton@linaro.org>
4139             Wilco  <wdijkstr@arm.com>
4140
4141         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4142         implementation.  Include get-rounding-mode.h.
4143         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4144         [!libc_feholdsetround_noex_ctx]: Define
4145         libc_feholdsetround_noex_ctx.
4146         [!libc_feholdsetround_noexf_ctx]: Define
4147         libc_feholdsetround_noexf_ctx.
4148         [!libc_feholdsetround_noexl_ctx]: Define
4149         libc_feholdsetround_noexl_ctx.
4150         (libc_feholdsetround_ctx): New function.
4151         (libc_feresetround_ctx): New function.
4152         (libc_feholdsetround_noex_ctx): New function.
4153         (libc_feresetround_noex_ctx): New function.
4154
4155 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4156
4157         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4158         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4159         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4160         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4161         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4162         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4163
4164         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4165         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4166         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4167         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4168         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4169         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4171         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4172         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4173         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4174         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4175         Moved ...
4176         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4177         ... here.
4178         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4179         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4180         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4181         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4182         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4183         Moved ...
4184         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4185         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4186         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4188         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4189         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4190         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4191         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4192         Moved ...
4193         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4195         Moved ...
4196         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4197         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4198         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4200         Moved ...
4201         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4202         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4203         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4204         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4205         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4206         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4207         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4209         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4211         Moved ...
4212         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4213         ... here.
4214         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4215         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4216         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4217         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4218         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4219         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4220         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4221         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4222         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4223         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4224         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4225         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4226         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4227         Moved ...
4228         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4230         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4232         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4233         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4234         Moved ...
4235         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4237         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4238         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4239         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4240
4241         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4242         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4243         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4244         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4245         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4246         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4247         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4248         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4249         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4250         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4251         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4252         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4253         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4254         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4255         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4256         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4257         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4258         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4259         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4260         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4261         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4262         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4263         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4264         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4265         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4266         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4267         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4268         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4269
4270 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4271
4272         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4273         (FALLOC_FL_COLLAPSE_RANGE): New macro.
4274         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4275         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4276         (IPV6_PMTUDISC_INTERFACE): Likewise.
4277         (IPV6_PMTUDISC_OMIT): Likewise.
4278
4279 2014-06-23  Andreas Schwab  <schwab@suse.de>
4280
4281         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4282         Remove unused errout label.
4283
4284 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4285
4286         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4287         macro: hardware supports Vector Crypto instructions.
4288
4289 2014-06-23  Will Newton  <will.newton@linaro.org>
4290
4291         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4292         rather than __builtin_expect.
4293
4294         * elf/dl-lookup.c (undefined_msg): Remove variable.
4295         (_dl_lookup_symbol_x): Replace undefined_msg with string
4296         literal.
4297
4298         * elf/dl-lookup.c (do_lookup_unique): New function.
4299         (do_lookup_x): Move STB_GNU_UNIQUE handling code
4300         to a separate function.
4301
4302 2014-06-23  Andreas Schwab  <schwab@suse.de>
4303
4304         [BZ #17079]
4305         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4306         before reading the next line.
4307
4308 2014-06-23  Will Newton  <will.newton@linaro.org>
4309
4310         * test-skeleton.c (signal_handler): Use printf and %m
4311         rather than perror.  Use printf rather than fprintf to
4312         stderr.  Use puts rather than fputs to stderr.
4313         (main): Likewise.
4314
4315 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
4316
4317         * nscd/nscd.c (thread_info_t): Remove typedef.
4318         (thread_info): Remove variable.
4319
4320 2014-06-21  Allan McRae  <allan@archlinux.org>
4321
4322         * NEWS: Mention CVE-2014-4043.
4323
4324 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4325
4326         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4327         * nptl/smp.h: ... here.
4328
4329         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4330
4331         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4332         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4333         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4334         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4335
4336         * nptl/allocatestack.c: Include <stack-aliasing.h>.
4337         * nptl/stack-aliasing.h: New file.
4338         * sysdeps/i386/i686/stack-aliasing.h: New file.
4339         * sysdeps/i386/i686/nptl/Makefile: File removed.
4340         * sysdeps/x86_64/stack-aliasing.h: New file.
4341         * sysdeps/x86_64/nptl/Makefile
4342         (CFLAGS-pthread_create.c): Variable removed.
4343
4344         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4345         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4346         old file.
4347         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4348         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4349         old file.
4350
4351 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
4352
4353         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4354         (__ASSUME_SIGFRAME_V2): Remove macro.
4355         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4356         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4357         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4358         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4359         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4360         Declare as function.  Remove conditional macro definitions.
4361         (__default_rt_sa_restorer): Likewise.
4362         (__default_sa_restorer_v1): Remove declaration.
4363         (__default_sa_restorer_v2): Likewise.
4364         (__default_rt_sa_restorer_v1): Likewise.
4365         (__default_rt_sa_restorer_v2): Likewise.
4366         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4367         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4368         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4369
4370 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4371
4372         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4373         (libpthread-routines): Add sysdep.
4374         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4375         * sysdeps/unix/sysv/linux/sparc/Versions
4376         (libpthread: GLIBC_2.3.3): New version set.
4377         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4378         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4379         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4380         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4381         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
4382         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4383         Moved ...
4384         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4385         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4386         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4387         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4388         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4389         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4390         * sysdeps/sparc/nptl/sem_init.c: ... here.
4391         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4392         * sysdeps/sparc/nptl/sem_post.c: ... here.
4393         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4394         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4395         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4396         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4397         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4398         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4399         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4400         (libpthread-routines): Add cpu_relax.
4401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4402         File removed.
4403         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4404         (librt: GLIBC_2.3.3): New version set.
4405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4406         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4407         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4408         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4411         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4413         Moved ...
4414         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4416         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4418         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4420         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4422         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4424         Moved ...
4425         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4426         Update #include.
4427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4428         Moved ...
4429         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4430         Update #include.
4431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4432         Moved ...
4433         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4434         Update #include.
4435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4436         Moved ...
4437         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4438         Update #include.
4439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4440         Moved ...
4441         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4442         Update #include.
4443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4444         Moved ...
4445         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4446         Update #include.
4447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4448         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4454         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4456         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4458         Moved ...
4459         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4461         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4463         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4464
4465 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4466
4467         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4468         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4469         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4470         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4471         * nscd/nscd.c: Likewise.
4472         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4473         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4474         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4475         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4476
4477         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4478         <kernel-features.h>.
4479         (init_mq_netlink): Remove conditional have_sock_cloexec
4480         definitions.  Remove code conditional on have_sock_cloexec < 0.
4481         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4482         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4483         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4484         <kernel-features.h>.
4485         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4486         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4487
4488 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4489
4490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4491         Add tests for memset_chk and memset.
4492
4493         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4494         with AVX2_Usable.
4495
4496 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4497
4498         [BZ #16046]
4499         * elf/tst-dl-iter-static.c: New file.
4500         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4501
4502         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4503         error.
4504
4505 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4506
4507         * sysdeps/unix/sysv/linux/kernel-features.h
4508         (__ASSUME_F_GETOWN_EX): Remove macro.
4509         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4510         <kernel-features.h>.
4511         (miss_F_GETOWN_EX): Remove variable or macro.
4512         (do_fcntl): Do not check miss_F_GETOWN_EX.
4513         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4514
4515         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4516         Remove macro.
4517         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4518         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4519         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4520
4521         * sysdeps/unix/sysv/linux/kernel-features.h
4522         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4523         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4524         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4525         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4526
4527 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4528
4529         [BZ #17075]
4530         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4531         Fix calculation of the symbol's value.
4532         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4533         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4534         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4535         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4536         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4537         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4538         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4539         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4540         (modules-names): Add `tst-armtlsdescmod',
4541         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4542         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4543         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4544         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4545         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4546         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4547         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4548         ($(objpfx)tst-armtlsdescloc): New dependency.
4549         ($(objpfx)tst-armtlsdescextnow): Likewise.
4550         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4551         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4552         TLS scheme support.
4553         * sysdeps/arm/configure: Regenerate.
4554
4555 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4556
4557         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4558         (__atfct_seterrno_2): Likewise.
4559         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4560         <kernel-features.h>.
4561         (__ASSUME_ATFCTS): Do not undefine and redefine.
4562         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4563         (__have_atfcts): Remove conditional definition.
4564         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4565         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4566         unreachable if [__ASSUME_ATFCTS].
4567         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4568         not undefine and redefine.
4569         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4570         <kernel-features.h>.
4571         (faccessat) [__NR_faccessat]: Make code unconditional.
4572         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4573         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4574         <kernel-features.h>.
4575         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4576         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4577         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4578         <kernel-features.h>.
4579         (fchownat) [__NR_fchownat]: Make code unconditional.
4580         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4581         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4582         <kernel-features.h>.
4583         (futimesat) [__NR_futimesat]: Make code unconditional.
4584         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4585         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4586         <kernel-features.h>.
4587         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4588         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4589         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4590         <kernel-features.h>.
4591         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4592         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4593         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4594         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4595         <kernel-features.h>.
4596         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4597         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4598         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4599         <kernel-features.h>.
4600         (linkat) [__NR_linkat]: Make code unconditional.
4601         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4602         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4603         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4604         <kernel-features.h>.
4605         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4606         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4607         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4608         <kernel-features.h>.
4609         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4610         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4611         * sysdeps/unix/sysv/linux/openat.c: Do not include
4612         <kernel-features.h>.
4613         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4614         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4615         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4616         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4617         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4618         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4619         <kernel-features.h>.
4620         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4621         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4622         result of INLINE_SYSCALL directly, not via int variable.
4623         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4624         <kernel-features.h>.
4625         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4626         (renameat) [__NR_renameat]: Make code unconditional.
4627         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4628         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4629         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4630         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4631         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4632         (__ASSUME_ATFCTS): Do not undefine and redefine.
4633         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4634         <kernel-features.h>.
4635         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4636         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4637         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4638         <kernel-features.h>.
4639         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4640         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4641         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4642         (__ASSUME_ATFCTS): Do not undefine and redefine.
4643         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4644         <kernel-features.h>.
4645         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4646         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4647         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4648         <kernel-features.h>.
4649         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4650         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4651
4652 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4653
4654         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4655
4656 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4657
4658         [BZ #17069]
4659         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4660         constructed tree before returning error.
4661         * posix/bug-regexp36.c: Expand test case.
4662
4663 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4664
4665         [BZ #6803]
4666         * math/libm-test.inc (scalbln_test_date):
4667         Add errno expectations.
4668         * math/w_scalblnf.c: New File.
4669         Add wrapper which checks for setting errno to ERANGE.
4670         Add weak_alias for corresponding scalbln function.
4671         * math/w_scalbln.c: Likewise.
4672         * math/w_scalblnl.c: Likewise.
4673         * math/Makefile (libm-calls): Add w_scalbln.
4674         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4675         Remove weak_alias for corresponding scalbln function.
4676         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4677         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4678         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4679         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4680         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4681         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4682         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4683         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4684         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4685         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4686         Remove long_double_symbol for scalblnl function in libm, libc.
4687         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4688         Add wrapper which checks for setting errno to ERANGE.
4689         Add long_double_symbol for scalblnl function in libm, libc.
4690         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4691         Remove long_double_symbol for scalblnl in libm.
4692         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4693         Add wrapper which checks for setting errno to ERANGE.
4694         Add long_double_symbol for scalblnl function in libm.
4695         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4696         Do not use wrapper because of own implementation.
4697
4698 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4699
4700         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4701         3 bytes for __pad1 for x32.
4702         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4703
4704 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4705             H.J. Lu  <hongjiu.lu@intel.com>
4706
4707         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4708         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4709         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4710         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4711         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4712
4713 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4714
4715         [BZ #17069]
4716         * posix/regcomp.c (parse_expression): Deallocate partially
4717         constructed tree before returning error.
4718         * posix/Makefile.c (tests): Add bug-regex36.
4719         (generated): Add bug-regex36.mtrace.
4720         (tests-special): Add $(objpfx)bug-regex36-mem.out
4721         (bug-regex36-ENV): New variable.
4722         ($(objpfx)bug-regex36-mem.out): New rule.
4723         * posix/bug-regex36.c: New file.
4724
4725 2014-06-19  Will Newton  <will.newton@linaro.org>
4726
4727         * malloc/malloc.c (systrim): If extra is zero then return
4728         early.
4729
4730 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4731
4732         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4733
4734 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4735
4736         * sysdeps/aarch64/strchr.S: New file.
4737
4738 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4739
4740         [BZ #17022]
4741         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4742         from arguments -2 or below.
4743         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4744         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4745
4746 2014-06-18  Andreas Schwab  <schwab@suse.de>
4747
4748         [BZ #17062]
4749         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4750         of a bracket expr not to run off the end of the string.
4751         * posix/Makefile (tests): Add tst-fnmatch3.
4752         * posix/tst-fnmatch3.c: New file.
4753
4754 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4755
4756         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4757         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4758         [$(cross-compiling) = no]: Likewise.
4759         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4760         [$(cross-compiling) = no]: Likewise.
4761
4762 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4763
4764         [BZ #17031]
4765         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4766         double, adjusted for any remainder from the high double.
4767         * math/libm-test.inc (nearbyint): Add tests.
4768         (rint): Likewise.
4769
4770 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4771
4772         * nptl/sysdeps/powerpc/Makefile: Moved ...
4773         * sysdeps/powerpc/nptl/Makefile: ... here.
4774         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4775         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4776         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4777         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4778         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4779         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4780         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4781         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4782         * nptl/sysdeps/powerpc/tls.h: Moved ...
4783         * sysdeps/powerpc/nptl/tls.h: ... here.
4784
4785 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4786
4787         [BZ #16681]
4788         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4789         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4790         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4791         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4792         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4793         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4794         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4795         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4796         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4797
4798 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4799
4800         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4801
4802 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4803
4804         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4805         defined operator.
4806
4807         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4808         $TIMEOUTFACTOR.
4809
4810 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4811
4812         [BZ #17058]
4813         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4814         non-executed part of the test.
4815
4816 2014-06-16  Andreas Schwab  <schwab@suse.de>
4817
4818         * string/bits/string2.h (strdup, strndup): Update feature guard.
4819
4820 2014-06-14  David S. Miller  <davem@davemloft.net>
4821
4822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4823
4824 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4825
4826         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4827         that was previously under [RESET_PID].
4828         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4829
4830         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4831         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4832         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4833         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4834         (__libc_vfork): New strong alias.
4835         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4836
4837 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4838
4839         * sysdeps/generic/elide.h: New file.
4840
4841 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4842
4843         * Makefile (installed-headers): Adjust path of pthread.h header.
4844
4845 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4846
4847         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4848         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4849         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4850         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4851
4852         * nptl/sysdeps/s390/Makefile: Moved ...
4853         * sysdeps/s390/nptl/Makefile: ... here.
4854         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4855         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4856         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4857         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4858         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4859         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4860         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4861         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4862         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4863         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4864         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4865         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4866         * nptl/sysdeps/s390/tls.h: Moved ...
4867         * sysdeps/s390/nptl/tls.h: ... here.
4868
4869         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4870         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4871
4872 2014-06-13  David S. Miller  <davem@davemloft.net>
4873
4874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4877         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4881         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4882         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4883         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4884         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4885         Remove RESET_PID cpp guards.
4886         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4887         Remove RESET_PID cpp guards.
4888         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4889
4890 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4891
4892         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4893         __sp to uintptr_t.
4894
4895 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4896
4897         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4898         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4899         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4900         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4901         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4902         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4903         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4904         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4905         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4906         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4907         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4908         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4909         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4910         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4911         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4912         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4913         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4914         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4915         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4916         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4917
4918         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4919         (pthread_rwlock_rdlock): Add elision.
4920         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4921         (pthread_rwlock_wrlock): Add elision.
4922         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4923         (pthread_rwlock_trywrlock): Add elision.
4924         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4925         (pthread_rwlock_tryrdlock): Add elision.
4926         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4927         (pthread_rwlock_tryrdlock): Add elision unlock.
4928         * nptl/sysdeps/pthread/pthread.h:
4929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4930         (PTHREAD_RWLOCK_INITIALIZER,
4931         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4932         Handle new elision field.
4933         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4934         * sysdeps/arm/nptl/bits/pthreadtypes.h
4935         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4936         * sysdeps/sh/nptl/bits/pthreadtypes.h
4937         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4938         * sysdeps/tile/nptl/bits/pthreadtypes.h
4939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4940         * sysdeps/a/nptl/bits/pthreadtypes.h
4941         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4942         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4944         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4945         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4946         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4948         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4949         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4950         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4952         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4953         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4954         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4956         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4958         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4959         (elision_init): Set try_xbegin to zero when no RTM.
4960         * sysdeps/x86/nptl/bits/pthreadtypes.h
4961         (pthread_rwlock_t): Change __pad1 to __rwelision.
4962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4963
4964 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4965
4966         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4967         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4968         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4969         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4970
4971 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4972
4973         [BZ #16996]
4974         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4975         that the cached result has been set before returning it.
4976
4977 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4978
4979         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4980         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4981         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4982         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4983         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4984         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4985
4986         * nptl/sysdeps/sparc/Makefile: Moved ...
4987         * sysdeps/sparc/nptl/Makefile: ... here.
4988         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4989         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4990         * nptl/sysdeps/sparc/tls.h: Moved ...
4991         * sysdeps/sparc/nptl/tls.h: ... here.
4992         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4993         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4994         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4995         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4996         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4997         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4998         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4999         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5000         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5001         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5002         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5003         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5004         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5005         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5006         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5007         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5008         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5009         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5010         Update #include.
5011         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5012         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5013         Update #include.
5014         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5015         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5016         Update #include.
5017         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5018         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5019         Update #include.
5020
5021         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5022
5023         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5024         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5025
5026         * sysdeps/pthread/posix-timer.h: Include <list.h>.
5027         (struct list_links): Type removed.
5028         (struct thread_node, struct timer_node): Replace struct list_links
5029         with struct list_head.
5030         (list_unlink_ip): Likewise.
5031         * sysdeps/pthread/timer_routines.c
5032         (timer_free_list, thread_free_list, thread_active_list): Likewise.
5033         (list_append, list_insbefore): Likewise.
5034         (list_init): Function removed.
5035         (thread_init, init_module): Use INIT_LIST_HEAD instead.
5036         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5037         * sysdeps/pthread/Makefile: ... here, new file.
5038
5039         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5040         * sysdeps/nptl/Implies: ... here.
5041         * sysdeps/unix/sysv/linux/Implies: Add nptl.
5042         * nptl/sysdeps/pthread/list.h: Moved ...
5043         * include/list.h: ... here.
5044         * nptl/sysdeps/pthread/createthread.c: Moved ...
5045         * nptl/createthread.c: ... here.
5046         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5047         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5048         * nptl/pt-longjmp.c: ... here.
5049         * nptl/sysdeps/pthread/Makefile: Moved ...
5050         * sysdeps/nptl/Makefile: ... here.
5051         * nptl/sysdeps/pthread/Subdirs: Moved ...
5052         * sysdeps/nptl/Subdirs: ... here.
5053         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5054         * sysdeps/nptl/aio_misc.h: ... here.
5055         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5056         * sysdeps/nptl/bits/libc-lock.h: ... here.
5057         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5058         * sysdeps/nptl/bits/libc-lockP.h: ... here.
5059         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5060         * sysdeps/nptl/bits/stdio-lock.h: ... here.
5061         * nptl/sysdeps/pthread/configure: Moved ...
5062         * sysdeps/nptl/configure: ... here.
5063         * nptl/sysdeps/pthread/configure.ac: Moved ...
5064         * sysdeps/nptl/configure.ac: ... here.
5065         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5066         * sysdeps/nptl/gai_misc.h: ... here.
5067         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5068         * sysdeps/nptl/librt-cancellation.c: ... here.
5069         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5070         * sysdeps/nptl/malloc-machine.h: ... here.
5071         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5072         * sysdeps/nptl/pthread-functions.h: ... here.
5073         * nptl/sysdeps/pthread/pthread.h: Moved ...
5074         * sysdeps/nptl/pthread.h: ... here.
5075         * nptl/sysdeps/pthread/setxid.h: Moved ...
5076         * sysdeps/nptl/setxid.h: ... here.
5077         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5078         * sysdeps/nptl/sigfillset.c: ... here.
5079         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5080         * sysdeps/nptl/tcb-offsets.h: ... here.
5081         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5082         * sysdeps/nptl/tst-mqueue8x.c: ... here.
5083         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5084         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5085         * nptl/sysdeps/pthread/allocalim.h: Moved ...
5086         * sysdeps/pthread/allocalim.h: ... here.
5087         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5088         * sysdeps/pthread/bits/sigthread.h: ... here.
5089         * nptl/sysdeps/pthread/flockfile.c: Moved ...
5090         * sysdeps/pthread/flockfile.c: ... here.
5091         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5092         * sysdeps/pthread/ftrylockfile.c: ... here.
5093         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5094         * sysdeps/pthread/funlockfile.c: ... here.
5095         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5096         * sysdeps/pthread/posix-timer.h: ... here.
5097         * nptl/sysdeps/pthread/timer_create.c: Moved ...
5098         * sysdeps/pthread/timer_create.c: ... here.
5099         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5100         * sysdeps/pthread/timer_delete.c: ... here.
5101         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5102         * sysdeps/pthread/timer_getoverr.c: ... here.
5103         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5104         * sysdeps/pthread/timer_gettime.c: ... here.
5105         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5106         * sysdeps/pthread/timer_routines.c: ... here.
5107         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5108         * sysdeps/pthread/timer_settime.c: ... here.
5109         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5110         * sysdeps/pthread/tst-timer.c: ... here.
5111         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5112         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5113
5114         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5115         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5116
5117         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5118         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5119         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5120         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5121         Update #include target.
5122         * nptl/sysdeps/i386/i686/Makefile: Moved ...
5123         * sysdeps/i386/i686/nptl/Makefile: ... here.
5124         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5125         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5126         Update #include target.
5127         * nptl/sysdeps/i386/i686/tls.h: Moved ...
5128         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
5129         * nptl/sysdeps/i386/Makefile: Moved ...
5130         * sysdeps/i386/nptl/Makefile: ... here.
5131         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5132         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5133         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5134         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5135         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5136         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5137         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5138         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5139         * sysdeps/i386/nptl/pthreaddef.h: ... here.
5140         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5141         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5142         * nptl/sysdeps/i386/tls.h: Moved ...
5143         * sysdeps/i386/nptl/tls.h: ... here.
5144
5145         * sysdeps/sh/Makefile [$(subdir) = csu]
5146         (gen-as-const-headers): Add tcb-offsets.sym.
5147         * nptl/sysdeps/sh/Makefile: File removed.
5148         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5149         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5150         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5151         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5152         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5153         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5154         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5155         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5156         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5157         * sysdeps/sh/nptl/pthreaddef.h: ... here.
5158         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5159         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5160         * nptl/sysdeps/sh/tls.h: Moved ...
5161         * sysdeps/sh/nptl/tls.h: ... here.
5162         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5163         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5164         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5165         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5166         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5167         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5168         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5169         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5170         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5171         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5172         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5173         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5174         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5175         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5176         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5177         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5178         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5179         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5180         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5181         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5182         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5183         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5184         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5185         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5186         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5187         Moved ...
5188         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5189         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5190         Moved ...
5191         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5192         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5193         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5194         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5195         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5196         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5197         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5198         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5199         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5200         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5201         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5202         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5203         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5204         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5205         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5206         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5207         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5208         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5209         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5210
5211 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5212
5213         * posix/spawn_faction_addopen.c: Include string.h.
5214
5215 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5216
5217         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5218         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5219         * nptl/sysdeps/x86_64/Makefile: Moved ...
5220         * sysdeps/x86_64/nptl/Makefile: ... here.
5221         * nptl/sysdeps/x86_64/configure: Moved ...
5222         * sysdeps/x86_64/nptl/configure: ... here.
5223         * nptl/sysdeps/x86_64/configure.ac: Moved ...
5224         * sysdeps/x86_64/nptl/configure.ac: ... here.
5225         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5226         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5227         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5228         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5229         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5230         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5231         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5232         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5233         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5234         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5235         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5236         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5237         * nptl/sysdeps/x86_64/tls.h: Moved ...
5238         * sysdeps/x86_64/nptl/tls.h: ... here.
5239         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5240         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5241         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5242         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5243
5244         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5245
5246 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5247
5248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5249
5250 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
5251
5252         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5253         type.
5254         [POSIX] (off_t): Likewise.
5255         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5256         [POSIX] (S_ISBLK): Require macro.
5257         [POSIX] (S_ISCHR): Likewise.
5258         [POSIX] (S_ISDIR): Likewise.
5259         [POSIX] (S_ISFIFO): Likewise.
5260         [POSIX] (S_ISREG): Likewise.
5261         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5262         optional-macro.
5263         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5264         type.
5265         [POSIX] (time_t): Likewise.
5266         [POSIX] (timer_t): Likewise.
5267
5268 2014-06-11  Florian Weimer  <fweimer@redhat.com>
5269
5270         [BZ #17048]
5271         * posix/spawn_int.h (struct __spawn_action): Make the path string
5272         non-const to support deallocation.
5273         * posix/spawn_faction_addopen.c
5274         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5275         * posix/spawn_faction_destroy.c
5276         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
5277         path in all spawn_do_open actions.
5278         * posix/tst-spawn.c (do_test): Exercise the copy operation in
5279         posix_spawn_file_actions_addopen.
5280
5281 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
5282
5283         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5284         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5285         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5286         conditional code always true.
5287         (__libc_vfork): New alias.
5288
5289 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5290
5291         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5292         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5293
5294         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5295
5296         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5297         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5298
5299         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5300         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5301
5302         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5303         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5304
5305 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5306
5307         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5308         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5309         multiarch strcmp for PPC64.
5310         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5311         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5313         multiarch optimizations.
5314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5315         (__libc_ifunc_impl_list): Likewise.
5316
5317 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5318
5319         * benchtests/scripts/validate_benchout.py: New script.
5320         * benchtests/Makefile (bench-func): Call it.
5321         * benchtests/scripts/benchout.schema.json: New file.
5322
5323 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
5324
5325         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5326         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5327         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5328         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5329         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5330         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5331         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5332         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5333         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5334         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5335         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5336         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5337         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5338         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5339         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5340         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5342         Moved ...
5343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5344         ... here.
5345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5346         Moved ...
5347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5349         Moved ...
5350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5351         ... here.
5352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5353         Moved ...
5354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5355         ... here.
5356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5357         Moved ...
5358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5360         Moved ...
5361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5362         ... here.
5363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5364         Moved ...
5365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5366         ... here.
5367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5368         Moved ...
5369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5371         Moved ...
5372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5373         ... here.
5374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5375         Moved ...
5376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5377         ... here.
5378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5379         Moved ...
5380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5381         ... here.
5382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5383         Moved ...
5384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5386         Moved ...
5387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5388         ... here.
5389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5390         Moved ...
5391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5392         ... here.
5393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5394         Moved ...
5395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5396         ... here.
5397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5398         Moved ...
5399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5401         Moved ...
5402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5403         ... here.
5404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5405         Moved ...
5406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5407         ... here.
5408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5409         Moved ...
5410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5412         Moved ...
5413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5414         ... here.
5415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5416         Moved ...
5417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5419         Moved ...
5420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5422         Moved ...
5423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5424         ... here.
5425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5426         Moved ...
5427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5428         ... here.
5429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5430         Moved ...
5431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5432         ... here.
5433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5434         Moved ...
5435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5437         Moved ...
5438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5439         ... here.
5440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5441         Moved ...
5442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5443         ... here.
5444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5445         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5447         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5448         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5449         Moved ...
5450         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5451         ... here.
5452         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5453         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5454         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5455         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5456         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5457         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5458         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5459         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5461         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5462         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5463         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5464         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5465         Moved ...
5466         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5468         Moved ...
5469         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5471         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5473         Moved ...
5474         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5475         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5476         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5477         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5478         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5479         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5480         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5481
5482 2014-06-10  Wilco  <wdijkstr@arm.com>
5483
5484         * math/test-fenv-return.c: New file.
5485         * math/Makefile: Add new test test-fenv-return.
5486
5487 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5488
5489         [BZ #17042]
5490         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5491         when x - 1 is zero.
5492         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5493         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5494         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5495         0.0L for an argument of 1.0L.
5496         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5497         Likewise.
5498         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5499         value when x - 1 is zero.
5500         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5501         * sysdeps/i386/fpu/libm-test-ulps: Update.
5502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5503
5504 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5505
5506         [BZ #15119]
5507         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5508
5509 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5510
5511         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5512         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5513
5514 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5515
5516         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5517         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5518
5519         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5520         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5521
5522         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5523         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5524
5525         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5526         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5527
5528         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5529         if not already defined.
5530         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5531         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5532         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5533         (TLS_INIT_TP): Use it.
5534         (TLS_DEFINE_INIT_TP): New macro.
5535         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5536
5537 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5538
5539         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5540         constant.
5541         [POSIX] (IXANY): Likewise.
5542         [POSIX] (OLCUC): Likewise.
5543         [POSIX || POSIX2008] (CBAUD): Do not allow.
5544         [POSIX || POSIX2008] (DEFECHO): Likewise.
5545         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5546         [POSIX || POSIX2008] (ECHOKE): Likewise.
5547         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5548         [POSIX || POSIX2008] (EXTA): Likewise.
5549         [POSIX || POSIX2008] (EXTB): Likewise.
5550         [POSIX || POSIX2008] (FLUSHO): Likewise.
5551         [POSIX || POSIX2008] (LOBLK): Likewise.
5552         [POSIX || POSIX2008] (PENDIN): Likewise.
5553         [POSIX || POSIX2008] (SWTCH): Likewise.
5554         [POSIX || POSIX2008] (VDISCARD): Likewise.
5555         [POSIX || POSIX2008] (VDSUSP): Likewise.
5556         [POSIX || POSIX2008] (VLNEXT): Likewise.
5557         [POSIX || POSIX2008] (VREPRINT): Likewise.
5558         [POSIX || POSIX2008] (VSTATUS): Likewise.
5559         [POSIX || POSIX2008] (VWERASE): Likewise.
5560         (B*): Change to B[0123456789]*.
5561         * conform/data/time.h-data [POSIX || UNIX98]
5562         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5563         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5564         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5565         [POSIX] (tm_*): Do not allow.
5566
5567 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5568
5569         * Makefile (install): Don't set LANGUAGE.
5570         * Makefile.in (install): Likewise.
5571         * assert/Makefile (test-assert-ENV): Remove variable.
5572         (test-assert-perr-ENV): Likewise.
5573         * elf/Makefile (neededtest4-ENV): Likewise.
5574         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5575         [$(cross-compiling) = no]: Don't set LANGUAGE.
5576         * io/ftwtest-sh (LANG): Remove variable.
5577         * libio/Makefile (tst-widetext-ENV): Likewise.
5578         * manual/install.texi (Running make install): Don't refer to
5579         environment settings for make install.
5580         * INSTALL: Regenerated.
5581         * nptl/tst-tls6.sh: Don't set LANG.
5582         * posix/globtest.sh (LANG): Remove variable.
5583         * string/Makefile (tester-ENV): Likewise.
5584         (inl-tester-ENV): Likewise.
5585         (noinl-tester-ENV): Likewise.
5586         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5587         [$(cross-compiling) = no]: Don't set LANGUAGE.
5588         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5589         without explicit environment settings.
5590
5591 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5592
5593         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5594         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5595         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5596         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5597
5598 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5599
5600         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5601         other files in the crypt directory.
5602         * crypt/crypt.c: Remove duplicate includes.
5603         * crypt/crypt-entry.c: Likewise.
5604         * crypt/crypt_util.c: Likewise.
5605
5606 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5607
5608         * Makeconfig (run-program-env): New variable.
5609         (run-program-prefix-before-env): Likewise.
5610         (run-program-prefix-after-env): Likewise.
5611         (run-program-prefix): Define in terms of new variables.
5612         (built-program-cmd-before-env): New variable.
5613         (built-program-cmd-after-env): Likewise.
5614         (built-program-cmd): Define in terms of new variables.
5615         (test-program-prefix-before-env): New variable.
5616         (test-program-prefix-after-env): Likewise.
5617         (test-program-prefix): Define in terms of new variables.
5618         (test-program-cmd-before-env): New variable.
5619         (test-program-cmd-after-env): Likewise.
5620         (test-program-cmd): Define in terms of new variables.
5621         * Rules (make-test-out): Use $(run-program-env).
5622         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5623         (help): Do not mention environment variables.  Mention
5624         --timeoutfactor option.
5625         (timeoutfactor): New variable.
5626         (blacklist_exports): Remove function.
5627         (exports): Remove variable.
5628         (command): Do not include ${exports}.
5629         * manual/install.texi (Configuring and compiling): Do not mention
5630         test wrappers preserving environment variables.  Mention that last
5631         assignment to a variable must take precedence.
5632         * INSTALL: Regenerated.
5633         * benchtests/Makefile (run-bench): Use $(run-program-env).
5634         * catgets/Makefile ($(objpfx)test1.cat): Use
5635         $(built-program-cmd-before-env), $(run-program-env) and
5636         $(built-program-cmd-after-env).
5637         ($(objpfx)test2.cat): Do not specify environment variables
5638         explicitly.
5639         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5640         $(run-program-env) and $(built-program-cmd-after-env).
5641         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5642         $(run-program-env) and $(test-program-cmd-after-env).
5643         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5644         explicitly.
5645         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5646         run_program_env and test_program_cmd_after_env arguments.
5647         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5648         * elf/tst-pathopt.sh: Use run_program_env argument.
5649         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5650         $(test-wrapper-env) and $(run-program-env).
5651         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5652         run_program_env arguments.
5653         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5654         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5655         $(test-program-prefix-before-env), $(run-program-env) and
5656         $(test-program-prefix-after-env).
5657         ($(objpfx)tst-gettext2.out): Likewise.
5658         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5659         run_program_env and test_program_prefix_after_env arguments.
5660         * intl/tst-gettext2.sh: Likewise.
5661         * intl/tst-gettext4.sh: Do not set environment variables
5662         explicitly.
5663         * intl/tst-gettext6.sh: Likewise.
5664         * intl/tst-translit.sh: Likewise.
5665         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5666         $(test-program-prefix-before-env), $(run-program-env) and
5667         $(test-program-prefix-after-env).
5668         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5669         run_program_env and test_program_prefix_after_env arguments.
5670         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5671         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5672         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5673         explicitly with each use of ${test_wrapper_env}.
5674         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5675         $(test-program-prefix-before-env), $(run-program-env) and
5676         $(test-program-prefix-after-env).
5677         * posix/tst-getconf.sh: Do not set environment variables
5678         explicitly.
5679         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5680         run_program_env and test_program_prefix_after_env arguments.
5681         * stdio-common/tst-printf.sh: Do not set environment variables
5682         explicitly.
5683         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5684         $(test-program-prefix-before-env), $(run-program-env) and
5685         $(test-program-prefix-after-env).
5686         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5687         run_program_env and test_program_prefix_after_env arguments.
5688         Split $test calls into $test_pre and $test.
5689         * timezone/Makefile (build-testdata): Use
5690         $(built-program-cmd-before-env), $(run-program-env) and
5691         $(built-program-cmd-after-env).
5692
5693 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5694
5695         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5696         strlen for non SHARED builds.
5697
5698 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5699
5700         * nptl/allocatestack.c (check_list): Inlined function...
5701         (__reclaim_stacks): ... here.
5702
5703 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5704
5705         [BZ #15698]
5706         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5707         memory overrun.
5708
5709 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5710
5711         * Rules (make-test-out): Include
5712         LOCPATH=$(common-objpfx)localedata in default environment.
5713         * debug/Makefile (tst-chk1-ENV): Remove variable.
5714         (tst-chk2-ENV): Likewise.
5715         (tst-chk3-ENV): Likewise.
5716         (tst-chk4-ENV): Likewise.
5717         (tst-chk5-ENV): Likewise.
5718         (tst-chk6-ENV): Likewise.
5719         (tst-lfschk1-ENV): Likewise.
5720         (tst-lfschk2-ENV): Likewise.
5721         (tst-lfschk3-ENV): Likewise.
5722         (tst-lfschk4-ENV): Likewise.
5723         (tst-lfschk5-ENV): Likewise.
5724         (tst-lfschk6-ENV): Likewise.
5725         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5726         (tst-iconv7-ENV): Likewise.
5727         * intl/Makefile (LOCPATH-ENV): Likewise.
5728         (tst-codeset-ENV): Likewise.
5729         (tst-gettext3-ENV): Likewise.
5730         (tst-gettext5-ENV): Likewise.
5731         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5732         (tst-fopenloc-ENV): Likewise.
5733         (tst-fgetws-ENV): Remove variable.
5734         (tst-ungetwc1-ENV): Likewise.
5735         (tst-ungetwc2-ENV): Likewise.
5736         (bug-ungetwc2-ENV): Likewise.
5737         (tst-swscanf-ENV): Likewise.
5738         (bug-ftell-ENV): Likewise.
5739         (tst-fgetwc-ENV): Likewise.
5740         (tst-fseek-ENV): Likewise.
5741         (tst-ftell-partial-wide-ENV): Likewise.
5742         (tst-ftell-active-handler-ENV): Likewise.
5743         (tst-ftell-append-ENV): Likewise.
5744         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5745         (tst-regexloc-ENV): Likewise.
5746         (bug-regex1-ENV): Likewise.
5747         (tst-regex-ENV): Likewise.
5748         (tst-regex2-ENV): Likewise.
5749         (bug-regex5-ENV): Likewise.
5750         (bug-regex6-ENV): Likewise.
5751         (bug-regex17-ENV): Likewise.
5752         (bug-regex18-ENV): Likewise.
5753         (bug-regex19-ENV): Likewise.
5754         (bug-regex20-ENV): Likewise.
5755         (bug-regex22-ENV): Likewise.
5756         (bug-regex23-ENV): Likewise.
5757         (bug-regex25-ENV): Likewise.
5758         (bug-regex26-ENV): Likewise.
5759         (bug-regex30-ENV): Likewise.
5760         (bug-regex32-ENV): Likewise.
5761         (bug-regex33-ENV): Likewise.
5762         (bug-regex34-ENV): Likewise.
5763         (bug-regex35-ENV): Likewise.
5764         (tst-rxspencer-ENV): Likewise.
5765         (tst-rxspencer-no-utf8-ENV): Likewise.
5766         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5767         (tst-sscanf-ENV): Likewise.
5768         (tst-swprintf-ENV): Likewise.
5769         (tst-swscanf-ENV): Likewise.
5770         (test-vfprintf-ENV): Likewise.
5771         (scanf13-ENV): Likewise.
5772         (bug14-ENV): Likewise.
5773         (tst-grouping-ENV): Likewise.
5774         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5775         (tst-strtod3-ENV): Likewise.
5776         (tst-strtod4-ENV): Likewise.
5777         (tst-strtod5-ENV): Likewise.
5778         (testmb2-ENV): Likewise./
5779         * string/Makefile (tst-strxfrm-ENV): Likewise.
5780         (tst-strxfrm2-ENV): Likewise.
5781         (bug-strcoll1-ENV): Likewise.
5782         (test-strcasecmp-ENV): Likewise.
5783         (test-strncasecmp-ENV): Likewise.
5784         * time/Makefile (tst-strptime-ENV): Likewise.
5785         (tst-ftime_l-ENV): Likewise.
5786         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5787         (tst-mbrtowc-ENV): Likewise.
5788         (tst-wcrtomb-ENV): Likewise.
5789         (tst-mbrtowc2-ENV): Likewise.
5790         (tst-c16c32-1-ENV): Likewise.
5791         (tst-mbsnrtowcs-ENV): Likewise.
5792
5793 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5794
5795         * manual/resource.texi (How to get information about the memory
5796         subsystem?): Fix typo.
5797         Reported by Peon de la Parra Ivan <peon@keba.com>
5798
5799 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5800
5801         [BZ #16882]
5802         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5803         (pthread_spin_lock): Branch out of spin loop to proper location.
5804         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5805         (pthread_spin_lock): Likewise.
5806
5807         * nptl/tst-spin4.c: New test.
5808         * nptl/Makefile (tests): Add tst-spin4.
5809
5810 2014-06-03  Andreas Schwab  <schwab@suse.de>
5811
5812         [BZ #15946]
5813         * resolv/res_send.c (send_dg): Reload file descriptor after
5814         calling reopen.
5815
5816 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5817
5818         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5819
5820 2014-06-03  Richard Henderson  <rth@redhat.com>
5821
5822         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5823         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5824         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5825         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5826         in the SAVE_PID block.
5827         (__libc_vfork): New alias.
5828         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5829
5830         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5831         child in registers, not on the stack.  Remove RESET_PID conditionals.
5832         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5833
5834 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5835
5836         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5837
5838 2014-06-03  Wilco  <wdijkstr@arm.com>
5839
5840         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5841         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5842         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5843         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5844         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5845         Likewise.
5846
5847 2014-06-03  Wilco  <wdijkstr@arm.com>
5848
5849         * sysdeps/aarch64/fpu/math_private.h
5850         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5851         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5852         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5853         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5854         Fix declarations.
5855
5856 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5857
5858         * crypt/crypt-private.h: Include ufc-crypt.h.
5859         (__b64_from_24bit): Declare extern.
5860         * crypt/crypt_util.c(__b64_from_24bit): New function.
5861         (b64t): New static const variable.
5862         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5863         (b64t): Remove variable.
5864         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5865         * crypt/sha256-crypt.c: Include crypt-private.h.
5866         (b64t): Remove variable.
5867         (__sha256_crypt_r): Remove b64_from_24bit and replace
5868         with __b64_from_24bit.
5869         * crypt/sha512-crypt.c: Likewise.
5870
5871 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5872
5873         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5874         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5875         Label the code __libc_vfork rather than __vfork.
5876         [!NOT_IN_libc] (vfork): Define as weak alias.
5877         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5878         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5879         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5880
5881 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5882
5883         * malloc/malloc.c (malloc_info): Fix format specifier for
5884         n_mmaps.
5885
5886 2014-06-02  Wilco  <wdijkstr@arm.com>
5887
5888         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5889         FPCR write.
5890
5891 2014-06-02  Wilco  <wdijkstr@arm.com>
5892
5893         [BZ #17009]
5894         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5895         Rewrite to reduce FPCR/FPSR accesses.
5896
5897 2014-06-01  David S. Miller  <davem@davemloft.net>
5898
5899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5900
5901 2014-05-31  David S. Miller  <davem@davemloft.net>
5902
5903         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5904         to occur in round to nearest mode when |x| >= 2.0
5905
5906 2014-05-30  Richard Henderson  <rth@twiddle.net>
5907
5908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5909         (PSEUDO_RET_NOERRNO): Remove.
5910         (ret): Don't redefine.
5911         (ret_NOERRNO): Define in terms of ret.
5912         (ret_ERRVAL): Likewise.
5913
5914         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5915         use of PSEUDO_RET; perform the error check directly.
5916
5917 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5918
5919         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5920         with __int128_t.
5921
5922 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5923
5924         * malloc/malloc (malloc_info): Fix formatting.
5925
5926 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5927             Roland McGrath  <roland@hack.frob.com>
5928
5929         * malloc/malloc (malloc_info): Also print mmapped statistics.
5930
5931 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5932
5933         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5934         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5935
5936 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5937
5938         * malloc/malloc.c (malloc_info): Inline mi_arena.
5939
5940 2014-05-29  Richard Henderson  <rth@twiddle.net>
5941
5942         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5943         Remove comma before expanding ASM_ARGS_##nr.
5944         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5945         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5946         of ASM_ARGS_##nr.
5947         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5948         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5949         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5950         (ASM_ARGS_1): Add leading comma.
5951
5952         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5953         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5954         to __errno_location.
5955         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5956         Remove the expected plt for __errno_location.
5957
5958         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5959         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5960         call to __read_tp.
5961
5962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5963         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5964         it and break it down.
5965         (DOCARGS_0, DOCARGS_1): Do nothing.
5966         (DOCARGS_2): Update to store into the new stack frame.
5967         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5968         (UNDOCARGS_1): Update to restore from the new stack frame.
5969         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5970         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5971
5972         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5973         (SINGLE_THREAD_P): New parameter for result regno.
5974         (PSEUDO): Update to match; use cbz instead of beq.
5975
5976         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5977         Use ENTRY to define the _nocancel entry point.  Share the syscall
5978         and syscall error check paths with the cancel path.
5979         (PSEUDO_END): New.
5980
5981         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5982         whitespace; tabs before and after asm mnemonics.
5983
5984 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5985
5986         [BZ #15132]
5987         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5988         Call fstat64 or stat64 internally, depending on arguments passed.
5989         Replace stat buffer argument with file descriptor argument.
5990         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5991         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5992         Pass fd to __internal_statvfs instead of calling fstat64.
5993         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5994         Pass fd to __internal_statvfs64 instead of calling fstat64.
5995         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5996         Pass -1 to __internal_statvfs instead of calling stat64.
5997         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5998         Pass -1 to __internal_statvfs64 instead of calling stat64.
5999
6000 2014-05-28  Roland McGrath  <roland@hack.frob.com>
6001
6002         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6003         that was previously under [RESET_PID].
6004         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6005
6006         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6007         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6008
6009 2014-05-27  Roland McGrath  <roland@hack.frob.com>
6010
6011         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6012
6013         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6014         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6015
6016 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
6017
6018         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6019
6020 2014-05-27  Andreas Schwab  <schwab@suse.de>
6021
6022         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6023         TLS_INIT_TP macro.
6024         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6025         * elf/rtld.c (init_tls, dl_main): Likewise.
6026         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6027         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6028         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6029         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6030         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6031         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6032         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6033         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6034         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6035         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6036         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6037         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6038         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6039         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6040         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6041         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6042         * sysdeps/generic/tls.h: Update description.
6043
6044 2014-05-27  Will Newton  <will.newton@linaro.org>
6045
6046         [BZ #16990]
6047         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6048         and restore r2 rather than just restoring.
6049
6050 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6051
6052         [BZ #16724]
6053         * libio/tst-ftell-append.c: New test case.
6054         * libio/Makefile (tests): Add test case.
6055         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6056         append mode.
6057         * libio/wfileops.c (do_ftell_wide): Likewise.
6058
6059 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6060
6061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6062
6063         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6064         ...
6065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6067         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6068         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6069         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6070         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6071         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6072         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6073         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6074         Moved ...
6075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6077         Moved ...
6078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6079         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6080         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6081         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6082         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6083         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6084         ...
6085         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6086         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6087         Moved ...
6088         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6089         here.
6090         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6091         ...
6092         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6093         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6094         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6095
6096         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6097         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6098         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6099         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6100
6101         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6102         merge into ...
6103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6105         ...
6106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6108         ...
6109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6111         Moved ...
6112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6113         here.
6114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6115         Moved ...
6116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6118         Moved ...
6119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6120
6121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6122         conditional [RESET_PID].
6123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6125         removed.
6126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6127         removed.
6128
6129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6130         <tcb-offsets.h>.
6131         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6132         (__libc_vfork): New strong alias.
6133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6134         removed.
6135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6136         Removed.
6137
6138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6139         <tcb-offsets.h>.
6140         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6141         (__libc_vfork): New strong alias.
6142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6143         removed.
6144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6145         removed.
6146
6147 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
6148
6149         * malloc/malloc.c (mi_arena): New function.
6150         (malloc_info): Remove nested function mi_arena. Call non-nosted
6151         function mi_arena.
6152
6153 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6154
6155         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6156         by insrwi.
6157         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6158         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6159         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6160         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6161         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6162         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6163         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6164
6165 2014-05-26  Andreas Schwab  <schwab@suse.de>
6166
6167         [BZ #16984]
6168         * locale/programs/repertoire.c (repertoire_read): Add slash
6169         between I18NPATH element and file name.
6170         * locale/programs/locfile.c (locfile_read): Likewise.
6171
6172 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6173
6174         * nptl/pthread_mutexattr_settype.c
6175         (__pthread_mutexattr_settype):
6176         Disable lock elision for PTHREAD_MUTEX_NORMAL.
6177
6178 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6179
6180         * nptl/tst-mutex5 (do_test):
6181         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6182
6183 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6184
6185         * benchtests/README: Document 'init' directive.
6186         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6187         BENCH_INIT.
6188         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6189         (parse_file): Recognize 'init' directive.
6190
6191 2014-05-26  Kyle McMartin  <kyle@redhat.com>
6192
6193         [BZ #16796]
6194         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6195         alignment of struct pthread.
6196
6197 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6198
6199         [BZ #16878]
6200         * nscd/netgroupcache.c (addgetnetgrentX): Look for
6201         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6202         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6203         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6204
6205 2014-05-25  Richard Henderson  <rth@twiddle.net>
6206
6207         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6208         (SINGLE_THREAD_P_PIC): Remove.
6209         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6210         (SINGLE_THREAD_P_PIC): Remove.
6211
6212         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6213         branch to syscall error ...
6214         (PSEUDO): ... here.
6215         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6216         from __local_syscall_error to .Lsyscall_error.
6217         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6218         (SYSCALL_ERROR): Update label name.
6219
6220         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6221         Do not use DOARGS/UNDOARGS.
6222         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6223         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6224         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6225         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6226         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6227
6228         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6229         block comment.
6230
6231         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6232         define if !NOT_IN_libc.
6233         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6234         define with non-default symbol versions.
6235
6236 2014-05-23  Richard Henderson  <rth@twiddle.net>
6237
6238         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6239         (vfork, __vfork): Define via compat_symbol.
6240
6241         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6242         [!HAVE_IFUNC] (vfork_compat): Remove.
6243         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6244
6245 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6246
6247         [BZ #16978]
6248         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6249         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6250         variable.
6251
6252 2014-05-23  Richard Henderson  <rth@twiddle.net>
6253
6254         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6255         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6256         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6257         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6258
6259         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6260         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6261         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6262         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6263         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6264         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6265         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6266         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6267         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6268         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6269         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6270         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6271         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6272         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6273         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6274         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6275         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6276         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6277         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6278         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6279         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6280         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6281         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6282         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6283         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6284         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6285         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6286         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6287         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6288         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6289         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6290         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6291         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6292         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6293         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6294         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6295         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6296         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6297         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6298         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6299         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6300         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6301         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6302         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6303         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6304         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6305         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6306         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6307         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6308         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6309         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6310         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6311         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6312         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6313         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6314         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6315
6316         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6317         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6318         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
6319         before exiting on error.
6320         (__libc_vfork): New strong alias.
6321         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6322         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6323
6324         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6325         that was previously under [RESET_PID].
6326         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6327
6328         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6329
6330 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6331
6332         [BZ #16977]
6333         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6334         value when x - 1 is zero.
6335         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6336         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6337         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6338         0.0L for an argument of 1.0L.
6339         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6340         Likewise.
6341         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6342         value when x - 1 is zero.
6343         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6344         * sysdeps/i386/fpu/libm-test-ulps: Update.
6345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6346
6347 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6348
6349         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6350         alphasort and versionsort.
6351
6352 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6353
6354         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6355         macro.
6356         [copysignf]: Likewise.
6357
6358 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6359
6360         * crypt/md5-crypt.c: Fix formatting.
6361
6362 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6363
6364         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6365         (b64_from_24bit): New function.
6366
6367 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6368
6369         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6370         libc_hidden_builtin_def to ifunc.
6371         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6372         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6373
6374 2014-05-21  Roland McGrath  <roland@hack.frob.com>
6375
6376         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6377         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6378
6379 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
6380
6381         * nscd/Depend (linuxthreads): Remove.
6382         (nptl): Add.
6383         * resolv/Depend (linuxthreads): Remove.
6384         * rt/Depend (linuxthreads): Remove.
6385
6386         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6387         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6388         $(common-objpfx)elf/.
6389         (link-libc-before-gnulib): Likewise.
6390         (elfobjdir): Remove variable.
6391         * Makefile (install): Use $(elf-objpfx) instead of
6392         $(common-objpfx)elf/.
6393         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6394         $(elfobjdir)/.
6395         (link-libc-deps): Likewise.
6396         ($(common-objpfx)libc.so): Likewise.
6397         ($(common-objpfx)linkobj/libc.so): Likewise.
6398         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6399         instead of $(common-objpfx)elf/.
6400         (symbolic-link-list): Likewise.
6401         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6402         [$(cross-compiling) = no]: Likewise.
6403         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6404         $(elfobjdir)/.
6405         (static-gnulib-arch): Likewise.
6406         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6407         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6408         $(common-objpfx)elf/.
6409
6410 2014-05-21  Richard Henderson  <rth@redhat.com>
6411
6412         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6413         (SINGLE_THREAD_P): Use the correct width load.  Fold
6414         into the ldr offset.
6415
6416         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6417         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6418
6419 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6420
6421         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6422         (libgcc_s_resume): Use __attribute_used__.
6423         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6424         Likewise.
6425
6426 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6427
6428         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6429         optimization when used with float constants.
6430
6431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6432
6433 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6434
6435         [BZ #16915]
6436         * locale/nl_langinfo_l.c: Make direct reference to every
6437         _nl_current_CATEGORY symbol.
6438         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6439         (tests-static): Add tst-langinfo-static.
6440         (tests-special): Add tst-langinfo-static.out.
6441         ($(objpfx)tst-langinfo.out): Redirect output.
6442         ($(objpfx)tst-langinfo-static.out): New.
6443         * localedata/tst-langinfo.sh: Send output to stdout.
6444         * localedata/tst-langinfo-static.c: New file.
6445
6446         [BZ #16965]
6447         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6448         when the shift amount is modulo the limb size.
6449
6450 2014-05-20  Richard Henderson  <rth@redhat.com>
6451
6452         [BZ #16967]
6453         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6454         Change type of sa_flags from unsigned int to int.
6455
6456         [BZ #16966]
6457         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6458
6459         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6460
6461 2014-05-20  Will Newton  <will.newton@linaro.org>
6462
6463         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6464         Test the return value of the system call in the nocancel case.
6465
6466 2014-05-20  Will Newton  <will.newton@linaro.org>
6467             Yvan Roux  <yvan.roux@linaro.org>
6468
6469         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6470         #include of asm/ptrace.h.
6471         (PTRACE_GET_THREAD_AREA): Remove #undef.
6472         (PTRACE_GETHBPREGS): Likewise.
6473         (PTRACE_SETHBPREGS): Likewise.
6474         (struct user_regs_struct): New structure.
6475         (struct user_fpsimd_struct): New structure.
6476         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6477         #include of asm/ptrace.h and second #include of sys/user.h.
6478         (PTRACE_GET_THREAD_AREA): Remove #undef.
6479         (PTRACE_GETHBPREGS): Likewise.
6480         (PTRACE_SETHBPREGS): Likewise.
6481         (ELF_NGREG): Use new struct user_regs_struct.
6482         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6483
6484 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6485
6486         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6488
6489 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6490
6491         [BZ #16958]
6492         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6493         membar to avoid block loads/stores to overlap previous stores.
6494
6495 2014-05-17  Richard Henderson  <rth@redhat.com>
6496
6497         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6498         Create the __##syscall_name##_nocancel entry point.
6499         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6500         Remove; let the sysdep-cancel.h code create it.
6501
6502 2014-05-17  David S. Miller  <davem@davemloft.net>
6503
6504         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6505         Protect with __USE_GNU.
6506         (TIOCSET_TEMPT): Likewise.
6507         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6508         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6509         these are already provided in bits/ioctl-types.h
6510
6511 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6512
6513         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6514         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6515
6516         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6517         Use wait4 regardless of [__NR_waitpid].
6518
6519 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6520
6521         PR libgcc/60166
6522         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6523         (_FP_NANSIGN_Q): Set the quiet bit.
6524
6525 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6526
6527         * benchtests/Makefile
6528         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6529         not $(common-objpfx)math/libm.so.
6530         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6531         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6532         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6533         $(common-objpfx)dlfcn/libdl.so.
6534         ($(objpfx)tst-audit8): Depend on $(libm), not
6535         $(common-objpfx)math/libm.so.
6536         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6537         not $(common-objpfx)dlfcn/libdl.so.
6538         * math/Makefile
6539         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6540         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6541         [$(build-shared) = yes].
6542         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6543         $(common-objpfx)nptl/libpthread.so.
6544         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6545         $(common-objpfx)math/libm.so$(libm.so-version) or
6546         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6547         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6548         $(common-objpfx)dlfcn/libdl.so.
6549         * setjmp/Makefile (link-libm): Remove variable.
6550         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6551         * stdio-common/Makefile (link-libm): Remove variable.
6552         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6553         * stdlib/Makefile (link-libm): Remove variable.
6554         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6555         ($(objpfx)tst-strtod-round): Likewise.
6556         ($(objpfx)tst-tininess): Likewise.
6557         ($(objpfx)tst-strtod-underflow): Likewise.
6558         ($(objpfx)tst-strtod6): Likewise.
6559         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6560         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6561         $(common-objpfx)dlfcn/libdl.so.
6562
6563 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6564
6565         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6566         BSD terminal modes definitions.
6567
6568 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6569
6570         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6571         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6572
6573         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6574         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6575         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6576         Don't do #include_next.
6577         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6578         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6579         Don't do #include_next.
6580         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6581         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6582         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6583         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6584
6585 2014-05-16  Allan McRae  <allan@archlinux.org>
6586
6587         * po/sv.po: Update Swedish translation from translation project.
6588
6589         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6590         in sed expression.
6591
6592 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6593
6594         [BZ #16917]
6595         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6596         errno if the TIOCGPTN ioctl fails with an error different than
6597         EINVAL.
6598         * login/tst-ptsname.c: New file.
6599         * login/Makefile (tests): Add tst-ptsname.
6600
6601         [BZ #16943]
6602         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6603         and prlimit64.
6604
6605 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6606
6607         [BZ #16849]
6608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6609         herrno to return EAI_AGAIN.
6610
6611 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6612
6613         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6614         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6615         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6616         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6617         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6618         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6619         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6620         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6621         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6622         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6623         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6624         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6625         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6626         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6627         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6628         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6629         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6630         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6631         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6632         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6633         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6634         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6635         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6636         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6637         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6638         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6639         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6640         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6641         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6642         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6644         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6646         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6648         Moved ...
6649         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6651         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6653         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6655         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6657         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6659         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6661         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6663         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6665         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6667         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6669         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6671         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6673         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6675         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6677         Moved ...
6678         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6680         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6682         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6684         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6686         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6688         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6690         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6692         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6694         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6696         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6698         Moved ...
6699         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6701         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6702
6703         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6704         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6705         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6706         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6707         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6708         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6709         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6710         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6711         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6712         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6713         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6714         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6715         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6716         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6717         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6718         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6719         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6720         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6721         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6722         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6723         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6724         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6725         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6726         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6727         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6728         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6729         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6730         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6731         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6732         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6733         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6734
6735         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6736         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6737
6738         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6739         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6740         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6741         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6742         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6743         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6744         Moved ...
6745         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6746         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6747         Moved ...
6748         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6749         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6750         Moved ...
6751         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6752         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6753         Moved ...
6754         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6755         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6756         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6757         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6758         Moved ...
6759         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6760         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6761         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6763         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6764         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6765         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6766         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6767         Moved ...
6768         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6769         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6770         Moved ...
6771         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6772         ... here.
6773         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6774         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6775         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6776         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6777         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6778         Moved ...
6779         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6780         ... here.
6781         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6782         Moved ...
6783         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6784         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6785         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6786         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6787         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6788         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6789         Moved ...
6790         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6791         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6792         Moved ...
6793         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6794         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6795         Moved ...
6796         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6797         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6798         Moved ...
6799         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6800         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6801         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6802         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6803         Moved ...
6804         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6805         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6806         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6808         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6809         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6810         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6811         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6812         Moved ...
6813         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6814         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6815         Moved ...
6816         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6817         ... here.
6818         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6819         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6820         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6821         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6822         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6823         Moved ...
6824         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6825         ... here.
6826         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6827         Moved ...
6828         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6829         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6830         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6831         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6832         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6833         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6834         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6835         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6836         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6837         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6838         Moved ...
6839         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6840         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6841         Moved ...
6842         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6843         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6844         Moved ...
6845         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6847         Moved ...
6848         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6849         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6850         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6851         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6852         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6853         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6854         Moved ...
6855         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6856         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6857         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6859         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6860         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6861         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6862         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6863         Moved ...
6864         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6865         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6866         Moved ...
6867         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6868         ... here.
6869         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6870         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6871         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6872         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6873         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6874         Moved ...
6875         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6876         ... here.
6877         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6878         Moved ...
6879         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6880         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6881         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6882         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6883         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6884         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6885         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6886         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6887         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6888         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6889         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6890
6891         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6892         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6893
6894         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6895         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6896
6897         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6898         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6899         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6900         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6901         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6902         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6903         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6904         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6905         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6906         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6907         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6908         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6909         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6910         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6911         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6913         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6915         Moved ...
6916         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6917         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6918         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6920         Moved ...
6921         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6922         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6923         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6925         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6927         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6928         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6929         Moved ...
6930         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6931         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6932         Moved ...
6933         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6934         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6935         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6937         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6938         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6939         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6940         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6941         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6942         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6943         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6944         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6945         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6946         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6947         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6948         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6949         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6950
6951         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6952         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6953         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6954         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6955         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6956
6957         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6958         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6959         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6960         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6961         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6962         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6963         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6964         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6965         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6966         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6967
6968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6969         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6970
6971         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6972         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6973         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6974         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6975         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6976         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6977         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6978         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6979         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6980         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6981         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6982         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6983         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6984         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6985         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6986         Update #include.
6987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6988         Likewise.
6989         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6990         Likewise.
6991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6992         Likewise.
6993         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6994         Likewise.
6995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6996         Likewise.
6997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6998         Likewise.
6999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7000         Likewise.
7001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7002         Likewise.
7003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7004         Likewise.
7005         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7007         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7008         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7009         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7010         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7011         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7012         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7013         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7014         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7015         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7017         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7018         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
7019         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
7020
7021         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7022         that was previously under [RESET_PID].
7023         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7024         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7025         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7026
7027         * sysdeps/i386/nptl/Implies: New file.
7028         * sysdeps/x86_64/nptl/Implies: New file.
7029         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7030         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7031         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7032         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7033
7034         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7035         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7036         (__libc_vfork): New strong alias.
7037         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7038         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7039
7040         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7041         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7042         (__libc_vfork): New strong alias.
7043         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7044         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7045
7046         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7047         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7048         (__libc_vfork): New strong alias.
7049         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7050         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7051         * nptl/pt-vfork.c: New file.
7052         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7053         (libpthread: GLIBC_2.20): New version set (empty).
7054
7055 2014-05-14  Will Newton  <will.newton@linaro.org>
7056
7057         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7058         rather than #if.
7059
7060 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7061
7062         [BZ #16564]
7063         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7064         arguments with exponent 65 or above.
7065         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7066         arguments 0x1p113L or above.
7067         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7068         to arguments 0x1p107L or above.
7069         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7070         positive arguments with exponent 65 or above.
7071         * math/auto-libm-test-in: Add more tests of log1p.
7072         * math/auto-libm-test-out: Regenerated.
7073
7074         [BZ #16928]
7075         * math/s_cacos.c (__cacos): Ensure zero real part of result from
7076         non-finite arguments is +0.
7077         * math/s_cacosf.c (__cacosf): Likewise.
7078         * math/s_cacosl.c (__cacosl): Likewise.
7079         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7080         * sysdeps/i386/fpu/libm-test-ulps: Update.
7081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7082
7083         [BZ #16927]
7084         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7085         value.
7086         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7087         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7088         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7089         for explicit high bit of mantissa when testing for argument equal
7090         to 1.
7091         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7092         * sysdeps/i386/fpu/libm-test-ulps: Update.
7093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7094
7095         [BZ #16516]
7096         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7097         (__erf): Scale by 16 instead of 8 in potentially underflowing
7098         case.  Ensure exception if result actually underflows.
7099         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7100         (__erff): Scale by 16 instead of 8 in potentially underflowing
7101         case.  Ensure exception if result actually underflows.
7102         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7103         (efx8): Remove variable.
7104         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7105         case.  Ensure exception if result actually underflows.
7106         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7107         (efx8): Remove variable.
7108         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7109         case.  Ensure exception if result actually underflows.
7110         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7111         (efx8): Remove variable.
7112         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7113         case.  Ensure exception if result actually underflows.
7114         * math/auto-libm-test-in: Add more tests of erf.
7115         * math/auto-libm-test-out: Regenerated.
7116
7117 2014-05-14  Andreas Schwab  <schwab@suse.de>
7118
7119         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7120         Remove code conditionalized on USE___THREAD.
7121
7122         * config.h.in (HAVE_PT_CHOWN): Define as 0.
7123         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7124         not definedness.
7125
7126 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7127
7128         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7129         Define unconditionally.
7130         (__ASSUME_O_CLOEXEC): Likewise.
7131         (__ASSUME_SOCK_CLOEXEC): Likewise.
7132         (__ASSUME_IN_NONBLOCK): Likewise.
7133         (__ASSUME_PIPE2): Likewise.
7134         (__ASSUME_EVENTFD2): Likewise.
7135         (__ASSUME_SIGNALFD4): Likewise.
7136         (__ASSUME_DUP3): Likewise.
7137         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7138         (__ASSUME_DUP3): Do not define.
7139         (__ASSUME_EVENTFD2): Likewise.
7140         (__ASSUME_IN_NONBLOCK): Likewise.
7141         (__ASSUME_O_CLOEXEC): Likewise.
7142         (__ASSUME_PIPE2): Likewise.
7143         (__ASSUME_SIGNALFD4): Likewise.
7144         (__ASSUME_SOCK_CLOEXEC): Likewise.
7145         (__ASSUME_UTIMES): Undefine.
7146         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7147         (__ASSUME_UTIMES): Do not define.
7148         (__ASSUME_O_CLOEXEC): Likewise.
7149         (__ASSUME_SOCK_CLOEXEC): Likewise.
7150         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7151         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7152         0x020621].
7153         (__ASSUME_PIPE2): Likewise.
7154         (__ASSUME_EVENTFD2): Likewise.
7155         (__ASSUME_SIGNALFD4): Likewise.
7156         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7157         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7158         Do not define.
7159         (__ASSUME_EVENTFD2): Likewise.
7160         (__ASSUME_SIGNALFD4): Likewise.
7161         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7162         (__ASSUME_32BITUIDS): Likewise.
7163         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7164         (__ASSUME_IPC64): Likewise.
7165         (__ASSUME_ST_INO_64_BIT): Likewise.
7166         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7167         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7168         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7169         (__ASSUME_UTIMES): Do not define.
7170         (__ASSUME_PSELECT): Likewise.
7171         (__ASSUME_PPOLL): Likewise.
7172         (__ASSUME_O_CLOEXEC): Likewise.
7173         (__ASSUME_SOCK_CLOEXEC): Likewise.
7174         (__ASSUME_IN_NONBLOCK): Likewise.
7175         (__ASSUME_PIPE2): Likewise.
7176         (__ASSUME_EVENTFD2): Likewise.
7177         (__ASSUME_SIGNALFD4): Likewise.
7178         (__ASSUME_DUP3): Likewise.
7179         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7180         (__ASSUME_UTIMES): Likewise.
7181         (__ASSUME_O_CLOEXEC): Likewise.
7182         (__ASSUME_SOCK_CLOEXEC): Likewise.
7183         (__ASSUME_IN_NONBLOCK): Likewise.
7184         (__ASSUME_PIPE2): Likewise.
7185         (__ASSUME_EVENTFD2): Likewise.
7186         (__ASSUME_SIGNALFD4): Likewise.
7187         (__ASSUME_DUP3): Likewise.
7188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7189         (__ASSUME_UTIMES): Likewise.
7190         (__ASSUME_O_CLOEXEC): Likewise.
7191         (__ASSUME_SOCK_CLOEXEC): Likewise.
7192         (__ASSUME_IN_NONBLOCK): Likewise.
7193         (__ASSUME_PIPE2): Likewise.
7194         (__ASSUME_EVENTFD2): Likewise.
7195         (__ASSUME_SIGNALFD4): Likewise.
7196         (__ASSUME_DUP3): Likewise.
7197         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7198         Likewise.
7199         (__ASSUME_UTIMES): Likewise.
7200         (__ASSUME_EVENTFD2): Likewise.
7201         (__ASSUME_SIGNALFD4): Likewise.
7202         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7203         (__ASSUME_O_CLOEXEC): Likewise.
7204         (__ASSUME_SOCK_CLOEXEC): Likewise.
7205         (__ASSUME_IN_NONBLOCK): Likewise.
7206         (__ASSUME_PIPE2): Likewise.
7207         (__ASSUME_EVENTFD2): Likewise.
7208         (__ASSUME_SIGNALFD4): Likewise.
7209         (__ASSUME_DUP3): Likewise.
7210         (__ASSUME_UTIMES): Undefine.
7211
7212         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7213         feclearexcept.  Remove symbol versioning code.
7214         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
7215         symbol versioning code.
7216         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
7217         symbol versioning code.
7218         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7219         feupdateenv.  Remove symbol versioning code.
7220         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7221         fegetexceptflag.  Remove symbol versioning code.
7222         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7223         fesetexceptflag.  Remove symbol versioning code.
7224         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7225         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
7226         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7227         (__posix_fadvise64_l32): Remove prototype.
7228         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7229         code.
7230
7231 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7232
7233         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7234         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7235         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7236         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7237
7238 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
7239
7240         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7241         current working directory
7242
7243 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7244
7245         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7246         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7247         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7248         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7249         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7250         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7251         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7252         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7253         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7254         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7255         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7256         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7257         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7258         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7259         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7260         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7261         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7262         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7263         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7264         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7265         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7266         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7267         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7268         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7269         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7270         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7271         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7272         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7273         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7274         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7275         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7276         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7277         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7278         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7279         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7280         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7281         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7282         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7283         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7284         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7285         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7286         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7287
7288         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7289         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7290
7291         * sysdeps/unix/sysv/linux/arm/Makefile
7292         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7293         Add rt-aeabi_unwind_cpp_pr1.
7294         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7295         Add nptl-aeabi_unwind_cpp_pr1.
7296         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7297         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7298         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7299         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7300         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7301         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7302
7303         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7304         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7305         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7306         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7307
7308         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7309         Deconditionalize the code that was previously under [RESET_PID].
7310         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7311
7312         * sysdeps/generic/exit-thread.h: New file.
7313         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7314         * include/unistd.h (__exit_thread): Remove declaration.
7315         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7316         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7317         * csu/libc-start.c: Include <exit-thread.h>.
7318         (LIBC_START_MAIN): Pass no argument to __exit_thread.
7319         * nptl/pthread_create.c: Include <exit-thread.h>.
7320         (start_thread): Call __exit_thread in place of __exit_thread_inline.
7321         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7322         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7323         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7324         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7325         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7326         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7327         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7328         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7329         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7330         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7331         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7332         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7333         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7334         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7335         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7336         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7337
7338 2014-05-13  Andreas Schwab  <schwab@suse.de>
7339
7340         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7341
7342 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
7343
7344         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7345         (__ASSUME_UTIMES): Do not condition on kernel version.
7346         (__ASSUME_PSELECT): Define unconditionally.
7347         (__ASSUME_PPOLL): Likewise.
7348         (__ASSUME_ATFCTS): Likewise.
7349         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7350         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7351         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7352         (__ASSUME_UTIMENSAT): Define unconditionally.
7353         (__ASSUME_PRIVATE_FUTEX): Likewise.
7354         (__ASSUME_FALLOCATE): Likewise.
7355         (__ASSUME_O_CLOEXEC): Likewise.
7356         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7357         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7358         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7359         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7360         (__ASSUME_IN_NONBLOCK): Likewise.
7361         (__ASSUME_PIPE2): Likewise.
7362         (__ASSUME_EVENTFD2): Likewise.
7363         (__ASSUME_SIGNALFD4): Likewise.
7364         (__ASSUME_DUP3): Likewise.
7365         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7366         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7367         (__ASSUME_AT_RANDOM): Likewise.
7368         (__ASSUME_PREADV): Likewise.
7369         (__ASSUME_PWRITEV): Likewise.
7370         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7371         (__ASSUME_F_GETOWN_EX): Define unconditionally.
7372         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7373         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7374         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7375         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7376         (__ASSUME_O_CLOEXEC): Define unconditionally.
7377         (__ASSUME_PSELECT): Do not undefine conditionally.
7378         (__ASSUME_PPOLL): Likewise.
7379         (__ASSUME_ATFCTS): Likewise.
7380         (__ASSUME_SET_ROBUST_LIST): Likewise.
7381         (__ASSUME_UTIMENSAT): Likewise.
7382         (__ASSUME_FDATASYNC): Define unconditionally.
7383         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7384         (__ASSUME_SIGFRAME_V2): Likewise.
7385         )__ASSUME_EVENTFD2): Likewise.
7386         (__ASSUME_SIGNALFD4): Likewise.
7387         (__ASSUME_PSELECT): Do not undefine conditionally.
7388         (__ASSUME_PPOLL): Likewise.
7389         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7390         (__ASSUME_PSELECT): Define unconditionally.
7391         (__ASSUME_PPOLL): Likewise.
7392         (__ASSUME_O_CLOEXEC): Likewise.
7393         (__ASSUME_SOCK_CLOEXEC): Likewise.
7394         (__ASSUME_IN_NONBLOCK): Likewise.
7395         (__ASSUME_PIPE2): Likewise.
7396         (__ASSUME_EVENTFD2): Likewise.
7397         (__ASSUME_SIGNALFD4): Likewise.
7398         (__ASSUME_DUP3): Likewise.
7399         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7400         (__ASSUME_O_CLOEXEC): Likewise.
7401         (__ASSUME_SOCK_CLOEXEC): Likewise.
7402         (__ASSUME_IN_NONBLOCK): Likewise.
7403         (__ASSUME_PIPE2): Likewise.
7404         (__ASSUME_EVENTFD2): Likewise.
7405         (__ASSUME_SIGNALFD4): Likewise.
7406         (__ASSUME_DUP3): Likewise.
7407         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7408         (__ASSUME_EVENTFD2): Likewise.
7409         (__ASSUME_SIGNALFD4): Likewise.
7410         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7411
7412 2014-05-12  Andreas Schwab  <schwab@suse.de>
7413
7414         [BZ #16932]
7415         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7416         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7417         than maximum RPC packet size.
7418         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7419         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7420         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7421         (_nss_nis_getservbyport_r): Likewise.
7422
7423 2014-05-12  Will Newton  <will.newton@linaro.org>
7424
7425         * malloc/Makefile (tests): Add tst-mallopt.
7426         * malloc/tst-mallopt.c: New file.
7427
7428 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7429
7430         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7431         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7432
7433 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7434
7435         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7436         (tst-tlsmod6.so): Likewise.
7437
7438 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7439
7440         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7441
7442 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7443
7444         [BZ #16064]
7445         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7446         and <dl-procinfo.h>.
7447         (__fegetenv): Save SSE state in envp->__eip if supported.
7448         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7449         envp->__eip if supported.
7450         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7451         and <dl-procinfo.h>.
7452         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7453         __data_offset and __data_selector in environment to 0.  Set SSE
7454         state if supported.
7455         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7456         test-fenv-sse.
7457         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7458         -mfpmath=sse.
7459         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7460
7461 2014-05-09  Will Newton  <will.newton@linaro.org>
7462
7463         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7464         and libc_relro_required for ARM.
7465         * sysdeps/arm/preconfigure: Regenerate.
7466
7467 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7468             Stefan Liebler  <stli@linux.vnet.ibm.com>
7469
7470         * config.make.in (enable-lock-elision): New Makefile variable.
7471         * configure.ac: Likewise.
7472         * configure: Regenerate.
7473         * sysdeps/s390/configure.ac:
7474         Add check for gcc transactions support.
7475         * sysdeps/s390/configure: Regenerate.
7476         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7477         Build elision files if enabled.
7478         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7479         Add lock elision support for s390.
7480         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7481         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7482         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7483         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7484         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7485         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7486         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7487         Likewise.
7488         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7489         Likewise.
7490         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7491         Likewise.
7492         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7493         Likewise.
7494         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7495         (__lll_timedlock_elision, __lll_lock_elision)
7496         (__lll_unlock_elision, __lll_trylock_elision)
7497         (lll_timedlock_elision, lll_lock_elision)
7498         (lll_unlock_elision, lll_trylock_elision): Add.
7499         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7500         (pthread_mutex_t): Add lock elision support for s390.
7501
7502 2014-05-14  Wilco  <wdijkstr@arm.com>
7503
7504         * sysdeps/arm/fclrexcpt.c: Cleanup.
7505         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7506         * sysdeps/arm/feenablxcpt.c: Cleanup.
7507         * sysdeps/arm/fegetenv.c: Cleanup.
7508         * sysdeps/arm/fegetexcept.c: Cleanup.
7509         * sysdeps/arm/fegetround.c: Cleanup.
7510         * sysdeps/arm/feholdexcpt.c: Cleanup.
7511         * sysdeps/arm/fesetenv.c: Cleanup.
7512         * sysdeps/arm/fesetround.c: Cleanup.
7513         * sysdeps/arm/feupdateenv.c: Cleanup.
7514         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7515         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7516         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7517         * sysdeps/arm/ftestexcept.c: Cleanup.
7518         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7519         * sysdeps/arm/setfpucw.c: Cleanup.
7520
7521 2014-05-09  Will Newton  <will.newton@linaro.org>
7522
7523         * sysdeps/arm/armv7/strcmp.S: New file.
7524         * NEWS: Mention addition of ARMv7 optimized strcmp.
7525
7526 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7527
7528         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7529         look for %.ac rather than %.in.
7530
7531         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7532         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7533         * sysdeps/mach/hurd/configure: Regenerated.
7534         * sysdeps/unix/sysv/linux/configure: Regenerated.
7535
7536         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7537
7538 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7539
7540         [BZ# 16922]
7541         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7542         (LONG_SUB): Ditto.
7543         (PTR_SUB): Ditto.
7544
7545 2014-05-07  Andreas Schwab  <schwab@suse.de>
7546
7547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7548         when skipping over non-matching result from nscd.
7549
7550 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7551
7552         [BZ #16876]
7553         * nptl/sockperf.c (client): Check socket return value.
7554
7555         [BZ #16877]
7556         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7557         nscd security class.
7558
7559 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7560
7561         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7562         * sysdeps/arm/unwind.h: ... here.
7563
7564 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7565
7566         [BZ# 16916]
7567         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7568         Define.
7569
7570 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7571
7572         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7573         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7574         multiarch strncpy for PPC64.
7575         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7576         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7578         multiarch optimizations.
7579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7580         (__libc_ifunc_impl_list): Likewise.
7581         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7582         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7583         multiarch stpncpy for PPC64.
7584         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7585         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7586
7587 2014-05-06  Andreas Schwab  <schwab@suse.de>
7588
7589         [BZ #16912]
7590         * gmon/mcount.c (_MCOUNT_DECL): Use
7591         atomic_compare_and_exchange_bool_acq instead of
7592         catomic_compare_and_exchange_bool_acq.
7593
7594 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7595
7596         * elf/Makefile (others, install-bin): Remove pldd.
7597         (pldd-modules): Variable removed.
7598         ($(objpfx)pldd): Target removed.
7599         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7600         (others, install-bin): Append pldd here.
7601         ($(objpfx)pldd): New target.
7602
7603         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7604         to 0, so the first #if test emitted later doesn't see it undefined.
7605         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7606         * sysdeps/gnu/errlist.c: Regenerated.
7607
7608 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7609
7610         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7611         [libc_hidden_builtin_def]: Define to empty value.
7612         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7613         [libc_hidden_builtin_def]: Likewise.
7614         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7615         [libc_hidden_builtin_def]: Likewise.
7616         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7617         [libc_hidden_builtin_def]: Likewise.
7618         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7619         __redirect_memcpy and define ifunc as default hidden symbol.
7620         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7621         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7622
7623 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7624
7625         * locale/iso-4217.def: Reintroduce XDR currency.
7626
7627 2014-05-04  Allan McRae  <allan@archlinux.org>
7628
7629         * po/eo.po: Update Esperanto translation from translation project.
7630
7631 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7632
7633         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7634         and FEATURE_INDEX_MAX to 1.
7635         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7636
7637 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7638
7639         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7640         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7641         * iconvdata/big5.c (ONE_DIRECTION): Define.
7642         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7643         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7644         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7645         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7646         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7647         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7648         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7649         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7650         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7651         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7652         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7653         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7654         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7655         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7656         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7657         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7658         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7659         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7660         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7661         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7662         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7663         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7664         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7665         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7666         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7667         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7668         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7669         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7670         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7671         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7672         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7673         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7674         * iconvdata/johab.c (ONE_DIRECTION): Define.
7675         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7676         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7677         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7678         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7679         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7680         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7681         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7682         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7683         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7684         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7685
7686 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7687
7688         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7689         (_IO_JUMPS_OFFSET): Define to 0.
7690
7691         * nptl/sysdeps/pthread/bits/libc-lock.h
7692         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7693         (__libc_lock_define_initialized_recursive): Always define using
7694         initializer.  Modern compilers treat uninitialized (implicit zero) and
7695         explicit zero initializers the same (i.e. put the datum in bss).
7696
7697 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7698
7699         * nscd/nscd-client.h: Include <string.h>.
7700
7701 2014-05-01  David S. Miller  <davem@davemloft.net>
7702
7703         [BZ #16885]
7704         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7705         multiple zero bytes exist at the end of a string.
7706         Reported by Aurelien Jarno <aurelien@aurel32.net>
7707
7708         * string/test-strcmp.c (check): Add explicit test for situations where
7709         there are multiple zero bytes after the first.
7710
7711 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7712
7713         [BZ #16890]
7714         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7715         when compiling wprintf.
7716         * stdio-common/tstdiomisc.c (t3): New function.
7717         (main): Call it.
7718
7719 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7720
7721         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7722         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7723         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7724         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7725
7726 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7727
7728         * stdlib/longlong.h: Updated from GCC.
7729
7730 2014-05-01  Will Newton  <will.newton@linaro.org>
7731             Bernard Ogden  <bernie.ogden@linaro.org>
7732
7733         * NEWS: Update fixed bug list.
7734
7735         [BZ #15119]
7736         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7737
7738 2014-04-30  David S. Miller  <davem@davemloft.net>
7739
7740         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7741         (libc_feholdexcept_setround_sparc_ctx): New function.
7742         (libc_fesetenv_sparc_ctx): Likewise.
7743         (libc_feupdateenv_sparc_ctx): Likewise.
7744         (libc_feholdsetround_sparc_ctx): Likewise.
7745         (libc_feholdexcept_setround_ctx): Define.
7746         (libc_feholdexcept_setroundf_ctx): Likewise.
7747         (libc_feholdexcept_setroundl_ctx): Likewise.
7748         (libc_fesetenv_ctx): Likewise.
7749         (libc_fesetenvf_ctx): Likewise.
7750         (libc_fesetenvl_ctx): Likewise.
7751         (libc_feupdateenv_ctx): Likewise.
7752         (libc_feupdateenvf_ctx): Likewise.
7753         (libc_feupdateenvl_ctx): Likewise.
7754         (libc_feresetround_ctx): Likewise.
7755         (libc_feresetroundf_ctx): Likewise.
7756         (libc_feresetroundl_ctx): Likewise.
7757         (libc_feholdsetround_ctx): Likewise.
7758         (libc_feholdsetroundf_ctx): Likewise.
7759         (libc_feholdsetroundl_ctx): Likewise.
7760
7761         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7762         with __USE_GNU instead of XOPEN cpp guards.
7763
7764         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7765         0.
7766
7767         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7768         with XOPEN cpp guards.
7769
7770 2014-04-30  Julian Brown  <julian@codesourcery.com>
7771
7772         [BZ #16888]
7773         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7774         handling.
7775
7776 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7777
7778         [BZ #9894]
7779         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7780         Change to 2.6.32.
7781         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7782         * sysdeps/unix/sysv/linux/configure: Regenerated.
7783         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7784         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7785         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7786         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7787         * README: Update reference to required Linux kernel version.
7788         * manual/install.texi (Linux): Update reference to required Linux
7789         kernel headers version.
7790         * INSTALL: Regenerated.
7791
7792         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7793         header inclusion.
7794         [POSIX] (limits.h): Likewise.
7795         [POSIX] (math.h): Likewise.
7796         [POSIX] (sys/wait.h): Likewise.
7797         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7798         function.
7799         [POSIX] (stddef.h): Do not allow header inclusion.
7800
7801 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7802
7803         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7804
7805 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7806
7807         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7808         Return immediately after lll_futex_wake.
7809
7810 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7811
7812         [BZ #16791]
7813         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7814         structure.
7815         (datahead_init_pos): Call datahead_init_common early.
7816         (datahead_init_neg): Likewise.
7817
7818         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7819         datahead_init_neg): New functions.
7820         * nscd/aicache.c (addhstaiX): Use them.
7821         * nscd/grpcache.c (cache_addgr): Likewise.
7822         * nscd/hstcache.c (cache_addhst): Likewise.
7823         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7824         * nscd/netgroupcache.c (do_notfound): Likewise.
7825         (addgetnetgrentX): Likewise.
7826         (addinnetgrX): Likewise.
7827         * nscd/pwdcache.c (cache_addpw): Likewise.
7828         * nscd/servicescache.c (cache_addserv): Likewise.
7829
7830 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7831             Atsushi Onoe  <atsushi@onoe.org>
7832
7833         [BZ #14308]
7834         [BZ #12994]
7835         [BZ #13651]
7836         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7837         one response is valid.
7838         * resolv/res_send.c (send_dg): Check for validity of other
7839         response if the current response is a referral.
7840
7841 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7842
7843         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7844
7845 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7846
7847         [BZ #16823]
7848         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7849         Always divide by positive zero when computing -Inf result.
7850         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7851         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7852
7853 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7854
7855         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7856         FPSCR if value do not change.
7857         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7858         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7859         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7860         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7861         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7862         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7863         function.
7864
7865 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7866
7867         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7868         * sysdeps/unix/sysv/linux/hppa: Move directory from
7869         ports/systeps/unix/sysv/linux/hppa.
7870         * README: Update listing for hppa-*-linux-gnu.
7871
7872 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7873
7874         [BZ #16754]
7875         * manual/stdio.texi (Hook functions): Fix types of stream hook
7876         functions.
7877         [BZ #16854]
7878         * socket/sys/socket.h: Fix typo in comment.
7879
7880 2014-04-28  Wilco  <wdijkstr@arm.com>
7881
7882         * sysdeps/arm/fenv_private.h: New file.
7883         * sysdeps/arm/math_private.h: New file.
7884         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7885
7886 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7887
7888         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7889         with __int128_t.
7890         (La_x86_64_retval): Likewise.
7891
7892 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7893
7894         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7895         fpsr if value didn't change.
7896         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7897         to fpcr if value didn't change.
7898         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7899         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7900         fpsr or fpcr if value didn't change.
7901         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7902         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7903         fpcr if value didn't change.
7904         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7905         to fpsr if value didn't change.
7906
7907 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7908
7909         * nptl/tst-sem3.c: Use test-skeleton.c
7910         (main): Rename to do_test.  Use return instead of
7911         exit.
7912         * nptl/tst-sem4.c: Use test-skeleton.c
7913         (main): Rename to do_test.
7914
7915 2014-04-22  David S. Miller  <davem@davemloft.net>
7916
7917         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7918         (struct sigaction): New struct member __glibc_reserved0, change
7919         type of sa_flags to int.
7920
7921 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7922
7923         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7924         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7925
7926 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7927
7928         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7929         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7930
7931 2014-04-22  Will Newton  <will.newton@linaro.org>
7932             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7933
7934         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7935         (__longjmp): Add longjmp and longjmp_target SystemTap
7936         probes.
7937         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7938         (__sigsetjmp): Add setjmp SystemTap probe.
7939
7940 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7941
7942         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7943         match manual order.
7944
7945 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7946
7947         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7948
7949         * sysdeps/powerpc/fpu/fenv_private.h
7950         (libc_feholdexcept_setroundl_ctx): Define to
7951         libc_feholdexcept_setround_ppc_ctx.
7952         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7953         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7954         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7955         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7956
7957 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7958
7959         * sysdeps/aarch64/math-tests.h: New file.
7960
7961 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7962
7963         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7964         New.
7965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7966         Check and set bit_AVX2_Usable.
7967         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7968         macro.
7969         (bit_AVX2): Likewise.
7970         (index_AVX2_Usable): Likewise.
7971         (CPUID_AVX2): Likewise.
7972         (HAS_AVX2): Likewise.
7973
7974 2014-04-17  Will Newton  <will.newton@linaro.org>
7975
7976         * manual/setjmp.texi (System V contexts): Add note that
7977         calling setcontext on a context created by a call to a
7978         signal handler is undefined.  Update text to note that
7979         setcontext from a signal handler is possible but not
7980         recommended.
7981
7982         [BZ #16629]
7983         * stdlib/tst-setcontext.c: Include signal.h.
7984         (main): Check that the signal stack before and
7985         after swapcontext is the same.
7986
7987         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7988         Re-implement to restore registers in user code and avoid
7989         rt_sigreturn system call.
7990
7991 2014-04-17  Wilco  <wdijkstr@arm.com>
7992
7993         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7994         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7995         * math/test-fenv.c: Skip exception trap tests on targets which only
7996         support non-stop mode.
7997
7998 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7999             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8000
8001         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8002         (libc_feholdsetround_aarch64_ctx)
8003         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8004         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8005         (libc_feresetround_ctx, libc_feresetroundf_ctx)
8006         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8007         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8008         (libc_feresetround_noexl_ctx): Define.
8009
8010 2014-04-16  Richard Henderson  <rth@redhat.com>
8011
8012         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8013
8014         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8015         unwind tables.
8016
8017         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8018         const from the non-libc, non-ldso copy.
8019
8020         * sysdeps/alpha/libm-test-ulps: Regenerate.
8021
8022 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
8023             Wilco Dijkstra  <wilco.dijkstra@arm.com>
8024
8025         * sysdeps/aarch64/fpu/math_private.h: New file.
8026
8027 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8028
8029         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8030
8031 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
8032
8033         [BZ #16275]
8034         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8035         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8036         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8037         Intel MPX bound registers before _dl_profile_fixup.
8038         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8039         registers after _dl_profile_fixup.  Save and restore bound
8040         registers bnd0/bnd1 when calling _dl_call_pltexit.
8041         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8042         (LR_BND_OFFSET): Likewise.
8043         (LRV_BND0_OFFSET): Likewise.
8044         (LRV_BND1_OFFSET): Likewise.
8045
8046 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8047
8048         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8049         to...
8050         * sysdeps/mach/hurd/i386/tls.h: ... here.
8051         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8052         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8053         fields.
8054
8055 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8056
8057         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8058
8059 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8060
8061         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8062
8063 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8064
8065         [BZ #14770]
8066         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8067         * sysdeps/s390/configure: Regenerate.
8068
8069         [BZ #16824]
8070         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8071         Set round-to-nearest internally to reduce error accumulation.
8072
8073 2014-04-16  Alan Modra  <amodra@gmail.com>
8074
8075         [BZ #16740]
8076         [BZ #16619]
8077         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8078         * math/libm-test.inc (frexp_test_data): Add tests.
8079         * NEWS: Update fixed bug list.
8080
8081 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8082
8083         * benchtests/Makefile: Depend on libraries in build directory.
8084         (bench-math): Separate out math tests.
8085         (bench-pthread): Separate out pthread tests.
8086         (bench): Include math and pthread tests.
8087
8088 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
8089
8090         [BZ #16831]
8091         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8092         _dl_debug_initialize.
8093
8094         * configure.ac: Remove SELinux header check.
8095         * configure: Regenerate.
8096         * nscd/selinux.c (perms): Array of const char* to permission names.
8097         (nscd_request_avc_has_perm): Call security_deny_unknown to find
8098         default policy. Call string_to_security_class and string_to_av_perm to
8099         translate strings. Enforce default policy and call avs_has_perm with
8100         results of translated strings.
8101
8102 2014-04-13  David S. Miller  <davem@davemloft.net>
8103
8104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8105
8106 2014-04-12  Allan McRae  <allan@archlinux.org>
8107
8108         [BZ #16838]
8109         * manual/string.texi (Collation Functions): Fix qsort argument
8110         order in example.
8111         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8112
8113 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
8114
8115         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8116         Make the test a no-op if there are no exceptions defined.
8117
8118 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8119
8120         * elf/Makefile (tests): make tst-dlopen-aout conditional on
8121         enable-hardcoded-path-in-tests
8122
8123 2014-04-11  Will Newton  <will.newton@linaro.org>
8124
8125         * benchtests/Makefile (extra-objs): Add json-lib.o.
8126         (bench-func): Tidy up JSON output.
8127         * benchtests/bench-skeleton.c: Include json-lib.h.
8128         (main): Use JSON library functions to do output of
8129         benchmark results.
8130         * benchtests/bench-timing-type.c (main): Output the
8131         timing type simply, leaving formatting to the user.
8132         * benchtests/json-lib.c: New file.
8133         * benchtests/json-lib.h: Likewise.
8134
8135 2014-04-11  Torvald Riegel  <triegel@redhat.com>
8136
8137         [BZ #15215]
8138         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8139         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
8140         memory barriers.  Add comments.
8141         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8142         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8143         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8144         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8145         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8146         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8147
8148 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8149
8150         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8151         * sysdeps/s390/s390-64/configure.ac: ... this ...
8152         * sysdeps/s390/configure.ac: ... to here.
8153         * sysdeps/s390/s390-32/configure: Delete file.
8154         * sysdeps/s390/s390-64/configure: Delete file.
8155         * sysdeps/s390/configure: Regenerate.
8156
8157 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
8158
8159         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8160
8161 2014-04-11  Will Newton  <will.newton@linaro.org>
8162
8163         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8164         to zero if it is not defined elsewhere.  (mtrim): Test
8165         the value of MALLOC_DEBUG with #if rather than #ifdef.
8166
8167 2014-04-10 Torvald Riegel  <triegel@redhat.com>
8168
8169         * benchtests/pthread_once-inputs: New file.
8170         * benchtests/pthread_once-source.c: New file.
8171         * benchtests/README: Update documentation.
8172
8173 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8174             H.J. Lu  <hongjiu.lu@intel.com>
8175
8176         [BZ #16275]
8177         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8178         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8179         * sysdeps/x86_64/configure: Regenerated.
8180         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8181         macro.
8182         (REGISTER_SAVE_RAX): Likewise.
8183         (REGISTER_SAVE_RCX): Likewise.
8184         (REGISTER_SAVE_RDX): Likewise.
8185         (REGISTER_SAVE_RSI): Likewise.
8186         (REGISTER_SAVE_RDI): Likewise.
8187         (REGISTER_SAVE_R8): Likewise.
8188         (REGISTER_SAVE_R9): Likewise.
8189         (REGISTER_SAVE_BND0): Likewise.
8190         (REGISTER_SAVE_BND1): Likewise.
8191         (REGISTER_SAVE_BND2): Likewise.
8192         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
8193         bound registers when calling _dl_fixup.
8194
8195 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8196
8197         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8198         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8199         of its definition.
8200         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8201         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8202         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8203         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8204         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8205         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8206         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8207
8208 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
8209
8210         [BZ #15514]
8211         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8212         pathconf(_PC_NAME_MAX).
8213
8214 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8215
8216         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8217         Remove macro usage.
8218         (__PTHREAD_SPINS): Move definition to ...
8219         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8220         (__PTHREAD_SPINS): ... here.
8221         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8222         (__PTHREAD_SPIN): Likewise.
8223         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8224         (__PTHREAD_SPIN): Likewise.
8225         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8226         (__PTHREAD_SPIN): Likewise.
8227         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8228         (__PTHREAD_SPIN): Likewise.
8229         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8230         (__PTHREAD_SPIN): Likewise.
8231         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8232         (__PTHREAD_SPIN): Likewise.
8233         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8234         (__PTHREAD_SPIN): Likewise.
8235         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8236         (__PTHREAD_SPIN): Likewise.
8237         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8238         (__PTHREAD_SPIN): Likewise.
8239         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8240         (__PTHREAD_SPIN): Likewise.
8241         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8242         (__PTHREAD_SPIN): Likewise.
8243         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8244         (__PTHREAD_SPIN): Likewise.
8245
8246         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8247         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8248         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8249         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8250         imply folder.
8251         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8252         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8253         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8254         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8255         correct imply path.
8256         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8257         strlen symbol for non multi-arch builds.
8258         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8259         missing hidden_def and weak_alias.
8260
8261 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
8262
8263         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8264
8265 2014-04-07  Will Newton  <will.newton@linaro.org>
8266
8267         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8268         and contents.  [!_LIBC] Remove #ifndef and contents.
8269         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
8270         * string/memccpy.c (__memccpy): Use ANSI prototype.
8271         * string/memfrob.c (memfrob): Likewise.
8272         * string/strcoll.c (STRCOLL): Likewise.
8273         * string/strlen.c (strlen): Likewise.
8274         * string/strtok.c (STRTOK): Likewise.
8275         * string/strcat.c: Remove unused #include of memcopy.h.
8276         (strcat): Use ANSI prototype.
8277         * string/strchr.c: Remove unused #include of memcopy.h.
8278         (strchr): Use ANSI prototype.
8279         * string/strcmp.c: Remove unused #include of memcopy.h.
8280         (strcmp): Use ANSI prototype.
8281         * string/strcpy.c: Remove unused #include of memcopy.h.
8282         (strcpy): Use ANSI prototype.
8283
8284 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8285
8286         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8287         * config.make.in (config-extra-cppflags): Set it from
8288         libc_extra_cppflags.
8289         * configure.ac (libc_extra_cflags): Make it accumulate over
8290         configure fragments.
8291         (libc_extra_cppflags): New flag.
8292         * configure. Regenerate.
8293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8294         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8295         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8297
8298         [BZ #16815]
8299         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8300         result for FE_DOWNWARD rounding mode.
8301         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8302         Likewise.
8303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8304
8305 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
8306
8307         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8308         in function argument name.
8309
8310 2014-04-03  David Svoboda  <svoboda@cert.org>
8311
8312         [BZ #5666]
8313         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8314         explicitly.
8315
8316 2014-04-03  Roland McGrath  <roland@hack.frob.com>
8317
8318         * elf/dl-unmap-segments.h: New file.
8319         * sysdeps/generic/ldsodefs.h
8320         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8321         * elf/dl-close.c: Include <dl-unmap-segments.h>.
8322         * elf/dl-fptr.c: Likewise.
8323         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8324         * sysdeps/aarch64/tlsdesc.c: Likewise.
8325         * sysdeps/arm/tlsdesc.c: Likewise.
8326         * sysdeps/i386/tlsdesc.c: Likewise.
8327         * sysdeps/tile/dl-runtime.c: Likewise.
8328         * sysdeps/x86_64/tlsdesc.c: Likewise.
8329         * elf/dl-load.h: New file.
8330         * elf/dl-load.c: Include it.
8331         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8332         Macros moved to dl-load.h.
8333         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8334         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8335         Use _dl_unmap_segments in place of __munmap.
8336         Break out segment-mapping loop into ...
8337         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8338
8339 2014-04-03  Will Newton  <will.newton@linaro.org>
8340
8341         * elf/dl-lookup.c (do_lookup_x): Remove comment
8342         referring to nested function and move variable
8343         declarations down to before first use.
8344
8345 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
8346
8347         [BZ #16799]
8348         [BZ #16800]
8349         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8350         with 0 numerator.
8351         * math/s_catanf.c (__catanf): Likewise.
8352         * math/s_catanh.c (__catanh): Likewise.
8353         * math/s_catanhf.c (__catanhf): Likewise.
8354         * math/s_catanhl.c (__catanhl): Likewise.
8355         * math/s_catanl.c (__catanl): Likewise.
8356         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8357         by positive zero when computing -Inf result.
8358         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8359         (catanh_test): Likewise.
8360         * sysdeps/i386/fpu/libm-test-ulps: Update.
8361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8362
8363         [BZ #16789]
8364         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8365         instead of using underflowing value in computing result.
8366         * math/s_clog10.c (__clog10): Likewise.
8367         * math/s_clog10f.c (__clog10f): Likewise.
8368         * math/s_clog10l.c (__clog10l): Likewise.
8369         * math/s_clogf.c (__clogf): Likewise.
8370         * math/s_clogl.c (__clogl): Likewise.
8371         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8372         (clog10_test): Likewise.
8373         * sysdeps/i386/fpu/libm-test-ulps: Update.
8374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8375
8376 2014-04-02  Alan Modra  <amodra@gmail.com>
8377
8378         [BZ #16739]
8379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8380         output when value is near a power of two.  Use int64_t for lx and
8381         remove casts.  Use decimal rather than hex exponent constants.
8382         Don't use long double multiplication when double will suffice.
8383         * math/libm-test.inc (nextafter_test_data): Add tests.
8384         * NEWS: Add 16739 and 16786 to bug list.
8385
8386         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8387
8388         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8389
8390 2014-04-01  Will Newton  <will.newton@linaro.org>
8391
8392         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8393         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
8394
8395 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8396
8397         [BZ #13347]
8398         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8399         * nptl/tst-setuid2.c: New file.
8400         * nptl/Makefile (xtests): Add tst-setuid2.
8401
8402 2014-04-01  Alan Modra  <amodra@gmail.com>
8403
8404         [BZ #16786]
8405         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8406
8407 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8408
8409         [BZ #6803]
8410         [BZ #6804]
8411         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8412         set errno as appropriate.
8413         * math/w_scalbf.c (__scalbf): Likewise.
8414         * math/w_scalbl.c (__scalbl): Likewise.
8415         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8416         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8417         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8418         Add more NaN tests.
8419
8420         [BZ #16349]
8421         * math/w_atan2.c: Include <errno.h>.
8422         (__atan2): Set errno for result underflowing to zero.
8423         * math/w_atan2f.c: Include <errno.h>.
8424         (__atan2f): Set errno for result underflowing to zero.
8425         * math/w_atan2l.c: Include <errno.h>.
8426         (__atan2l): Set errno for result underflowing to zero.
8427         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8428         tests.
8429         * math/auto-libm-test-out: Regenerated.
8430
8431 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8432
8433         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8434         Encode instruction correctly in little endian.
8435         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8436         Likewise.
8437         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8438         Likewise.
8439         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8440         Likewise.
8441         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8442         Likewise.
8443
8444 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8445
8446         [BZ #9894]
8447         * sysdeps/unix/sysv/linux/kernel-features.h
8448         [__sparc__ && !__arch64__ && !__sparc_v9__]
8449         (__ASSUME_SET_ROBUST_LIST): Do not define.
8450         [__sparc__ && !__arch64__ && !__sparc_v9__]
8451         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8452         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8453         Likewise.
8454         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8455         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8456         (__ASSUME_REQUEUE_PI): Likewise.
8457         (__ASSUME_SET_ROBUST_LIST): Likewise.
8458         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8459         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8460         Undefine.
8461         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8462         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8463         Likewise.
8464         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8465         Likewise.
8466         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8467         Likewise.
8468         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8469         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8470         Undefine.
8471         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8472         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8473         Likewise.
8474
8475         [BZ #16648]
8476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8477         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8478         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8479
8480 2014-03-31  Will Newton  <will.newton@linaro.org>
8481
8482         * benchtests/Makefile (bench): Add ffs and ffsll to list
8483         of tests.
8484         * benchtests/ffs-inputs: New file.
8485         * benchtests/ffsll-inputs: Likewise.
8486
8487 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8488
8489         [BZ #16770]
8490         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8491         too large before casting to int.
8492         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8493         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8494         * math/libm-test.inc (scalb_test_data): Add more tests.
8495
8496 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8497
8498         * benchtests/Makefile (DETAILED_OPT): New make option.
8499         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8500         set.
8501         * benchtests/bench-skeleton.c: Include stdbool.h.
8502         (main): Store and print timings per input.
8503         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8504         member to each argument value.
8505         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8506         (_print_arg_data): Initialize per-input timing to 0.
8507
8508         * benchtests/Makefile (timing-type): New binary.
8509         (bench-clean): Also remove bench-timing-type.
8510         (bench): New target for timing-type.
8511         (bench-func): Print output in JSON format.
8512         * benchtests/bench-skeleton.c (main): Print output in JSON
8513         format.
8514         * benchtests/bench-timing-type.c: New file.
8515         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8516         (TIMING_PRINT_STATS): Remove.
8517         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8518         name separately.
8519
8520         * benchtests/bench-modf.c: Remove.
8521         * benchtests/modf-inputs: New inputs file.
8522
8523 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8524
8525         [BZ #16362]
8526         * math/s_clog10.c (M_PI_LOG10E): New macro.
8527         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8528         imaginary parts are 0.
8529         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8530         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8531         imaginary parts are 0.
8532         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8533         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8534         imaginary parts are 0.
8535         * math/libm-test.inc (clog10_test_data): Update expected results
8536         for when real and imaginary parts are 0.
8537
8538 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8539
8540         * elf/dl-load.c: Finish conversion of __builtin_expect into
8541         __glibc_{un}likely.
8542
8543 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8544
8545         [BZ #16348]
8546         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8547         1+x for argument with exponent below -67.
8548         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8549         Likewise.
8550         * math/auto-libm-test-in: Add more tests of exp.
8551         * math/auto-libm-test-out: Regenerated.
8552
8553 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8554
8555         [BZ #16759]
8556         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8557         (nscd_getnetgrent): Use it.
8558
8559         [BZ #16760]
8560         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8561         of stpcpy.
8562
8563 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8564
8565         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8566         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8567         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8568         (lll_robust_unlock): Remove out of line section. Use cfi
8569         intrinsics.
8570         (LLL_STUB_UNWIND_INFO*): Remove.
8571         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8572         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8573         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8574         (lll_robust_unlock): Remove out of line section. Use cfi
8575         intrinsics.
8576         (LLL_STUB_UNWIND_INFO*): Remove.
8577
8578 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8579
8580         [BZ #16758]
8581         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8582         blank values.
8583
8584 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8585
8586         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8587
8588 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8589
8590         [BZ #16198]
8591         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8592         fnstenv.
8593         * math/test-fenv-preserve.c: New file.
8594         * math/Makefile (tests): Add test-fenv-preserve.
8595
8596 2014-03-26  Will Newton <will.newton@linaro.org>
8597
8598         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8599
8600 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8601
8602         * scripts/versionlist.awk: Partition the version sets and emit all
8603         GLIBC_* (sorted) before all others (sorted).
8604
8605 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8606
8607         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8608         GLIBC_2.2.5 version.
8609
8610 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8611
8612         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8613         calls.
8614
8615         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8616         previous change.
8617
8618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8619
8620 2014-03-25  Andreas Schwab  <schwab@suse.de>
8621
8622         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8623         label to be used after in6ailist is initialized.
8624
8625 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8626
8627         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8628         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8629
8630 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8631
8632         [BZ #16357]
8633         [BZ #16599]
8634         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8635         min_plus_half.
8636         (fp_formats): Update initializers.
8637         (init_fp_formats): Initialize new field.
8638         (output_for_one_input_case): Allow underflow for results up to
8639         min_plus_half.
8640         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8641         * math/auto-libm-test-in: Don't mark some underflows from asin and
8642         atanh as spurious.
8643         * math/auto-libm-test-out: Regenerated.
8644         * sysdeps/i386/fpu/libm-test-ulps: Update.
8645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8646
8647 2014-03-25  Andreas Schwab  <schwab@suse.de>
8648
8649         * libio/Makefile (tst-ftell-partial-wide-ENV)
8650         (tst-ftell-active-handler-ENV): Define.
8651
8652 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8653
8654         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8655
8656 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8657
8658         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8659
8660 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8661
8662         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8663         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8664         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8665
8666 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8667
8668         [BZ #16634]
8669         * elf/dl-load.c (open_verify): Add mode parameter.
8670         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8671         (open_path): Change from boolean 'secure' to complete flag 'mode'
8672         (_dl_map_object): Adjust.
8673         * elf/Makefile (tests): Add tst-dlopen-aout.
8674         * elf/tst-dlopen-aout.c: New test.
8675
8676 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8677
8678         [BZ #16714]
8679         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8680         (struct stat): Rename member pad0 to __glibc_reserved0.
8681
8682         [BZ #16712]
8683         * sysdeps/s390/s390-32/bits/wordsize.h
8684         (__WORDSIZE32_SIZE_ULONG): New define.
8685         * sysdeps/s390/s390-64/bits/wordsize.h
8686         (__WORDSIZE32_SIZE_ULONG): Likewise.
8687         * sysdeps/generic/stdint.h (SIZE_MAX):
8688         Define as UL if __WORDSIZE32_SIZE_ULONG.
8689
8690         [BZ #16713]
8691         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8692         (__glibc_reserved0): New variable.
8693         (sa_flags): Change type to int.
8694
8695         * posix/Makefile (before-compile): Use += before-compile instead
8696         of a :=.
8697
8698         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8699         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8700
8701 2014-03-20  Andreas Schwab  <schwab@suse.de>
8702
8703         [BZ #16743]
8704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8705         non-matching result from nscd.
8706
8707 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8708
8709         * scripts/bench.py: Moved to ...
8710         * benchtests/scripts/bench.py: ... here.
8711         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8712
8713 2014-03-24  Andreas Schwab  <schwab@suse.de>
8714
8715         [BZ #16002]
8716         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8717         alloca_account and account alloca use for struct in6ailist.
8718
8719 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8720
8721         [BZ #16284]
8722         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8723         rounding mode to recompute results that overflow to infinity or
8724         underflow to zero.
8725         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8726         bug 16284.
8727         * math/auto-libm-test-out: Regenerated.
8728         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8729         (ccosh_test): Likewise.
8730         (csin_test_data): Use plus_oflow.
8731         (csin_test): Use ALL_RM_TEST.
8732         (csinh_test_data): Use plus_oflow.
8733         (csinh_test): Use ALL_RM_TEST.
8734         * sysdeps/i386/fpu/libm-test-ulps: Update.
8735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8736
8737 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8738
8739         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8740         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8741         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8742
8743         [BZ #16731]
8744         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8745         when x - 1 is zero.
8746         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8747         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8748         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8749         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8750         argument is 1.
8751         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8752         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8753         zero.
8754         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8755         * sysdeps/i386/fpu/libm-test-ulps: Update.
8756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8757
8758 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8759
8760         * scripts/bench.pl: Remove file.
8761         * scripts/bench.py: New benchmark script.
8762         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8763         * benchtests/README: Mention python dependency.
8764         * scripts/pylintrc: New file.
8765         * scripts/pylint: New file.
8766
8767         * bits/mathdef.h: Use #ifdef instead of #if.
8768         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8769         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8770         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8771         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8772         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8773         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8774
8775 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8776             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8777
8778         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8780         and strpbrk-ppc64 objects.
8781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8782         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8783         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8784         multiarch strpbrk for POWER7.
8785         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8786         multiarch strpbrk for PPC64.
8787         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8788         ifunc selector.
8789         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8790         strpbrk for POWER7.
8791
8792 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8793
8794         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8795         (atan_test): Likewise.
8796         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8797         (atanh_test): Use ALL_RM_TEST.
8798         (atan2_test_data): Likewise.
8799         (cabs_test): Likewise.
8800         (cacosh_test): Likewise.
8801         (carg_test): Likewise.
8802         (casin_test): Likewise.
8803         (casinh_test): Likewise.
8804         (cbrt_test): Likewise.
8805         (csqrt_test): Likewise.
8806         (erf_test): Likewise.
8807         (erfc_test): Likewise.
8808         (pow10_test): Likewise.
8809         (exp2_test): Likewise.
8810         (hypot_test): Likewise.
8811         (j0_test): Likewise.
8812         (j1_test): Likewise.
8813         (lgamma_test): Likewise.
8814         (gamma_test): Likewise.
8815         (sincos_test): Likewise.
8816         (tanh_test): Likewise.
8817         (y0_test): Likewise.
8818         (y1_test): Likewise.
8819         * sysdeps/i386/fpu/libm-test-ulps: Update.
8820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8821
8822 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8823
8824         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8826         and strcspn-ppc64 objects.
8827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8828         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8829         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8830         multiarch strcspn for POWER7.
8831         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8832         multiarch strcspn for PPC64.
8833         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8834         ifunc selector.
8835         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8836         strcspn for POWER7.
8837
8838 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8839
8840         * math/gen-libm-test.pl (generate_testfile): Expect only function
8841         name as argument to AUTO_TESTS_* and pass results for all rounding
8842         modes to parse_args.
8843         (parse_auto_input): Separate inputs of automatic tests from
8844         outputs before storing in %auto_tests.
8845         * math/libm-test.inc (acos_test_data): Update call to
8846         AUTO_TESTS_f_f.
8847         (acos_test): Use ALL_RM_TEST.
8848         (acos_tonearest_test_data): Remove.
8849         (acos_test_tonearest): Likewise.
8850         (acos_towardzero_test_data): Likewise.
8851         (acos_test_towardzero): Likewise.
8852         (acos_downward_test_data): Likewise.
8853         (acos_test_downward): Likewise.
8854         (acos_upward_test_data): Likewise.
8855         (acos_test_upward): Likewise.
8856         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8857         (asin_test_data): Likewise.
8858         (asin_test): Use ALL_RM_TEST.
8859         (asin_tonearest_test_data): Remove.
8860         (asin_test_tonearest): Likewise.
8861         (asin_towardzero_test_data): Likewise.
8862         (asin_test_towardzero): Likewise.
8863         (asin_downward_test_data): Likewise.
8864         (asin_test_downward): Likewise.
8865         (asin_upward_test_data): Likewise.
8866         (asin_test_upward): Likewise.
8867         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8868         (atan_test_data): Likewise.
8869         (atanh_test_data): Likewise.
8870         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8871         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8872         (carg_test_data): Likewise.
8873         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8874         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8875         (ccosh_test_data): Likewise.
8876         (cexp_test_data): Likewise.
8877         (clog_test_data): Likewise.
8878         (clog10_test_data): Likewise.
8879         (cos_test_data): Update call to AUTO_TESTS_f_f.
8880         (cos_test): Use ALL_RM_TEST.
8881         (cos_tonearest_test_data): Remove.
8882         (cos_test_tonearest): Likewise.
8883         (cos_towardzero_test_data): Likewise.
8884         (cos_test_towardzero): Likewise.
8885         (cos_downward_test_data): Likewise.
8886         (cos_test_downward): Likewise.
8887         (cos_upward_test_data): Likewise.
8888         (cos_test_upward): Likewise.
8889         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8890         (cosh_test): Use ALL_RM_TEST.
8891         (cosh_tonearest_test_data): Remove.
8892         (cosh_test_tonearest): Likewise.
8893         (cosh_towardzero_test_data): Likewise.
8894         (cosh_test_towardzero): Likewise.
8895         (cosh_downward_test_data): Likewise.
8896         (cosh_test_downward): Likewise.
8897         (cosh_upward_test_data): Likewise.
8898         (cosh_test_upward): Likewise.
8899         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8900         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8901         (ctan_test_data): Likewise.
8902         (ctan_test): Use ALL_RM_TEST.
8903         (ctan_tonearest_test_data): Remove.
8904         (ctan_test_tonearest): Likewise.
8905         (ctan_towardzero_test_data): Likewise.
8906         (ctan_test_towardzero): Likewise.
8907         (ctan_downward_test_data): Likewise.
8908         (ctan_test_downward): Likewise.
8909         (ctan_upward_test_data): Likewise.
8910         (ctan_test_upward): Likewise.
8911         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8912         (ctanh_test): Use ALL_RM_TEST.
8913         (ctanh_tonearest_test_data): Remove.
8914         (ctanh_test_tonearest): Likewise.
8915         (ctanh_towardzero_test_data): Likewise.
8916         (ctanh_test_towardzero): Likewise.
8917         (ctanh_downward_test_data): Likewise.
8918         (ctanh_test_downward): Likewise.
8919         (ctanh_upward_test_data): Likewise.
8920         (ctanh_test_upward): Likewise.
8921         (erf_test_data): Update call to AUTO_TESTS_f_f.
8922         (erfc_test_data): Likewise.
8923         (exp_test_data): Likewise.
8924         (exp_test): Use ALL_RM_TEST.
8925         (exp_tonearest_test_data): Remove.
8926         (exp_test_tonearest): Likewise.
8927         (exp_towardzero_test_data): Likewise.
8928         (exp_test_towardzero): Likewise.
8929         (exp_downward_test_data): Likewise.
8930         (exp_test_downward): Likewise.
8931         (exp_upward_test_data): Likewise.
8932         (exp_test_upward): Likewise.
8933         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8934         (exp10_test): Use ALL_RM_TEST.
8935         (exp10_tonearest_test_data): Remove.
8936         (exp10_test_tonearest): Likewise.
8937         (exp10_towardzero_test_data): Likewise.
8938         (exp10_test_towardzero): Likewise.
8939         (exp10_downward_test_data): Likewise.
8940         (exp10_test_downward): Likewise.
8941         (exp10_upward_test_data): Likewise.
8942         (exp10_test_upward): Likewise.
8943         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8944         (expm1_test_data): Likewise.
8945         (expm1_test): Use ALL_RM_TEST.
8946         (expm1_tonearest_test_data): Remove.
8947         (expm1_test_tonearest): Likewise.
8948         (expm1_towardzero_test_data): Likewise.
8949         (expm1_test_towardzero): Likewise.
8950         (expm1_downward_test_data): Likewise.
8951         (expm1_test_downward): Likewise.
8952         (expm1_upward_test_data): Likewise.
8953         (expm1_test_upward): Likewise.
8954         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8955         (fma_test): Use ALL_RM_TEST.
8956         (fma_towardzero_test_data): Remove.
8957         (fma_test_towardzero): Likewise.
8958         (fma_downward_test_data): Likewise.
8959         (fma_test_downward): Likewise.
8960         (fma_upward_test_data): Likewise.
8961         (fma_test_upward): Likewise.
8962         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8963         (j0_test_data): Update call to AUTO_TESTS_f_f.
8964         (j1_test_data): Likewise.
8965         (jn_test_data): Update call to AUTO_TESTS_if_f.
8966         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8967         (log_test_data): Update call to AUTO_TESTS_f_f.
8968         (log10_test_data): Likewise.
8969         (log1p_test_data): Likewise.
8970         (log2_test_data): Likewise.
8971         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8972         (pow_tonearest_test_data): Likewise.
8973         (sin_test_data): Update call to AUTO_TESTS_f_f.
8974         (sin_test): Use ALL_RM_TEST.
8975         (sin_tonearest_test_data): Remove.
8976         (sin_test_tonearest): Likewise.
8977         (sin_towardzero_test_data): Likewise.
8978         (sin_test_towardzero): Likewise.
8979         (sin_downward_test_data): Likewise.
8980         (sin_test_downward): Likewise.
8981         (sin_upward_test_data): Likewise.
8982         (sin_test_upward): Likewise.
8983         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8984         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8985         (sinh_test): Use ALL_RM_TEST.
8986         (sinh_tonearest_test_data): Remove.
8987         (sinh_test_tonearest): Likewise.
8988         (sinh_towardzero_test_data): Likewise.
8989         (sinh_test_towardzero): Likewise.
8990         (sinh_downward_test_data): Likewise.
8991         (sinh_test_downward): Likewise.
8992         (sinh_upward_test_data): Likewise.
8993         (sinh_test_upward): Likewise.
8994         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8995         (sqrt_test): Use ALL_RM_TEST.
8996         (sqrt_tonearest_test_data): Remove.
8997         (sqrt_test_tonearest): Likewise.
8998         (sqrt_towardzero_test_data): Likewise.
8999         (sqrt_test_towardzero): Likewise.
9000         (sqrt_downward_test_data): Likewise.
9001         (sqrt_test_downward): Likewise.
9002         (sqrt_upward_test_data): Likewise.
9003         (sqrt_test_upward): Likewise.
9004         (tan_test_data): Update call to AUTO_TESTS_f_f.
9005         (tan_test): Use ALL_RM_TEST.
9006         (tan_tonearest_test_data): Remove.
9007         (tan_test_tonearest): Likewise.
9008         (tan_towardzero_test_data): Likewise.
9009         (tan_test_towardzero): Likewise.
9010         (tan_downward_test_data): Likewise.
9011         (tan_test_downward): Likewise.
9012         (tan_upward_test_data): Likewise.
9013         (tan_test_upward): Likewise.
9014         (tanh_test_data): Update call to AUTO_TESTS_f_f.
9015         (tgamma_test_data): Likewise.
9016         (y0_test_data): Likewise.
9017         (y1_test_data): Likewise.
9018         (yn_test_data): Update call to AUTO_TESTS_if_f.
9019         (main): Do not call removed functions.
9020
9021 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9022
9023         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9024         (ldexp_test_data): Remove.
9025         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
9026         scalbn_test_data.
9027         (scalb_test): Use ALL_RM_TEST.
9028
9029 2014-03-19  Andreas Schwab  <schwab@suse.de>
9030
9031         * nscd/nscd.service: Also invalidate netgroup cache on reload.
9032
9033 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9034
9035         [BZ #16649]
9036         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9037         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9038         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9039         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9040         (__ASSUME_PREADV): Undefine.
9041         (__ASSUME_PWRITEV): Likewise.
9042
9043 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9044
9045         * bits/mman-linux.h: Add comment about non-Linux use.
9046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9047         bits/mman-linux.h resting place.
9048
9049         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9050         * bits/mman-linux.h: ... here.
9051
9052 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9053
9054         * conform/conformtest.pl: Add standard definition when calling C
9055         preprocessor on data files.
9056         (checknamespace): Remove unused variable.
9057
9058 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9059
9060         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9061         minus_oflow, plus_uflow and minus_uflow in expected results.
9062         * math/libm-test.inc (scalbn_test_data): Add more tests of
9063         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
9064         minus_uflow.
9065         (scalbn_test): Use ALL_RM_TEST.
9066         (scalbln_test_data): Add more tests of negative arguments.  Use
9067         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9068         (scalbln_test): Use ALL_RM_TEST.
9069
9070 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9071
9072         * scripts/abilist.awk: Ignore symbols marked with .hidden.
9073
9074 2014-03-18  Will Newton  <will.newton@linaro.org>
9075
9076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9077         inaccurate comment.
9078
9079 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9080
9081         * Makerules [!subdir] (check-abi): Exit with error status if a
9082         test failed.
9083
9084 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9085
9086         * math/libm-test.inc (nearbyint_test_data): Include all tests used
9087         for rint.  Include results for all rounding modes.
9088         (nearbyint_test): Use ALL_RM_TEST.
9089         (rint_test_data): Include all tests used for nearbyint.
9090
9091 2014-03-17  Will Newton  <will.newton@linaro.org>
9092
9093         * nptl/sysdeps/pthread/pthread.h: Revert previous
9094         change.
9095
9096         * sysdeps/generic/ldsodefs.h: Revert previous
9097         change.
9098
9099         * libio/genops.c: Revert previous change.
9100         * libio/libioP.h: Likewise.
9101         * stdio-common/vfprintf.c: Likewise.
9102
9103         * sysdeps/generic/math_private.h: Revert previous
9104         change.
9105
9106         * sysdeps/generic/math_private.h: Check whether
9107         HAVE_RM_CTX is defined with #ifdef rather
9108         than #if.
9109
9110         * argp/argp-fmtstream.h: Check whether
9111         __STRICT_ANSI__ is defined with #ifdef rather
9112         than #if.
9113         * argp/argp.h: Likewise.
9114
9115         * libio/genops.c: Check whether
9116         _IO_JUMPS_OFFSET is defined with #ifdef rather
9117         than #if.
9118         * libio/libioP.h: Likewise.
9119         * stdio-common/vfprintf.c: Likewise.
9120
9121         * sysdeps/generic/ldsodefs.h: Check whether
9122         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9123         than #if.
9124
9125         * nptl/sysdeps/pthread/pthread.h: Check
9126         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9127         its value.
9128
9129 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9130
9131         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9132         setting O_APPEND.
9133         * libio/tst-ftell-active-handler.c (do_append_test): Add a
9134         test case.
9135
9136         [BZ #16680]
9137         * libio/fileops.c (_IO_file_open): Seek to end of file but
9138         don't cache the offset.
9139         (get_file_offset): Remove function.
9140         (do_ftell): Use cached offset when available.
9141         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9142         don't cache the offset.
9143         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9144         case.
9145         (do_one_test): Call it.
9146         (do_ftell_test): Fix up expected old offset for a+ mode.
9147         * libio/wfileops.c (do_ftell_wide): Used cached offset when
9148         available.
9149
9150         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9151         up test status with function return status.
9152         (do_write_test): Likewise.
9153         (do_append_test): Likewise.
9154
9155         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9156         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9157         Remove.
9158
9159 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9160
9161         * math/gen-libm-test.pl (parse_args): Handle results specified for
9162         each rounding mode separately.
9163         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9164         tests and results from lrint_tonearest_test_data,
9165         lrint_towardzero_test_data, lrint_downward_test_data and
9166         lrint_upward_test_data.
9167         (lrint_test): Use ALL_RM_TEST.
9168         (lrint_tonearest_test_data): Remove.
9169         (lrint_test_tonearest): Likewise.
9170         (lrint_towardzero_test_data): Likewise.
9171         (lrint_test_towardzero): Likewise.
9172         (lrint_downward_test_data): Likewise.
9173         (lrint_test_downward): Likewise.
9174         (lrint_upward_test_data): Likewise.
9175         (lrint_test_upward): Likewise.
9176         (llrint_test_data): Merge in per-rounding-mode tests and results
9177         from llrint_tonearest_test_data, llrint_towardzero_test_data,
9178         llrint_downward_test_data and llrint_upward_test_data.
9179         (llrint_test): Use ALL_RM_TEST.
9180         (llrint_tonearest_test_data): Remove.
9181         (llrint_test_tonearest): Likewise.
9182         (llrint_towardzero_test_data): Likewise.
9183         (llrint_test_towardzero): Likewise.
9184         (llrint_downward_test_data): Likewise.
9185         (llrint_test_downward): Likewise.
9186         (llrint_upward_test_data): Likewise.
9187         (llrint_test_upward): Likewise.
9188         (rint_test_data): Merge in per-rounding-mode tests and results
9189         from rint_tonearest_test_data, rint_towardzero_test_data,
9190         rint_downward_test_data and rint_upward_test_data.  Add
9191         per-rounding-mode results for tests not in those arrays.
9192         (rint_test): Use ALL_RM_TEST.
9193         (rint_tonearest_test_data): Remove.
9194         (rint_test_tonearest): Likewise.
9195         (rint_towardzero_test_data): Likewise.
9196         (rint_test_towardzero): Likewise.
9197         (rint_downward_test_data): Likewise.
9198         (rint_test_downward): Likewise.
9199         (rint_upward_test_data): Likewise.
9200         (rint_test_upward): Likewise.
9201         (main): Don't call removed functions.
9202
9203 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9204
9205         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9206         "Compiled on ..." crapola.  It is anti-useful.
9207
9208 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
9209
9210         * scripts/evaluate-test.sh: Handle fourth argument to determine
9211         whether test run should stop on failure.
9212         * Makeconfig (stop-on-test-failure): New variable.
9213         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9214         $(stop-on-test-failure).
9215         * Makefile (tests): Give a summary of results from testing and
9216         exit with failure status if they include an ERROR or FAIL.
9217         (xtests): Likewise.
9218         * manual/install.texi (Configuring and compiling): Mention
9219         stop-on-test-failure=y.
9220         * INSTALL: Regenerated.
9221
9222 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9223
9224         * scripts/versionlist.awk: New file.
9225         * Makerules [$(build-shared) = yes]
9226         (postclean-generated): Add Versions.def, not Versions.def.v and
9227         Versions.def.v.i.
9228         ($(common-objpfx)Versions.def.v.i): Target removed.
9229         ($(common-objpfx)Versions.def): New target.
9230         ($(common-objpfx)Versions.all): Depend on that rather that
9231         $(common-objpfx)Versions.def.v.
9232         * Versions.def: File removed.
9233
9234         * Makeconfig (+gccwarn): Add -Wundef.
9235         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9236         a dl-sysdep.h breaking its contract.
9237         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9238         * include/stackinfo.h: New file.
9239         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9240         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9241         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9242         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9243         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9244         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9245         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9246         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9247         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9248         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9249         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9250         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9251         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9252         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9253         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9254
9255 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9256
9257         [BZ #16707]
9258         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9259         implementation.
9260         * math/libm-test.inc (round_test_data): Add more tests.
9261
9262         [BZ #16706]
9263         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9264         implementation.
9265         * math/libm-test.inc (nearbyint_test_data): Add more tests.
9266
9267         [BZ #16701]
9268         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9269         implementation.
9270         * math/libm-test.inc (ceil_test_data): Add more tests.
9271
9272         * math/libm-test.inc (trunc_test_data): Add more tests related to
9273         BZ#16414.
9274
9275 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9276
9277         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9278         with #if rather than #ifdef.
9279         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9280
9281 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
9282
9283         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9284         first.  Disable AVX-512 GCC support if assembler doesn't support
9285         it.
9286         * sysdeps/x86_64/configure: Regenerated.
9287
9288 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
9289
9290         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9291         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9292         (__old_pthread_attr_setstack): Likewise.
9293         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9294         [!_STACK_GROWS_DOWN]: Likewise.
9295
9296 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
9297
9298         * config.make.in (have-bash2): Delete.
9299         * configure.ac (libc_cv_have_bash2): Delete.
9300         * configure: Regenerate.
9301         * elf/Makefile (common-ldd-rewrite): Rename to ...
9302         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
9303         (sh-ldd-rewrite): Delete.
9304         (bash-ldd-rewrite): Delete.
9305         (have-bash2): Delete checks.
9306         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9307         ldd-rewrite.
9308
9309         * config.make.in (have-ksh): Delete.
9310         (KSH): Delete.
9311         * configure.ac (libc_cv_have_ksh): Delete.
9312         * configure: Regenerate.
9313
9314         * elf/Makefile: Delete $(have-ksh) check.
9315         ($(objpfx)sotruss): Change KSH to BASH.
9316         * elf/sotruss.ksh: Rename to ...
9317         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
9318         function style to match POSIX.  Drop ksh vim mode setting.
9319
9320         * manual/time.texi (Specifying the Time Zone with TZ): Change
9321         Tuesday to Thursday.
9322
9323         * debug/tst-longjmp_chk2.c: Update header comment.
9324         (stackoverflow_handler): Add comment.  Call assert on pass value.
9325
9326 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
9327
9328         [BZ #16194]
9329         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9330         (HAVE_AVX512_ASM_SUPPORT): Likewise.
9331         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9332         (La_x86_64_vector): Add zmm.
9333         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9334         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9335         ($(objpfx)tst-audit10): New target.
9336         ($(objpfx)tst-audit10.out): Likewise.
9337         (tst-audit10-ENV): New.
9338         (AVX512-CFLAGS): Likewise.
9339         (CFLAGS-tst-audit10.c): Likewise.
9340         (CFLAGS-tst-auditmod10a.c): Likewise.
9341         (CFLAGS-tst-auditmod10b.c): Likewise.
9342         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9343         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9344         * sysdeps/x86_64/configure: Regenerated.
9345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9346         AVX-512 zmm register support.
9347         (_dl_x86_64_save_sse): Likewise.
9348         (_dl_x86_64_restore_sse): Likewise.
9349         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9350         size vector registers.
9351         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9352         (ZMM_SIZE): Likewise.
9353         * sysdeps/x86_64/tst-audit10.c: New file.
9354         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9355         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9356
9357 2014-03-13  Roland McGrath  <roland@hack.frob.com>
9358
9359         * configure.ac (HAVE_EHDR_START): New check.
9360         * configure: Regenerated.
9361         * config.h.in (HAVE_EHDR_START): New #undef.
9362         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9363         assuming the lowest-addressed segment maps the start of the file.
9364
9365 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
9366
9367         * INSTALL: Regenerated.
9368
9369 2014-03-13  Will Newton  <will.newton@linaro.org>
9370
9371         * manual/setjmp.texi (System V contexts): Improve
9372         clarity and grammar of documentation.
9373
9374 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9375
9376         [BZ #16381]
9377         * elf/Makefile (tests): Add tst-pie2.
9378         (tests-pie): Add tst-pie2.
9379         * elf/tst-pie2.c: New file.
9380         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9381         for ET_EXEC.
9382         * elf/rtld.c (map_doit): Load executable as lt_executable.
9383         (dl_main): Likewise.
9384
9385 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
9386
9387         [BZ #16642]
9388         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9389         (__ASSUME_PSELECT): Undefine.
9390
9391 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9392
9393         [BZ #16689]
9394         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9395         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9396         static build.
9397         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9398         selector for static builds.
9399
9400 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9401
9402         [BZ #16695]
9403         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9404         key in the buffer.
9405
9406 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9407
9408         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9409         IFUNC selector for static builds.
9410
9411 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9412
9413         * sysdeps/mips/math_private.h [__mips_hard_float]
9414         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9415         libc_feresetround_mips_ctx.
9416         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9417         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9418         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9419
9420         [BZ #16677]
9421         * math/s_nextafter.c (__nextafter): Do not return value from
9422         overflowing computation.
9423         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9424         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9425         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9426         Likewise.
9427         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9428         Likewise.
9429         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9430         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9431
9432 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9433
9434         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9435         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9436         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9437         the new mov targetting sp.
9438
9439 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9440
9441         [BZ #16683]
9442         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9443         Define it for static builds as well.
9444         (NO_BZERO_IMPL): Likewise.
9445
9446 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9447
9448         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9449         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9450         multiarch strspn for PPC64.
9451         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9452         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9454         (__libc_ifunc_impl_list): Likewise.
9455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9456         multiarch optimizations
9457         * string/strspn.c (strspn): Using macro to redefine symbol name.
9458
9459 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9460             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9461
9462         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9463         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9464         multiarch strncat for PPC64.
9465         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9466         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9468         (__libc_ifunc_impl_list): Likewise.
9469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9470         multiarch optimizations
9471
9472 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9473
9474         [BZ #16639]
9475         * nscd/nscd.service: Make service type forking.
9476
9477 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9478
9479         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9480         sign in non default rounding modes.
9481         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9482
9483 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9484
9485         * math/libm-test.inc (ALL_RM_TEST): New macro.
9486         (ceil_test): Use ALL_RM_TEST.
9487         (cimag_test): Likewise.
9488         (conj_test): Likewise.
9489         (copysign_test): Likewise.
9490         (cproj_test): Likewise.
9491         (creal_test): Likewise.
9492         (fabs_test): Likewise.
9493         (floor_test): Likewise.
9494         (fmax_test): Likewise.
9495         (fmin_test): Likewise.
9496         (fmod_test): Likewise.
9497         (fpclassify_test): Likewise.
9498         (frexp_test): Likewise.
9499         (ilogb_test): Likewise.
9500         (isfinite_test): Likewise.
9501         (finite_test): Likewise.
9502         (isgreater_test): Likewise.
9503         (isgreaterequal_test): Likewise.
9504         (isinf_test): Likewise.
9505         (isless_test): Likewise.
9506         (islessequal_test): Likewise.
9507         (islessgreater_test): Likewise.
9508         (isnan_test): Likewise.
9509         (isnormal_test): Likewise.
9510         (issignaling_test): Likewise.
9511         (isunordered_test): Likewise.
9512         (logb_test): Likewise.
9513         (logb_downward_test_data): Remove.
9514         (logb_test_downward): Likewise.
9515         (lround_test): Use ALL_RM_TEST.
9516         (llround_test): Likewise.
9517         (modf_test): Likewise.
9518         (nexttoward_test): Likewise.
9519         (remainder_test): Likewise.
9520         (drem_test): Likewise.
9521         (remainder_tonearest_test_data): Likewise.
9522         (remainder_test_tonearest): Likewise.
9523         (drem_test_tonearest): Likewise.
9524         (remainder_towardzero_test_data): Likewise.
9525         (remainder_test_towardzero): Likewise.
9526         (drem_test_towardzero): Likewise.
9527         (remainder_downward_test_data): Likewise.
9528         (remainder_test_downward): Likewise.
9529         (drem_test_downward): Likewise.
9530         (remainder_upward_test_data): Likewise.
9531         (remainder_test_upward): Likewise.
9532         (drem_test_upward): Likewise.
9533         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9534         (round_test): Use ALL_RM_TEST.
9535         (signbit_test): Likewise.
9536         (trunc_test): Likewise.
9537         (significand_test): Likewise.
9538         (main): Don't call removed functions.
9539
9540 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9541
9542         [BZ #16674]
9543         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9544         || __USE_XOPEN2K8].
9545         (ILL_ILLOPN): Likewise.
9546         (ILL_ILLADR): Likewise.
9547         (ILL_ILLTRP): Likewise.
9548         (ILL_PRVOPC): Likewise.
9549         (ILL_PRVREG): Likewise.
9550         (ILL_COPROC): Likewise.
9551         (ILL_BADSTK): Likewise.
9552         (FPE_INTDIV): Likewise.
9553         (FPE_INTOVF): Likewise.
9554         (FPE_FLTDIV): Likewise.
9555         (FPE_FLTOVF): Likewise.
9556         (FPE_FLTUND): Likewise.
9557         (FPE_FLTRES): Likewise.
9558         (FPE_FLTINV): Likewise.
9559         (FPE_FLTSUB): Likewise.
9560         (SEGV_MAPERR): Likewise.
9561         (SEGV_ACCERR): Likewise.
9562         (BUS_ADRALN): Likewise.
9563         (BUS_ADRERR): Likewise.
9564         (BUS_OBJERR): Likewise.
9565         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9566         (TRAP_TRACE): Likewise.
9567         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9568         __USE_XOPEN2K8].
9569         (CLD_KILLED): Likewise.
9570         (CLD_DUMPED): Likewise.
9571         (CLD_TRAPPED): Likewise.
9572         (CLD_STOPPED): Likewise.
9573         (CLD_CONTINUED): Likewise.
9574         (POLL_IN): Likewise.
9575         (POLL_OUT): Likewise.
9576         (POLL_MSG): Likewise.
9577         (POLL_ERR): Likewise.
9578         (POLL_PRI): Likewise.
9579         (POLL_HUP): Likewise.
9580         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9581         Likewise.
9582         (ILL_ILLOPN): Likewise.
9583         (ILL_ILLADR): Likewise.
9584         (ILL_ILLTRP): Likewise.
9585         (ILL_PRVOPC): Likewise.
9586         (ILL_PRVREG): Likewise.
9587         (ILL_COPROC): Likewise.
9588         (ILL_BADSTK): Likewise.
9589         (FPE_INTDIV): Likewise.
9590         (FPE_INTOVF): Likewise.
9591         (FPE_FLTDIV): Likewise.
9592         (FPE_FLTOVF): Likewise.
9593         (FPE_FLTUND): Likewise.
9594         (FPE_FLTRES): Likewise.
9595         (FPE_FLTINV): Likewise.
9596         (FPE_FLTSUB): Likewise.
9597         (SEGV_MAPERR): Likewise.
9598         (SEGV_ACCERR): Likewise.
9599         (BUS_ADRALN): Likewise.
9600         (BUS_ADRERR): Likewise.
9601         (BUS_OBJERR): Likewise.
9602         (BUS_MCEERR_AR): Likewise.
9603         (BUS_MCEERR_AO): Likewise.
9604         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9605         (TRAP_TRACE): Likewise.
9606         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9607         __USE_XOPEN2K8].
9608         (CLD_KILLED): Likewise.
9609         (CLD_DUMPED): Likewise.
9610         (CLD_TRAPPED): Likewise.
9611         (CLD_STOPPED): Likewise.
9612         (CLD_CONTINUED): Likewise.
9613         (POLL_IN): Likewise.
9614         (POLL_OUT): Likewise.
9615         (POLL_MSG): Likewise.
9616         (POLL_ERR): Likewise.
9617         (POLL_PRI): Likewise.
9618         (POLL_HUP): Likewise.
9619         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9620         (ILL_ILLOPN): Likewise.
9621         (ILL_ILLADR): Likewise.
9622         (ILL_ILLTRP): Likewise.
9623         (ILL_PRVOPC): Likewise.
9624         (ILL_PRVREG): Likewise.
9625         (ILL_COPROC): Likewise.
9626         (ILL_BADSTK): Likewise.
9627         (FPE_INTDIV): Likewise.
9628         (FPE_INTOVF): Likewise.
9629         (FPE_FLTDIV): Likewise.
9630         (FPE_FLTOVF): Likewise.
9631         (FPE_FLTUND): Likewise.
9632         (FPE_FLTRES): Likewise.
9633         (FPE_FLTINV): Likewise.
9634         (FPE_FLTSUB): Likewise.
9635         (SEGV_MAPERR): Likewise.
9636         (SEGV_ACCERR): Likewise.
9637         (BUS_ADRALN): Likewise.
9638         (BUS_ADRERR): Likewise.
9639         (BUS_OBJERR): Likewise.
9640         (BUS_MCEERR_AR): Likewise.
9641         (BUS_MCEERR_AO): Likewise.
9642         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9643         (TRAP_TRACE): Likewise.
9644         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9645         __USE_XOPEN2K8].
9646         (CLD_KILLED): Likewise.
9647         (CLD_DUMPED): Likewise.
9648         (CLD_TRAPPED): Likewise.
9649         (CLD_STOPPED): Likewise.
9650         (CLD_CONTINUED): Likewise.
9651         (POLL_IN): Likewise.
9652         (POLL_OUT): Likewise.
9653         (POLL_MSG): Likewise.
9654         (POLL_ERR): Likewise.
9655         (POLL_PRI): Likewise.
9656         (POLL_HUP): Likewise.
9657         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9658         Likewise.
9659         (ILL_ILLOPN): Likewise.
9660         (ILL_ILLADR): Likewise.
9661         (ILL_ILLTRP): Likewise.
9662         (ILL_PRVOPC): Likewise.
9663         (ILL_PRVREG): Likewise.
9664         (ILL_COPROC): Likewise.
9665         (ILL_BADSTK): Likewise.
9666         (ILL_BADIADDR): Likewise.
9667         (ILL_BREAK): Likewise.
9668         (FPE_INTDIV): Likewise.
9669         (FPE_INTOVF): Likewise.
9670         (FPE_FLTDIV): Likewise.
9671         (FPE_FLTOVF): Likewise.
9672         (FPE_FLTUND): Likewise.
9673         (FPE_FLTRES): Likewise.
9674         (FPE_FLTINV): Likewise.
9675         (FPE_FLTSUB): Likewise.
9676         (FPE_DECOVF): Likewise.
9677         (FPE_DECDIV): Likewise.
9678         (FPE_DECERR): Likewise.
9679         (FPE_INVASC): Likewise.
9680         (FPE_INVDEC): Likewise.
9681         (SEGV_MAPERR): Likewise.
9682         (SEGV_ACCERR): Likewise.
9683         (SEGV_PSTKOVF): Likewise.
9684         (BUS_ADRALN): Likewise.
9685         (BUS_ADRERR): Likewise.
9686         (BUS_OBJERR): Likewise.
9687         (BUS_MCEERR_AR): Likewise.
9688         (BUS_MCEERR_AO): Likewise.
9689         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9690         (TRAP_TRACE): Likewise.
9691         (TRAP_BRANCH): Likewise.
9692         (TRAP_HWBKPT): Likewise.
9693         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9694         __USE_XOPEN2K8].
9695         (CLD_KILLED): Likewise.
9696         (CLD_DUMPED): Likewise.
9697         (CLD_TRAPPED): Likewise.
9698         (CLD_STOPPED): Likewise.
9699         (CLD_CONTINUED): Likewise.
9700         (POLL_IN): Likewise.
9701         (POLL_OUT): Likewise.
9702         (POLL_MSG): Likewise.
9703         (POLL_ERR): Likewise.
9704         (POLL_PRI): Likewise.
9705         (POLL_HUP): Likewise.
9706         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9707         (ILL_ILLOPN): Likewise.
9708         (ILL_ILLADR): Likewise.
9709         (ILL_ILLTRP): Likewise.
9710         (ILL_PRVOPC): Likewise.
9711         (ILL_PRVREG): Likewise.
9712         (ILL_COPROC): Likewise.
9713         (ILL_BADSTK): Likewise.
9714         (FPE_INTDIV): Likewise.
9715         (FPE_INTOVF): Likewise.
9716         (FPE_FLTDIV): Likewise.
9717         (FPE_FLTOVF): Likewise.
9718         (FPE_FLTUND): Likewise.
9719         (FPE_FLTRES): Likewise.
9720         (FPE_FLTINV): Likewise.
9721         (FPE_FLTSUB): Likewise.
9722         (SEGV_MAPERR): Likewise.
9723         (SEGV_ACCERR): Likewise.
9724         (BUS_ADRALN): Likewise.
9725         (BUS_ADRERR): Likewise.
9726         (BUS_OBJERR): Likewise.
9727         (BUS_MCEERR_AR): Likewise.
9728         (BUS_MCEERR_AO): Likewise.
9729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9730         (TRAP_TRACE): Likewise.
9731         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9732         __USE_XOPEN2K8].
9733         (CLD_KILLED): Likewise.
9734         (CLD_DUMPED): Likewise.
9735         (CLD_TRAPPED): Likewise.
9736         (CLD_STOPPED): Likewise.
9737         (CLD_CONTINUED): Likewise.
9738         (POLL_IN): Likewise.
9739         (POLL_OUT): Likewise.
9740         (POLL_MSG): Likewise.
9741         (POLL_ERR): Likewise.
9742         (POLL_PRI): Likewise.
9743         (POLL_HUP): Likewise.
9744         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9745         (ILL_ILLOPN): Likewise.
9746         (ILL_ILLADR): Likewise.
9747         (ILL_ILLTRP): Likewise.
9748         (ILL_PRVOPC): Likewise.
9749         (ILL_PRVREG): Likewise.
9750         (ILL_COPROC): Likewise.
9751         (ILL_BADSTK): Likewise.
9752         (FPE_INTDIV): Likewise.
9753         (FPE_INTOVF): Likewise.
9754         (FPE_FLTDIV): Likewise.
9755         (FPE_FLTOVF): Likewise.
9756         (FPE_FLTUND): Likewise.
9757         (FPE_FLTRES): Likewise.
9758         (FPE_FLTINV): Likewise.
9759         (FPE_FLTSUB): Likewise.
9760         (SEGV_MAPERR): Likewise.
9761         (SEGV_ACCERR): Likewise.
9762         (BUS_ADRALN): Likewise.
9763         (BUS_ADRERR): Likewise.
9764         (BUS_OBJERR): Likewise.
9765         (BUS_MCEERR_AR): Likewise.
9766         (BUS_MCEERR_AO): Likewise.
9767         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9768         (TRAP_TRACE): Likewise.
9769         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9770         __USE_XOPEN2K8].
9771         (CLD_KILLED): Likewise.
9772         (CLD_DUMPED): Likewise.
9773         (CLD_TRAPPED): Likewise.
9774         (CLD_STOPPED): Likewise.
9775         (CLD_CONTINUED): Likewise.
9776         (POLL_IN): Likewise.
9777         (POLL_OUT): Likewise.
9778         (POLL_MSG): Likewise.
9779         (POLL_ERR): Likewise.
9780         (POLL_PRI): Likewise.
9781         (POLL_HUP): Likewise.
9782         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9783         (ILL_ILLOPN): Likewise.
9784         (ILL_ILLADR): Likewise.
9785         (ILL_ILLTRP): Likewise.
9786         (ILL_PRVOPC): Likewise.
9787         (ILL_PRVREG): Likewise.
9788         (ILL_COPROC): Likewise.
9789         (ILL_BADSTK): Likewise.
9790         (FPE_INTDIV): Likewise.
9791         (FPE_INTOVF): Likewise.
9792         (FPE_FLTDIV): Likewise.
9793         (FPE_FLTOVF): Likewise.
9794         (FPE_FLTUND): Likewise.
9795         (FPE_FLTRES): Likewise.
9796         (FPE_FLTINV): Likewise.
9797         (FPE_FLTSUB): Likewise.
9798         (SEGV_MAPERR): Likewise.
9799         (SEGV_ACCERR): Likewise.
9800         (BUS_ADRALN): Likewise.
9801         (BUS_ADRERR): Likewise.
9802         (BUS_OBJERR): Likewise.
9803         (BUS_MCEERR_AR): Likewise.
9804         (BUS_MCEERR_AO): Likewise.
9805         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9806         (TRAP_TRACE): Likewise.
9807         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9808         __USE_XOPEN2K8].
9809         (CLD_KILLED): Likewise.
9810         (CLD_DUMPED): Likewise.
9811         (CLD_TRAPPED): Likewise.
9812         (CLD_STOPPED): Likewise.
9813         (CLD_CONTINUED): Likewise.
9814         (POLL_IN): Likewise.
9815         (POLL_OUT): Likewise.
9816         (POLL_MSG): Likewise.
9817         (POLL_ERR): Likewise.
9818         (POLL_PRI): Likewise.
9819         (POLL_HUP): Likewise.
9820         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9821         (ILL_ILLOPN): Likewise.
9822         (ILL_ILLADR): Likewise.
9823         (ILL_ILLTRP): Likewise.
9824         (ILL_PRVOPC): Likewise.
9825         (ILL_PRVREG): Likewise.
9826         (ILL_COPROC): Likewise.
9827         (ILL_BADSTK): Likewise.
9828         (ILL_DBLFLT): Likewise.
9829         (ILL_HARDWALL): Likewise.
9830         (FPE_INTDIV): Likewise.
9831         (FPE_INTOVF): Likewise.
9832         (FPE_FLTDIV): Likewise.
9833         (FPE_FLTOVF): Likewise.
9834         (FPE_FLTUND): Likewise.
9835         (FPE_FLTRES): Likewise.
9836         (FPE_FLTINV): Likewise.
9837         (FPE_FLTSUB): Likewise.
9838         (SEGV_MAPERR): Likewise.
9839         (SEGV_ACCERR): Likewise.
9840         (BUS_ADRALN): Likewise.
9841         (BUS_ADRERR): Likewise.
9842         (BUS_OBJERR): Likewise.
9843         (BUS_MCEERR_AR): Likewise.
9844         (BUS_MCEERR_AO): Likewise.
9845         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9846         (TRAP_TRACE): Likewise.
9847         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9848         __USE_XOPEN2K8].
9849         (CLD_KILLED): Likewise.
9850         (CLD_DUMPED): Likewise.
9851         (CLD_TRAPPED): Likewise.
9852         (CLD_STOPPED): Likewise.
9853         (CLD_CONTINUED): Likewise.
9854         (POLL_IN): Likewise.
9855         (POLL_OUT): Likewise.
9856         (POLL_MSG): Likewise.
9857         (POLL_ERR): Likewise.
9858         (POLL_PRI): Likewise.
9859         (POLL_HUP): Likewise.
9860         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9861         (ILL_ILLOPN): Likewise.
9862         (ILL_ILLADR): Likewise.
9863         (ILL_ILLTRP): Likewise.
9864         (ILL_PRVOPC): Likewise.
9865         (ILL_PRVREG): Likewise.
9866         (ILL_COPROC): Likewise.
9867         (ILL_BADSTK): Likewise.
9868         (FPE_INTDIV): Likewise.
9869         (FPE_INTOVF): Likewise.
9870         (FPE_FLTDIV): Likewise.
9871         (FPE_FLTOVF): Likewise.
9872         (FPE_FLTUND): Likewise.
9873         (FPE_FLTRES): Likewise.
9874         (FPE_FLTINV): Likewise.
9875         (FPE_FLTSUB): Likewise.
9876         (SEGV_MAPERR): Likewise.
9877         (SEGV_ACCERR): Likewise.
9878         (BUS_ADRALN): Likewise.
9879         (BUS_ADRERR): Likewise.
9880         (BUS_OBJERR): Likewise.
9881         (BUS_MCEERR_AR): Likewise.
9882         (BUS_MCEERR_AO): Likewise.
9883         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9884         (TRAP_TRACE): Likewise.
9885         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9886         __USE_XOPEN2K8].
9887         (CLD_KILLED): Likewise.
9888         (CLD_DUMPED): Likewise.
9889         (CLD_TRAPPED): Likewise.
9890         (CLD_STOPPED): Likewise.
9891         (CLD_CONTINUED): Likewise.
9892         (POLL_IN): Likewise.
9893         (POLL_OUT): Likewise.
9894         (POLL_MSG): Likewise.
9895         (POLL_ERR): Likewise.
9896         (POLL_PRI): Likewise.
9897         (POLL_HUP): Likewise.
9898         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9899         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9900
9901         [BZ #16670]
9902         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9903         before #include of <time.h>.
9904         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9905         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9906         (test-xfail-UNIX98/sched.h/conform): Likewise.
9907
9908 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9909
9910         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9911         error absence of trapping exception support.
9912         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9913
9914 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9915
9916         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9917         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9918         * timezone/Makefile (testdata): Move definition above include of
9919         Rules.
9920         (test-zones): New variable.
9921         (tests-special): Add zone files.
9922         (build-testdata): Use $(evaluate-test).
9923
9924         * elf/Makefile (tests-special): Rename tests to end with .out.
9925         ($(objpfx)noload-mem): Likewise.
9926         ($(objpfx)tst-leaks1-mem): Likewise.
9927         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9928         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9929         $(objpfx)test-iconvconfig.out.
9930         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9931         set -e inside subshell and redirect output to file.
9932         * iconvdata/Makefile (generated): Rename tests to end with .out.
9933         Correct type.
9934         (tests-special): Rename tests to end with .out.
9935         ($(objpfx)mtrace-tst-loading): Likewise.
9936         * intl/Makefile (generated): Likewise.
9937         (tests-special): Likewise.
9938         ($(objpfx)mtrace-tst-gettext): Likewise.
9939         * misc/Makefile (generated): Likewise.
9940         (tests-special): Likewise.
9941         ($(objpfx)tst-error1-mem): Likewise.
9942         * nptl/Makefile (tests-special): Likewise.
9943         ($(objpfx)tst-stack3-mem): Likewise.
9944         (generated): Likewise.
9945         * posix/Makefile (generated): Likewise.
9946         (tests-special): Likewise.
9947         (xtests-special): Likewise.
9948         ($(objpfx)tst-fnmatch-mem): Likewise.
9949         ($(objpfx)bug-regex2-mem): Likewise.
9950         ($(objpfx)bug-regex14-mem): Likewise.
9951         ($(objpfx)bug-regex21-mem): Likewise.
9952         ($(objpfx)bug-regex31-mem): Likewise.
9953         ($(objpfx)tst-vfork3-mem): Likewise.
9954         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9955         ($(objpfx)tst-pcre-mem): Likewise.
9956         ($(objpfx)tst-boost-mem): Likewise.
9957         ($(objpfx)bug-ga2-mem): Likewise.
9958         ($(objpfx)bug-glob2-mem): Likewise.
9959         * resolv/Makefile (generate): Likewise.
9960         (tests-special): Likewise.
9961         (xtests-special): Likewise.
9962         (generated): Likewise.
9963         ($(objpfx)mtrace-tst-leaks): Likewise.
9964         ($(objpfx)mtrace-tst-leaks2): Likewise.
9965
9966         * scripts/merge-test-results.sh: New file.
9967         * Makefile (tests-special-notdir): New variable.
9968         (tests): Run merge-test-results.sh.
9969         (xtests): Likewise.
9970         * Rules (tests-special-notdir): New variable.
9971         (xtests-special-notdir): Likewise.
9972         (tests): Run merge-test-results.sh
9973         (xtests): Likewise.
9974
9975         * Makeconfig (test-xfail-name): New variable.
9976         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9977         compute variable name for expected failures.
9978         * conform/Makefile (conformtest-headers-data): New variable.
9979         (conformtest-standards): Likewise.
9980         (conformtest-headers-ISO): Likewise.
9981         (conformtest-headers-ISO99): Likewise.
9982         (conformtest-headers-ISO11): Likewise.
9983         (conformtest-headers-POSIX): Likewise.
9984         (conformtest-headers-XPG3): Likewise.
9985         (conformtest-headers-XPG4): Likewise.
9986         (conformtest-headers-UNIX98): Likewise.
9987         (conformtest-headers-XOPEN2K): Likewise.
9988         (conformtest-headers-POSIX2008): Likewise.
9989         (conformtest-headers-XOPEN2K8): Likewise.
9990         (conformtest-header-list-base): Likewise.
9991         (conformtest-header-list-tests): Likewise.
9992         (conformtest-header-base): Likewise.
9993         (conformtest-header-tests): Likewise.
9994         (tests-special): Add $(conformtest-header-list-tests).  If
9995         [$(fast-check) && !$(cross-compiling)], add
9996         $(conformtest-header-tests) instead of
9997         $(objpfx)run-conformtest.out.
9998         (generated): Add $(conformtest-header-list-base).  If
9999         [$(fast-check) && !$(cross-compiling)], add
10000         $(conformtest-header-base).  Remove previous setting.
10001         ($(conformtest-header-list-tests)): New target.
10002         (test-xfail-run-conformtest): Remove variable.
10003         ($(objpfx)run-conformtest.out): Remove target.
10004         (test-xfail-ISO11/complex.h/conform): New variable.
10005         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10006         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10007         (test-xfail-XPG3/varargs.h/conform): Likewise.
10008         (test-xfail-XPG4/varargs.h/conform): Likewise.
10009         (test-xfail-UNIX98/varargs.h/conform): Likewise.
10010         (test-xfail-XPG4/ndbm.h/conform): Likewise.
10011         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10012         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10013         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10014         (test-xfail-XPG3/fcntl.h/conform): Likewise.
10015         (test-xfail-XPG3/ftw.h/conform): Likewise.
10016         (test-xfail-XPG3/grp.h/conform): Likewise.
10017         (test-xfail-XPG3/langinfo.h/conform): Likewise.
10018         (test-xfail-XPG3/limits.h/conform): Likewise.
10019         (test-xfail-XPG3/pwd.h/conform): Likewise.
10020         (test-xfail-XPG3/search.h/conform): Likewise.
10021         (test-xfail-XPG3/signal.h/conform): Likewise.
10022         (test-xfail-XPG3/stdio.h/conform): Likewise.
10023         (test-xfail-XPG3/stdlib.h/conform): Likewise.
10024         (test-xfail-XPG3/string.h/conform): Likewise.
10025         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10026         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10027         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10028         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10029         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10030         (test-xfail-XPG3/sys/types.h/conform): Likewise.
10031         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10032         (test-xfail-XPG3/termios.h/conform): Likewise.
10033         (test-xfail-XPG3/time.h/conform): Likewise.
10034         (test-xfail-XPG3/unistd.h/conform): Likewise.
10035         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10036         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10037         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10038         (test-xfail-XPG4/netdb.h/conform): Likewise.
10039         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10040         (test-xfail-XPG4/signal.h/conform): Likewise.
10041         (test-xfail-XPG4/stdio.h/conform): Likewise.
10042         (test-xfail-XPG4/stdlib.h/conform): Likewise.
10043         (test-xfail-XPG4/stropts.h/conform): Likewise.
10044         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10045         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10046         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10047         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10048         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10049         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10050         (test-xfail-XPG4/sys/time.h/conform): Likewise.
10051         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10052         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10053         (test-xfail-XPG4/termios.h/conform): Likewise.
10054         (test-xfail-XPG4/ucontext.h/conform): Likewise.
10055         (test-xfail-XPG4/unistd.h/conform): Likewise.
10056         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10057         (test-xfail-POSIX/sched.h/conform): Likewise.
10058         (test-xfail-POSIX/signal.h/conform): Likewise.
10059         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10060         (test-xfail-POSIX/tar.h/conform): Likewise.
10061         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10062         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10063         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10064         (test-xfail-UNIX98/netdb.h/conform): Likewise.
10065         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10066         (test-xfail-UNIX98/sched.h/conform): Likewise.
10067         (test-xfail-UNIX98/signal.h/conform): Likewise.
10068         (test-xfail-UNIX98/stdio.h/conform): Likewise.
10069         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10070         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10071         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10072         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10073         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10074         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10075         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10076         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10077         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10078         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10079         (test-xfail-UNIX98/unistd.h/conform): Likewise.
10080         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10081         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10082         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10083         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10084         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10085         (test-xfail-XOPEN2K/math.h/conform): Likewise.
10086         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10087         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10088         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10089         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10090         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10091         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10092         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10093         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10094         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10095         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10096         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10097         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10098         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10099         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10100         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10101         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10102         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10103         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10104         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10105         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10106         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10107         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10108         (test-xfail-POSIX2008/signal.h/conform): Likewise.
10109         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10110         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10111         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10112         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10113         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10114         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10115         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10116         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10117         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10118         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10119         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10120         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10121         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10122         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10123         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10124         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10125         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10126         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10127         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10128         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10129         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10130         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10131         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10132         (conformtest-cc-flags): Likewise.
10133         ($(conformtest-header-tests): New target.
10134         * conform/check-header-lists.sh: New file.
10135         * conform/run-conformtest.sh: Remove.
10136
10137         * conform/conformtest.pl: Allow ' and \ in values given for
10138         constants.
10139         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10140         inclusion.
10141         [POSIX] (sys/types.h): Likewise.
10142         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10143         inclusion.
10144         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10145         inclusion.
10146         * conform/data/signal.h-data (SIGIO): Remove expectation.
10147         [XPG3] (SIGBUS): Do not expect.
10148         [POSIX || XPG3] (SIGPOLL): Likewise.
10149         [POSIX || XPG3] (SIGPROF): Likewise.
10150         [POSIX || XPG3] (SIGSYS): Likewise.
10151         [XPG3] (SIGTRAP): Likewise.
10152         [POSIX || XPG3] (SIGURG): Likewise.
10153         [POSIX || XPG3] (SIGVTALRM): Likewise.
10154         [POSIX || XPG3] (SIGXCPU): Likewise.
10155         [POSIX || XPG3] (SIGXFSZ): Likewise.
10156         [POSIX] (SA_SIGINFO): Expect.
10157         [XPG3] (siginfo_t): Do not expect type or contents.
10158         [POSIX] (si_pid): Do not expect element.
10159         [POSIX] (si_uid): Likewise.
10160         [POSIX] (si_addr): Likewise.
10161         [POSIX] (si_status): Likewise.
10162         [POSIX] (si_band): Likewise.
10163         [XPG4] (si_value): Likewise.
10164         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10165         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10166         [POSIX || XPG3] (ILL_ILLADR): Likewise.
10167         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10168         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10169         [POSIX || XPG3] (ILL_PRVREG): Likewise.
10170         [POSIX || XPG3] (ILL_COPROC): Likewise.
10171         [POSIX || XPG3] (ILL_BADSTK): Likewise.
10172         [POSIX || XPG3] (FPE_INTDIV): Likewise.
10173         [POSIX || XPG3] (FPE_INTOVF): Likewise.
10174         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10175         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10176         [POSIX || XPG3] (FPE_FLTUND): Likewise.
10177         [POSIX || XPG3] (FPE_FLTRES): Likewise.
10178         [POSIX || XPG3] (FPE_FLTINV): Likewise.
10179         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10180         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10181         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10182         [POSIX || XPG3] (BUS_ADRALN): Likewise.
10183         [POSIX || XPG3] (BUS_ADRERR): Likewise.
10184         [POSIX || XPG3] (BUS_OBJERR): Likewise.
10185         [POSIX || XPG3] (CLD_EXITED): Likewise.
10186         [POSIX || XPG3] (CLD_KILLED): Likewise.
10187         [POSIX || XPG3] (CLD_DUMPED): Likewise.
10188         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10189         [POSIX || XPG3] (CLD_STOPPED): Likewise.
10190         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10191         [POSIX || XPG3] (POLL_IN): Likewise.
10192         [POSIX || XPG3] (POLL_OUT): Likewise.
10193         [POSIX || XPG3] (POLL_MSG): Likewise.
10194         [POSIX || XPG3] (POLL_ERR): Likewise.
10195         [POSIX || XPG3] (POLL_PRI): Likewise.
10196         [POSIX || XPG3] (POLL_HUP): Likewise.
10197         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10198         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10199         (SIG*): Do not allow.
10200         [XPG3] (si_*): Likewise.
10201         [XPG3] (SI_*): Likewise.
10202         [XPG3 || XPG4] (sigev_*): Likewise.
10203         [XPG3 || XPG4] (SIGEV_*): Likewise.
10204         [XPG3 || XPG4] (sival_*): Likewise.
10205         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10206         [POSIX || XPG3] (BUS_*): Likewise.
10207         [POSIX || XPG3] (CLD_*): Likewise.
10208         [POSIX || XPG3] (FPE_*): Likewise.
10209         [POSIX || XPG3] (ILL_*): Likewise.
10210         [POSIX || XPG3] (POLL_*): Likewise.
10211         [POSIX || XPG3] (SEGV_*): Likewise.
10212         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10213         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10214         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10215         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10216         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10217         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10218         Specify type and value.
10219         (TVERSLEN): Likewise.
10220         (REGTYPE): Likewise.
10221         (AREGTYPE): Likewise.
10222         (LNKTYPE): Likewise.
10223         (SYMTYPE): Likewise.
10224         (CHRTYPE): Likewise.
10225         (BLKTYPE): Likewise.
10226         (DIRTYPE): Likewise.
10227         (FIFOTYPE): Likewise.
10228         (CONTTYPE): Likewise.
10229         (TSUID): Likewise.
10230         (TSGID): Likewise.
10231         (TSVTX): Likewise.
10232         (TUREAD): Likewise.
10233         (TUWRITE): Likewise.
10234         (TUEXEC): Likewise.
10235         (TGREAD): Likewise.
10236         (TGWRITE): Likewise.
10237         (TGEXEC): Likewise.
10238         (TOREAD): Likewise.
10239         (TOWRITE): Likewise.
10240         (TOEXEC): Likewise.
10241         [POSIX] (TSVTX): Expect constant.
10242
10243 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
10244
10245         * Makefile (tests): Change dependencies to ....
10246         (tests-special): ... additions to this variable.
10247         (tests): Depend on $(tests-special).
10248         * Makerules (check-abi-list): New variable.
10249         (check-abi): Depend on $(check-abi-list).
10250         [$(subdir) = elf] (tests-special): Add
10251         $(objpfx)check-abi-libc.out.
10252         [$(build-shared) = yes && subdir] (tests-special): Add
10253         $(check-abi-list).
10254         [$(build-shared) = yes && subdir] (tests): Do not depend on
10255         check-abi.
10256         * Rules (tests): Depend on $(tests-special).
10257         (xtests): Depend on $(xtests-special).
10258         * catgets/Makefile (tests): Change dependencies to ....
10259         (tests-special): ... additions to this variable.
10260         * conform/Makefile (tests): Change dependencies to ....
10261         (tests-special): ... additions to this variable.
10262         * elf/Makefile (tests): Change dependencies to ....
10263         (tests-special): ... additions to this variable.
10264         * grp/Makefile (tests): Change dependencies to ....
10265         (tests-special): ... additions to this variable.
10266         * iconv/Makefile (xtests): Change dependencies to ....
10267         (xtests-special): ... additions to this variable.
10268         * iconvdata/Makefile (tests): Change dependencies to ....
10269         (tests-special): ... additions to this variable.
10270         * intl/Makefile (tests): Change dependencies to ....
10271         (tests-special): ... additions to this variable.  Also add
10272         $(objpfx)tst-gettext.out.
10273         * io/Makefile (tests): Change dependencies to ....
10274         (tests-special): ... additions to this variable.
10275         * libio/Makefile (tests): Change dependencies to ....
10276         (tests-special): ... additions to this variable.
10277         * malloc/Makefile (tests): Change dependencies to ....
10278         (tests-special): ... additions to this variable.
10279         * misc/Makefile (tests): Change dependencies to ....
10280         (tests-special): ... additions to this variable.
10281         * nptl/Makefile (tests): Change dependencies to ....
10282         (tests-special): ... additions to this variable.
10283         * nptl_db/Makefile (tests): Change dependencies to ....
10284         (tests-special): ... additions to this variable.
10285         * posix/Makefile (tests): Change dependencies to ....
10286         (tests-special): ... additions to this variable.
10287         (xtests): Change dependencies to ....
10288         (xtests-special): ... additions to this variable.
10289         * resolv/Makefile (tests): Change dependencies to ....
10290         (tests-special): ... additions to this variable.
10291         (xtests): Change dependencies to ....
10292         (xtests-special): ... additions to this variable.
10293         * stdio-common/Makefile (tests): Change dependencies to ....
10294         (tests-special): ... additions to this variable.
10295         (do-tst-unbputc): Remove target.
10296         (do-tst-printf): Likewise.
10297         * stdlib/Makefile (tests): Change dependencies to ....
10298         (tests-special): ... additions to this variable.
10299         * string/Makefile (tests): Change dependencies to ....
10300         (tests-special): ... additions to this variable.
10301         * sysdeps/x86/Makefile (tests): Change dependencies to ....
10302         (tests-special): ... additions to this variable.
10303
10304         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10305         whole file.
10306         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10307         whole file.
10308         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10309         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10310
10311         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10312         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10313         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10314         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10315         * conform/data/libgen.h-data [XPG3]: Likewise.
10316         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10317         * conform/data/ndbm.h-data [XPG3]: Likewise.
10318         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10319         * conform/data/netdb.h-data [XPG3]: Likewise.
10320         * conform/data/netinet/in.h-data [XPG3]: Likewise.
10321         * conform/data/poll.h-data [XPG3]: Likewise.
10322         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10323         * conform/data/strings.h-data [XPG3]: Likewise.
10324         * conform/data/stropts.h-data [XPG3]: Likewise.
10325         * conform/data/sys/mman.h-data [XPG3]: Likewise.
10326         * conform/data/sys/resource.h-data [XPG3]: Likewise.
10327         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10328         Likewise.
10329         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10330         * conform/data/sys/time.h-data [XPG3]: Likewise.
10331         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10332         * conform/data/sys/uio.h-data [XPG3]: Likewise.
10333         * conform/data/sys/un.h-data [XPG3]: Likewise.
10334         * conform/data/syslog.h-data [XPG3]: Likewise.
10335         * conform/data/ucontext.h-data [XPG3]: Likewise.
10336         * conform/data/utmpx.h-data [XPG3]: Likewise.
10337         * conform/data/varargs.h-data [UNIX98]: Enable file.
10338
10339         * manual/Makefile (INSTALL_INFO): Remove variable setting.
10340
10341         * math/libm-test.inc (struct test_f_f_data): Move expected results
10342         into structure for each rounding mode.
10343         (struct test_ff_f_data): Likewise.
10344         (struct test_ff_f_data_nexttoward): Likewise.
10345         (struct test_fi_f_data): Likewise.
10346         (struct test_fl_f_data): Likewise.
10347         (struct test_if_f_data): Likewise.
10348         (struct test_fff_f_data): Likewise.
10349         (struct test_c_f_data): Likewise.
10350         (struct test_f_f1_data): Likewise.
10351         (struct test_fF_f1_data): Likewise.
10352         (struct test_ffI_f1_data): Likewise.
10353         (struct test_c_c_data): Likewise.
10354         (struct test_cc_c_data): Likewise.
10355         (struct test_f_i_data): Likewise.
10356         (struct test_ff_i_data): Likewise.
10357         (struct test_f_l_data): Likewise.
10358         (struct test_f_L_data): Likewise.
10359         (struct test_fFF_11_data): Likewise.
10360         (RM_): New macro.
10361         (RM_FE_DOWNWARD): Likewise.
10362         (RM_FE_TONEAREST): Likewise.
10363         (RM_FE_TOWARDZERO): Likewise.
10364         (RM_FE_UPWARD): Likewise.
10365         (RUN_TEST_LOOP_f_f): Update references to expected results.
10366         (RUN_TEST_LOOP_2_f): Likewise.
10367         (RUN_TEST_LOOP_fff_f): Likewise.
10368         (RUN_TEST_LOOP_c_f): Likewise.
10369         (RUN_TEST_LOOP_f_f1): Likewise.
10370         (RUN_TEST_LOOP_fF_f1): Likewise.
10371         (RUN_TEST_LOOP_fI_f1): Likewise.
10372         (RUN_TEST_LOOP_ffI_f1): Likewise.
10373         (RUN_TEST_LOOP_c_c): Likewise.
10374         (RUN_TEST_LOOP_cc_c): Likewise.
10375         (RUN_TEST_LOOP_f_i): Likewise.
10376         (RUN_TEST_LOOP_f_i_tg): Likewise.
10377         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10378         (RUN_TEST_LOOP_f_b): Likewise.
10379         (RUN_TEST_LOOP_f_b_tg): Likewise.
10380         (RUN_TEST_LOOP_f_l): Likewise.
10381         (RUN_TEST_LOOP_f_L): Likewise.
10382         (RUN_TEST_LOOP_fFF_11): Likewise.
10383         * math/gen-libm-test.pl (parse_args): Output four copies of
10384         expected results for each test.
10385
10386         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10387         (__ASSUME_UTIMES): Remove.
10388         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10389         (__ASSUME_UTIMES): Likewise.
10390
10391         * math/gen-auto-libm-tests.c: Update comment on output format.
10392         (output_for_one_input_case): Generate before-rounding and
10393         after-rounding information as conditions on output flags not
10394         floating-point format.
10395         * math/auto-libm-test-out: Regenerated.
10396         * math/gen-libm-test.pl (cond_value): New function.
10397         (or_cond_value): Use cond_value.
10398         (generate_testfile): Handle conditional exceptions.
10399
10400 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10401
10402         * math/libm-test.inc (max_valid_error): New variable.
10403         (init_max_error): Take new argument specifying whether function
10404         results are exactly determined.  Set max_valid_error and bound
10405         other variables for errors based on this argument.
10406         (set_max_error): Do not record results above max_valid_error.
10407         (check_float_internal): Only accept errors of up to 0.5ulps if
10408         also at most max_valid_error.
10409         (START): Take new argument EXACT and pass it to init_max_error.
10410         (acos_test): Update call to START.
10411         (acos_test_tonearest): Likewise.
10412         (acos_test_towardzero): Likewise.
10413         (acos_test_downward): Likewise.
10414         (acos_test_upward): Likewise.
10415         (acosh_test): Likewise.
10416         (asin_test): Likewise.
10417         (asin_test_tonearest): Likewise.
10418         (asin_test_towardzero): Likewise.
10419         (asin_test_downward): Likewise.
10420         (asin_test_upward): Likewise.
10421         (asinh_test): Likewise.
10422         (atan_test): Likewise.
10423         (atanh_test): Likewise.
10424         (atan2_test): Likewise.
10425         (cabs_test): Likewise.
10426         (cacos_test): Likewise.
10427         (cacosh_test): Likewise.
10428         (carg_test): Likewise.
10429         (casin_test): Likewise.
10430         (casinh_test): Likewise.
10431         (catan_test): Likewise.
10432         (catanh_test): Likewise.
10433         (cbrt_test): Likewise.
10434         (ccos_test): Likewise.
10435         (ccosh_test): Likewise.
10436         (ceil_test): Likewise.
10437         (cexp_test): Likewise.
10438         (cimag_test): Likewise.
10439         (clog_test): Likewise.
10440         (clog10_test): Likewise.
10441         (conj_test): Likewise.
10442         (copysign_test): Likewise.
10443         (cos_test): Likewise.
10444         (cos_test_tonearest): Likewise.
10445         (cos_test_towardzero): Likewise.
10446         (cos_test_downward): Likewise.
10447         (cos_test_upward): Likewise.
10448         (cosh_test): Likewise.
10449         (cosh_test_tonearest): Likewise.
10450         (cosh_test_towardzero): Likewise.
10451         (cosh_test_downward): Likewise.
10452         (cosh_test_upward): Likewise.
10453         (cpow_test): Likewise.
10454         (cproj_test): Likewise.
10455         (creal_test): Likewise.
10456         (csin_test): Likewise.
10457         (csinh_test): Likewise.
10458         (csqrt_test): Likewise.
10459         (ctan_test): Likewise.
10460         (ctan_test_tonearest): Likewise.
10461         (ctan_test_towardzero): Likewise.
10462         (ctan_test_downward): Likewise.
10463         (ctan_test_upward): Likewise.
10464         (ctanh_test): Likewise.
10465         (ctanh_test_tonearest): Likewise.
10466         (ctanh_test_towardzero): Likewise.
10467         (ctanh_test_downward): Likewise.
10468         (ctanh_test_upward): Likewise.
10469         (erf_test): Likewise.
10470         (erfc_test): Likewise.
10471         (exp_test): Likewise.
10472         (exp_test_tonearest): Likewise.
10473         (exp_test_towardzero): Likewise.
10474         (exp_test_downward): Likewise.
10475         (exp_test_upward): Likewise.
10476         (exp10_test): Likewise.
10477         (exp10_test_tonearest): Likewise.
10478         (exp10_test_towardzero): Likewise.
10479         (exp10_test_downward): Likewise.
10480         (exp10_test_upward): Likewise.
10481         (pow10_test): Likewise.
10482         (exp2_test): Likewise.
10483         (expm1_test): Likewise.
10484         (expm1_test_tonearest): Likewise.
10485         (expm1_test_towardzero): Likewise.
10486         (expm1_test_downward): Likewise.
10487         (expm1_test_upward): Likewise.
10488         (fabs_test): Likewise.
10489         (fdim_test): Likewise.
10490         (floor_test): Likewise.
10491         (fma_test): Likewise.
10492         (fma_test_towardzero): Likewise.
10493         (fma_test_downward): Likewise.
10494         (fma_test_upward): Likewise.
10495         (fmax_test): Likewise.
10496         (fmin_test): Likewise.
10497         (fmod_test): Likewise.
10498         (fpclassify_test): Likewise.
10499         (frexp_test): Likewise.
10500         (hypot_test): Likewise.
10501         (ilogb_test): Likewise.
10502         (isfinite_test): Likewise.
10503         (finite_test): Likewise.
10504         (isgreater_test): Likewise.
10505         (isgreaterequal_test): Likewise.
10506         (isinf_test): Likewise.
10507         (isless_test): Likewise.
10508         (islessequal_test): Likewise.
10509         (islessgreater_test): Likewise.
10510         (isnan_test): Likewise.
10511         (isnormal_test): Likewise.
10512         (issignaling_test): Likewise.
10513         (isunordered_test): Likewise.
10514         (j0_test): Likewise.
10515         (j1_test): Likewise.
10516         (jn_test): Likewise.
10517         (ldexp_test): Likewise.
10518         (lgamma_test): Likewise.
10519         (gamma_test): Likewise.
10520         (lrint_test): Likewise.
10521         (lrint_test_tonearest): Likewise.
10522         (lrint_test_towardzero): Likewise.
10523         (lrint_test_downward): Likewise.
10524         (lrint_test_upward): Likewise.
10525         (llrint_test): Likewise.
10526         (llrint_test_tonearest): Likewise.
10527         (llrint_test_towardzero): Likewise.
10528         (llrint_test_downward): Likewise.
10529         (llrint_test_upward): Likewise.
10530         (log_test): Likewise.
10531         (log10_test): Likewise.
10532         (log1p_test): Likewise.
10533         (log2_test): Likewise.
10534         (logb_test): Likewise.
10535         (logb_test_downward): Likewise.
10536         (lround_test): Likewise.
10537         (llround_test): Likewise.
10538         (modf_test): Likewise.
10539         (nearbyint_test): Likewise.
10540         (nextafter_test): Likewise.
10541         (nexttoward_test): Likewise.
10542         (pow_test): Likewise.
10543         (pow_test_tonearest): Likewise.
10544         (pow_test_towardzero): Likewise.
10545         (pow_test_downward): Likewise.
10546         (pow_test_upward): Likewise.
10547         (remainder_test): Likewise.
10548         (drem_test): Likewise.
10549         (remainder_test_tonearest): Likewise.
10550         (drem_test_tonearest): Likewise.
10551         (remainder_test_towardzero): Likewise.
10552         (drem_test_towardzero): Likewise.
10553         (remainder_test_downward): Likewise.
10554         (drem_test_downward): Likewise.
10555         (remainder_test_upward): Likewise.
10556         (drem_test_upward): Likewise.
10557         (remquo_test): Likewise.
10558         (rint_test): Likewise.
10559         (rint_test_tonearest): Likewise.
10560         (rint_test_towardzero): Likewise.
10561         (rint_test_downward): Likewise.
10562         (rint_test_upward): Likewise.
10563         (round_test): Likewise.
10564         (scalb_test): Likewise.
10565         (scalbn_test): Likewise.
10566         (scalbln_test): Likewise.
10567         (signbit_test): Likewise.
10568         (sin_test): Likewise.
10569         (sin_test_tonearest): Likewise.
10570         (sin_test_towardzero): Likewise.
10571         (sin_test_downward): Likewise.
10572         (sin_test_upward): Likewise.
10573         (sincos_test): Likewise.
10574         (sinh_test): Likewise.
10575         (sinh_test_tonearest): Likewise.
10576         (sinh_test_towardzero): Likewise.
10577         (sinh_test_downward): Likewise.
10578         (sinh_test_upward): Likewise.
10579         (sqrt_test): Likewise.
10580         (sqrt_test_tonearest): Likewise.
10581         (sqrt_test_towardzero): Likewise.
10582         (sqrt_test_downward): Likewise.
10583         (sqrt_test_upward): Likewise.
10584         (tan_test): Likewise.
10585         (tan_test_tonearest): Likewise.
10586         (tan_test_towardzero): Likewise.
10587         (tan_test_downward): Likewise.
10588         (tan_test_upward): Likewise.
10589         (tanh_test): Likewise.
10590         (tgamma_test): Likewise.
10591         (trunc_test): Likewise.
10592         (y0_test): Likewise.
10593         (y1_test): Likewise.
10594         (yn_test): Likewise.
10595         (significand_test): Likewise.
10596
10597         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10598         individual tests in comment.
10599         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10600         (prev_max_error): New variable.
10601         (prev_real_max_error): Likewise.
10602         (prev_imag_max_error): Likewise.
10603         (compare_ulp_data): Don't refer to test names in comment.
10604         (find_test_ulps): Remove function.
10605         (find_function_ulps): Likewise.
10606         (find_complex_function_ulps): Likewise.
10607         (init_max_error): Take function name as argument.  Look up ulps
10608         for that function.
10609         (print_ulps): Remove function.
10610         (print_max_error): Use prev_max_error instead of calling
10611         find_function_ulps.
10612         (print_complex_max_error): Use prev_real_max_error and
10613         prev_imag_max_error instead of calling find_complex_function_ulps.
10614         (check_float_internal): Take max_ulp parameter instead of calling
10615         find_test_ulps.  Don't call print_ulps.
10616         (check_float): Update call to check_float_internal.
10617         (check_complex): Update calls to check_float_internal.
10618         (START): Pass argument to init_max_error.
10619         * math/gen-libm-test.pl (%results): Don't include "kind"
10620         information.
10621         (parse_ulps): Don't handle ulps of individual tests.
10622         (print_ulps_file): Likewise.
10623         (output_ulps): Likewise.
10624         * math/README.libm-test: Update.
10625         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10626         individual tests.
10627         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10628         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10629         * sysdeps/arm/libm-test-ulps: Likewise.
10630         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10631         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10632         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10633         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10634         * sysdeps/microblaze/libm-test-ulps: Likewise.
10635         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10636         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10637         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10638         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10639         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10640         * sysdeps/sh/libm-test-ulps: Likewise.
10641         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10642         * sysdeps/tile/libm-test-ulps: Likewise.
10643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10644
10645 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10646
10647         * math/libm-test.inc (print_complex_max_error): Check separately
10648         whether real and imaginary errors are within allowed range and
10649         pass 0 to print_complex_function_ulps instead of value within
10650         allowed range.
10651
10652 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10653
10654         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10655         formatting.
10656         (get_handles_fopen): Likewise.
10657         (do_write_test): Likewise.
10658
10659         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10660
10661         * libio/fileops.c (do_ftell): Use cached offset when
10662         available.
10663         * libio/iofwide.c (do_ftell_wide): Likewise.
10664         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10665         _IO_file_attach.
10666         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10667
10668         [BZ #16532]
10669         * libio/libioP.h (get_file_offset): New function.
10670         * libio/fileops.c (get_file_offset): Likewise.
10671         (do_ftell): Likewise.
10672         (_IO_new_file_seekoff): Split out ftell logic.
10673         * libio/wfileops.c (do_ftell_wide): Likewise.
10674         (_IO_wfile_seekoff): Split out ftell logic.
10675         * libio/tst-ftell-active-handler.c: New test case.
10676         * libio/Makefile (tests): Add it.
10677
10678 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10679
10680         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10681         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10682
10683 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10684
10685         [BZ #16639]
10686         * nscd/connections.c (nscd_init): Call do_exit.
10687         (start_threads): Call do_exit and notify_parent.
10688         (begin_drop_privileges): Call do_exit.
10689         (finish_drop_privileges): Likewise.
10690         * nscd/selinux.c (preserve_capabilities): Likewise.
10691         (install_real_capabilities): Likewise.
10692         (nscd_selinux_enabled): Likewise.
10693         (avc_create_thread): Likewise.
10694         (avc_alloc_lock): Likewise.
10695         (nscd_avc_init): Likewise.
10696         * nscd/nscd.c (parent_fd): New static variable.
10697         (main): Create a pipe between parent and child processes.
10698         Skip closing parent_fd.
10699         (monitor_child): New function.
10700         (do_exit): Likewise.
10701         (notify_parent): Likewise.
10702         * nscd/nscd.h (notify_parent): Likewise.
10703         (do_exit): Likewise.
10704
10705 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10706
10707         * malloc/malloc.c (__libc_calloc): Revert last change.
10708
10709 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10710
10711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10712
10713 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10714
10715         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10717         implementation.
10718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10719         (__libc_ifunc_impl_list): Likewise.
10720         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10721         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10722         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10723         * string/strrchr.c: Define STRRCHR.
10724
10725 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10726
10727         * benchtest/bench-strtok.c (simple_strtok): Delete.
10728         (strtok_string): Use as benchmark.
10729         * string/strtok (STRTOK): New macro.
10730
10731 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10732
10733         * manual/threads.texi: Add header and standard comments to all
10734         functions.
10735
10736         * elf/dl-lookup.c (check_match): New function.
10737         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10738         (do_lookup_x): Remove nested function check_match. Use non-nested
10739         function check_match.
10740
10741 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10742
10743         * csu/Makefile (generated, before-compile): Use += rather than =.
10744         * catgets/Makefile (generated, generated-dirs): Likewise.
10745         * debug/Makefile (generated): Likewise.
10746         * dlfcn/Makefile (generated): Likewise.
10747         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10748         * iconvdata/Makefile (before-compile, generated): Likewise.
10749         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10750         * libio/Makefile (generated): Likewise.
10751         * malloc/Makefile (generated): Likewise.
10752         * manual/Makefile (generated, generated-dirs): Likewise.
10753         * misc/Makefile (generated): Likewise.
10754         * posix/Makefile (generated): Likewise.
10755         * resolv/Makefile (generated): Likewise.
10756         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10757         * timezone/Makefile (generated, generated-dirs): Likewise.
10758
10759         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10760
10761 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10762
10763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10764         power8 implementation.
10765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10766         file: POWER8 llround ifunc implementation.
10767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10768         (__lllround): Add POWER8 implementation.
10769         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10770         POWER8 llround implementation.
10771
10772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10773         power8 implementation.
10774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10775         file: POWER8 llrint ifunc implementation.
10776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10777         Add POWER8 implementation.
10778         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10779         POWER8 llrint implementation.
10780
10781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10782         power8 implementation.
10783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10784         file: POWER8 finite ifunc implementation.
10785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10786         Add POWER8 implementation.
10787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10788         Likewise.
10789         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10790         POWER8 finite implementation.
10791         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10792
10793         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10794         power8 implementation.
10795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10796         file: POWER8 isinf ifunc implementation.
10797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10798         POWER8 implementation.
10799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10800         Likewise.
10801         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10802         isinf implementation.
10803         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10804
10805         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10806         (INIT_ARCH): Add hwcap2 initialization.
10807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10808         power8 implementation.
10809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10810         file: POWER8 isnan ifunc implementation.
10811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10812         POWER8 implementation.
10813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10814         Likewise.
10815         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10816         isnan implementation.
10817         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10818
10819 2014-02-27  Joey Ye  <joey.ye@arm.com>
10820
10821         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10822         (_FP_NANFRAC_Q): Set to zero.
10823
10824 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10825
10826         [BZ #16623]
10827         * math/auto-libm-test-in: New test inputs.
10828         * math/auto-libm-test-out: Regenerate.
10829         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10830         and DA.
10831         (__cos): Likewise.
10832         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10833
10834 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10835
10836         * scripts/evaluate-test.sh: Take new argument indicating whether
10837         failure is expected.
10838         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10839         indicating whether failure is expected.
10840         * conform/Makefile (test-xfail-run-conformtest): New variable.
10841         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10842         level.
10843         * posix/Makefile (test-xfail-annexc): New variable.
10844         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10845
10846 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10847
10848         * argp/Makefile: Include Makeconfig immediately after defining
10849         subdir.
10850         * assert/Makefile: Likewise.
10851         * benchtests/Makefile: Likewise.
10852         * catgets/Makefile: Likewise.
10853         * conform/Makefile: Likewise.
10854         * crypt/Makefile: Likewise.
10855         * csu/Makefile: Likewise.
10856         (all): Remove target.
10857         * ctype/Makefile: Include Makeconfig immediately after defining
10858         subdir.
10859         * debug/Makefile: Likewise.
10860         * dirent/Makefile: Likewise.
10861         * dlfcn/Makefile: Likewise.
10862         * gmon/Makefile: Likewise.
10863         * gnulib/Makefile: Likewise.
10864         * grp/Makefile: Likewise.
10865         * gshadow/Makefile: Likewise.
10866         * hesiod/Makefile: Likewise.
10867         * hurd/Makefile: Likewise.
10868         (all): Remove target.
10869         * iconvdata/Makefile: Include Makeconfig immediately after
10870         defining subdir.
10871         * inet/Makefile: Likewise.
10872         * intl/Makefile: Likewise.
10873         * io/Makefile: Likewise.
10874         * libio/Makefile: Likewise.
10875         (all): Remove target.
10876         * locale/Makefile: Include Makeconfig immediately after defining
10877         subdir.
10878         * login/Makefile: Likewise.
10879         * mach/Makefile: Likewise.
10880         (all): Remove target.
10881         * malloc/Makefile: Include Makeconfig immediately after defining
10882         subdir.
10883         (all): Remove target.
10884         * manual/Makefile: Include Makeconfig immediately after defining
10885         subdir.
10886         * math/Makefile: Likewise.
10887         * misc/Makefile: Likewise.
10888         * nis/Makefile: Likewise.
10889         * nss/Makefile: Likewise.
10890         * po/Makefile: Likewise.
10891         (all): Remove target.
10892         * posix/Makefile: Include Makeconfig immediately after defining
10893         subdir.
10894         * pwd/Makefile: Likewise.
10895         * resolv/Makefile: Likewise.
10896         * resource/Makefile: Likewise.
10897         * rt/Makefile: Likewise.
10898         * setjmp/Makefile: Likewise.
10899         * shadow/Makefile: Likewise.
10900         * signal/Makefile: Likewise.
10901         * socket/Makefile: Likewise.
10902         * soft-fp/Makefile: Likewise.
10903         * stdio-common/Makefile: Likewise.
10904         * stdlib/Makefile: Likewise.
10905         * streams/Makefile: Likewise.
10906         * string/Makefile: Likewise.
10907         * sunrpc/Makefile: Likewise.
10908         (all): Remove target.
10909         * sysvipc/Makefile: Include Makeconfig immediately after defining
10910         subdir.
10911         * termios/Makefile: Likewise.
10912         * time/Makefile: Likewise.
10913         * timezone/Makefile: Likewise.
10914         (all): Remove target.
10915         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10916         subdir.
10917         * wctype/Makefile: Likewise.
10918
10919 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10920
10921         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10922         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10923         (libc_feholdexcept_setround_mips): Ditto.
10924         (libc_feholdsetround): New.
10925         (libc_feholdsetroundf): New.
10926         (libc_feholdsetroundl): New.
10927         (libc_feupdateenv_test_mips): New.
10928         (libc_feupdateenv_test): New.
10929         (libc_feupdateenv_testf): New.
10930         (libc_feupdateenv_testl): New.
10931         (libc_feresetround): New.
10932         (libc_feresetroundf): New.
10933         (libc_feresetroundl): New.
10934         (libc_fetestexcept_mips): New.
10935         (libc_fetestexcept): New.
10936         (libc_fetestexceptf): New.
10937         (libc_fetestexceptl): New.
10938         (HAVE_RM_CTX): New.
10939         (libc_feholdexcept_setround_mips_ctx): New.
10940         (libc_feholdexcept_setround_ctx): New.
10941         (libc_feholdexcept_setroundf_ctx): New.
10942         (libc_feholdexcept_setroundl_ctx): New.
10943         (libc_fesetenv_mips_ctx): New.
10944         (libc_fesetenv_ctx): New.
10945         (libc_fesetenv_ctxf): New.
10946         (libc_fesetenv_ctxl): New.
10947         (libc_feupdateenv_mips_ctx): New.
10948         (libc_feupdateenv_ctx): New.
10949         (libc_feupdateenvf_ctx): New.
10950         (libc_feupdateenvl_ctx): New.
10951         (libc_feholdsetround_mips_ctx): New.
10952         (libc_feholdsetround_ctx): New.
10953         (libc_feholdsetroundf_ctx): New.
10954         (libc_feholdsetroundl_ctx): New.
10955         (libc_feresetround_mips_ctx): New.
10956         (libc_feresetround_ctx): New.
10957         (libc_feresetroundf_ctx): New.
10958         (libc_feresetroundl_ctx): New.
10959
10960 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10961
10962         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10963
10964         * manual/ipc.texi: New file.
10965         * manual/Makefile (chapters): Add ipc.
10966         * manual/job.texi: Add "Inter-Process Communication" to next.
10967         * manual/process.texi: Add "Inter-Process Communication" to prev.
10968
10969 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10970
10971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10972
10973 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10974
10975         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10976
10977         * manual/arith.texi: Fix spaces after sentences.
10978         * manual/charset.texi: Likewise.
10979         * manual/errno.texi: Likewise.
10980         * manual/install.texi: Likewise.
10981         * manual/llio.texi: Likewise.
10982         * manual/locale.texi: Likewise.
10983         * manual/maint.texi: Likewise.
10984         * manual/math.texi: Likewise.
10985         * manual/memory.texi: Likewise.
10986         * manual/message.texi: Likewise.
10987         * manual/probes.texi: Likewise.
10988         * manual/resource.texi: Likewise.
10989         * manual/signal.texi: Likewise.
10990         * manual/socket.texi: Likewise.
10991         * manual/stdio.texi: Likewise.
10992         * manual/string.texi: Likewise.
10993         * manual/time.texi: Likewise.
10994         * manual/users.texi: Likewise.
10995
10996 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10997
10998         [BZ #16632]
10999         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11000         _DEFAULT_SOURCE is defined.
11001
11002 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
11003             Carlos O'Donell  <carlos@redhat.com>
11004
11005         [BZ #16613]
11006         * elf/dl-tls.c (_dl_count_modids): New function.
11007         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11008         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11009         audit library and increment generation counter.
11010         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11011         * elf/tst-audit9.c: New file.
11012         * elf/tst-auditmod9a.c: New file.
11013         * elf/tst-auditmod9b.c: New file.
11014         * elf/Makefile: Add rules to build and run tst-audit9.
11015
11016 2014-02-25  Florian Weimer  <fweimer@redhat.com>
11017
11018         [BZ #15347]
11019         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11020
11021 2014-02-25  Will Newton  <will.newton@linaro.org>
11022
11023         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11024         (__longjmp): Restore sp and lr before restoring callee
11025         saved registers.  Add longjmp and longjmp_target
11026         SystemTap probe point.
11027         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11028         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11029         Define to zero to match jmpbuf layout.
11030         * sysdeps/arm/setjmp.S: Include stap-probe.h.
11031         (__sigsetjmp): Save sp and lr before saving callee
11032         saved registers.  Add setjmp SystemTap probe point.
11033
11034 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11035
11036         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11037
11038 2014-02-24  Andreas Schwab  <schwab@suse.de>
11039
11040         [BZ #15804]
11041         * elf/pldd.c (wait_for_ptrace_stop): New function.
11042         (main): Call it after attaching.
11043
11044 2014-02-22  Roland McGrath  <roland@hack.frob.com>
11045
11046         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11047         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11048         Versions files is now verboten.
11049         * hurd/Versions (libc: GLIBC_2.0):
11050         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11051         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11052         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11053         * mach/Versions: Likewise.
11054
11055         * csu/Versions: Remove unused %include.
11056         * resolv/Versions: Likewise.
11057
11058 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
11059
11060         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11061         ($(objpfx)check-local-headers.out): Likewise.
11062         ($(objpfx)begin-end-check.out): Likewise.
11063         * Makerules (check-abi-%.out): Likewise.
11064         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11065         ($(objpfx)test2.cat): Likewise.
11066         ($(objpfx)de/libc.cat): Likewise.
11067         ($(objpfx)test-gencat.out): Likewise.
11068         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11069         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11070         ($(objpfx)noload-mem): Likewise.
11071         ($(objpfx)tst-pathopt.out): Likewise.
11072         ($(objpfx)tst-rtld-load-self.out): Likewise.
11073         ($(objpfx)tst-array1-cmp.out): Likewise.
11074         ($(objpfx)tst-array1-static-cmp.out): Likewise.
11075         ($(objpfx)tst-array2-cmp.out): Likewise.
11076         ($(objpfx)tst-array3-cmp.out): Likewise.
11077         ($(objpfx)tst-array4-cmp.out): Likewise.
11078         ($(objpfx)tst-array5-cmp.out): Likewise.
11079         ($(objpfx)tst-array5-static-cmp.out): Likewise.
11080         ($(objpfx)check-textrel.out): Likewise.
11081         ($(objpfx)check-execstack.out): Likewise.
11082         ($(objpfx)check-localplt.out): Likewise.
11083         ($(objpfx)order2-cmp.out): Likewise.
11084         ($(objpfx)tst-leaks1-mem): Likewise.
11085         ($(objpfx)tst-leaks1-static-mem): Likewise.
11086         ($(objpfx)tst-initorder-cmp.out): Likewise.
11087         ($(objpfx)tst-initorder2-cmp.out): Likewise.
11088         ($(objpfx)tst-unused-dep.out): Likewise.
11089         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11090         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11091         * iconv/Makefile (test-iconvconfig): Likewise.
11092         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11093         ($(objpfx)iconv-test.out): Likewise.
11094         ($(objpfx)tst-tables.out): Likewise.
11095         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11096         ($(objpfx)tst-gettext.out): Likewise.
11097         ($(objpfx)tst-translit.out): Likewise.
11098         ($(objpfx)tst-gettext2.out): Likewise.
11099         ($(objpfx)tst-gettext4.out): Likewise.
11100         ($(objpfx)tst-gettext6.out): Likewise.
11101         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11102         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11103         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11104         ($(objpfx)tst-fopenloc-mem.out): Likewise.
11105         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11106         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11107         * posix/Makefile ($(objpfx)globtest.out): Likewise.
11108         ($(objpfx)wordexp-tst.out): Likewise.
11109         ($(objpfx)annexc.out): Likewise.
11110         ($(objpfx)tst-fnmatch-mem): Likewise.
11111         ($(objpfx)bug-regex2-mem): Likewise.
11112         ($(objpfx)bug-regex14-mem): Likewise.
11113         ($(objpfx)bug-regex21-mem): Likewise.
11114         ($(objpfx)bug-regex31-mem): Likewise.
11115         ($(objpfx)tst-vfork3-mem): Likewise.
11116         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11117         ($(objpfx)tst-pcre-mem): Likewise.
11118         ($(objpfx)tst-boost-mem): Likewise.
11119         ($(objpfx)tst-getconf.out): Likewise.
11120         ($(objpfx)bug-ga2-mem): Likewise.
11121         ($(objpfx)bug-glob2-mem): Likewise.
11122         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11123         ($(objpfx)mtrace-tst-leaks2): Likewise.
11124         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11125         ($(objpfx)tst-printf.out): Likewise.
11126         ($(objpfx)tst-setvbuf1.out): Likewise.
11127         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11128         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11129         ($(objpfx)tst-fmtmsg.out): Likewise.
11130         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11131         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11132
11133         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11134         * bits/sigaction.h [__USE_MISC]: Likewise.
11135         * bits/waitstatus.h: Update #endif comments.
11136         * ctype/ctype.h: Likewise.
11137         * dirent/dirent.h: Likewise.
11138         [__USE_MISC]: Remove redundant conditionals.
11139         * grp/grp.h: Update #endif comments.
11140         [__USE_GNU]: Remove redundant conditionals.
11141         [__USE_MISC]: Likewise.
11142         * inet/netinet/in.h [__USE_GNU]: Likewise.
11143         * io/sys/stat.h [__USE_MISC]: Likewise.
11144         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11145         * libio/bits/stdio.h: Update #endif comments.
11146         [__USE_MISC]: Remove redundant conditionals.
11147         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11148         * libio/stdio.h: Update #endif comments.
11149         [__USE_MISC]: Remove redundant conditionals.
11150         * math/bits/math-finite.h [__USE_MISC]: Likewise.
11151         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11152         * math/math.h: Update #else and #endif comments.
11153         [__USE_MISC]: Remove redundant conditionals.
11154         * misc/sys/uio.h: Update #endif comments.
11155         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11156         * posix/glob.h [__USE_MISC]: Likewise.
11157         * posix/sys/types.h: Update #endif comments.
11158         [__USE_MISC]: Remove redundant conditionals.
11159         * posix/sys/wait.h: Update #endif comments.
11160         [__USE_MISC]: Remove redundant conditionals.
11161         * posix/unistd.h: Update #endif comments.
11162         [__USE_MISC]: Remove redundant conditionals.
11163         * pwd/pwd.h [__USE_GNU]: Likewise.
11164         [__USE_MISC]: Likewise.
11165         * resolv/netdb.h [__USE_GNU]: Likewise.
11166         * signal/signal.h: Update #endif comments.
11167         [__USE_MISC]: Remove redundant conditionals.
11168         * stdlib/stdlib.h: Update #else and #endif comments.
11169         [__USE_MISC]: Remove redundant conditionals.
11170         [__USE_GNU]: Likewise.
11171         * string/bits/string2.h [__USE_MISC]: Likewise.
11172         * string/string.h: Update #endif comments.
11173         [__USE_MISC]: Remove redundant conditionals.
11174         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11175         Likewise.
11176         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11177         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11178         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11179         Likewise.
11180         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11181         Likewise.
11182         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11183         comments.
11184         [__USE_MISC]: Remove redundant conditionals.
11185         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11186         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11187         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11188         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11189         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11190         Likewise.
11191         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11192         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11193         Likewise.
11194         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11195         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11196         Likewise.
11197         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11198         Likewise.
11199         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11200         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11201         Likewise.
11202         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11203         Likewise.
11204         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11205         * sysdeps/x86/bits/string.h: Update #endif comments.
11206         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11207         conditionals.
11208         * time/sys/time.h: Update #endif comments.
11209         * time/time.h: Likewise.
11210         [__USE_MISC]: Remove redundant conditionals.
11211
11212 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
11213
11214         [BZ #16600]
11215         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11216
11217 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
11218
11219         * Versions.def (librt): Add GLIBC_2.17.
11220
11221 2014-02-21  Adam Conrad  <adconrad@0c3.net>
11222
11223         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11224         synonym for _SYS_AUXV_H to allow direct inclusion.
11225         * sysdeps/sparc/bits/hwcap.h: Likewise.
11226         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11227         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11228         * sysdeps/sparc/sysdep.h: Likewise.
11229
11230 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11231
11232         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11233
11234 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11235
11236         * benchtests/bench-strrchr.c: Print length instead of position.
11237
11238 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
11239
11240         [BZ #16611]
11241         * sysdeps/unix/sysv/linux/kernel-features.h
11242         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11243         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11244         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11245         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11246         Likewise.
11247         [__i386__ || __powerpc__ || __sh__ || __sparc__]
11248         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11249         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11250         (__ASSUME_SENDMMSG): Define instead of using previous
11251         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11252         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11253         (__ASSUME_SENDMMSG_SYSCALL): Define.
11254         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11255         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11256         Likewise.
11257         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11258         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11259         Likewise.
11260         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11261         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11262         Likewise.
11263         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11264         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11265         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11266         [__ASSUME_SENDMMSG]: Change conditionals to
11267         [__ASSUME_SENDMMSG_SOCKETCALL].
11268         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11269         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11270         Define.
11271         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11272         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11273         Likewise.
11274         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11275         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11276         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11277         [!__ASSUME_SENDMMSG]: Change conditional to
11278         [!__ASSUME_SENDMMSG_SOCKETCALL].
11279         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11280         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11281         Define.
11282
11283         [BZ #16610]
11284         * sysdeps/unix/sysv/linux/kernel-features.h
11285         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11286         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11287         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11288         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11289         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11290         [__i386__ || __sparc__]
11291         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11292         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11293         (__ASSUME_RECVMMSG): Define instead of using previous
11294         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11295         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11296         (__ASSUME_RECVMMSG_SYSCALL): Define.
11297         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11298         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11299         Likewise.
11300         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11301         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11302         Likewise.
11303         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11304         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11305         Likewise.
11306         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11307         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11308         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11309         [__ASSUME_RECVMMSG]: Change condition to
11310         [__ASSUME_RECVMMSG_SOCKETCALL].
11311         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11312         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11313         Define.
11314         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11315         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11316         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11317         Likewise.
11318         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11319         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11320         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11321         [!__ASSUME_RECVMMSG]: Change condition to
11322         [!__ASSUME_RECVMMSG_SOCKETCALL].
11323         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11324         (__ASSUME_RECVMMSG_SYSCALL): Define.
11325
11326         [BZ #16609]
11327         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11328         __powerpc__ || __s390__ || __sh__ || __sparc__]
11329         (__ASSUME_SOCKETCALL): Define.
11330         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11331         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11332         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11333         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11334         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11335         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11336         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11337         (__ASSUME_ACCEPT4): Define instead of using previous
11338         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11339         __powerpc__ || __sparc__ || __s390__)] condition.
11340         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11341         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11342         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11343         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11344         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11345         [!__ASSUME_ACCEPT4]: Change condition to
11346         [!__ASSUME_ACCEPT4_SOCKETCALL].
11347         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11348         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
11349         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11350         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11351         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11352         __ASSUME_ACCEPT4_SYSCALL.
11353         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11354         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11355         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11356         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11357         __ASSUME_ACCEPT4_SYSCALL.
11358         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11359         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11360         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11361         [__ASSUME_ACCEPT4]: Change condition to
11362         [__ASSUME_ACCEPT4_SOCKETCALL].
11363         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11364         (__ASSUME_SOCKETCALL): Define.
11365         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11366         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11367         (__ASSUME_SOCKETCALL): Define.
11368         (__ASSUME_ACCEPT4): Remove.
11369         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11370         Define.
11371         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11372         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11373         Likewise.
11374         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11375         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11376
11377         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11378         macro.
11379         (HWCAP_ARM_LPAE): Likewise.
11380         (HWCAP_ARM_EVTSTRM): Likewise.
11381         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11382         Add vpfd32, lpae and evtstrm.
11383         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11384         Increase to 22.
11385
11386 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
11387
11388         * math/auto-libm-test-in: Add tests of clog10.
11389         * math/auto-libm-test-out: Regenerated.
11390         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11391         * sysdeps/i386/fpu/libm-test-ulps: Update.
11392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11393
11394 2014-02-18  Andreas Schwab  <schwab@suse.de>
11395
11396         [BZ #16574]
11397         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11398         Store non-zero if the second buffer was newly allocated.
11399         (send_dg): Likewise.
11400         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11401         to send_vc and send_dg.
11402         (res_nsend): Pass NULL for ansp2_malloced.
11403         * resolv/res_query.c (__libc_res_nquery): Add parameter
11404         answerp2_malloced and pass it down to __libc_res_nsend.
11405         (res_nquery): Pass additional NULL to __libc_res_nquery.
11406         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11407         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11408         second answer buffer if answerp2_malloced was set.
11409         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11410         (__libc_res_nquerydomain): Add parameter
11411         answerp2_malloced and pass it down to __libc_res_nquery.
11412         (res_nquerydomain): Pass additional NULL to
11413         __libc_res_nquerydomain.
11414         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11415         additional NULL to __libc_res_nsend and __libc_res_nquery.
11416         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11417         additional NULL to __libc_res_nsearch.
11418         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11419         parameter of __libc_res_nsearch to check for separately allocated
11420         second buffer.
11421         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11422         __libc_res_nquery.
11423         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11424         additional NULL to __libc_res_nquery.
11425         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11426         __libc_res_nsearch.
11427         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11428         * include/resolv.h: Update prototypes of __libc_res_nquery,
11429         __libc_res_nsearch, __libc_res_nsend.
11430
11431 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11432
11433         * math/auto-libm-test-in: Add tests of fma.
11434         * math/auto-libm-test-out: Regenerated.
11435         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11436         (fma_towardzero_test_data): Likewise.
11437         (fma_downward_test_data): Likewise.
11438         (fma_upward_test_data): Likewise.
11439         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11440         mpc_mode.
11441         (rounding_modes): Add values for new field.
11442         (func_calc_method): Add value mpfr_fff_f.
11443         (func_calc_desc): Add mpfr_fff_f union field.
11444         (test_function): Add field exact_args.
11445         (FUNC): Add macro argument EXACT_ARGS.
11446         (FUNC_mpfr_f_f): Update call to FUNC.
11447         (FUNC_mpfr_f_f): Likewise.
11448         (FUNC_mpfr_ff_f): Likewise.
11449         (FUNC_mpfr_if_f): Likewise.
11450         (FUNC_mpc_c_f): Likewise.
11451         (FUNC_mpc_c_c): Likewise.
11452         (test_functions): Add fma.  Update calls to FUNC.
11453         (handle_input_arg): Add argument exact_args.
11454         (add_test): Update call to handle_input_arg.
11455         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11456         (output_for_one_input_case): Update call to calc_generic_results.
11457         Recalculate exact zero results in each rounding mode.
11458
11459         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11460         non-negative before setting low bit.
11461         * math/auto-libm-test-in: Mark one asin test possibly having
11462         spurious underflow.
11463         * math/auto-libm-test-out: Regenerated.
11464         * sysdeps/i386/fpu/libm-test-ulps: Update.
11465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11466
11467 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11468
11469         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11470         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11471         ports/sysdeps/unix/sysv/linux/microblaze.
11472         * README: Add missing listing for microblaze*-*-linux-gnu.
11473
11474 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11475
11476         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11477         duplicate code
11478
11479 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11480
11481         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11482         * sysdeps/unix/sysv/linux/ia64: Move directory from
11483         ports/sysdeps/unix/sysv/linux/ia64.
11484         * README: Update listing for ia64-*-linux-gnu.
11485
11486 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11487             Joseph Myers  <joseph@codesourcery.com>
11488
11489         * Makeconfig (test-name): New variable.
11490         (evaluate-test): Likewise.
11491         * Makerules (do-test-clean): Remove .test-result files.
11492         (common-mostlyclean): Likewise.
11493         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11494         * scripts/evaluate-test.sh: New file.
11495
11496 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11497
11498         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11499         separate $(objpfx)tst-fopenloc-cmp.out and
11500         $(objpfx)tst-fopenloc-mem.out targets.
11501         (tests): Update dependencies.
11502         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11503         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11504         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11505         (tst-rxspencer-no-utf8-ARGS): New variable.
11506         (tst-rxspencer-no-utf8-ENV): Likewise.
11507         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11508         instead of $(objpfx)tst-rxspencer-mem.
11509         ($(objpfx)tst-rxspencer-mem): Change target to
11510         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11511         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11512         * posix/tst-rxspencer-no-utf8.c: New file.
11513
11514         * elf/Makefile ($(objpfx)order.out): Remove rule.
11515         [$(run-built-tests) = yes] (tests): Depend on
11516         $(objpfx)order-cmp.out.
11517         ($(objpfx)order-cmp.out): New rule.
11518         [$(run-built-tests) = yes] (tests): Depend on
11519         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11520         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11521         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11522         $(objpfx)tst-array5-static-cmp.out.
11523         ($(objpfx)tst-array1.out): Remove rule.
11524         ($(objpfx)tst-array1-cmp.out): New rule.
11525         ($(objpfx)tst-array1-static.out): Remove rule.
11526         ($(objpfx)tst-array1-static-cmp.out): New rule.
11527         ($(objpfx)tst-array2.out): Remove rule.
11528         ($(objpfx)tst-array2-cmp.out): New rule.
11529         ($(objpfx)tst-array3.out): Remove rule.
11530         ($(objpfx)tst-array3-cmp.out): New rule.
11531         ($(objpfx)tst-array4.out): Remove rule.
11532         ($(objpfx)tst-array4-cmp.out): New rule.
11533         ($(objpfx)tst-array5.out): Remove rule.
11534         ($(objpfx)tst-array5-cmp.out): New rule.
11535         ($(objpfx)tst-array5-static.out): Remove rule.
11536         ($(objpfx)tst-array5-static-cmp.out): New rule.
11537         [$(run-built-tests) = yes] (tests): Depend on
11538         $(objpfx)order2-cmp.out.
11539         ($(objpfx)order2.out): Remove rule.
11540         ($(objpfx)order2-cmp.out): New rule.
11541         ($(objpfx)tst-initorder.out): Remove rule.
11542         [$(run-built-tests) = yes] (tests): Depend on
11543         $(objpfx)tst-initorder-cmp.out.
11544         ($(objpfx)tst-initorder-cmp.out): New rule.
11545         ($(objpfx)tst-initorder2.out): Remove rule.
11546         [$(run-built-tests) = yes] (tests): Depend on
11547         $(objpfx)tst-initorder2-cmp.out.
11548         ($(objpfx)tst-initorder2-cmp.out): New rule.
11549         [$(run-built-tests) = yes] (tests): Depend on
11550         $(objpfx)tst-unused-dep-cmp.out.
11551         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11552         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11553         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11554         on $(objpfx)tst-setvbuf1-cmp.out.
11555         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11556         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11557         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11558         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11559         ($(objpfx)tst-svc.out): Remove rule.
11560         ($(objpfx)tst-svc-cmp.out): New rule.
11561
11562 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11563
11564         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11565         * ctype/ctype.h [__USE_MISC]: Likewise.
11566         * dirent/dirent.h [__USE_MISC]: Likewise.
11567         * grp/grp.h [__USE_MISC]: Likewise.
11568         * io/fcntl.h [__USE_MISC]: Likewise.
11569         * io/sys/stat.h [__USE_MISC]: Likewise.
11570         * libio/stdio.h [__USE_MISC]: Likewise.
11571         * posix/unistd.h [__USE_MISC]: Likewise.
11572         * pwd/pwd.h [__USE_MISC]: Likewise.
11573         * stdlib.h [__USE_MISC]: Likewise.
11574         * string/bits/string2.h [__USE_MISC]: Likewise.
11575         * string/string.h [__USE_MISC]: Likewise.
11576         * time/time.h [__USE_MISC]: Likewise.
11577
11578 2014-02-13  Andreas Schwab  <schwab@suse.de>
11579
11580         [BZ #16574]
11581         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11582         second answer buffer if it was separately allocated.
11583
11584 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11585
11586         * sysdeps/mips/math-tests.h: Include <features.h>.
11587         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11588         (ROUNDING_TESTS_long_double): Do not define.
11589         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11590         (EXCEPTION_TESTS_long_double): Likewise.
11591         * sysdeps/mips/mips64/libm-test-ulps: Update.
11592
11593         * include/features.h (__USE_BSD): Remove macro definitions.
11594         (__USE_SVID): Likewise.
11595         (_BSD_SOURCE): Likewise.
11596         (_SVID_SOURCE): Likewise.
11597         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11598         from definition of _DEFAULT_SOURCE.
11599         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11600         [_DEFAULT_SOURCE].
11601         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11602         * bits/mman.h [__USE_BSD]: Likewise.
11603         * bits/termios.h [__USE_BSD]: Likewise.
11604         * bits/waitstatus.h [__USE_BSD]: Likewise.
11605         * ctype/ctype.h [__USE_SVID]: Likewise.
11606         * dirent/dirent.h [__USE_BSD]: Likewise.
11607         * grp/grp.h [__USE_SVID]: Likewise.
11608         [__USE_BSD]: Likewise.
11609         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11610         * io/fcntl.h [__USE_BSD]: Likewise.
11611         * io/ftw.h [__USE_BSD]: Likewise.
11612         * io/sys/stat.h [__USE_BSD]: Likewise.
11613         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11614         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11615         * libio/stdio.h [__USE_SVID]: Likewise.
11616         [__USE_BSD]: Likewise.
11617         * math/math.h [__USE_SVID]: Likewise.
11618         [__USE_BSD]: Likewise.
11619         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11620         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11621         * misc/search.h [__USE_SVID]: Likewise.
11622         * misc/sys/mman.h [__USE_BSD]: Likewise.
11623         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11624         * misc/sys/uio.h [__USE_BSD]: Likewise.
11625         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11626         * posix/glob.h [__USE_BSD]: Likewise.
11627         * posix/regex.h [__USE_BSD]: Likewise.
11628         * posix/sys/types.h [__USE_BSD]: Likewise.
11629         [__USE_SVID]: Likewise.
11630         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11631         * posix/sys/wait.h [__USE_BSD]: Likewise.
11632         [__USE_SVID]: Likewise.
11633         * posix/unistd.h [__USE_BSD]: Likewise.
11634         [__USE_SVID]: Likewise.
11635         * pwd/pwd.h [__USE_SVID]: Likewise.
11636         * resolv/netdb.h [__USE_BSD]: Likewise.
11637         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11638         * signal/signal.h [__USE_BSD]: Likewise.
11639         [__USE_SVID]: Likewise.
11640         * socket/sys/socket.h [__USE_BSD]: Likewise.
11641         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11642         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11643         [__USE_SVID]: Likewise.
11644         * string/bits/string2.h [__USE_BSD]: Likewise.
11645         [__USE_SVID]: Likewise.
11646         * string/bits/string3.h [__USE_BSD]: Likewise.
11647         * string/endian.h [__USE_BSD]: Likewise.
11648         * string/string.h [__USE_SVID]: Likewise.
11649         [__USE_BSD]: Likewise.
11650         * string/strings.h [__USE_BSD]: Likewise.
11651         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11652         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11653         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11654         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11655         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11656         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11657         Likewise.
11658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11659         Likewise.
11660         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11661         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11662         Likewise.
11663         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11664         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11665         Likewise.
11666         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11667         Likewise.
11668         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11669         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11670         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11671         Likewise.
11672         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11673         Likewise.
11674         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11675         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11676         * termios/termios.h [__USE_BSD]: Likewise.
11677         * time/sys/time.h [__USE_BSD]: Likewise.
11678         * time/time.h [__USE_BSD]: Likewise.
11679         [__USE_SVID]: Likewise.
11680
11681         * Makefile (subdir_targets): Remove subdir_lint.out.
11682
11683         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11684         (do-tst-printf): Likewise.
11685         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11686         $(objpfx)tst-printf.out.
11687
11688         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11689
11690         * Makerules (check-abi-%): Change target to
11691         $(objpfx)check-abi-%.out.
11692         (check-abi target): Update dependencies.
11693         (check-abi-pattern variable): Redirect output of diff to $@.
11694         (check-abi variable): Likewise.
11695         * elf/Makefile (check-abi): Update dependencies.
11696
11697         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11698         unused.
11699         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11700         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11701         subnormal range.
11702         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11703         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11704         value has largest subnormal exponent.
11705         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11706         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11707         * sysdeps/aarch64/soft-fp/sfp-machine.h
11708         (_FP_TININESS_AFTER_ROUNDING): New macro.
11709         * sysdeps/alpha/soft-fp/sfp-machine.h
11710         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11711         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11712         Likewise.
11713         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11714         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11715         * sysdeps/mips/soft-fp/sfp-machine.h
11716         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11717         * sysdeps/powerpc/soft-fp/sfp-machine.h
11718         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11719         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11720         Likewise.
11721         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11722         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11723         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11724         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11725         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11726         Likewise.
11727
11728 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11729
11730         [BZ #16545]
11731         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11732         model 1.
11733
11734 2014-02-12  Richard Henderson  <rth@redhat.com>
11735
11736         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11737         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11738         * sysdeps/unix/sysv/linux/alpha: Move directory from
11739         ports/sysdeps/unix/sysv/linux/alpha.
11740         * README: Update listing for alpha-*-linux-gnu.
11741
11742 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11743
11744         * include/features.h: Update comment documenting feature test
11745         macros.
11746         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11747         _DEFAULT_SOURCE.
11748         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11749         (_SVID_SOURCE): Likewise.
11750         (_DEFAULT_SOURCE): Update description of default features.
11751         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11752         with _GNU_SOURCE.
11753         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11754         (S_ISVTX): Likewise.
11755         * manual/math.texi (Mathematical Constants): Likewise.
11756         * manual/signal.texi (Interrupted Primitives): Likewise.
11757         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11758         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11759         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11760         Don't refer to _SVID_SOURCE in warning text.
11761
11762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11763
11764         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11765         already defined.
11766         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11767         * sysdeps/mips/dl-lookup.c: Remove.
11768         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11769
11770 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11771
11772         [BZ #16447]
11773         * math/auto-libm-test-in: Add testcase for expl.
11774         * math/auto-libm-test-out: Regenerate.
11775         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11776         calculation of unsafe.
11777         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11778
11779 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11780
11781         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11782         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11783         ports/sysdeps/unix/sysv/linux/aarch64.
11784         * README: Update listing for aarch64*-*-linux-gnu.
11785
11786 2014-02-11  Will Newton  <will.newton@linaro.org>
11787
11788         * manual/probes.texi (Mathematical Function Probes): Use
11789         "triggered" instead of "hit".
11790
11791         * manual/probes.texi (Internal Probes): Add documentation
11792         of setjmp, longjmp and longjmp_target probes.
11793
11794         * include/stap-probe.h: Add comment about probe argument
11795         format.
11796
11797         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11798         definition.  (tr_where, tr_freehook, tr_mallochook,
11799         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11800
11801 2014-02-11  David S. Miller  <davem@davemloft.net>
11802
11803         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11804         processing int_tests.
11805
11806 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11807
11808         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11809         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11810         * sysdeps/unix/sysv/linux/mips: Move directory from
11811         ports/sysdeps/unix/sysv/linux/mips.
11812         * README: Update listing for mips-*-linux-gnu and
11813         mips64-*-linux-gnu.
11814
11815 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11816
11817         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11818         * sysdeps/unix/sysv/linux/m68k: Move directory from
11819         ports/sysdeps/unix/sysv/linux/m68k.
11820         * README: Update listing for m68k-*-linux-gnu.
11821
11822 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11823
11824         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11825         * sysdeps/unix/sysv/linux/generic: Move directory from
11826         ports/sysdeps/unix/sysv/linux/generic.
11827         * sysdeps/unix/sysv/linux/tile: Move directory from
11828         ports/sysdeps/unix/sysv/linux/tile.
11829         * README: Update listing for tile*-*-linux-gnu.
11830
11831 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11832
11833         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11834         __builtin_expect.
11835         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11836         * catgets/open_catalog.c (__open_catalog): Likewise.
11837         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11838         * debug/confstr_chk.c: Likewise.
11839         * debug/fread_chk.c (__fread_chk): Likewise.
11840         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11841         * debug/getgroups_chk.c: Likewise.
11842         * debug/mbsnrtowcs_chk.c: Likewise.
11843         * debug/mbsrtowcs_chk.c: Likewise.
11844         * debug/mbstowcs_chk.c: Likewise.
11845         * debug/memcpy_chk.c: Likewise.
11846         * debug/memmove_chk.c: Likewise.
11847         * debug/mempcpy_chk.c: Likewise.
11848         * debug/memset_chk.c: Likewise.
11849         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11850         * debug/strcat_chk.c (__strcat_chk): Likewise.
11851         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11852         * debug/strncat_chk.c (__strncat_chk): Likewise.
11853         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11854         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11855         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11856         * debug/wcpncpy_chk.c: Likewise.
11857         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11858         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11859         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11860         * debug/wcsncpy_chk.c: Likewise.
11861         * debug/wcsnrtombs_chk.c: Likewise.
11862         * debug/wcsrtombs_chk.c: Likewise.
11863         * debug/wcstombs_chk.c: Likewise.
11864         * debug/wmemcpy_chk.c: Likewise.
11865         * debug/wmemmove_chk.c: Likewise.
11866         * debug/wmempcpy_chk.c: Likewise.
11867         * debug/wmemset_chk.c: Likewise.
11868         * dirent/scandirat.c (SCANDIRAT): Likewise.
11869         * dlfcn/dladdr1.c (dladdr1): Likewise.
11870         * dlfcn/dladdr.c (dladdr): Likewise.
11871         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11872         * dlfcn/dlerror.c (__dlerror): Likewise.
11873         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11874         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11875         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11876         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11877         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11878         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11879         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11880         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11881         Likewise.
11882         * elf/dl-conflict.c: Likewise.
11883         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11884         * elf/dl-dst.h: Likewise.
11885         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11886         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11887         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11888         * elf/dl-init.c (call_init, _dl_init): Likewise.
11889         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11890         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11891         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11892         Likewise.
11893         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11894         Likewise.
11895         * elf/dl-minimal.c (__libc_memalign): Likewise.
11896         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11897         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11898         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11899         * elf/dl-sym.c (do_sym): Likewise.
11900         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11901         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11902         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11903         * elf/dl-writev.h (_dl_writev): Likewise.
11904         * elf/ldconfig.c (search_dir): Likewise.
11905         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11906         (dl_main): Likewise.
11907         * elf/setup-vdso.h (setup_vdso): Likewise.
11908         * grp/compat-initgroups.c (compat_call): Likewise.
11909         * grp/fgetgrent.c (fgetgrent): Likewise.
11910         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11911         * grp/putgrent.c (putgrent): Likewise.
11912         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11913         Likewise.
11914         * hurd/hurdinit.c: Likewise.
11915         * iconvdata/8bit-gap.c (struct): Likewise.
11916         * iconvdata/ansi_x3.110.c : Likewise.
11917         * iconvdata/big5.c : Likewise.
11918         * iconvdata/big5hkscs.c : Likewise.
11919         * iconvdata/cp1255.c: Likewise.
11920         * iconvdata/cp1258.c : Likewise.
11921         * iconvdata/cp932.c : Likewise.
11922         * iconvdata/euc-cn.c: Likewise.
11923         * iconvdata/euc-jisx0213.c : Likewise.
11924         * iconvdata/euc-jp.c: Likewise.
11925         * iconvdata/euc-jp-ms.c : Likewise.
11926         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11927         * iconvdata/gb18030.c : Likewise.
11928         * iconvdata/gbbig5.c (const): Likewise.
11929         * iconvdata/gbgbk.c: Likewise.
11930         * iconvdata/gbk.c : Likewise.
11931         * iconvdata/ibm1364.c : Likewise.
11932         * iconvdata/ibm930.c : Likewise.
11933         * iconvdata/ibm932.c: Likewise.
11934         * iconvdata/ibm933.c : Likewise.
11935         * iconvdata/ibm935.c : Likewise.
11936         * iconvdata/ibm937.c : Likewise.
11937         * iconvdata/ibm939.c : Likewise.
11938         * iconvdata/ibm943.c: Likewise.
11939         * iconvdata/iso_11548-1.c: Likewise.
11940         * iconvdata/iso-2022-cn.c : Likewise.
11941         * iconvdata/iso-2022-cn-ext.c : Likewise.
11942         * iconvdata/iso-2022-jp-3.c: Likewise.
11943         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11944         * iconvdata/iso-2022-kr.c : Likewise.
11945         * iconvdata/iso646.c (gconv_end): Likewise.
11946         * iconvdata/iso_6937-2.c : Likewise.
11947         * iconvdata/iso_6937.c : Likewise.
11948         * iconvdata/iso8859-1.c: Likewise.
11949         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11950         * iconvdata/shift_jisx0213.c : Likewise.
11951         * iconvdata/sjis.c : Likewise.
11952         * iconvdata/t.61.c : Likewise.
11953         * iconvdata/tcvn5712-1.c : Likewise.
11954         * iconvdata/tscii.c: Likewise.
11955         * iconvdata/uhc.c : Likewise.
11956         * iconvdata/unicode.c (gconv_end): Likewise.
11957         * iconvdata/utf-16.c (gconv_end): Likewise.
11958         * iconvdata/utf-32.c (gconv_end): Likewise.
11959         * iconvdata/utf-7.c (base64): Likewise.
11960         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11961         * iconv/gconv_close.c (__gconv_close): Likewise.
11962         * iconv/gconv_open.c (__gconv_open): Likewise.
11963         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11964         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11965         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11966         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11967         (ucs4le_internal_loop_single): Likewise.
11968         * iconv/iconv.c (iconv): Likewise.
11969         * iconv/iconv_close.c: Likewise.
11970         * iconv/loop.c (SINGLE): Likewise.
11971         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11972         * include/atomic.h: Likewise.
11973         * inet/inet6_option.c (option_alloc): Likewise.
11974         * intl/bindtextdom.c (set_binding_values): Likewise.
11975         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11976         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11977         * intl/localealias.c (read_alias_file): Likewise.
11978         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11979         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11980         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11981         * libio/fmemopen.c (fmemopen): Likewise.
11982         * libio/iofgets.c (_IO_fgets): Likewise.
11983         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11984         * libio/iofgetws.c (fgetws): Likewise.
11985         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11986         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11987         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11988         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11989         * locale/findlocale.c (_nl_find_locale): Likewise.
11990         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11991         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11992         Likewise.
11993         * locale/setlocale.c (setlocale): Likewise.
11994         * login/programs/pt_chown.c (main): Likewise.
11995         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11996         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11997         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11998         (mmap, mmap64, mremap, munmap): Likewise.
11999         * math/e_exp2l.c: Likewise.
12000         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12001         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12002         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12003         * math/s_catan.c (__catan): Likewise.
12004         * math/s_catanf.c (__catanf): Likewise.
12005         * math/s_catanh.c (__catanh): Likewise.
12006         * math/s_catanhf.c (__catanhf): Likewise.
12007         * math/s_catanhl.c (__catanhl): Likewise.
12008         * math/s_catanl.c (__catanl): Likewise.
12009         * math/s_ccosh.c (__ccosh): Likewise.
12010         * math/s_ccoshf.c (__ccoshf): Likewise.
12011         * math/s_ccoshl.c (__ccoshl): Likewise.
12012         * math/s_cexp.c (__cexp): Likewise.
12013         * math/s_cexpf.c (__cexpf): Likewise.
12014         * math/s_cexpl.c (__cexpl): Likewise.
12015         * math/s_clog10.c (__clog10): Likewise.
12016         * math/s_clog10f.c (__clog10f): Likewise.
12017         * math/s_clog10l.c (__clog10l): Likewise.
12018         * math/s_clog.c (__clog): Likewise.
12019         * math/s_clogf.c (__clogf): Likewise.
12020         * math/s_clogl.c (__clogl): Likewise.
12021         * math/s_csin.c (__csin): Likewise.
12022         * math/s_csinf.c (__csinf): Likewise.
12023         * math/s_csinh.c (__csinh): Likewise.
12024         * math/s_csinhf.c (__csinhf): Likewise.
12025         * math/s_csinhl.c (__csinhl): Likewise.
12026         * math/s_csinl.c (__csinl): Likewise.
12027         * math/s_csqrt.c (__csqrt): Likewise.
12028         * math/s_csqrtf.c (__csqrtf): Likewise.
12029         * math/s_csqrtl.c (__csqrtl): Likewise.
12030         * math/s_ctan.c (__ctan): Likewise.
12031         * math/s_ctanf.c (__ctanf): Likewise.
12032         * math/s_ctanh.c (__ctanh): Likewise.
12033         * math/s_ctanhf.c (__ctanhf): Likewise.
12034         * math/s_ctanhl.c (__ctanhl): Likewise.
12035         * math/s_ctanl.c (__ctanl): Likewise.
12036         * math/w_pow.c: Likewise.
12037         * math/w_powf.c: Likewise.
12038         * math/w_powl.c: Likewise.
12039         * math/w_scalb.c (sysv_scalb): Likewise.
12040         * math/w_scalbf.c (sysv_scalbf): Likewise.
12041         * math/w_scalbl.c (sysv_scalbl): Likewise.
12042         * misc/error.c (error_tail): Likewise.
12043         * misc/pselect.c (__pselect): Likewise.
12044         * nis/nis_callback.c (__nis_create_callback): Likewise.
12045         * nis/nis_call.c (__nisfind_server): Likewise.
12046         * nis/nis_creategroup.c (nis_creategroup): Likewise.
12047         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12048         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12049         * nis/nis_getservlist.c (nis_getservlist): Likewise.
12050         * nis/nis_lookup.c (nis_lookup): Likewise.
12051         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12052         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12053         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12054         * nis/nis_xdr.c (xdr_endpoint): Likewise.
12055         * nis/nss_compat/compat-grp.c (getgrent_next_file)
12056         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12057         * nis/nss_compat/compat-initgroups.c (add_group)
12058         (internal_getgrent_r): Likewise.
12059         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12060         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12061         * nis/nss_compat/compat-spwd.c (getspent_next_file)
12062         (internal_getspnam_r): Likewise.
12063         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12064         (_nss_nis_getaliasbyname_r): Likewise.
12065         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12066         (_nss_nis_getntohost_r): Likewise.
12067         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12068         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12069         (_nss_nis_getgrgid_r): Likewise.
12070         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12071         (internal_nis_gethostent_r, internal_gethostbyname2_r)
12072         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12073         (_nss_nis_gethostbyname4_r): Likewise.
12074         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12075         (initgroups_netid): Likewise.
12076         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12077         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12078         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12079         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12080         (_nss_nis_getprotobynumber_r): Likewise.
12081         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12082         (_nss_nis_getsecretkey): Likewise.
12083         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12084         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12085         (_nss_nis_getpwuid_r): Likewise.
12086         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12087         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12088         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12089         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12090         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12091         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12092         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12093         Likewise.
12094         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12095         (_nss_nisplus_getntohost_r): Likewise.
12096         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12097         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12098         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12099         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12100         Likewise.
12101         * nis/nss_nisplus/nisplus-initgroups.c
12102         (_nss_nisplus_initgroups_dyn): Likewise.
12103         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12104         (_nss_nisplus_getnetbyaddr_r): Likewise.
12105         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12106         (_nss_nisplus_getprotobynumber_r): Likewise.
12107         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12108         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12109         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12110         Likewise.
12111         * nis/nss_nisplus/nisplus-service.c
12112         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12113         (_nss_nisplus_getservbyport_r): Likewise.
12114         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12115         (_nss_nisplus_getspnam_r): Likewise.
12116         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12117         Likewise.
12118         * nscd/aicache.c (addhstaiX): Likewise.
12119         * nscd/cache.c (cache_search, prune_cache): Likewise.
12120         * nscd/connections.c (register_traced_file, send_ro_fd)
12121         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12122         (main_loop_epoll): Likewise.
12123         * nscd/grpcache.c (addgrbyX): Likewise.
12124         * nscd/hstcache.c (addhstbyX): Likewise.
12125         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12126         * nscd/mem.c (gc, mempool_alloc): Likewise.
12127         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12128         (addinnetgrX): Likewise.
12129         * nscd/nscd-client.h (__nscd_acquire_maplock)
12130         (__nscd_drop_map_ref): Likewise.
12131         * nscd/nscd_getai.c (__nscd_getai): Likewise.
12132         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12133         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12134         Likewise.
12135         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12136         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12137         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12138         (__nscd_get_map_ref): Likewise.
12139         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12140         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12141         Likewise.
12142         * nscd/pwdcache.c (addpwbyX): Likewise.
12143         * nscd/selinux.c (preserve_capabilities): Likewise.
12144         * nscd/servicescache.c (addservbyX): Likewise.
12145         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12146         * posix/fnmatch.c (fnmatch): Likewise.
12147         * posix/getopt.c (_getopt_internal_r): Likewise.
12148         * posix/glob.c (glob, glob_in_dir): Likewise.
12149         * posix/wordexp.c (exec_comm_child): Likewise.
12150         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12151         (getanswer_r, gaih_getanswer_slice): Likewise.
12152         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12153         * resolv/res_init.c: Likewise.
12154         * resolv/res_mkquery.c (res_nmkquery): Likewise.
12155         * resolv/res_query.c (__libc_res_nquery): Likewise.
12156         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12157         Likewise.
12158         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12159         * stdio-common/perror.c (perror): Likewise.
12160         * stdio-common/printf_fp.c (___printf_fp): Likewise.
12161         * stdio-common/tmpnam.c (tmpnam): Likewise.
12162         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12163         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12164         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12165         Likewise.
12166         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12167         * stdlib/putenv.c (putenv): Likewise.
12168         * stdlib/setenv.c (__add_to_environ): Likewise.
12169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12170         * stdlib/strtol_l.c (INTERNAL): Likewise.
12171         * string/memmem.c (memmem): Likewise.
12172         * string/strerror.c (strerror): Likewise.
12173         * string/strnlen.c (__strnlen): Likewise.
12174         * string/test-memmem.c (simple_memmem): Likewise.
12175         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12176         * sunrpc/pm_getport.c (__get_socket): Likewise.
12177         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12178         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12179         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12180         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12181         Likewise.
12182         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12183         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12184         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12185         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12186         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12187         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12188         Likewise.
12189         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12190         Likewise.
12191         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12192         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12193         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12194         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12195         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12196         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12197         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12198         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12199         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12200         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12201         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12202         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12203         Likewise.
12204         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12205         Likewise.
12206         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12207         Likewise.
12208         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12209         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12210         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12211         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12212         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12213         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12214         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12215         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12216         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12217         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12218         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12219         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12220         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12221         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12222         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12223         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12224         Likewise.
12225         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12226         Likewise.
12227         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12228         Likewise.
12229         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12230         Likewise.
12231         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12232         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12233         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12234         Likewise.
12235         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12236         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12237         * sysdeps/posix/opendir.c (__opendirat): Likewise.
12238         * sysdeps/posix/sleep.c: Likewise.
12239         * sysdeps/posix/tempname.c: Likewise.
12240         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12241         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12242         Likewise.
12243         * sysdeps/powerpc/powerpc32/dl-machine.h
12244         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12245         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12247         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12248         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12249         Likewise.
12250         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12251         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12252         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12253         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12254         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12255         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12256         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12257         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12258         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12259         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12260         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12261         (elf_machine_lazy_rel): Likewise.
12262         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12263         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12264         (elf_machine_lazy_rel): Likewise.
12265         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12266         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12267         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12268         * sysdeps/unix/grantpt.c (grantpt): Likewise.
12269         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12270         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12271         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12272         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12273         Likewise.
12274         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12275         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12276         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12277         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12278         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12279         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12280         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12281         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12282         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12283         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12284         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12285         Likewise.
12286         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12287         (__posix_fallocate64_l64): Likewise.
12288         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12289         (posix_fallocate): Likewise.
12290         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12291         Likewise.
12292         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12293         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12294         (getifaddrs_internal): Likewise.
12295         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12296         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12297         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12298         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12299         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12300         (__posix_fallocate64_l64): Likewise.
12301         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12302         Likewise.
12303         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12304         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12305         (__get_clockfreq): Likewise.
12306         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12307         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12308         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12311         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12312         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12313         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12314         Likewise.
12315         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12316         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12317         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12318         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12319         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12320         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12321         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12322         Likewise.
12323         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12324         (posix_fallocate): Likewise.
12325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12326         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12327         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12328         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12329         (elf_machine_rela, elf_machine_rela_relative)
12330         (elf_machine_lazy_rel): Likewise.
12331         * time/asctime.c (asctime_internal): Likewise.
12332         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12333         * time/tzset.c (__tzset_parse_tz): Likewise.
12334         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12335         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12336         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12337         * wcsmbs/wcsmbsload.h: Likewise.
12338
12339         [BZ #15894]
12340         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12341
12342         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12343         (arena_get2): Remove THREAD_STATS conditionals.
12344         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12345         (__malloc_stats, int): Likewise.
12346
12347 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
12348
12349         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12350         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
12351
12352         * manual/setjmp.texi: Fix typos/grammar errors.
12353
12354         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12355         Only return early when n is <= 0.  Delete unused return statement.
12356
12357         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12358         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12359         * debug/tst-longjmp_chk3.c: New file.
12360
12361         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12362         (test_main): Replace code with set_fortify_handler call.
12363         * debug/test-strcpy_chk.c: Likewise.
12364         * debug/tst-chk1.c: Likewise.
12365         * debug/tst-longjmp_chk.c: Likewise.
12366         * test-skeleton.c: Include fcntl.h & paths.h
12367         (set_fortify_handler): Define.
12368
12369         * debug/tst-longjmp_chk.c: Add header comment and include
12370         ../test-skeleton.c.
12371         (do_test): Mark static.
12372         (TEST_FUNCTION): Define.
12373
12374         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12375         (IP_PMTUDISC_INTERFACE): Likewise.
12376         (IP_MULTICAST_IF): Likewise.
12377         (IP_MULTICAST_TTL): Likewise.
12378         (IP_MULTICAST_LOOP): Likewise.
12379         (IP_ADD_MEMBERSHIP): Likewise.
12380         (IP_DROP_MEMBERSHIP): Likewise.
12381         (IP_UNBLOCK_SOURCE): Likewise.
12382         (IP_BLOCK_SOURCE): Likewise.
12383         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12384         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12385         (IP_MSFILTER): Likewise.
12386         (MCAST_JOIN_GROUP): Likewise.
12387         (MCAST_BLOCK_SOURCE): Likewise.
12388         (MCAST_UNBLOCK_SOURCE): Likewise.
12389         (MCAST_LEAVE_GROUP): Likewise.
12390         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12391         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12392         (MCAST_MSFILTER): Likewise.
12393         (IP_MULTICAST_ALL): Likewise.
12394         (IP_UNICAST_IF): Likewise.
12395
12396         * timezone/Makefile: Delete $(have-ksh) check.
12397         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12398         * timezone/tzselect.ksh: Add +x mode bits.
12399
12400         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12401         (ANON_INODE_FS_MAGIC): Likewise.
12402         (BDEVFS_MAGIC): Likewise.
12403         (BINFMTFS_MAGIC): Likewise.
12404         (BTRFS_TEST_MAGIC): Likewise.
12405         (CRAMFS_MAGIC_WEND): Likewise.
12406         (DEBUGFS_MAGIC): Likewise.
12407         (ECRYPTFS_SUPER_MAGIC): Likewise.
12408         (EXT3_SUPER_MAGIC): Likewise.
12409         (EXT4_SUPER_MAGIC): Likewise.
12410         (FUTEXFS_SUPER_MAGIC): Likewise.
12411         (HOSTFS_SUPER_MAGIC): Likewise.
12412         (HUGETLBFS_MAGIC): Likewise.
12413         (MINIX3_SUPER_MAGIC): Likewise.
12414         (MTD_INODE_FS_MAGIC): Likewise.
12415         (NILFS_SUPER_MAGIC): Likewise.
12416         (OPENPROM_SUPER_MAGIC): Likewise.
12417         (PIPEFS_MAGIC): Likewise.
12418         (PSTOREFS_MAGIC): Likewise.
12419         (QNX6_SUPER_MAGIC): Likewise.
12420         (RAMFS_MAGIC): Likewise.
12421         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12422         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12423         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12424         (SECURITYFS_MAGIC): Likewise.
12425         (SELINUX_MAGIC): Likewise.
12426         (SMACK_MAGIC): Likewise.
12427         (SOCKFS_MAGIC): Likewise.
12428         (SQUASHFS_MAGIC): Likewise.
12429         (STACK_END_MAGIC): Likewise.
12430         (TMPFS_MAGIC): Likewise.
12431         (USBDEVICE_SUPER_MAGIC): Likewise.
12432         (V9FS_MAGIC): Likewise.
12433         (XENFS_SUPER_MAGIC): Likewise.
12434         (CRAMFS_MAGIC): Fix typo in comment.
12435         (EXT2_SUPER_MAGIC): Update comment.
12436         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12437
12438 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12439
12440         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12441         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12442         * sysdeps/unix/sysv/linux/arm: Move directory from
12443         ports/sysdeps/unix/sysv/linux/arm.
12444         * README: Update listing for arm-*-linux-gnueabi.
12445
12446         * README: Remove mention of am33.
12447
12448 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12449
12450         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12451         than the comma operator, to avoid "rhs of comma has no effect"
12452         compiler warnings.
12453         (__sigfillset, __sigandset, __sigorset): Likewise.
12454         * include/signal.h (__sigemptyset): Likewise.
12455         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12456
12457 2014-02-07  Allan McRae  <allan@archlinux.org>
12458
12459         * version.h (RELEASE): Set to "development".
12460         (VERSION): Set to "2.19.90"
12461         * NEWS: Add 2.20 section.
12462
12463 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12464
12465         [BZ #16529]
12466         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12467
12468 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12469
12470         * manual/contrib.texi: Update entry for Carlos O'Donell,
12471         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12472
12473 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12474
12475         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12476
12477         * sysdeps/unix/sysv/linux/kernel-features.h
12478         [__LINUX_KERNEL_VERSION >= 0x020621]
12479         (__ASSUME_PROC_PID_TASK_COMM): Define.
12480
12481 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12482
12483         [BZ #16398]
12484         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12485         conversion when destination buffer does not have enough space.
12486         * libio/tst-ftell-partial-wide.c: New test case.
12487         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12488
12489         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12490         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12491         Leonard and Allan McRae.
12492
12493 2014-02-04  David S. Miller  <davem@davemloft.net>
12494
12495         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12496         32-bit.
12497
12498 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12499
12500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12501         New file
12502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12503         New file
12504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12505         New file.
12506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12507         New file.
12508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12509         New file.
12510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12511         New file.
12512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12513         New file.
12514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12515         New file.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12517         New file.
12518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12519         New file.
12520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12521         New file.
12522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12523         New file.
12524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12525         New file.
12526
12527 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12528
12529         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12530         * shlib-versions: Likewise.
12531
12532 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12533             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12534
12535         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12536         (abilist-pattern): New variable, set to %-le.abilist.
12537
12538         * Makerules (abilist-pattern): New variable.
12539         (vpath): Use $(abilist-pattern) in place of %.abilist.
12540         (check-abi-% pattern rule): Likewise.
12541         (check-abi, update-abi): Likewise.
12542
12543 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12544
12545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12546
12547 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12548
12549         * manual/startup.texi: Add next, previous, and top entries for
12550         the `Program Arguments' and `Environment Variables' nodes.
12551
12552 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12553
12554         * manual/macros.texi: Add comments before MTASC-safety macros.
12555
12556         * manual/users.texi: Document MTASC-safety properties.
12557
12558         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12559         (pthread_getspecific, pthread_setspecific): Format with
12560         @deftypefun, and add @safety note.
12561         * manual/signal.texi: Move comments that analyze the above
12562         functions to their home place.
12563
12564 2014-02-03  Allan McRae  <allan@archlinux.org>
12565
12566         * po/sl.po: Update Slovenian translation from translation project.
12567
12568 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12569
12570         * manual/time.texi (timegm): Add missing blank after @c.
12571         Reported by Joseph Myers <joseph@codesourcery.com>.
12572
12573 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12574
12575         * manual/check-safety.sh: New.
12576         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12577
12578         * manual/terminal.texi: Document MTASC-safety properties.
12579
12580         * manual/filesys.texi: Document MTASC-safety properties.
12581
12582         * manual/errno.texi: Document MTASC-safety properties.
12583
12584         * manual/intro.texi: Document safety identifiers and
12585         conditionals.
12586
12587         * manual/string.texi (wcstok): Fix prototype.
12588         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12589
12590         * manual/time.texi: Document MTASC-safety properties.
12591
12592         * manual/string.texi: Document MTASC-safety properties.
12593
12594         * manual/threads.texi: Document MTASC-safety properties.
12595
12596         * manual/stdio.texi: Document MTASC-safety properties.
12597
12598         * manual/syslog.texi: Document MTASC-safety properties.
12599
12600         * manual/sysinfo.texi: Document MTASC-safety properties.
12601
12602         * manual/startup.texi: Document MTASC-safety properties.
12603
12604         * manual/socket.texi: Document MTASC-safety properties.
12605
12606         * manual/signal.texi: Document MTASC-safety properties.
12607
12608 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12609
12610         * manual/setjmp.texi: Document MTASC-safety properties.
12611
12612         * manual/search.texi: Document MTASC-safety properties.
12613
12614         * manual/resource.texi: Document MTASC-safety properties.
12615
12616         * manual/process.texi: Document MTASC-safety properties.
12617
12618         * manual/platform.texi: Document MTASC-safety properties.
12619
12620         * manual/pipe.texi: Document MTASC-safety properties.
12621
12622         * manual/pattern.texi: Document MTASC-safety properties.
12623
12624         * manual/message.texi: Document MTASC-safety properties.
12625
12626         [BZ #12751]
12627         * manual/memory.texi: Document MTASC-safety properties.
12628
12629         * manual/math.texi: Document MTASC-safety properties.
12630
12631         * manual/locale.texi: Document MTASC-safety properties.
12632
12633         * manual/llio.texi: Document MTASC-safety properties.
12634
12635         * manual/libdl.texi: New.
12636
12637         * manual/lang.texi: Document MTASC-safety properties.
12638
12639         * manual/job.texi: Document MTASC-safety properties.
12640
12641         * manual/getopt.texi: Document MTASC-safety properties.
12642
12643         * manual/ctype.texi: Document MTASC-safety properties.
12644
12645 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12646
12647         [BZ #16046]
12648         * csu/libc-tls.c (static_map): Remove variable.
12649         (__libc_setup_tls): Use main executable's link map for TLS data.
12650         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12651         casing for LM_ID_BASE and GL(dl_nns).
12652         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12653         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12654         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12655         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12656         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12657         member.
12658         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12659         l_phnum members.
12660
12661 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12662
12663         * manual/debug.texi: Document MTASC-safety properties.
12664
12665 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12666
12667         [BZ #16510]
12668         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12669         of __x86_64__ when disabling x87 inline functions.
12670
12671 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12672
12673         * manual/charset.texi: Document MTASC-safety properties.
12674
12675         * manual/crypt.texi: Document MTASC-safety properties.
12676
12677         * manual/conf.texi: Document MTASC-safety properties.
12678
12679         * manual/arith.texi: Document MTASC-safety properties.
12680
12681         * manual/argp.texi: Document MTASC-safety properties.
12682
12683         * manual/macros.texi: Introduce macros to document multi
12684         thread, asynchronous signal and asynchronous cancellation
12685         safety properties.
12686         * manual/intro.texi: Introduce the properties themselves.
12687
12688 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12689
12690         * sysdeps/sh/sh4/Makefile: New file.
12691
12692 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12693
12694         * math/gen-libm-test.pl ($srcdir): New variable.
12695         ($auto_input): Use it.
12696
12697 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12698
12699         [BZ #16506]
12700         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12701         access beyond array bounds when parsing netgroups file.
12702
12703         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12704         the old buffer before realloc.
12705
12706 2014-01-27  Allan McRae  <allan@archlinux.org>
12707
12708         * po/fr.po: Update French translation from translation project.
12709
12710 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12711
12712         * sysdeps/sh/libm-test-ulps: Regenerate.
12713
12714 2014-01-24  David S. Miller  <davem@davemloft.net>
12715
12716         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12717
12718 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12719
12720         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12721         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12722
12723 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12724
12725         [BZ #16474]
12726         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12727         string pointers after reallocation.
12728
12729 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12730
12731         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12732         __SH4A__ instead of __SH_FPU_ANY__.
12733
12734 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12735
12736         * sysdeps/sh/fpu_control.h: New file.
12737         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12738         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12739         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12740         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12741         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12742         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12743         * sysdeps/sh/sys/ucontext.h: Remove.
12744         * sysdeps/sh/sys: Remove directory.
12745
12746 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12747
12748         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12749         s390/sys/ucontext.h.
12750         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12751         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12752
12753 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12754
12755         [BZ #15605]
12756         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12757
12758 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12759
12760         [BZ#16431]
12761         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12762         Adjust the vDSO correctly for internal calls.
12763         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12764
12765 2014-01-20  Allan McRae  <allan@archlinux.org>
12766
12767         * po/ca.po: Update Catalan translation from translation project.
12768
12769 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12770
12771         * sysdeps/s390/sotruss-lib.c: New file.
12772
12773 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12774
12775         [BZ#16430]
12776         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12777         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12778         local calls issues by not having a PLT stub required for IFUNC calls.
12779         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12780
12781 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12782
12783         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12784         * math/test-fpucw-static.c: Likewise.
12785
12786 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12787
12788         [BZ #16453]
12789         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12790
12791 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12792
12793         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12794         implementation for powerpc.
12795
12796 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12797
12798         [BZ #14782]
12799         * sysdeps/posix/system.c (__libc_system): Do not enable
12800         asynchronous cancellation.
12801
12802 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12803
12804         [BZ #16427]
12805         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12806         handling only for numbers special also in the IEEE case.
12807
12808 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12809
12810         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12811
12812 2014-01-11  Allan McRae  <allan@archlinux.org>
12813
12814         * po/bg.po: Update Bulgarian translation from translation project.
12815
12816         * po/de.po: Update German translation from translation project.
12817
12818 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12819
12820         * sysdeps/generic/gcc-compat.h: New file.
12821
12822 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12823
12824         * benchtests/asin-inputs: Correct slow inputs.
12825         * benchtests/acos-inputs: Likewise.
12826
12827 2014-01-10  Allan McRae  <allan@archlinux.org>
12828
12829         * po:sv.po: Update Swedish translation from translation project.
12830
12831         * po/vi.po: Update Vietnamese translation from translation project.
12832
12833         * po/eo.po: Update Esperanto translation from translation project.
12834
12835         * po/cs.po: Update Czech translation from translation project.
12836
12837         * po/nl.po: Update Dutch translation from translation project.
12838
12839         * po/pl.po: Update Polish translation from translation project.
12840
12841         * po/ru.po: Update Russian translation from translation project.
12842
12843         * po/uk.po: Update Ukrainian translation from translation project.
12844
12845 2014-01-08  Brooks Moses  <bmoses@google.com>
12846
12847         * elf/dl-load.c: Fix comment typo.
12848
12849 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12850
12851         * po/header.pot: Rename to...
12852         * po/pot.header: ... this.
12853         * po/Makefile: Use pot.header.
12854
12855 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12856             Maxim Kuvyrkov  <maxim@kugelworks.com>
12857
12858         [BZ #16394]
12859         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12860         SRC and DEST against LEN.
12861
12862 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12863
12864         [BZ #16414]
12865         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12866         implementation.
12867         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12868
12869 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12870
12871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12872
12873 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12874
12875         [BZ #16408]
12876         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12877         for large positive arguments.
12878
12879 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12880
12881         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12882
12883         * math/auto-libm-test-in: Mark various tests with
12884         xfail-rounding:ldbl-128ibm.
12885         * math/auto-libm-test-out: Regenerated.
12886
12887         [BZ #16407]
12888         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12889         Increase overflow threshold.
12890
12891 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12892
12893         [BZ #14286]
12894         * stdio-common/vfprintf.c: Check for integer overflow.
12895
12896 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12897
12898         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12899         the first argument and return value of __tls_get_addr_internal.
12900
12901 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12902
12903         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12904         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12905
12906 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12907
12908         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12909         * sysdeps/s390/rtld-global-offsets.sym: New file.
12910         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12911         GLIBC_2.19 symbol.
12912         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12913         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12914         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12915         ... this.
12916         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12917         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12918         ... this.
12919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12920         Regenerate.
12921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12922         Regenerate.
12923         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12924         halfs of GPRs for high_gprs contexts.
12925         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12926         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12927         field.
12928         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12929         uc_flags field.
12930         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12931         64 bit versions:
12932         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12933         for high GPRs (uc_high_gprs) and for future extensions
12934         (__reserved).
12935         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12936         for future extensions (__reserved).
12937         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12938         64 bit versions:
12939         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12940         SC_HIGHGPRS offset definition.
12941         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12942         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12943
12944         * Versions.def: Add GLIBC_2.19 for libpthread.
12945         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12946         siglongjmp for libpthread with GLIBC_2.19 symver.
12947         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12948         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12949         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12950         * sysdeps/s390/__longjmp.c: New file.
12951         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12952         * sysdeps/s390/longjmp.c: New file.
12953         * sysdeps/s390/setjmp.S: New file.
12954         * sysdeps/s390/sigjmp.S: New file.
12955         * sysdeps/s390/v1-longjmp.c: New file.
12956         * sysdeps/s390/v1-setjmp.h: New file.
12957         * sysdeps/s390/v1-sigjmp.c: New file.
12958         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12959         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12960         GLIBC_2.19 version.
12961         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12962         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12963         versioned symbols for ____longjmp_chk.
12964         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12965         Likewise.
12966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12967         Regenerate.
12968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12969         Regenerate.
12970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12971         Regenerate.
12972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12973         Regenerate.
12974         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12975         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12976         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12977         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12978         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12979         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12980         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12981         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12982         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12983         * sysdeps/s390/rtld-__longjmp.c: New file.
12984         * sysdeps/s390/rtld-setjmp.S: New file.
12985
12986 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12987
12988         [BZ #16400]
12989         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12990         Return -__logl (x) for small positive arguments without evaluating
12991         a polynomial.
12992
12993 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12994
12995         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12996         Rename to ...
12997         (__ptrace_peeksiginfo_args): ... this.
12998         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12999         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13000         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13001
13002 2014-01-06  Allan McRae  <allan@archlinux.org>
13003
13004         * inet/netinet/in.h: Fix typo in comment.
13005
13006 2014-01-05  Andreas Jaeger  <aj@suse.de>
13007
13008         * sysdeps/i386/fpu/libm-test-ulps: Update.
13009
13010 2014-01-05  Allan McRae  <allan@archlinux.org>
13011
13012         * po/libc.pot: Regenerated.
13013
13014         * malloc/memusagestat.c: Fix gettext call formatting.
13015
13016 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
13017
13018         * nscd/nscd.c: Improve usage() output.
13019
13020 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
13021
13022         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13023         * sysdeps/unix/sysv/linux/configure: Regenerated.
13024         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13025         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13026
13027 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13028
13029         [BZ #16390]
13030         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13031         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13032
13033 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13034
13035         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13036         extra tokens at end of #undef directive.
13037         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13038         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13039         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13040
13041 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13042
13043         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13044
13045         * math/auto-libm-test-in: Mark various tests with
13046         xfail-rounding:ldbl-128ibm.
13047         * math/auto-libm-test-out: Regenerated.
13048
13049 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
13050
13051         [BZ #16386]
13052         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13053         numbers with subnormal high part when calculating exponent.
13054
13055         [BZ #16385]
13056         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13057         fabs.
13058
13059         [BZ #16384]
13060         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13061         M_LN2l.
13062         (__ieee754_acoshl): Use __log1pl not __log1p.
13063
13064 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
13065
13066         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13067         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13068         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13069         (grow_heap, heap_trim, _int_new_arena, get_free_list)
13070         (reused_arena, arena_get2): Convert to GNU style.
13071         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13072         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13073         (memalign_check, __malloc_set_state): Likewise.
13074         * malloc/mallocbug.c (main): Likewise.
13075         * malloc/malloc.c (__malloc_assert, malloc_init_state)
13076         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13077         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13078         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13079         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13080         (__posix_memalign, malloc_info): Likewise.
13081         * malloc/malloc.h: Likewise.
13082         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13083         (mallochook, memalignhook, reallochook, mabort): Likewise.
13084         * malloc/mcheck.h: Likewise.
13085         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13086         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13087         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13088         * malloc/morecore.c (__default_morecore): Likewise.
13089         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13090         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13091         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13092         (print_and_abort): Likewise.
13093         * malloc/obstack.h: Likewise.
13094         * malloc/set-freeres.c (__libc_freeres): Likewise.
13095         * malloc/tst-mallocstate.c (main): Likewise.
13096         * malloc/tst-mtrace.c (main): Likewise.
13097         * malloc/tst-realloc.c (do_test): Likewise.
13098
13099 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13100
13101         [BZ #16366]
13102         * nscd/netgroupcache.c (do_notfound): New function.
13103         (addgetnetgrentX): Use it.
13104
13105         [BZ # 16365]
13106         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13107         NSS_STATUS_NOTFOUND.
13108
13109 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
13110
13111         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13113
13114 2014-01-01  Allan McRae  <allan@archlinux.org>
13115
13116         * scripts/update-copyrights: Update configure input file suffix.
13117
13118         * NEWS: Update copyright year.
13119         * catgets/gencat.c: Likewise.
13120         * csu/version.c: Likewise.
13121         * debug/catchsegv.sh: Likewise.
13122         * debug/pcprofiledump.c: Likewise.
13123         * debug/xtrace.sh: Likewise.
13124         * elf/ldconfig.c: Likewise.
13125         * elf/ldd.bash.in: Likewise.
13126         * elf/pldd.c: Likewise.
13127         * elf/sotruss.ksh: Likewise.
13128         * elf/sprof.c: Likewise.
13129         * iconv/iconv_prog.c: Likewise.
13130         * iconv/iconvconfig.c: Likewise.
13131         * locale/programs/locale.c: Likewise.
13132         * locale/programs/localedef.c: Likewise.
13133         * login/programs/pt_chown.c: Likewise.
13134         * malloc/memusage.sh: Likewise.
13135         * malloc/memusagestat.c: Likewise.
13136         * malloc/mtrace.pl: Likewise.
13137         * manual/libc.texinfo: Likewise.
13138         * nscd/nscd.c: Likewise.
13139         * nss/getent.c: Likewise.
13140         * nss/makedb.c: Likewise.
13141         * posix/getconf.c: Likewise.
13142         * scripts/test-installation.pl: Likewise.
13143
13144         * All files with FSF copyright notices: Update copyright dates
13145         using scripts/update-copyrights.
13146         * intl/plural.c: Regenerated.
13147         * locale/programs/charmap-kw.h: Likewise.
13148         * locale/programs/locfile-kw.h: Likewise.
13149
13150 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
13151
13152         * sysdeps/unix/sysv/linux/configure: Regenerated.
13153         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13154         the linux/fanotify.h header.
13155         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13156         HAVE_LINUX_FANOTIFY_H is defined.
13157
13158 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13159
13160         * benchtests/cos-inputs: New inputs.
13161         * benchtests/sin-inputs: Likewise.
13162
13163         * benchtests/atan-inputs: New inputs. Fix name of multiple
13164         precision fallback inputs.
13165
13166         * benchtests/atanh-inputs: New inputs.
13167         * benchtests/tanh-inputs: Likewise.
13168
13169         * benchtests/acosh-inputs: New inputs.
13170         * benchtests/asinh-inputs: Likewise.
13171
13172         * benchtests/cosh-inputs: New inputs.
13173         * benchtests/sinh-inputs: Likewise.
13174
13175         * benchtests/acos-inputs: Add more inputs.
13176         * benchtests/asin-inputs: Likewise.
13177
13178 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
13179
13180         [BZ #16375]
13181         * manual/arith.texi: Fix spelling.
13182         * manual/charset.texi: Likewise.
13183         * manual/errno.texi: Likewise.
13184         * manual/filesys.texi: Likewise.
13185         * manual/lang.texi: Likewise.
13186         * manual/llio.texi: Likewise.
13187         * manual/locale.texi: Likewise.
13188         * manual/message.texi: Likewise.
13189         * manual/resource.texi: Likewise.
13190         * manual/search.texi: Likewise.
13191         * manual/setjmp.texi: Likewise.
13192         * manual/stdio.texi: Likewise.
13193         * manual/string.texi: Likewise.
13194         * manual/sysinfo.texi: Likewise.
13195         * manual/time.texi: Likewise.
13196
13197 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
13198
13199         * po/sl.po: New file.
13200
13201 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
13202
13203         * .gitignore: Add core/.gdbinit/.gdb_history.
13204
13205 2013-12-27  Allan McRae  <allan@archlinux.org>
13206
13207         [BZ #16369]
13208         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13209         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13210
13211 2013-12-24  Brooks Moses  <bmoses@google.com>
13212
13213         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13214         all compilers that claim C++98 compliance, not just GCC.
13215         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13216         Likewise.
13217
13218 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13219
13220         * NEWS: Restore accidentally deleted bug-fix entries.
13221
13222 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13223             Ondřej Bílka  <neleai@seznam.cz>
13224
13225         [BZ #15073]
13226         * malloc/malloc.c (_int_free): Perform sanity check only if we
13227         have_lock.
13228
13229 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
13230
13231         [BZ #12986]
13232         * manual/stdio.texi (String Input Conversions): Clarify that character
13233         classes are not supported.
13234
13235 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13236
13237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13238
13239 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
13240
13241         [BZ #16337]
13242         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13243         Calculate results for small negative arguments directly rather
13244         than using reflection formula with special underflow handling.
13245
13246         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13247         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13248         sysdeps/unix/bsd/bsd4.4/syscalls.list.
13249         (fchflags): Likewise.
13250         (revoke): Likewise.
13251         (setlogin): Likewise.
13252         (sigaltstack): Likewise.
13253         (wait4): Likewise.
13254         (sigblock): Remove.
13255         (sigsetmask): Likewise.
13256         (wait3): Likewise.
13257         (waitpid): Likewise.
13258         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13259         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13260         file.
13261         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13262         * sysdeps/unix/bsd/Makefile: ... here.
13263         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13264         * sysdeps/unix/bsd/Versions: ... here.
13265         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13266         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13267         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13268         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13269         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13270         * sysdeps/unix/bsd/sigblock.c: ... here.
13271         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13272         * sysdeps/unix/bsd/sigsetmask.c: ... here.
13273         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13274         * sysdeps/unix/bsd/sigvec.c: ... here.
13275         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13276         * sysdeps/unix/bsd/tcdrain.c: ... here.
13277         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13278         * sysdeps/unix/bsd/tcgetattr.c: ... here.
13279         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13280         * sysdeps/unix/bsd/tcsetattr.c: ... here.
13281         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13282         * sysdeps/unix/bsd/wait.c: ... here.
13283         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13284         * sysdeps/unix/bsd/wait3.c: ... here.
13285         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13286         * sysdeps/unix/bsd/waitpid.c: ... here.
13287
13288 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
13289
13290         [BZ #16356]
13291         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13292         round-to-nearest for [!USE_AS_EXPM1L].
13293         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13294         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
13295         more tests of exp and exp10.  Expect some exp10 tests to miss
13296         exceptions or fail in directed rounding modes.
13297         * math/auto-libm-test-out: Regenerated.
13298         * math/libm-test.inc (exp10_tonearest_test_data): New array.
13299         (exp10_test_tonearest): New function.
13300         (exp10_towardzero_test_data): New array.
13301         (exp10_test_towardzero): New function.
13302         (exp10_downward_test_data): New array.
13303         (exp10_test_downward): New function.
13304         (exp10_upward_test_data): New array.
13305         (exp10_test_upward): New function.
13306         (main): Call the new functions.
13307         * sysdeps/i386/fpu/libm-test-ulps: Update.
13308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13309
13310 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
13311
13312         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13313         asinh, atan, atan2, atanh, cbrt, cos and cosh.
13314         * math/auto-libm-test-out: Regenerated.
13315         * math/libm-test.inc (acosh_test_data): Add more tests.
13316         (atanh_test_data): Likewise.
13317         (ceil_test_data): Likewise.
13318         (copysign_test_data): Likewise.
13319         * sysdeps/i386/fpu/libm-test-ulps: Update.
13320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13321
13322         * timezone/checktab.awk: Update from tzcode 2013i.
13323         * timezone/private.h: Likewise.
13324         * timezone/scheck.c: Likewise.
13325         * timezone/tzfile.h: Likewise.
13326         * timezone/tzselect.ksh: Likewise.
13327         * timezone/zdump.c: Likewise.
13328         * timezone/zic.c: Likewise.
13329
13330         * math/auto-libm-test-in: Add tests of cpow.
13331         * math/auto-libm-test-out: Regenerated.
13332         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13333         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13334         mpc_cc_c.
13335         (func_calc_desc): Add mpc_cc_c union field.
13336         (test_functions): Add cpow.
13337         (special_fill_2pi): New function.
13338         (special_real_inputs): Add 2pi.
13339         (calc_generic_results): Handle mpc_cc_c.
13340         * sysdeps/i386/fpu/libm-test-ulps: Update.
13341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13342
13343         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13344         csqrt, ctan and ctanh.
13345         * math/auto-libm-test-out: Regenerated.
13346         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13347         (TEST_COND_x86): Likewise.
13348         (ccos_test_data): Use AUTO_TESTS_c_c.
13349         (ccosh_test_data): Likewise.
13350         (cexp_test_data): Likewise.
13351         (clog_test_data): Likewise.
13352         (csqrt_test_data): Likewise.
13353         (ctan_test_data): Likewise.
13354         (ctan_tonearest_test_data): Likewise.
13355         (ctan_towardzero_test_data): Likewise.
13356         (ctan_downward_test_data): Likewise.
13357         (ctan_upward_test_data): Likewise.
13358         (ctanh_test_data): Likewise.
13359         (ctanh_tonearest_test_data): Likewise.
13360         (ctanh_towardzero_test_data): Likewise.
13361         (ctanh_downward_test_data): Likewise.
13362         (ctanh_upward_test_data): Likewise.
13363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13364         mpc_c_c.
13365         (func_calc_desc): Add mpc_c_c union field.
13366         (FUNC_mpc_c_c): New macro.
13367         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13368         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13369         ctanh.
13370         (special_fill_min_subnorm_p120): New function.
13371         (special_real_inputs): Add min_subnorm_p120.
13372         (calc_generic_results): Handle mpc_c_c.
13373         * sysdeps/i386/fpu/libm-test-ulps: Update.
13374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13375
13376 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13377
13378         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13379         (do_sin_slow): New functions.
13380         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13381         (cslow2, csloww1, csloww2): Use the new functions.
13382
13383         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13384         Use M to change sign of result instead of X.  Assume X is
13385         positive.
13386         (csloww1): Likewise.
13387         (__sin): Adjust.
13388         (__cos): Adjust.
13389
13390         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13391         arguments A and DA.
13392         (__sin): Adjust.
13393         (__cos): Likewise.
13394
13395         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13396         (__cos): Likewise.
13397         (sloww1): Don't adjust sign of DX.
13398         (csloww1): Likewise.
13399         (sloww2): Use X directly and don't adjust sign of DX.
13400         (csloww2): Likewise.
13401
13402 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13403
13404         * math/auto-libm-test-in: Add tests of cabs and carg.
13405         * math/auto-libm-test-out: Regenerated.
13406         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13407         (carg_test_data): Likewise.
13408         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13409         mpc_c_f.
13410         (func_calc_desc): Add mpc_c_f union field.
13411         (test_functions): Add cabs and carg.
13412         (calc_generic_results): Handle mpc_c_f.
13413
13414         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13415         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13416         as a macro and a compat symbol.
13417         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13418         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13419         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13420         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13421         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13422         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13423         not use .hidden.
13424         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13425         Likewise.
13426         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13427         Likewise.
13428         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13429         Likewise.
13430         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13431         Likewise.
13432         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13433         Likewise.
13434         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13435         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13436         from GLIBC_2.3.2.
13437
13438 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13439
13440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13441
13442 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13443
13444         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13445         trailing whitespace removed.
13446         * scripts/config.guess: Update to version 2013-11-29.
13447         * scripts/config.sub: Update to version 2013-10-01.
13448
13449         * math/auto-libm-test-in: Add tests of sincos.
13450         * math/auto-libm-test-out: Regenerated.
13451         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13452         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13453         mpfr_f_11.
13454         (func_calc_desc): Add mpfr_f_11 union field.
13455         (test_functions): Add sincos.
13456         (calc_generic_results): Handle mpfr_f_11.
13457         * sysdeps/i386/fpu/libm-test-ulps: Update.
13458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13459
13460 2013-12-19  Andreas Schwab  <schwab@suse.de>
13461
13462         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13463         CALL_MCOUNT.
13464         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13465         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13466         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13467
13468 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13469
13470         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13471         * sysdeps/i386/fpu/libm-test-ulps: Update.
13472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13473
13474         [BZ #16293]
13475         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13476         round-to-nearest mode when using frndint.
13477         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13478         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13479         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13480         Likewise.
13481         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13482         sinh test to fail.
13483         * math/auto-libm-test-out: Regenerated.
13484         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13485         (TEST_COND_x86): Likewise.
13486         (expm1_tonearest_test_data): New array.
13487         (expm1_test_tonearest): New function.
13488         (expm1_towardzero_test_data): New array.
13489         (expm1_test_towardzero): New function.
13490         (expm1_downward_test_data): New array.
13491         (expm1_test_downward): New function.
13492         (expm1_upward_test_data): New array.
13493         (expm1_test_upward): New function.
13494         (main): Run the new test functions.
13495         * sysdeps/i386/fpu/libm-test-ulps: Update.
13496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13497
13498         * include/features.h: Update comment documenting feature test
13499         macros.  Mention _DEFAULT_SOURCE in comment.
13500         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13501         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13502         _BSD_SOURCE and _SVID_SOURCE.
13503         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13504         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13505         !_SVID_SOURCE]: Likewise.
13506         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13507         (__USE_POSIX_IMPLICITLY): Define.
13508         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13509         (_POSIX_SOURCE): Undefine and redefine.
13510         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13511         (_POSIX_C_SOURCE): Likewise.
13512         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13513         (Feature Test Macros): Update documentation of default features.
13514
13515 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13516
13517         * benchtests/Makefile: Add bench-strtok.
13518         * benchtests/bench-strtok.c: New file: strtok benchtest.
13519
13520 2013-12-19  Allan McRae  <allan@archlinux.org>
13521
13522         * manual/install.texi: Suppress menu for plain text output.
13523         * INSTALL: Regenerated.
13524
13525 2013-12-18  Brooks Moses  <bmoses@google.com>
13526
13527         [BZ #15846]
13528         * misc/getauxval.c: Include errno.h.
13529         (__getauxval): Set errno to ENOENT if the requested type is not
13530         found.
13531         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13532         don't declare with __attribute_const__.
13533         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13534         * manual/startup.texi: Document that getauxval sets errno.
13535
13536 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13537
13538         * math/auto-libm-test-in: Add tests of jn and yn.
13539         * math/auto-libm-test-out: Regenerated.
13540         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13541         (yn_test_data): Likewise.
13542         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13543         mpfr_if_f.
13544         (func_calc_desc): Add mpfr_if_f union field.
13545         (FUNC_mpfr_if_f): New macro.
13546         (test_functions): Add jn and yn.
13547         (calc_generic_results): Assert type of second input for
13548         mpfr_ff_f.  Handle mpfr_if_f.
13549         (output_for_one_input_case): Disable all checking for arguments
13550         fitting floating-point types in case of an integer argument.
13551         * sysdeps/i386/fpu/libm-test-ulps: Update.
13552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13553
13554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13555         Don't expect fegetround reference in libm.so.
13556
13557 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13558
13559         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13560         $(config-cflags-nofma).
13561
13562 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13563
13564         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13565         * math/auto-libm-test-out: Regenerated.
13566
13567         [BZ #16338]
13568         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13569         to determine exponent and adjust argument to have exponent of -1.
13570         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13571         log2.
13572         * math/auto-libm-test-out: Regenerated.
13573         * sysdeps/i386/fpu/libm-test-ulps: Update.
13574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13575
13576 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13577
13578         * manual/probes.texi: Remove cases when per-thread arenas are
13579         disabled.
13580
13581 2013-12-18  Andreas Schwab  <schwab@suse.de>
13582
13583         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13584         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13585         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13586         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13587         * sysdeps/i386/i686/multiarch/Makefile: Update.
13588         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13589
13590 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13591
13592         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13593         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13594
13595 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13596
13597         [BZ #15968]
13598         Support TZ transition times < 00:00:00.
13599         This is needed for version-3 tz-format files; it supports time
13600         stamps past 2037 for America/Godthab (the only entry in the tz
13601         database for which this change is relevant).
13602         * manual/time.texi (TZ Variable): Document transition times
13603         from -167:59:59 through -00:00:01.
13604         * time/tzset.c (tz_rule): Time of day is now signed.
13605         (__tzset_parse_tz): Parse negative time of day.
13606
13607         Document TZ transition times >= 25:00:00.
13608         * manual/time.texi (TZ Variable): Document transition times from
13609         25:00:00 through 167:59:59.  These are already supported, and this
13610         support will help with version-3 tz-format files.
13611
13612         * manual/time.texi (TZ Variable): Modernize North America example
13613         to reflect current (i.e., 2007-and-later) daylight saving rules.
13614
13615         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13616
13617 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13618
13619         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13620         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13621         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13623         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13624         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13625         * sysdeps/unix/bsd/clock.c: Likewise.
13626         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13627         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13628         * sysdeps/unix/bsd/init-posix.c: Likewise.
13629         * sysdeps/unix/bsd/poll.c: Likewise.
13630         * sysdeps/unix/bsd/ptsname.c: Likewise.
13631         * sysdeps/unix/bsd/seekdir.c: Likewise.
13632         * sysdeps/unix/bsd/setegid.c: Likewise.
13633         * sysdeps/unix/bsd/seteuid.c: Likewise.
13634         * sysdeps/unix/bsd/setgid.c: Likewise.
13635         * sysdeps/unix/bsd/setrgid.c: Likewise.
13636         * sysdeps/unix/bsd/setruid.c: Likewise.
13637         * sysdeps/unix/bsd/setsid.c: Likewise.
13638         * sysdeps/unix/bsd/setuid.c: Likewise.
13639         * sysdeps/unix/bsd/sigaction.c: Likewise.
13640         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13641         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13642         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13643         * sysdeps/unix/bsd/telldir.c: Likewise.
13644         * sysdeps/unix/bsd/times.c: Likewise.
13645         * sysdeps/unix/bsd/usleep.c: Likewise.
13646
13647         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13648         ($(objpfx)libbsd-compat.a): Remove rule.
13649
13650         * include/features.h (__FAVOR_BSD): Do not define.
13651         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13652         features conflicting with POSIX.
13653         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13654         (_BSD_SOURCE): Remove description of not being a subset of other
13655         feature test macros.
13656         * manual/job.texi (getpgrp): Do not document BSD version.
13657         (getpgid): Do not document by reference to BSD getpgrp.
13658         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13659         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13660         * signal/signal.h [__FAVOR_BSD]: Likewise.
13661         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13662         instead of making contents conditional on [__FAVOR_BSD].
13663         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13664
13665 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13666
13667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13668
13669 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13670
13671         [BZ #16314]
13672         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13673         values below 2**-450, not 2**-500.
13674         * math/auto-libm-test-in: Don't allow spurious underflow from
13675         hypot.
13676         * math/auto-libm-test-out: Regenerated.
13677
13678         [BZ #16316]
13679         [BZ #16330]
13680         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13681         values of ha and hb and sort them after adjusting subnormal
13682         arguments.
13683         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13684         Likewise.
13685         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13686         values of ea and eb and sort them after adjusting subnormal
13687         arguments.
13688         * math/auto-libm-test-in: Do not expect some hypot tests of
13689         subnormals to fail.  Add more hypot tests.
13690         * math/auto-libm-test-out: Regenerated.
13691
13692 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13693
13694         [BZ #13304]
13695         * sysdeps/sh/s_fma.c: New file.
13696         * sysdeps/sh/s_fmaf.c: New file.
13697         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13698         version.
13699         * sysdeps/sh/Implies: Add sh/soft-fp.
13700
13701 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13702
13703         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13704         level of indirection to members `objname', `errstring', `malloced'.
13705         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13706         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13707         it as the __longjmp argument (just pass 1 instead).
13708         (_dl_catch_error): Initialize C with argument pointers and address of
13709         volatile local ERRCODE rather than copying values out of C at return.
13710
13711 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13712
13713         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13714         * math/auto-libm-test-out: Regenerated.
13715         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13716         (hypot_test_data): Likewise.
13717         (pow_test_data): Likewise.
13718         (pow_tonearest_test_data): Likewise.
13719         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13720         mpfr_ff_f.
13721         (func_calc_desc): Add mpfr_ff_f union field.
13722         (FUNC_mpfr_ff_f): New macro.
13723         (test_functions): Add atan2, hypot and pow.
13724         (special_fill_min): New function.
13725         (special_fill_minus_min): Likewise.
13726         (special_fill_min_subnorm): Likewise.
13727         (special_fill_minus_min_subnorm): Likewise.
13728         (special_real_inputs): Add min, -min, min_subnorm and
13729         -min_subnorm.
13730         (calc_generic_results): Handle mpfr_ff_f.
13731         * sysdeps/i386/fpu/libm-test-ulps: Update.
13732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13733
13734 2013-12-16  Will Newton  <will.newton@linaro.org>
13735
13736         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13737         (Aligned Memory Blocks): Add documentation for aligned_alloc
13738         and suggest it as an alternative to posix_memalign.
13739         (Hooks for Malloc): Document __memalign_hook is also called
13740         for aligned_alloc.  (Summary of Malloc): Add summary for
13741         aligned alloc.  Document __memalign_hook is also called
13742         for aligned_alloc.
13743
13744 2013-12-16  Will Newton  <will.newton@linaro.org>
13745
13746         * manual/memory.texi (Malloc Examples): Clarify default
13747         alignment documentation.  Suggest posix_memalign rather
13748         than memalign or valloc.
13749         (Aligned Memory Blocks): Remove suggestion to use memalign
13750         or valloc.  Remove obsolete comment about BSD.
13751         Document memalign errno values and mark the function obsolete.
13752         Document posix_memalign returned error codes.  Mark valloc
13753         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13754         called for posix_memalign and valloc.
13755         (Summary of Malloc): Add posix_memalign to function summary.
13756         __memalign_hook is also called for posix_memalign and valloc.
13757
13758 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13759
13760         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13761         TAYLOR_SIN.
13762         (__sin): Adjust.
13763         (__cos): Likewise.
13764         (sloww): Use mynumber union.  Expand ternary operator into
13765         if-else statements.
13766         (cslow): use mynumber union.
13767
13768 2013-12-16  Allan McRae  <allan@archlinux.org>
13769
13770         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13771         * configure: Regenerated.
13772
13773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13774
13775         [BZ #14120]
13776         * configure.ac: Added --enable-maintainer-mode. Check for
13777         autoconf when enabled.
13778         * configure: Regenerated.
13779
13780         * nscd/nscd.service: New file.
13781         * nscd/nscd.tmpfiles: New file.
13782
13783 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13784
13785         [BZ #12100]
13786         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13787         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13788         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13789         (strstr): Add __strstr_sse2_unaligned ifunc.
13790         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13791         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13792         (strcasestr): Remove __strcasestr_sse42 ifunc.
13793         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13796
13797 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13798
13799         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13800         * sysdeps/sh/bits/fenv.h: ... here.
13801         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13802
13803 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13804
13805         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13806
13807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13808         hypotf multiarch implementations.
13809         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13810         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13811         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13812         multiarch hypot for PPC64.
13813         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13814         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13815         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13816         multiarch hypotf for PPC64.
13817
13818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13819         modff multiarch implementations.
13820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13823         multiarch modf for PPC64.
13824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13827         multiarch modff for PPC64.
13828
13829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13830         and logl multiarch implementations.
13831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13834         multiarch logb for PPC64.
13835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13838         multiarch logb for PPC64.
13839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13842         multiarch logb for PPC64.
13843
13844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13845         isinff multiarch implementation.
13846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13847         file.
13848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13850         multiarch isinf for PPC64.
13851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13852         file.
13853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13854         multiarch isinff for PPC64.
13855
13856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13857         finitef multiarch implementation.
13858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13859         file.
13860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13862         multiarch finite for PPC64.
13863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13864         file.
13865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13866         multiarch finitef for PPC64.
13867
13868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13869         lrint multiarch implementation.
13870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13871         file.
13872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13874         multiarch llrint for PPC64.
13875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13876         multiarch lrint for PPC64.
13877
13878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13879         copysignf multiarch implementation.
13880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13881         file.
13882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13883         file.
13884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13885         multiarch copysign for PPC64.
13886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13887         multiarch copysignf for PPC64.
13888
13889         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13890         multiarch implementation.
13891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13892         file.
13893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13894         file.
13895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13896         file.
13897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13898         file.
13899         multiarch llround for PPC64.
13900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13901         multiarch trunc for PPC64.
13902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13903         multiarch truncf for PPC64.
13904
13905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13906         multiarch implementation.
13907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13908         file.
13909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13910         file.
13911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13912         file.
13913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13914         file.
13915         multiarch llround for PPC64.
13916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13917         multiarch round for PPC64.
13918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13919         multiarch roundf for PPC64.
13920
13921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13922         multiarch implementation.
13923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13924         file.
13925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13926         file.
13927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13928         file.
13929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13930         file.
13931         multiarch llround for PPC64.
13932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13933         multiarch floor for PPC64.
13934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13935         multiarch floorf for PPC64.
13936
13937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13938         multiarch implementation.
13939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13940         file.
13941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13942         file.
13943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13944         file.
13945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13946         file.
13947         multiarch llround for PPC64.
13948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13949         multiarch ceil for PPC64.
13950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13951         multiarch ceilf for PPC64.
13952
13953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13954         multiarch implementation.
13955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13956         file.
13957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13958         file.
13959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13960         file.
13961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13962         multiarch llround for PPC64.
13963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13964         multiarch lround for PPC64.
13965
13966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13967         multiarch implementation.
13968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13971         file.
13972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13975         multiarch isnan for PPC64.
13976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13977         multiarch isnanf for PPC64.
13978
13979         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13980         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13981         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13982         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13983         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13985
13986         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13987         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13988         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13989         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13990
13991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13992         multiarch implementations.
13993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13994         (__libc_ifunc_impl_list): Likewise.
13995         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13996         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13997         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13998         multiarch stpcpy for PPC64.
13999
14000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14001         multiarch implementations.
14002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14003         (__libc_ifunc_impl_list): Likewise.
14004         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14005         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14006         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14007         multiarch strcpy for PPC64.
14008
14009         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14010         redefine function name.
14011         (_wordcopy_fwd_dest_aligned): Likewise.
14012         (_wordcopy_bwd_aligned): Likewise.
14013         (_wordcopy_bwd_dest_aligned): Likewise.
14014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14015         multiarch implementations.
14016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14017         (__libc_ifunc_impl_list): Likewise.
14018         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14019         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14020         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14021         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14022         multiarch wcscpy for PPC64.
14023
14024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14025         multiarch implementations.
14026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14027         (__libc_ifunc_impl_list): Likewise.
14028         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14029         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14030         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14031         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14032         multiarch wcscpy for PPC64.
14033
14034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14035         multiarch implementations.
14036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14037         (__libc_ifunc_impl_list): Likewise.
14038         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14039         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14040         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14041         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14042         multiarch wcsrchr for PPC64.
14043
14044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14045         multiarch implementations.
14046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14047         (__libc_ifunc_impl_list): Likewise.
14048         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14049         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14050         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14051         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14052         multiarch wcschr for PPC64.
14053
14054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14055         multiarch implementations.
14056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14057         (__libc_ifunc_impl_list): Likewise.
14058         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14059         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14060         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14061         multiarch strchrnul for PPC64.
14062
14063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14064         implementations.
14065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14066         (__libc_ifunc_impl_list): Likewise.
14067         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14068         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14069         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14070         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14071         strchr for PPC64.
14072
14073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14074         implementations.
14075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14076         (__libc_ifunc_impl_list): Likewise.
14077         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14078         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14079         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14080         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14081         strncmp for PPC64.
14082
14083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14084         multiarch implementations.
14085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14086         (__libc_ifunc_impl_list): Likewise.
14087         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14088         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14089         strncasecmp for PPC64.
14090         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14091         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14092         multiarch strncasecmp_l for PPC64.
14093
14094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14095         multiarch implementations.
14096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14097         (__libc_ifunc_impl_list): Likewise.
14098         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14099         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14100         multiarch strcasecmp for PPC64.
14101         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14102         file.
14103         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14104         multiarch strcasecmp_l for PPC64.
14105
14106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14107         implementations.
14108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14109         (__libc_ifunc_impl_list): Likewise.
14110         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14111         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14112         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14113         strnlen for PPC64.
14114
14115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14116         implementations.
14117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14118         (__libc_ifunc_impl_list): Likewise.
14119         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14120         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14121         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14122         strlen for PPC64.
14123
14124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14125         implementations.
14126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14127         (__libc_ifunc_impl_list): Likewise.
14128         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14129         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14130         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14131         rawmemrchr for PPC64.
14132
14133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14134         implementation.
14135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14136         (__libc_ifunc_impl_list): Likewise.
14137         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14138         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14139         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14140         memrchr for PPC64.
14141
14142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14143         implementation.
14144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14145         (__libc_ifunc_impl_list): Likewise.
14146         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14147         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14148         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14149         memchr for PPC64.
14150
14151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14152         implementation.
14153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14154         (__libc_ifunc_impl_list): Likewise.
14155         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14156         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14157         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14158         mempcpy for PPC64.
14159
14160         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14161         avoid cretion of __bzero symbol.
14162         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14163         Likewise.
14164         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14165         Likewise.
14166         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14167         Likewise.
14168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14169         multiarch implementations.
14170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14171         (__libc_ifunc_impl_list): Likewise.
14172         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14173         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14174         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14175         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14176         bzero for PPC32.
14177         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14178         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14179         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14180         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14181         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14182         memset for PPC64.
14183         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14184
14185         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14187         implementations.
14188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14189         (__libc_ifunc_impl_list): Likewise.
14190         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14191         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14192         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14193         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14194         memcmp for PPC64.
14195
14196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14197         multiarch for POWER/PPC64.
14198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14199         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14200         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14201         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14202         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14203         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14204         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14205         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14206         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14207         memcpy for PPC64.
14208
14209         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14210         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14211         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14212         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14213         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14214         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14215         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14216         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14217         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14218         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14219         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14220         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14221         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14222         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14223         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14231
14232 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14233
14234         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14235
14236 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14237
14238         * benchtests/Makefile (bench): Add exp2 and log2.
14239         (LDLIBS-bench-exp2): Add -lm.
14240         (LDLIBS-bench-log2): Likewise.
14241         * benchtests/exp2-inputs: New inputs file.
14242         * benchtests/log2-inputs: New inputs file.
14243         * benchtests/log-inputs: Add new inputs.
14244         * benchtests/tan-inputs: Likewise.
14245
14246 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14247
14248         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14249         definition...
14250         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14251         (csloww2): ... from here.
14252
14253         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14254         instead of structures.
14255         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14256         (POLYNOMIAL): Likewise.
14257         (TAYLOR_SLOW): Likewise.
14258         (__sin): Likewise.
14259         (__cos): Likewise.
14260         (slow1): Likewise.
14261         (slow2): Likewise.
14262         (sloww): Likewise.
14263         (sloww1); Likewise.
14264         (sloww2): Likewise.
14265         (bsloww1): Likewise.
14266         (bsloww2): Likewise.
14267         (cslow2): Likewise.
14268         (csloww): Likewise.
14269         (csloww1): Likewise.
14270         (csloww2): Likewise.
14271
14272 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
14273
14274         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14275         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14276         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14277         * malloc/hooks.c (realloc_check): Likewise.
14278
14279         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14280         * malloc/arena.c: Remove PER_THREAD conditional.
14281         [!PER_THREAD]: Remove code.
14282         (ptmalloc_unlock_all2): Likewise.
14283         (ptmalloc_init): Likewise.
14284         (_int_new_arena): Likewise.
14285         (arena_get2): Likewise.
14286         * malloc/hooks.c (__malloc_get_state): Likewise.
14287         (__malloc_set_state): Likewise.
14288         * malloc/malloc.c: Likewise.
14289         (struct malloc_state): Likewise.
14290         (struct malloc_par): Likewise.
14291         (__libc_realloc): Likewise.
14292         (__libc_mallopt): Likewise.
14293
14294 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14295
14296         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14297
14298 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
14299
14300         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14301         macro to a function.  Check for zero perturb_byte.
14302         (_int_malloc, _int_free): Remove zero perturb_byte checks.
14303
14304         * malloc/malloc.c: (force_reg): Remove.
14305         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14306         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14307         force_reg by atomic_forced_read.
14308         * malloc/arena.c (ptmalloc_init): Likewise.
14309         * malloc/hooks.c (top_check): Likewise.
14310
14311 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14312
14313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14314
14315 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
14316
14317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14318
14319 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
14320
14321         * math/auto-libm-test-in: Add tests of lgamma.
14322         * math/auto-libm-test-out: Regenerated.
14323         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14324         (M_LOG_2_SQRT_PIl): Likewise.
14325         (lgamma_test_data): Use AUTO_TESTS_f_f1.
14326         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14327         mpfr_f_f1.
14328         (func_calc_desc): Add mpfr_f_f1 union field.
14329         (ARGS1): New macro.
14330         (ARGS2): Likewise.
14331         (ARGS3): Likewise.
14332         (ARGS4): Likewise.
14333         (RET1): Likewise.
14334         (RET2): Likewise.
14335         (CALC): Likewise.
14336         (FUNC): Likewise.
14337         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14338         (test_functions): Add lgamma.
14339         (calc_generic_results): Handle mpfr_f_f1.
14340         * sysdeps/i386/fpu/libm-test-ulps: Update.
14341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14342
14343 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14344
14345         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14346         __mpn_add_n for PowerPC64/POWER7.
14347         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14348         __mpn_sub_n for PowerPC64/POWER7.
14349
14350         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14351         __mpn_addmul_1 for PowerPC64.
14352         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14353         __mpn_submul_1 for PowerPC64.
14354         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14355         for PowerPC64.
14356         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14357         for PowerPC64.
14358
14359 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
14360
14361         [BZ #15089]
14362         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14363
14364 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14365
14366         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14367
14368         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14369         add multiarch folders.
14370         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14371         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14372         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14373         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14374         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14375         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14376         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14377         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14378         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14379         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14380         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14387
14388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14389         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14391         New file.
14392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14393         New file.
14394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14395         multiarch __ieee754_hypot for PowerPC32.
14396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14397         New file.
14398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14399         New file.
14400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14401         multiarch __ieee754_hypotf for PowerPC32.
14402
14403         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14404         long_double_symbol only if __logbl is defined.
14405         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14406         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14407         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14408         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14410         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14411         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14412         path for implementation.
14413         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14414         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14416         logb, and logbl multiarch implementations for PowerPC32.
14417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14418         file.
14419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14420         file.
14421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14422         multiarch logb for PowerPC32.
14423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14424         file.
14425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14426         file.
14427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14428         multiarch logbf for PowerPC32.
14429         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14431         file.
14432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14433         multiarch logbl implementation for PowerPC32.
14434
14435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14436         and modff multiarch implementations.
14437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14438         New file.
14439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14440         New file.
14441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14442         multiarch modf for PowerPC32.
14443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14444         New file.
14445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14446         New file.
14447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14448         multiarch modff for PowerPC32.
14449
14450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14451         and lrintf multiarch implementations.
14452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14453         New file.
14454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14455         New file.
14456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14457         multiarch lrint for PowerPC32.
14458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14459         file: multiarch lrintf for PowerPC32.
14460
14461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14462         and lroundf multiarch implementations.
14463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14464         New file.
14465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14466         New file.
14467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14468         New file.
14469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14470         multiarch lround for PowerPC32.
14471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14472         file: multiarch lroundf for PowerPC32.
14473
14474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14475         copysign and copysignf multiarch implementations.
14476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14477         New file.
14478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14479         New file.
14480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14481         file: multiarch copysign for PowerPC32.
14482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14483         file: multiarch copysignf for PowerPC32.
14484
14485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14486         and truncf multiarch implementations.
14487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14488         New file.
14489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14490         file.
14491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14492         multiarch trunc for PowerPC32.
14493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14494         New file.
14495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14496         New file.
14497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14498         multiarch truncf for PowerPC32.
14499
14500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14501         and roundf multiarch implementations.
14502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14503         New file.
14504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14505         file.
14506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14507         multiarch round for PowerPC32.
14508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14509         New file.
14510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14511         New file.
14512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14513         multiarch roundf for PowerPC32.
14514
14515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14516         and floorf multiarch implementations.
14517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14518         New file.
14519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14520         file.
14521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14522         multiarch floor for PowerPC32.
14523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14524         New file.
14525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14526         New file.
14527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14528         multiarch floorf for PowerPC32.
14529
14530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14531         and ceilf multiarch implementations.
14532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14533         New file.
14534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14535         file.
14536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14537         multiarch ceil for PowerPC32.
14538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14539         New file.
14540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14541         file.
14542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14543         multiarch ceilf for PowerPC32.
14544
14545         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14546         is defined.
14547         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14548         FINITEF is defined.
14549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14550         and finitef multiarch implementations.
14551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14552         New file.
14553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14554         file.
14555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14556         multiarch finite for PowerPC32.
14557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14558         New file.
14559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14560         file: multiarch finitef for PowerPC32.
14561
14562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14563         and isinff multiarch implementations.
14564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14565         file.
14566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14567         file.
14568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14569         multiarch isinf for PowerPC32.
14570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14571         New file.
14572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14573         multiarch isinff for PowerPC32.
14574
14575         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14576         alias when __isnan is defined.
14577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14578         and isnanf multiarch implementations.
14579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14580         file.
14581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14582         file.
14583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14584         file.
14585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14586         file.
14587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14588         multiarch isnan for PowerPC32.
14589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14590         New file.
14591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14592         New file.
14593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14594         multiarch isnanf for PowerPC32.
14595
14596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14597         and sqrtf multiarch implementations.
14598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14599         file.
14600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14601         file.
14602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14603         multiarch sqrt for PowerPC32.
14604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14605         file.
14606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14607         file.
14608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14609         multiarch sqrtf for PowerPC32.
14610
14611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14612         and llroundf multiarch implementations.
14613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14614         New file.
14615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14616         New file.
14617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14618         New file.
14619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14620         file: multiarch llround for PowerPC32.
14621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14622         file: multiarch llroundf for PowerPC32.
14623
14624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14625         multiarch PowerPC32 fpu implementations.
14626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14627         New file.
14628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14629         New file.
14630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14631         multiarch llrint for PowerPC32.
14632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14633         New file.
14634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14635         New file.
14636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14637         file.
14638
14639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14640
14641         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14642         file.
14643         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14644         file.
14645         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14646         file.
14647         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14648         multiarch wordcopy for PPC32.
14649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14650         wordcopy objects.
14651         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14652         (__libc_ifunc_impl_list): Likewise.
14653         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14654         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14655         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14656         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14657         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14658         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14659
14660         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14661         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14662         file.
14663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14664         file.
14665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14666         file.
14667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14668         multiarch wcscpy for PPC32.
14669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14670         multiarch objects.
14671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14672         (__libc_ifunc_impl_list): Likewise.
14673         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14674         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14675         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14676         sysdeps/powerpc/power6/wcscpy.c.
14677
14678         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14680         file.
14681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14682         file.
14683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14684         file.
14685         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14686         multiarch wcsrchr for PPC32.
14687         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14688         multiarch objects.
14689         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14690         (__libc_ifunc_impl_list): Likewise.
14691         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14692         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14693         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14694         sysdeps/powerpc/power6/wcsrchr.c.
14695
14696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14697         file.
14698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14699         file.
14700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14702         multiarch wcschr for PPc32.
14703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14704         multiarch objects.
14705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14706         (__libc_ifunc_impl_list): Likewise.
14707         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14708         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14709         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14710         sysdeps/powerpc/power6/wcschr.c.
14711
14712         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14713         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14714         file.
14715         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14716         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14717         file: multiarch strchr for PPC32.
14718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14719         multiarch objects.
14720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14721         (__libc_ifunc_impl_list): Likewise.
14722
14723         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14724         name.
14725         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14726         file.
14727         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14728         file.
14729         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14730         multiarch strchrnul for PPC32.
14731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14732         multiarch objects.
14733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14734         (__libc_ifunc_impl_list): Likewise.
14735
14736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14737         file.
14738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14739         multiarch strncasecmp for PPC32.
14740         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14741         file.
14742         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14743         multiarch strncasecmp_l for PPC32.
14744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14745         strncasecmp multiarch objects.
14746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14747         (__libc_ifunc_impl_list): Likewise.
14748
14749         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14750         file.
14751         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14752         multiarch strncasecmp for PPC32.
14753         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14754         New file.
14755         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14756         multiarch strcasecmp_l for PPC32.
14757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14758         multiarch objects.
14759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14760         (__libc_ifunc_impl_list): Likewise.
14761
14762         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14763         file.
14764         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14765         file.
14766         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14767         multiarch strncmp for PPC32.
14768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14769         multiarch objects.
14770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14771         (__libc_ifunc_impl_list): Likewise.
14772
14773         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14774         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14775         file.
14776         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14777         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14779         multiarch objects.
14780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14781         (__libc_ifunc_impl_list): Likewise.
14782
14783         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14784         file.
14785         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14786         file.
14787         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14789         multiarch objects.
14790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14791         (__libc_ifunc_impl_list): Likewise.
14792
14793         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14794         file.
14795         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14796         file.
14797         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14798         multiarch rawmemchr for PPC32.
14799         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14800         multiarch objects.
14801         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14802         (__libc_ifunc_impl_list): Likewise.
14803
14804         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14805         file.
14806         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14807         file.
14808         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14809         file: memrchr multiarch for PPC32.
14810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14811         multiarch objects.
14812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14813         (__libc_ifunc_impl_list): Likewise.
14814
14815         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14816         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14817         file.
14818         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14819         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14820         multiarch memchr for PPC32.
14821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14822         multiarch objects.
14823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14824         (__libc_ifunc_impl_list): Likewise.
14825
14826         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14827         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14828         file.
14829         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14830         file.
14831         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14832         file: multiarch mempcpy for PPC32.
14833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14834         multiarch objects.
14835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14836         (__libc_ifunc_impl_list): Likewise.
14837
14838         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14839         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14840         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14841         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14842         multiarch bzero for PPC32.
14843         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14844         file.
14845         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14846         file.
14847         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14848         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14849         file: multiarch memset for PPC32.
14850         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14852         memset multiarch objects.
14853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14854         (__libc_ifunc_impl_list): Likewise.
14855
14856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14857         file.
14858         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14859         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14860         memcmp for PPC32.
14861         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14862         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14863         multiarch objects.
14864         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14865         (__libc_ifunc_impl_list): Likewise.
14866
14867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14869         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14870         file.
14871         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14872         file.
14873         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14874         file.
14875         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14876         multiarch memcpy for PPC32.
14877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14878         multiarch objects.
14879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14880         (__libc_ifunc_impl_list): Likewise.
14881
14882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14883         support multiarch for POWER/PPC32.
14884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14885         Likewise.
14886         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14888         Implies file to make multiarch folder appers before the fpu and
14889         default folder for power4 configuration.
14890
14891 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14892
14893         * scripts/bench.pl: Append volatile keyword to type.
14894
14895 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14896
14897         * sysdeps/sh/sotruss-lib.c: New file.
14898         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14899
14900 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14901
14902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14903
14904 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14905
14906         [BZ #6810]
14907         * math/w_tgamma.c: Include <errno.h>.
14908         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14909         * math/w_tgammaf.c: Include <errno.h>.
14910         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14911         * math/w_tgammal.c: Include <errno.h>.
14912         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14913         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14914         underflow.  Add more tgamma tests.
14915         * math/auto-libm-test-out: Regenerated.
14916         * sysdeps/i386/fpu/libm-test-ulps: Update.
14917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14918
14919         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14920         sin, sinh, tan, tanh, tgamma, y0 and y1.
14921         * math/auto-libm-test-out: Regenerated.
14922         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14923         (TEST_COND_x86): Likewise.
14924         (M_E2l): Remove macro.
14925         (M_E3l): Likewise.
14926         (M_2_SQRT_PIl): Likewise.
14927         (M_SQRT_PIl): Likewise.
14928         (M_1_DIV_El): Likewise.
14929         (log_test_data): Use AUTO_TESTS_f_f.
14930         (log10_test_data): Likewise.
14931         (log1p_test_data): Likewise.
14932         (log2_test_data): Likewise.
14933         (sin_test_data): Likewise.
14934         (sin_tonearest_test_data): Likewise.
14935         (sin_towardzero_test_data): Likewise.
14936         (sin_downward_test_data): Likewise.
14937         (sin_upward_test_data): Likewise.
14938         (sinh_test_data): Likewise.
14939         (sinh_tonearest_test_data): Likewise.
14940         (sinh_towardzero_test_data): Likewise.
14941         (sinh_downward_test_data): Likewise.
14942         (sinh_upward_test_data): Likewise.
14943         (tan_test_data): Likewise.
14944         (tan_tonearest_test_data): Likewise.
14945         (tan_towardzero_test_data): Likewise.
14946         (tan_downward_test_data): Likewise.
14947         (tan_upward_test_data): Likewise.
14948         (tanh_test_data): Likewise.
14949         (tgamma_test_data): Likewise.
14950         (y0_test_data): Likewise.
14951         (y1_test_data): Likewise.
14952         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14953         (special_real_inputs): Add pi/4.
14954         * sysdeps/i386/fpu/libm-test-ulps: Update.
14955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14956
14957 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14958
14959         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14960         "longjmp_target" static probes.
14961         (__longjmp): Rename to __longjmp_symbol.
14962         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14963         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14964         on which longjmp to generate.
14965         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14966         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14967         probe.
14968         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14969         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14970         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14971         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14972         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14973         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14975         __longjmp_symbol based on which __longjmp to generate.
14976         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14977         probe.
14978         (setjmp): Rename to setjmp_symbol.
14979         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14980         (_setjmp): Rename to _setjmp_symbol.
14981         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14982         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14983         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14984         which setjmp to generate.
14985         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14986         "longjmp_target" static probes.
14987
14988 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14989
14990         * benchtests/README: Add note about output arguments.
14991         * benchtests/bench-sincos.c: Remove file.
14992         * benchtests/sincos-inputs: New file.
14993         * scripts/bench.pl: Identify output arguments and define
14994         static variables for them.
14995
14996         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14997
14998         [BZ #15941]
14999         * Makefile (INSTALL): Add install-plain.texi as the primary
15000         dependency.
15001         * manual/install-plain.texi: New file.
15002         * manual/install.texi: Include node directive only for
15003         non-plaintext output.
15004
15005 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
15006
15007         * stdlib/longlong.h: Update from GCC.
15008
15009         [BZ #6807]
15010         [BZ #15901]
15011         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15012         * math/w_j0f.c (y0f): Likewise.
15013         * math/w_j0l.c (__y0l): Likewise.
15014         * math/w_j1.c (y1): Likewise.
15015         * math/w_j1f.c (y1f): Likewise.
15016         * math/w_j1l.c (__y1l): Likewise
15017         * math/w_jn.c (yn): Likewise.
15018         * math/w_jnf.c (ynf): Likewise.
15019         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15020         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
15021         value for Bessel function domain errors outside _SVID_ mode.
15022         Adjust sign of return value for yn (negative integer, 0).
15023         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15024         by zero in return for negative x and set sign appropriately for
15025         negative n.
15026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15027         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15028         * math/libm-test.inc (y0_test_data): Add more tests and adjust
15029         expectations in error cases.
15030         (y1_test_data): Likewise.
15031         (yn_test_data): Likewise.
15032         * sysdeps/i386/fpu/libm-test-ulps: Update.
15033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15034
15035 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15036
15037         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15038         "64" to "64-v1".  Add "64-v2".
15039         (abi-64-options): Rename to ...
15040         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
15041         (abi-64-condition): Rename to ...
15042         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
15043         (abi-64-ld-soname): Rename to ...
15044         (abi-64-v1-ld-soname): ... this.
15045         (abi-64-v2-options): Define.
15046         (abi-64-v2-condition): Likewise.
15047         (abi-64-v2-ld-soname): Likewise.
15048         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15049         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15053
15054 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15055             Alan Modra  <amodra@gmail.com>
15056
15057         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15058         New versions for use with the ELFv2 ABI.
15059         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15060         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15061         declaration.
15062         (struct La_ppc64v2_retval): Likewise.
15063         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15064         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15065         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15066         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15067         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15068         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15069         Do not save or restore CR.
15070         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15071         (_dl_profile_resolve): Do no save or restore CR.  Support extended
15072         return values for ELFv2 ABI.  Fix location of FPR return registers.
15073         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15074         updated values for _CALL_ELF == 2.
15075         (La_regs, La_retval, int_retval): Likewise.
15076
15077 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15078
15079         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15080         (FRAME_MIN_SIZE_PARM): Likewise.
15081         (FRAME_BACKCHAIN): Likewise.
15082         (FRAME_CR_SAVE): Likewise.
15083         (FRAME_LR_SAVE): Likewise.
15084         (FRAME_TOC_SAVE): Likewise.
15085         (FRAME_PARM_SAVE): Likewise.
15086         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15087         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15088         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15089         (call_mcount_parm_offset): New macro.
15090         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15091         (PROF): Use symbolic stack frame offsets.
15092         (TAIL_CALL_SYSCALL_ERROR): Likewise.
15093         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15094         Redefine in terms of FRAME_MIN_SIZE.
15095         (_dl_runtime_resolve): Use symbolic stack frame offsets.
15096         (_dl_profile_resolve): Likewise.  Update comment.
15097         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15098         symbols stack frame offsets.
15099         (__sigsetjmp): Likewise.
15100         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15101         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15102         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15103         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15104
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15106         (FRAME_BACKCHAIN): Remove.
15107         (FRAME_CR_SAVE): Likewise.
15108         (FRAME_LR_SAVE): Likewise.
15109         (FRAME_COMPILER_DW): Likewise.
15110         (FRAME_LINKER_DW): Likewise.
15111         (FRAME_TOC_SAVE): Likewise.
15112         (FRAME_PARM_SAVE): Likewise.
15113         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15114         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15115         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15117         (CHECK_SP): Use symbolic stack frame offsets.
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15119         zone" instead of caller's parameter save area for temp storage.
15120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15121         Likewise.  Also, use symbolic stack frame offsets.
15122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15123         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15124         our own stack frame instead of the caller's.
15125         (__socket): Use symbolic stack frame offsets.
15126
15127 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15128             Alan Modra  <amodra@gmail.com>
15129
15130         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15131         Define.
15132         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15133         (PPC64_LOCAL_ENTRY_OFFSET): Define.
15134         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15135         New function.
15136         (elf_machine_fixup_plt): Call it.
15137         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
15138         reloc arguments.
15139         (elf_machine_rela): Update call to elf_machine_plt_conflict.
15140         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15141         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15142         r2 before calling target.
15143
15144 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15145             Alan Modra  <amodra@gmail.com>
15146
15147         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15148         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15149         versions of macros to support ELFv2 ABI.
15150         (LOCALENTRY): New macro.
15151         (ENTRY, EALIGN): Use it.
15152         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15153         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15154         fall through into ENTRY entry point.
15155         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15156         Only define if _CALL_ELF != 2.
15157
15158         (elf_machine_matches_host): Verify ABI version matches.
15159         (RTLD_START): Use LOCALENTRY.
15160         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15161         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15162         (PLT_ENTRY_WORDS): New macro.
15163         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15164         (elf_machine_runtime_setup): Support ELFv2 ABI.
15165         (elf_machine_fixup_plt): Likewise.
15166         (elf_machine_plt_conflict): Likewise.
15167         (resolve_ifunc): Likewise.
15168         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15169         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15170         Likewise.
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15172         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15174         (makecontext): Support ELFv2 ABI.
15175         * elf/elf.h (EF_PPC64_ABI): Define.
15176
15177 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15178
15179         * sysdeps/powerpc/powerpc64/sysdep.h
15180         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15181         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15182         (ENTRY) [ASSEMBLER]: ... but instead here ...
15183         (EALIGN) [ASSEMBLER]: ... and here.
15184         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15185         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15186         (ENTRY_2) [!ASSEMBLER]: Use it.
15187         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15188         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
15189         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15190         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15191         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15193         Use PPC64_LOAD_FUNCPTR.
15194
15195         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15196
15197 2013-12-04  Alan Modra  <amodra@gmail.com>
15198
15199         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15200         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15201         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15202         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15203
15204         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15205         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15206         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15207         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15208         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15209         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15210
15211 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15212
15213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15214         (__makecontext): Fix incorrect CFI when backtracing out of
15215         context created via makecontext.
15216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15217         (__setcontext): Fix incorrect CFI during switch to new context.
15218         (__novec_setcontext): Likewise.
15219
15220 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15221
15222         [BZ #4772]
15223         * time/strptime_l.c (__strptime_internal): Allow modifiers
15224         in strptime.
15225         * time/tst-strptime.c (day_tests): Add testcase.
15226
15227 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15228
15229         * scripts/bench.pl: Skip over blank lines.
15230
15231 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15232
15233         [BZ #926]
15234         * manual/time.texi (Calendar Time): Clarify what timezone functions
15235         use.
15236
15237 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15238
15239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15240
15241 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15242
15243         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15244         implementation.
15245         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15246         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15247         * debug/memset_chk.c (__memset_chk): Likewise.
15248         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15249         * debug/strncpy_chk.c: Likewise.
15250
15251 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15252
15253         [BZ #15268]
15254         [BZ #15425]
15255         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15256         (__ieee754_exp): For possibly underflowing results, check size of
15257         result and force underflow exception if required.
15258         * math/auto-libm-test-in: Add more tests of exp.
15259         * math/auto-libm-test-out: Regenerated.
15260         * sysdeps/i386/fpu/libm-test-ulps: Update.
15261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15262
15263         [BZ #16283]
15264         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15265         * math/w_exp2f.c (__exp2f): Likewise.
15266         * math/w_exp2l.c (__exp2l): Likewise.
15267         * math/auto-libm-test-in: Do not allow missing errno on exp2
15268         underflow.
15269         * math/auto-libm-test-out: Regenerated.
15270
15271 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
15272
15273         [BZ #16274]
15274         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15275         handle filename validation.
15276         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15277         (do_open): Delete.
15278
15279 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15280
15281         [BZ #6786]
15282         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15283         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15284         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15285         <float.h>.
15286         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15287         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15288         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15289         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15290         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15291         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15292         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15293         * math/auto-libm-test-in: Don't allow missing errno from erfc.
15294         Add more erfc tests.
15295         * math/auto-libm-test-out: Regenerated.
15296         * sysdeps/i386/fpu/libm-test-ulps: Update.
15297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15298
15299         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15300         exp2, expm1, j0 and j1.
15301         * math/auto-libm-test-out: Regenerated.
15302         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15303         (erfc_test_data): Likewise.
15304         (exp_test_data): Likewise.
15305         (exp_tonearest_test_data): Likewise.
15306         (exp_towardzero_test_data): Likewise.
15307         (exp_downward_test_data): Likewise.
15308         (exp_upward_test_data): Likewise.
15309         (exp10_test_data): Likewise.
15310         (exp2_test_data): Likewise.
15311         (expm1_test_data): Likewise.
15312         (j0_test_data): Likewise.
15313         (j1_test_data): Likewise.
15314         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15315         (input_flag_type): Add flag_xfail_rounding.
15316         (input_flags): Add xfail-rounding.
15317         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15318         (output_for_one_input_case): Handle flag_xfail_rounding.
15319         * sysdeps/i386/fpu/libm-test-ulps: Update.
15320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15321
15322 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
15323
15324         [BZ #16289]
15325         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15326         division by 0.
15327
15328 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15329
15330         [BZ #16195]
15331         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15332         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15333         (STAP_PROBE0): New macro.
15334         (STAP_PROBE1): Likewise.
15335         (STAP_PROBE2): Likewise.
15336         (STAP_PROBE3): Likewise.
15337         (STAP_PROBE4): Likewise.
15338
15339 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
15340
15341         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15342
15343 2013-12-02  Steve Ellcey  <sellcey@mips.com>
15344
15345         * benchtests/Makefile (bench): Add sqrt.
15346         (LDLIBS-bench-sqrt): New.
15347         * benchtests/sqrt-input: New.
15348
15349 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
15350
15351         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15352         (GAIH_EAI): Likewise.
15353         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15354         (gaih_inet): Likewise.
15355         (getaddrinfo): Don't use GAIH_EAI.
15356
15357         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15358         (struct gaih): Remove definition.
15359
15360 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15361
15362         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15363         Use HERRNOP directly.
15364
15365 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15366
15367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15368
15369 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
15370
15371         * math/gen-auto-libm-tests.c (test_functions): Add more
15372         single-argument functions.
15373         (special_fill_pi_2): New function.
15374         (special_fill_minus_pi_2): Likewise.
15375         (special_fill_pi_6): Likewise.
15376         (special_fill_minus_pi_6): Likewise.
15377         (special_fill_pi_3): Likewise.
15378         (special_fill_2pi_3): Likewise.
15379         (special_fill_e): Likewise.
15380         (special_fill_1_e): Likewise.
15381         (special_fill_e_minus_1): Likewise.
15382         (special_real_inputs): Add more special inputs.
15383         (output_for_one_input_case): Do not require ERANGE on underflow to
15384         zero if round-to-nearest result does not underflow to zero, unless
15385         exact results required.
15386         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15387         atan, atanh, cbrt, cos and cosh.
15388         * math/auto-libm-test-out: Regenerated.
15389         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15390         (acos_tonearest_test_data): Likewise.
15391         (acos_towardzero_test_data): Likewise.
15392         (acos_downward_test_data): Likewise.
15393         (acos_upward_test_data): Likewise.
15394         (acosh_test_data): Likewise.
15395         (asin_test_data): Likewise.
15396         (asin_tonearest_test_data): Likewise.
15397         (asin_towardzero_test_data): Likewise.
15398         (asin_upward_test_data): Likewise.
15399         (asinh_test_data): Likewise.
15400         (atan_test_data): Likewise.
15401         (atanh_test_data): Likewise.
15402         (cbrt_test_data): Likewise.
15403         (cos_test_data): Likewise.
15404         (cos_tonearest_test_data): Likewise.
15405         (cos_towardzero_test_data): Likewise.
15406         (cos_downward_test_data): Likewise.
15407         (cos_upward_test_data): Likewise.
15408         (cosh_test_data): Likewise.
15409         (cosh_tonearest_test_data): Likewise.
15410         (cosh_towardzero_test_data): Likewise.
15411         (cosh_downward_test_data): Likewise.
15412         (cosh_upward_test_data): Likewise.
15413         * sysdeps/i386/fpu/libm-test-ulps: Update.
15414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15415
15416 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15417
15418         [BZ #6787]
15419         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15420         * math/w_exp10f.c (__exp10f): Likewise.
15421         * math/w_exp10l.c (__exp10l): Likewise.
15422         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15423         errno settings in existing tests.
15424
15425         [BZ #14032]
15426         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15427         precision control set to double precision.
15428         * sysdeps/i386/fpu/w_sqrt.c: New file.
15429         * math/auto-libm-test-in: Add more tests.
15430         * math/auto-libm-test-out: Update.
15431
15432         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15433         (sqrt_test_tonearest): New function.
15434         (sqrt_towardzero_test_data): New variable.
15435         (sqrt_test_towardzero): New function.
15436         (sqrt_downward_test_data): New variable.
15437         (sqrt_test_downward): New function.
15438         (sqrt_upward_test_data): New variable.
15439         (sqrt_test_upward): New function.
15440         (main): Call the new functions.
15441
15442         * math/gen-auto-libm-tests.c: New file.
15443         * math/auto-libm-test-in: Likewise.
15444         * math/auto-libm-test-out: New generated file.
15445         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15446         variables.
15447         (%beautify): Add generated representations of zero.
15448         (top level): Set $auto_input and call parse_auto_input.
15449         (beautify): Remove trailing "f" from hex float constants.
15450         (parse_args): Handle XFAIL_TEST.
15451         (convert_condition): New function.
15452         (or_value): Likewise.
15453         (or_cond_value): Likewise.
15454         (generate_testfile): Handle AUTO_TESTS_* lines.
15455         (parse_auto_input): New function.
15456         * math/libm-test.inc (XFAIL_TEST): New macro.
15457         (ERRNO_UNCHANGED): Update value.
15458         (ERRNO_EDOM): Likewise.
15459         (ERRNO_ERANGE): Likewise.
15460         (IGNORE_RESULT): Likewise.
15461         (TEST_COND_flt_32): New macro.
15462         (TEST_COND_dbl_64): Likewise.
15463         (TEST_COND_ldbl_96_intel): Likewise.
15464         (TEST_COND_ldbl_96_m68k): Likewise.
15465         (TEST_COND_ldbl_128): Likewise.
15466         (TEST_COND_ldbl_128ibm): Likewise.
15467         (TEST_COND_long32): Likewise.
15468         (TEST_COND_long64): Likewise.
15469         (TEST_COND_before_rounding): Likewise.
15470         (TEST_COND_after_rounding): Likewise.
15471         (enable_test): Handle XFAIL_TEST flag.
15472         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15473         with finite results.
15474         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15475         auto-libm-test-out.
15476
15477 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15478             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15479
15480         [BZ #16214]
15481         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15482         __tls_get_addr_internal instead of __tls_get_offset in order to
15483         avoid GOT pointer dependency.  Make rtld export
15484         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15485         __tls_get_addr since we are a __tls_get_offset platform.
15486         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15487         GOT pointer being set up before.
15488         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15489
15490 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15491
15492         * manual/math.texi (Errors in Math Functions): Document accuracy
15493         goals.
15494
15495         [BZ #15004]
15496         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15497         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15498         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15499         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15500         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15501         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15502         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15503         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15504         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15505         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15506         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15507         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15508         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15509         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15510         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15511         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15512
15513         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15514         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15515         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15516         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15517         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15518         Likewise.
15519         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15520         Likewise.
15521         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15522         Likewise.
15523         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15524         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15525         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15526         atomic-feupdateenv and flt-rounds.
15527         * sysdeps/powerpc/nofpu/Versions (libc): Add
15528         __atomic_feholdexcept, __atomic_feclearexcept,
15529         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15530         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15531         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15532         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15533         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15534         here.
15535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15536         Update.
15537
15538         * manual/arith.texi (FP Exceptions): Document that exceptions may
15539         not be raised when matherr is used.
15540         (Math Error Reporting): Document overflow in directed rounding
15541         modes.  Document that errno may not be set when finite values are
15542         returned on overflow.  Document intent to set errno on underflow
15543         only for underflow to zero.
15544
15545         [BZ #16271]
15546         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15547         round-to-nearest then adjust result for other rounding modes.
15548         * include/fenv.h (fegetround): Use libm_hidden_proto.
15549         * math/fegetround.c (fegetround): Use libm_hidden_def.
15550         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15551         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15552         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15553         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15554         Likewise.
15555         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15556         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15557         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15558         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15559
15560 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15561
15562         [BZ #16077]
15563         * nss/Versions (libnss_files): Add
15564         _nss_files_gethostbyname3_r.
15565         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15566         New function.
15567         (HOST_DB_LOOKUP): Remove macro.
15568         (_nss_files_gethostbyname_r): Implement function without the
15569         HOST_DB_LOOKUP macro.
15570         (_nss_files_gethostbyname2_r): Likewise.
15571
15572 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15573
15574         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15575
15576 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15577
15578         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15579         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15580         warning.
15581
15582 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15583
15584         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15585         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15586         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15587         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15588         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15589         __fe_nomask_env_priv and attribute_hidden.
15590         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15591         (libc_feupdateenv_test_ppc): Likewise.
15592         (libc_feresetround_ppc): Likewise.
15593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15594         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15595         compat_symbol macro.
15596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15597         (__fe_nomask_env): Likewise.
15598         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15599
15600 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15601
15602         * string/Makefile: Remove ifunc tests.
15603         * string/test-string.h: Define TEST_IFUNC.
15604         * string/test-bcopy-ifunc.c: Remove.
15605         * string/test-bzero-ifunc.c: Likewise.
15606         * string/test-memccpy-ifunc.c: Likewise.
15607         * string/test-memchr-ifunc.c: Likewise.
15608         * string/test-memcmp-ifunc.c: Likewise.
15609         * string/test-memcpy-ifunc.c: Likewise.
15610         * string/test-memmem-ifunc.c: Likewise.
15611         * string/test-memmove-ifunc.c: Likewise.
15612         * string/test-mempcpy-ifunc.c: Likewise.
15613         * string/test-memrchr-ifunc.c: Likewise.
15614         * string/test-memset-ifunc.c: Likewise.
15615         * string/test-rawmemchr-ifunc.c: Likewise.
15616         * string/test-stpcpy-ifunc.c: Likewise.
15617         * string/test-stpncpy-ifunc.c: Likewise.
15618         * string/test-strcasecmp-ifunc.c: Likewise.
15619         * string/test-strcasestr-ifunc.c: Likewise.
15620         * string/test-strcat-ifunc.c: Likewise.
15621         * string/test-strchr-ifunc.c: Likewise.
15622         * string/test-strchrnul-ifunc.c: Likewise.
15623         * string/test-strcmp-ifunc.c: Likewise.
15624         * string/test-strcpy-ifunc.c: Likewise.
15625         * string/test-strcspn-ifunc.c: Likewise.
15626         * string/test-strlen-ifunc.c: Likewise.
15627         * string/test-strncasecmp-ifunc.c: Likewise.
15628         * string/test-strncat-ifunc.c: Likewise.
15629         * string/test-strncmp-ifunc.c: Likewise.
15630         * string/test-strncpy-ifunc.c: Likewise.
15631         * string/test-strnlen-ifunc.c: Likewise.
15632         * string/test-strpbrk-ifunc.c: Likewise.
15633         * string/test-strrchr-ifunc.c: Likewise.
15634         * string/test-strspn-ifunc.c: Likewise.
15635         * string/test-strstr-ifunc.c: Likewise.
15636
15637 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15638
15639         * benchtests/Makefile: Remove ifunc tests.
15640         * benchtests/bench-string.h: Define TEST_IFUNC.
15641         * benchtests/bench-bcopy-ifunc.c: Remove.
15642         * benchtests/bench-bzero-ifunc.c: Likewise.
15643         * benchtests/bench-memccpy-ifunc.c: Likewise.
15644         * benchtests/bench-memchr-ifunc.c: Likewise.
15645         * benchtests/bench-memcmp-ifunc.c: Likewise.
15646         * benchtests/bench-memcpy-ifunc.c: Likewise.
15647         * benchtests/bench-memmem-ifunc.c: Likewise.
15648         * benchtests/bench-memmove-ifunc.c: Likewise.
15649         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15650         * benchtests/bench-memrchr-ifunc.c: Likewise.
15651         * benchtests/bench-memset-ifunc.c: Likewise.
15652         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15653         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15654         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15655         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15656         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15657         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15658         * benchtests/bench-strcat-ifunc.c: Likewise.
15659         * benchtests/bench-strchr-ifunc.c: Likewise.
15660         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15661         * benchtests/bench-strcmp-ifunc.c: Likewise.
15662         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15663         * benchtests/bench-strcpy-ifunc.c: Likewise.
15664         * benchtests/bench-strcspn-ifunc.c: Likewise.
15665         * benchtests/bench-strlen-ifunc.c: Likewise.
15666         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15667         * benchtests/bench-strncat-ifunc.c: Likewise.
15668         * benchtests/bench-strncmp-ifunc.c: Likewise.
15669         * benchtests/bench-strncpy-ifunc.c: Likewise.
15670         * benchtests/bench-strnlen-ifunc.c: Likewise.
15671         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15672         * benchtests/bench-strrchr-ifunc.c: Likewise.
15673         * benchtests/bench-strsep-ifunc.c: Likewise.
15674         * benchtests/bench-strspn-ifunc.c: Likewise.
15675         * benchtests/bench-strstr-ifunc.c: Likewise.
15676
15677 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15678
15679         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15680
15681 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15682
15683         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15684         * rt/aio.h: Likewise.
15685         * sysdeps/gnu/bits/utmp.h: Likewise.
15686         * sysdeps/gnu/bits/utmpx.h: Likewise.
15687         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15688         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15689         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15690         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15691         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15692         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15693         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15694         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15695         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15696         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15697         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15698         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15699         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15701         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15702         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15703         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15704         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15705         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15706         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15707         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15708         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15709         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15710         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15711         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15713         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15714         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15715         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15716         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15717         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15718         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15719         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15720         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15721         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15722         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15723         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15724         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15725         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15726         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15727         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15728         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15729
15730 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15731
15732         [BZ #16245]
15733         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15734         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15735
15736 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15737
15738         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15739         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15740         Likewise.
15741
15742 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15743
15744         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15745         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15746         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15747         (__fesetround): Remove define.
15748         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15749         rounding and exceptions handling.
15750         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15751         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15752         (__fe_nomask_env): Likewise.
15753         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15754         __fegetround instead of fegetround.
15755         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15756         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15757
15758 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15759
15760         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15761         it's there.
15762
15763         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15764
15765 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15766
15767         [BZ #11157]
15768         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15769         (encrypt_r): Likewise.
15770         * malloc/obstack.h (obstack_free): Likewise.
15771         * posix/unistd.h (encrypt): Likewise.
15772
15773 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15774
15775         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15776         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15777         DL_CALL_DT_FINI() that call the functions directly.
15778         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15779         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15780         * elf/dl-fini.c: Likewise.
15781
15782 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15783
15784         * malloc/hooks.c (memalign_check): Add alignment rounding.
15785         * malloc/malloc.c (_mid_memalign): New function.
15786         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15787         Implement by calling _mid_memalign.
15788         * manual/probes.texi (Memory Allocation Probes): Remove
15789         memory_valloc_retry and memory_pvalloc_retry.
15790
15791 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15792
15793         * locale/programs/locarchive.c (open_archive): Add const
15794         qualifier to ARCHIVEFNAME and copy default fname to
15795         DEFAULT_FNAME.
15796
15797         [BZ #15601]
15798         * libio/tst-widetext.input: Rename Oriya to Odia.
15799         * locale/iso-639.def: Likewise.
15800
15801         * manual/probes.texi (Mathematical Function Probes): Add
15802         documentation for sin, cos, asin and acos probes.
15803         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15804         (__sin32): Add slowasin probe.
15805         (__cos32): Add slowacos probe.
15806         (__mpsin): Add slowsin probe.
15807         (__mpcos): Add slowcos probe.
15808
15809 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15810
15811         [BZ #15483]
15812         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15813         thread-local __sim_exceptions_thread and global
15814         __sim_exceptions_global.
15815         (__sim_disabled_exceptions): Change to thread-local
15816         __sim_disabled_exceptions_thread and global
15817         __sim_disabled_exceptions_global.
15818         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15819         and global __sim_round_mode_global.
15820         (__simulate_exceptions): Use thread-local floating-point state and
15821         set global state from it as needed.
15822         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15823         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15824         __sim_round_mode_thread.
15825         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15826         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15827         and global __sim_exceptions_global.
15828         (__sim_disabled_exceptions): Change to thread-local
15829         __sim_disabled_exceptions_thread and global
15830         __sim_disabled_exceptions_global.
15831         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15832         and global __sim_round_mode_global.
15833         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15834         (SIM_SET_GLOBAL): Likewise.
15835         * sysdeps/powerpc/soft-fp/sfp-machine.h
15836         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15837         __sim_round_mode_thread.
15838         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15839         __sim_disabled_exceptions_thread.
15840         (__sim_exceptions): Change to __sim_exceptions_thread.
15841         (__sim_disabled_exceptions): Change to
15842         __sim_disabled_exceptions_thread.
15843         (__sim_round_mode): Change to __sim_round_mode_thread.
15844         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15845         thread-local floating-point state and set global state from it as
15846         needed.
15847         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15848         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15849         (__sim_disabled_exceptions): Remove extern declaration.
15850         (feenableexcept): Use thread-local floating-point state and set
15851         global state from it as needed.
15852         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15853         extern declaration.
15854         (__sim_disabled_exceptions): Likewise.
15855         (__sim_round_mode): Likewise.
15856         (__fegetenv): Use thread-local floating-point state.
15857         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15858         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15859         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15860         floating-point state and set global state from it as needed.
15861         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15862         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15863         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15864         Likewise.
15865         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15866         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15867         Likewise.
15868         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15869         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15870         Use __sim_round_mode_thread.
15871         * math/test-fenv-tls.c: New file.
15872         * math/Makefile (tests): Add test-fenv-tls.
15873         ($(objpfx)test-fenv-tls): Depend on
15874         $(common-objpfx)nptl/libpthread.so.
15875
15876 2013-11-19  Andreas Schwab  <schwab@suse.de>
15877
15878         * locale/programs/locale.c (show_info): Decode wordarray elements.
15879         * locale/categories.def (LC_MONETARY): Add element for
15880         _NL_MONETARY_CRNCYSTR.
15881         * locale/C-monetary.c (conversion_rate): New variable.
15882         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15883         element.
15884
15885 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15886
15887         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15888         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15889
15890 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15891
15892         * elf/Makefile (tst-auxv): New test.
15893         * elf/tst-auxv.c: New
15894         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15895
15896 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15897
15898         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15899         (hidden_proto): Caller changed.
15900         (hidden_tls_proto): New macro.
15901         (libc_hidden_tls_proto): Likewise.
15902         (rtld_hidden_tls_proto): Likewise.
15903         (libm_hidden_tls_proto): Likewise.
15904         (libresolv_hidden_tls_proto): Likewise.
15905         (librt_hidden_tls_proto): Likewise.
15906         (libdl_hidden_tls_proto): Likewise.
15907         (libnss_files_hidden_tls_proto): Likewise.
15908         (libnsl_hidden_tls_proto): Likewise.
15909         (libnss_nisplus_hidden_tls_proto): Likewise.
15910         (libutil_hidden_tls_proto): Likewise.
15911
15912 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15913
15914         [BZ #10253]
15915         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15916         (decompose_rpath): Defer expansion to fillin_rpath.
15917         (_dl_init_paths): Pass linkmap to fillin_rpath.
15918
15919 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15920
15921         * benchtests/Makefile: Add strsep.
15922         * benchtests/bench-strsep.c: New file: strsep benchtest.
15923         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15924
15925 2013-11-18  Andreas Schwab  <schwab@suse.de>
15926
15927         * locale/programs/locale.c (show_info) [case byte]: Check for
15928         '\377' instead of '\177'.
15929         * locale/C-monetary.c (not_available): Always use "\377".
15930         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15931         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15932         detect unavailable sign_posn locale elements.
15933         * locale/localeconv.c (__localeconv): For grouping and
15934         mon_grouping handle "\177" and "\377" like no grouping.
15935         (INT_ELEM): New macro.  Use it to set all numeric members.
15936         * locale/programs/ld-monetary.c (monetary_read)
15937         <tok_mon_grouping>: Normalize single -1 to the empty string.
15938         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15939         Likewise.
15940
15941 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15942
15943         [BZ #16055]
15944         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15945         when we match (nil).
15946         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15947
15948 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15949
15950         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15951         (NO_TEST_INLINE): Update value.
15952         (ERRNO_UNCHANGED): Likewise.
15953         (ERRNO_EDOM): Likewise.
15954         (ERRNO_ERANGE): Likewise.
15955         (IGNORE_RESULT): Likewise.
15956         (check_float_internal): Check signs of NaN results if
15957         TEST_NAN_SIGN used.
15958         (check_complex): Pass TEST_NAN_SIGN flag through to second
15959         check_float_internal call.
15960         (copysign_test_data): Add tests with quiet NaNs as second
15961         argument.  Use TEST_NAN_SIGN.
15962         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15963         TEST_NAN_SIGN.
15964         (signbit_test_data): Add tests of quiet NaN argument.
15965         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15966
15967         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15968         $ignore_result.
15969         (parse_args): Handle function results specified as IGNORE.
15970         * math/libm-test.inc (IGNORE_RESULT): New macro.
15971         (check_float_internal): Do not check numerical result if flag
15972         IGNORE_RESULT set.
15973         (check_complex): Pass through IGNORE_RESULT to second
15974         check_float_internal call.
15975         (check_int): Do not check numerical result if flag IGNORE_RESULT
15976         set.
15977         (check_long): Likewise.
15978         (check_bool): Likewise.
15979         (check_longlong): Likewise.
15980         (lrint_test_data): Add tests of infinite and NaN arguments.
15981         (lrint_tonearest_test_data): Likewise.
15982         (lrint_towardzero_test_data): Likewise.
15983         (lrint_downward_test_data): Likewise.
15984         (lrint_upward_test_data): Likewise.
15985         (llrint_test_data): Likewise.
15986         (llrint_tonearest_test_data): Likewise.
15987         (llrint_towardzero_test_data): Likewise.
15988         (llrint_downward_test_data): Likewise.
15989         (llrint_upward_test_data): Likewise.
15990         (lround_test_data): Likewise.
15991         (llround_test_data): Likewise.
15992
15993         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15994         (ERRNO_UNCHANGED): Update value.
15995         (ERRNO_EDOM): Likewise.
15996         (ERRNO_ERANGE): Likewise.
15997         (NO_TEST_INLINE_FLOAT): New macro.
15998         (NO_TEST_INLINE_DOUBLE): Likewise.
15999         (enable_test): New function.
16000         (RUN_TEST_f_f): Check enable_test before running test.
16001         (RUN_TEST_2_f): Likewise.
16002         (RUN_TEST_fff_f): Likewise.
16003         (RUN_TEST_c_f): Likewise.
16004         (RUN_TEST_f_f1): Likewise.
16005         (RUN_TEST_fF_f1): Likewise.
16006         (RUN_TEST_fI_f1): Likewise.
16007         (RUN_TEST_ffI_f1): Likewise.
16008         (RUN_TEST_c_c): Likewise.
16009         (RUN_TEST_cc_c): Likewise.
16010         (RUN_TEST_f_i): Likewise.
16011         (RUN_TEST_f_i_tg): Likewise.
16012         (RUN_TEST_ff_i_tg): Likewise.
16013         (RUN_TEST_f_b): Likewise.
16014         (RUN_TEST_f_b_tg): Likewise.
16015         (RUN_TEST_f_l): Likewise.
16016         (RUN_TEST_f_L): Likewise.
16017         (RUN_TEST_fFF_11): Likewise.
16018         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16019         conditionals.
16020         (cosh_test_data): Likewise.
16021         (exp_test_data): Likewise.
16022         (expm1_test_data): Likewise.
16023         (hypot_test_data): Likewise.
16024         (pow_test_data): Likewise.
16025         (sinh_test_data): Likewise.
16026         (tanh_test_data): Likewise.
16027         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16028         flags argument.
16029
16030         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16031         tests with quiet NaN input and output.
16032         (acosh_test_data): Likewise.
16033         (asin_test_data): Likewise.
16034         (asinh_test_data): Likewise.
16035         (atan_test_data): Likewise.
16036         (atanh_test_data): Likewise.
16037         (atan2_test_data): Likewise.
16038         (cbrt_test_data): Likewise.
16039         (cos_test_data): Likewise.
16040         (cosh_test_data): Likewise.
16041         (erf_test_data): Likewise.
16042         (erfc_test_data): Likewise.
16043         (exp_test_data): Likewise.
16044         (exp10_test_data): Likewise.
16045         (exp2_test_data): Likewise.
16046         (expm1_test_data): Likewise.
16047         (hypot_test_data): Likewise.
16048         (j0_test_data): Likewise.
16049         (j1_test_data): Likewise.
16050         (jn_test_data): Likewise.
16051         (lgamma_test_data): Likewise.
16052         (log_test_data): Likewise.
16053         (log10_test_data): Likewise.
16054         (log1p_test_data): Likewise.
16055         (log2_test_data): Likewise.
16056         (pow_test_data): Likewise.
16057         (scalb_test_data): Likewise.
16058         (sin_test_data): Likewise.
16059         (sincos_test_data): Likewise.
16060         (sinh_test_data): Likewise.
16061         (tan_test_data): Likewise.
16062         (tanh_test_data): Likewise.
16063         (tgamma_test_data): Likewise.
16064         (y0_test_data): Likewise.
16065         (y1_test_data): Likewise.
16066         (yn_test_data): Likewise.
16067
16068         [BZ #16167]
16069         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16070         argument being NaN and avoid computations with second argument in
16071         that case.
16072         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16073         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16074         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16075
16076 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
16077
16078         * locale/iso-639.def: Add Chitwani Tharu (the).
16079
16080 2013-11-14  Andreas Schwab  <schwab@suse.de>
16081
16082         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16083         word instead of empty string.
16084
16085 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16086
16087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16088         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16090         (__fe_nomask_env): Likewise.
16091
16092 2013-11-13  Steve Ellcey  <sellcey@mips.com>
16093
16094         * benchtests/bench-timing.h: Include time.h.
16095
16096 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
16097
16098         [BZ #15997]
16099         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16100         to 3.4.0 for x32.
16101         * sysdeps/unix/sysv/linux/configure: Regenerated.
16102
16103 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
16104
16105         [BZ #16151]
16106         * stdlib/strtod_l.c (round_and_return): Do not consider
16107         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16108         exponent one less than half the least subnormal exponent.
16109         * stdlib/test-strtod-round-data: Add more tests.
16110         * stdlib/tst-strtod-round.c (tests): Regenerated.
16111
16112 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16113
16114         [BZ #14143]
16115         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16116         (__fe_mask_env): Likewise.
16117         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16118         libm_hidden_proto and add function prototype.
16119         (__fe_mask_env): Add function prototype.
16120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16121         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16123         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16125         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16126
16127 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16128
16129         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16130         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16131
16132 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16133
16134         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16135         of htab_find_slot().
16136
16137 2013-11-11  David S. Miller  <davem@davemloft.net>
16138
16139         [BZ #16150]
16140         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16141         symbol in the non-vis3 case in static builds.
16142         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16143         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16144         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16145         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16146
16147 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16148
16149         [BZ #387]
16150         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16151         it is empty.
16152
16153 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16154
16155         * benchtests/Makefile: Add bench-strtod.
16156         * benchtests/bench-strtod.c: New file: strtod benchtest
16157
16158 2013-11-11  Andreas Schwab  <schwab@suse.de>
16159
16160         [BZ #16153]
16161         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16162         terminating NUL in key length.
16163
16164 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16165
16166         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16167         Add artificial ODP entry for vDSO symbol for PPC64.
16168         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16169         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16170
16171 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16172
16173         [BZ #15374]
16174         * nss/getent.c (services_keys): Recognize services starting with digit.
16175
16176 2013-11-06  David S. Miller  <davem@davemloft.net>
16177
16178         [BZ #15985]
16179         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16180         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16181
16182 2013-11-06  Will Newton  <will.newton@linaro.org>
16183
16184         * manual/memory.texi (Malloc Examples): Remove register
16185         keyword from examples.
16186
16187 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
16188
16189         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16190
16191 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
16192
16193         [BZ #6981]
16194         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16195         depending on [__GCC_IEC_559 > 0].
16196         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16197         depending on [__GCC_IEC_559_COMPLEX > 0].
16198
16199 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
16200
16201         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16202         to iso-639.def.
16203
16204 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
16205
16206         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16207
16208 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
16209
16210         [BZ #16112]
16211         * malloc/malloc (malloc_info): Do not handle first bin as
16212         special case.
16213
16214 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
16215
16216         * locale/iso-639.def: Add Central Nahuatl (nhn).
16217
16218 2013-11-01  Bruno Haible  <bruno@clisp.org>
16219
16220         [BZ #7003]
16221         * manual/math.texi (BSD Random): Specify range upper bound as
16222         in POSIX.
16223
16224 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
16225
16226         * locale/iso-639.def: Add Meadow Mari (mhr).
16227
16228 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
16229
16230         [BZ #14752], [BZ #15763]
16231         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16232         Validate name.
16233         * rt/tst_shm.c: Add test for escaping directory.
16234
16235 2013-10-31  Andreas Schwab  <schwab@suse.de>
16236
16237         [BZ #15917]
16238         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16239         followed by 'x' as part of digit sequence.
16240         * stdio-common/tst-sscanf.c (double_tests2): New tests.
16241
16242 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16243
16244         [BZ #16037]
16245         * configure.ac: allow GNU Make 4.0 and greater.
16246         * configure: Regenerated.
16247
16248 2013-10-30  Will Newton  <will.newton@linaro.org>
16249
16250         [BZ #16038]
16251         * malloc/hooks.c (memalign_check): Limit alignment to the
16252         maximum representable power of two.
16253         * malloc/malloc.c (__libc_memalign): Likewise.
16254         * malloc/tst-memalign.c (do_test): Add test for very
16255         large alignment values.
16256         * malloc/tst-posix_memalign.c (do_test): Likewise.
16257
16258 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16259
16260         [BZ #11087]
16261         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16262         (munmap_chunk): Likewise.
16263         (mremap_chunk): Likewise.
16264
16265 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16266
16267         [BZ #15799]
16268         * stdlib/div.c (div): Remove obsolete code.
16269         * stdlib/ldiv.c (ldiv): Likewise.
16270         * stdlib/lldiv.c (lldiv): Likewise.
16271
16272 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16273
16274         [BZ #16071]
16275         * nss/nss_files/files-XXX.c (get_contents_ret): New
16276         enumerator.
16277         (get_contents): New function.
16278         (internal_getent): Use it.  Expand size of LINEBUFLEN.
16279
16280 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
16281
16282         * configure.in: Moved to ...
16283         * configure.ac: ... here. Change reference to configure.in
16284         to configure.ac.
16285         * sysdeps/arm/preconfigure.ac: ... here.
16286         configure.in to configure.ac.
16287         * sysdeps/gnu/configure.in: Moved to ...
16288         * sysdeps/gnu/configure.ac: ... here.
16289         * sysdeps/i386/configure.in: Moved to ...
16290         * sysdeps/i386/configure.ac: ... here.
16291         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16292         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16293         * sysdeps/mach/configure.in: Moved to ...
16294         * sysdeps/mach/configure.ac: ... here.
16295         * sysdeps/mach/hurd/configure.in: Moved to ...
16296         * sysdeps/mach/hurd/configure.ac: ... here.
16297         * sysdeps/powerpc/configure.in: Moved to ...
16298         * sysdeps/powerpc/configure.ac: ... here.
16299         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16300         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16301         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16302         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16303         * sysdeps/s390/s390-32/configure.in: Moved to ...
16304         * sysdeps/s390/s390-32/configure.ac: ... here.
16305         * sysdeps/s390/s390-64/configure.in: Moved to ...
16306         * sysdeps/s390/s390-64/configure.ac: ... here.
16307         * sysdeps/sh/configure.in: Moved to ...
16308         * sysdeps/sh/configure.ac: ... here.
16309         * sysdeps/sparc/configure.in: Moved to ...
16310         * sysdeps/sparc/configure.ac: ... here.
16311         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16312         * sysdeps/unix/sysv/linux/configure.ac: ... here.
16313         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16314         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16315         * sysdeps/x86_64/configure.in: Moved to ...
16316         * sysdeps/x86_64/configure.ac: ... here.
16317         * sysdeps/x86_64/preconfigure.in: Moved to ...
16318         * sysdeps/x86_64/preconfigure.ac: ... here.
16319         * aclocal.m4: Change reference to configure.in to configure.ac.
16320         * config.h.in: Likewise.
16321         * manual/install.texi: Likewise.
16322         * manual/maint.texi: Likewise.
16323         * Makefile: Likewise.
16324         * malloc/Makefile: Likewise.
16325         * nscd/Makefile: Likewise.
16326         * Makeconfig: Change reference to configure.in and
16327         preconfigure.in to configure.ac and preconfigure.ac
16328         respectively.
16329         * INSTALL: Regenerated.
16330         * configure: Likewise.
16331         * sysdeps/gnu/configure: Likewise.
16332         * sysdeps/i386/configure: Likewise.
16333         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16334         * sysdeps/mach/configure: Likewise.
16335         * sysdeps/mach/hurd/configure: Likewise.
16336         * sysdeps/powerpc/configure: Likewise.
16337         * sysdeps/powerpc/powerpc32/configure: Likewise.
16338         * sysdeps/powerpc/powerpc64/configure: Likewise.
16339         * sysdeps/s390/s390-32/configure: Likewise.
16340         * sysdeps/s390/s390-64/configure: Likewise.
16341         * sysdeps/sh/configure: Likewise.
16342         * sysdeps/sparc/configure: Likewise.
16343         * sysdeps/unix/sysv/linux/configure: Likewise.
16344         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16345         * sysdeps/x86_64/configure: Likewise.
16346         * sysdeps/x86_64/preconfigure: Likewise.
16347
16348 2013-10-29  Andreas Schwab  <schwab@suse.de>
16349
16350         * stdio-common/Makefile (tst-swscanf-ENV): Define.
16351
16352 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16353
16354         * benchtests/pow-inputs: Add new inputs.
16355
16356         * benchtests/exp-inputs: Add new inputs.
16357
16358         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16359         conditional check for return value.
16360         (__cos32): Likewise.
16361
16362 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16363
16364         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16365         to provide a boost for large inputs with word alignment.
16366         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16367         implementation based on optimized PPC64 strcpy.
16368         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16369         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16370         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16371         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16372
16373 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16374
16375         [BZ #2801]
16376         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16377
16378 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16379
16380         [BZ #14876]
16381         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16382         * time/tst-strptime.c (day_tests): Add testcase.
16383
16384 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16385
16386         [BZ #14029]
16387         * manual/pattern.texi: Acknowledge that fnmatch can fail.
16388
16389 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
16390
16391         [BZ #16074]
16392         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16393         MAP_FAILED on error.
16394
16395 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16396
16397         [BZ #16072]
16398         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16399         heap for large requests.
16400
16401 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16402
16403         [BZ #9954]
16404         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16405         result if the result has no associated interface.
16406         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16407         interface for all 127.X.Y.Z addresses.
16408
16409 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16410
16411         * locale/iso-639.def: Add Ligurian (lij)
16412
16413 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16414
16415         [BZ #15825]
16416         * sunrpc/rpc_main.c: Document rpcgen -5.
16417
16418 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16419
16420         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16421
16422 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16423
16424         [BZ #10278]
16425         * posix/glob.c: Match only directories when trailing slash is present.
16426         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16427         (main): Add testcase.
16428
16429 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16430
16431         [BZ #15670]
16432         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16433
16434 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16435
16436         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16437         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16438         AUTH_DES and cindex for FIPS 140-2.
16439         (DES Encryption): Add cindex FIPS 46-3.
16440
16441         * locale/locarchive.h (struct locarhandle): Add fname.
16442         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16443         if an optional argument was specified to --list-archive,
16444         otherwise NULL.
16445         * locale/programs/locarchive.c (show_archive_content): Take new
16446         argument fname and pass it via ah.fname to open_archive.
16447         * locale/programs/localedef.h: Update decl.
16448         (open_archive): If AH->fname is non-null, open that file
16449         rather than the default file name, and don't ignore ENOENT.
16450         (create_archive): Set AH.fname to NULL.
16451         (delete_locales_from_archive): Likewise.
16452         (add_locales_to_archive): Likewise.
16453         * locale/programs/locfile.c (write_all_categories): Likewise.
16454
16455 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16456             Aldy Hernandez  <aldyh@redhat.com>
16457
16458         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16459         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16460         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16461         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16462         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16463         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16464         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16465         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16466         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16467         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16468         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16469         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16470         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16471         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16472         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16473         Likewise.
16474         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16475         Likewise.
16476         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16477         Likewise.
16478         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16479         Likewise.
16480         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16481         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16482         Likewise.
16483         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16484         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16485         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16486         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16487         Likewise.
16488         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16489         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16490         * sysdeps/powerpc/preconfigure: Likewise.
16491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16492         Likewise.
16493         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16494         Replace contents of file by #include of <fenv_libc.h>.
16495         * sysdeps/powerpc/soft-fp/sfp-machine.h
16496         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16497         and <sys/prctl.h>.
16498         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16499         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16500         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16501         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16502         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16503         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16505         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16506         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16507         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16508         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16509         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16511         Allow copysignl PLT reference to be missing.
16512
16513 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16514             Joseph Myers  <joseph@codesourcery.com
16515
16516         [BZ #15948]
16517         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16518         single character.
16519         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16520
16521 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16522
16523         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16524         * elf/tst-tls1.c: Likewise.
16525         * elf/tst-tls10.h: Likewise.
16526         * elf/tst-tls14.c: Likewise.
16527         * elf/tst-tls2.c: Likewise.
16528         * elf/tst-tls3.c: Likewise.
16529         * elf/tst-tls4.c: Likewise.
16530         * elf/tst-tls5.c: Likewise.
16531         * elf/tst-tls6.c: Likewise.
16532         * elf/tst-tls7.c: Likewise.
16533         * elf/tst-tls8.c: Likewise.
16534         * elf/tst-tls9.c: Likewise.
16535         * elf/tst-tlsmod1.c: Likewise.
16536         * elf/tst-tlsmod13.c: Likewise.
16537         * elf/tst-tlsmod13a.c: Likewise.
16538         * elf/tst-tlsmod14a.c: Likewise.
16539         * elf/tst-tlsmod16a.c: Likewise.
16540         * elf/tst-tlsmod16b.c: Likewise.
16541         * elf/tst-tlsmod2.c: Likewise.
16542         * elf/tst-tlsmod3.c: Likewise.
16543         * elf/tst-tlsmod4.c: Likewise.
16544         * elf/tst-tlsmod5.c: Likewise.
16545         * elf/tst-tlsmod6.c: Likewise.
16546
16547 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16548
16549         [BZ #12486]
16550         * malloc/malloc.c: remove checks for statistics.
16551
16552 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16553
16554         [BZ #15277]
16555         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16556         * inet/tst-network.c: Add testcase.
16557
16558 2013-10-17  Andreas Schwab  <schwab@suse.de>
16559
16560         [BZ #15218]
16561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16562         to determine canonical name.
16563
16564 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16565
16566         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16567         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16568         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16569         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16570         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16571         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16572         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16573         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16574         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16575         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16576         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16577         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16578         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16579         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16580         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16581         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16583         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16584         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16585         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16586         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16587         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16588         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16589         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16590         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16591         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16592         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16593         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16594         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16595         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16596         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16597         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16598         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16599         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16600         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16601         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16602         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16603         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16604         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16605         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16606         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16607         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16608         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16609         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16610         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16611         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16612         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16613         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16614         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16615         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16616         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16617         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16618         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16619         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16620         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16621         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16623         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16624
16625 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16626
16627         [BZ #16041]
16628         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16629         make result into a quiet NaN.
16630
16631 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16632
16633         * soft-fp/adddf3.c: Fix horizontal whitespace.
16634         * soft-fp/addsf3.c: Likewise.
16635         * soft-fp/addtf3.c: Likewise.
16636         * soft-fp/divdf3.c: Likewise.
16637         * soft-fp/divsf3.c: Likewise.
16638         * soft-fp/divtf3.c: Likewise.
16639         * soft-fp/double.h: Likewise.
16640         * soft-fp/eqdf2.c: Likewise.
16641         * soft-fp/eqsf2.c: Likewise.
16642         * soft-fp/eqtf2.c: Likewise.
16643         * soft-fp/extenddftf2.c: Likewise.
16644         * soft-fp/extended.h: Likewise.
16645         * soft-fp/extendsfdf2.c: Likewise.
16646         * soft-fp/extendsftf2.c: Likewise.
16647         * soft-fp/extendxftf2.c: Likewise.
16648         * soft-fp/fixdfdi.c: Likewise.
16649         * soft-fp/fixdfsi.c: Likewise.
16650         * soft-fp/fixdfti.c: Likewise.
16651         * soft-fp/fixsfdi.c: Likewise.
16652         * soft-fp/fixsfsi.c: Likewise.
16653         * soft-fp/fixsfti.c: Likewise.
16654         * soft-fp/fixtfdi.c: Likewise.
16655         * soft-fp/fixtfsi.c: Likewise.
16656         * soft-fp/fixtfti.c: Likewise.
16657         * soft-fp/fixunsdfdi.c: Likewise.
16658         * soft-fp/fixunsdfsi.c: Likewise.
16659         * soft-fp/fixunsdfti.c: Likewise.
16660         * soft-fp/fixunssfdi.c: Likewise.
16661         * soft-fp/fixunssfsi.c: Likewise.
16662         * soft-fp/fixunssfti.c: Likewise.
16663         * soft-fp/fixunstfdi.c: Likewise.
16664         * soft-fp/fixunstfsi.c: Likewise.
16665         * soft-fp/fixunstfti.c: Likewise.
16666         * soft-fp/floatdidf.c: Likewise.
16667         * soft-fp/floatdisf.c: Likewise.
16668         * soft-fp/floatditf.c: Likewise.
16669         * soft-fp/floatsidf.c: Likewise.
16670         * soft-fp/floatsisf.c: Likewise.
16671         * soft-fp/floatsitf.c: Likewise.
16672         * soft-fp/floattidf.c: Likewise.
16673         * soft-fp/floattisf.c: Likewise.
16674         * soft-fp/floattitf.c: Likewise.
16675         * soft-fp/floatundidf.c: Likewise.
16676         * soft-fp/floatundisf.c: Likewise.
16677         * soft-fp/floatunditf.c: Likewise.
16678         * soft-fp/floatunsidf.c: Likewise.
16679         * soft-fp/floatunsisf.c: Likewise.
16680         * soft-fp/floatunsitf.c: Likewise.
16681         * soft-fp/floatuntidf.c: Likewise.
16682         * soft-fp/floatuntisf.c: Likewise.
16683         * soft-fp/floatuntitf.c: Likewise.
16684         * soft-fp/fmadf4.c: Likewise.
16685         * soft-fp/fmasf4.c: Likewise.
16686         * soft-fp/fmatf4.c: Likewise.
16687         * soft-fp/gedf2.c: Likewise.
16688         * soft-fp/gesf2.c: Likewise.
16689         * soft-fp/getf2.c: Likewise.
16690         * soft-fp/ledf2.c: Likewise.
16691         * soft-fp/lesf2.c: Likewise.
16692         * soft-fp/letf2.c: Likewise.
16693         * soft-fp/muldf3.c: Likewise.
16694         * soft-fp/mulsf3.c: Likewise.
16695         * soft-fp/multf3.c: Likewise.
16696         * soft-fp/negdf2.c: Likewise.
16697         * soft-fp/negsf2.c: Likewise.
16698         * soft-fp/negtf2.c: Likewise.
16699         * soft-fp/op-1.h: Likewise.
16700         * soft-fp/op-2.h: Likewise.
16701         * soft-fp/op-4.h: Likewise.
16702         * soft-fp/op-8.h: Likewise.
16703         * soft-fp/op-common.h: Likewise.
16704         * soft-fp/quad.h: Likewise.
16705         * soft-fp/single.h: Likewise.
16706         * soft-fp/soft-fp.h: Likewise.
16707         * soft-fp/sqrtdf2.c: Likewise.
16708         * soft-fp/sqrtsf2.c: Likewise.
16709         * soft-fp/sqrttf2.c: Likewise.
16710         * soft-fp/subdf3.c: Likewise.
16711         * soft-fp/subsf3.c: Likewise.
16712         * soft-fp/subtf3.c: Likewise.
16713         * soft-fp/truncdfsf2.c: Likewise.
16714         * soft-fp/trunctfdf2.c: Likewise.
16715         * soft-fp/trunctfsf2.c: Likewise.
16716         * soft-fp/trunctfxf2.c: Likewise.
16717         * soft-fp/unorddf2.c: Likewise.
16718         * soft-fp/unordsf2.c: Likewise.
16719         * soft-fp/unordtf2.c: Likewise.
16720
16721 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16722
16723         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16724         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16725
16726 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16727
16728         * elf/dl-libc.c: Clear initfini list after freeing.
16729
16730 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16731
16732         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16733         * soft-fp/addsf3.c: Likewise.
16734         * soft-fp/addtf3.c: Likewise.
16735         * soft-fp/divdf3.c: Likewise.
16736         * soft-fp/divsf3.c: Likewise.
16737         * soft-fp/divtf3.c: Likewise.
16738         * soft-fp/double.h: Likewise.
16739         * soft-fp/eqdf2.c: Likewise.
16740         * soft-fp/eqsf2.c: Likewise.
16741         * soft-fp/eqtf2.c: Likewise.
16742         * soft-fp/extenddftf2.c: Likewise.
16743         * soft-fp/extended.h: Likewise.
16744         * soft-fp/extendsfdf2.c: Likewise.
16745         * soft-fp/extendsftf2.c: Likewise.
16746         * soft-fp/extendxftf2.c: Likewise.
16747         * soft-fp/fixdfdi.c: Likewise.
16748         * soft-fp/fixdfsi.c: Likewise.
16749         * soft-fp/fixdfti.c: Likewise.
16750         * soft-fp/fixsfdi.c: Likewise.
16751         * soft-fp/fixsfsi.c: Likewise.
16752         * soft-fp/fixsfti.c: Likewise.
16753         * soft-fp/fixtfdi.c: Likewise.
16754         * soft-fp/fixtfsi.c: Likewise.
16755         * soft-fp/fixtfti.c: Likewise.
16756         * soft-fp/fixunsdfdi.c: Likewise.
16757         * soft-fp/fixunsdfsi.c: Likewise.
16758         * soft-fp/fixunsdfti.c: Likewise.
16759         * soft-fp/fixunssfdi.c: Likewise.
16760         * soft-fp/fixunssfsi.c: Likewise.
16761         * soft-fp/fixunssfti.c: Likewise.
16762         * soft-fp/fixunstfdi.c: Likewise.
16763         * soft-fp/fixunstfsi.c: Likewise.
16764         * soft-fp/fixunstfti.c: Likewise.
16765         * soft-fp/floatdidf.c: Likewise.
16766         * soft-fp/floatdisf.c: Likewise.
16767         * soft-fp/floatditf.c: Likewise.
16768         * soft-fp/floatsidf.c: Likewise.
16769         * soft-fp/floatsisf.c: Likewise.
16770         * soft-fp/floatsitf.c: Likewise.
16771         * soft-fp/floattidf.c: Likewise.
16772         * soft-fp/floattisf.c: Likewise.
16773         * soft-fp/floattitf.c: Likewise.
16774         * soft-fp/floatundidf.c: Likewise.
16775         * soft-fp/floatundisf.c: Likewise.
16776         * soft-fp/floatunsidf.c: Likewise.
16777         * soft-fp/floatunsisf.c: Likewise.
16778         * soft-fp/floatuntidf.c: Likewise.
16779         * soft-fp/floatuntisf.c: Likewise.
16780         * soft-fp/floatuntitf.c: Likewise.
16781         * soft-fp/fmadf4.c: Likewise.
16782         * soft-fp/fmasf4.c: Likewise.
16783         * soft-fp/fmatf4.c: Likewise.
16784         * soft-fp/gedf2.c: Likewise.
16785         * soft-fp/gesf2.c: Likewise.
16786         * soft-fp/getf2.c: Likewise.
16787         * soft-fp/ledf2.c: Likewise.
16788         * soft-fp/lesf2.c: Likewise.
16789         * soft-fp/letf2.c: Likewise.
16790         * soft-fp/muldf3.c: Likewise.
16791         * soft-fp/mulsf3.c: Likewise.
16792         * soft-fp/multf3.c: Likewise.
16793         * soft-fp/negdf2.c: Likewise.
16794         * soft-fp/negsf2.c: Likewise.
16795         * soft-fp/negtf2.c: Likewise.
16796         * soft-fp/op-1.h: Likewise.
16797         * soft-fp/op-2.h: Likewise.
16798         * soft-fp/op-4.h: Likewise.
16799         * soft-fp/op-8.h: Likewise.
16800         * soft-fp/op-common.h: Likewise.
16801         * soft-fp/quad.h: Likewise.
16802         * soft-fp/single.h: Likewise.
16803         * soft-fp/soft-fp.h: Likewise.
16804         * soft-fp/sqrtdf2.c: Likewise.
16805         * soft-fp/sqrtsf2.c: Likewise.
16806         * soft-fp/sqrttf2.c: Likewise.
16807         * soft-fp/subdf3.c: Likewise.
16808         * soft-fp/subsf3.c: Likewise.
16809         * soft-fp/subtf3.c: Likewise.
16810         * soft-fp/truncdfsf2.c: Likewise.
16811         * soft-fp/trunctfdf2.c: Likewise.
16812         * soft-fp/trunctfsf2.c: Likewise.
16813         * soft-fp/trunctfxf2.c: Likewise.
16814         * soft-fp/unorddf2.c: Likewise.
16815         * soft-fp/unordsf2.c: Likewise.
16816         * soft-fp/unordtf2.c: Likewise.
16817
16818 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16819
16820         [BZ #15672]
16821         * misc/error.c (error_tail): Fix possible buffer overflow.
16822
16823 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16824
16825         [BZ #13028]
16826         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16827         address.
16828
16829 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16830
16831         [BZ #832]
16832         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16833         testing pipefail option.
16834
16835 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16836
16837         * soft-fp/double.h: Indent preprocessor directives inside #if.
16838         * soft-fp/extended.h: Likewise.
16839         * soft-fp/op-2.h: Likewise.
16840         * soft-fp/op-4.h: Likewise.
16841         * soft-fp/op-common.h: Likewise.
16842         * soft-fp/quad.h: Likewise.
16843         * soft-fp/single.h: Likewise.
16844         * soft-fp/soft-fp.h: Likewise.
16845
16846 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16847
16848         * iconv/iconv_prog.c: Fix typos.
16849         * stdio-common/psiginfo-data.h: Likewise.
16850
16851 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16852
16853         [BZ #15764]
16854         * locale/setlocale.c: Fix typo.
16855
16856 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16857
16858         [BZ #16036]
16859         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16860         signaling NaN arguments.
16861         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16862         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16863
16864         [BZ #14910]
16865         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16866         unordered operands.
16867         * soft-fp/gesf2.c (__gesf2): Likewise.
16868         * soft-fp/getf2.c (__getf2): Likewise.
16869         * soft-fp/ledf2.c (__ledf2): Likewise.
16870         * soft-fp/lesf2.c (__lesf2): Likewise.
16871         * soft-fp/letf2.c (__letf2): Likewise.
16872
16873         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16874         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16875         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16876         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16877         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16878         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16879         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16880         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16881         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16882         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16883         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16884         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16885         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16886         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16887         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16888         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16889         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16890         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16891         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16892         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16893         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16894         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16895         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16896         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16897         * soft-fp/floattidf.c (__floattidf): Likewise.
16898         * soft-fp/floattisf.c (__floattisf): Likewise.
16899         * soft-fp/floattitf.c (__floattitf): Likewise.
16900         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16901         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16902         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16903         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16904         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16905         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16906         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16907         * soft-fp/gesf2.c (__gesf2): Likewise.
16908         * soft-fp/getf2.c (__getf2): Likewise.
16909         * soft-fp/ledf2.c (__ledf2): Likewise.
16910         * soft-fp/lesf2.c (__lesf2): Likewise.
16911         * soft-fp/letf2.c (__letf2): Likewise.
16912
16913         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16914         Undefine and redefine.
16915         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16916         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16917         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16918         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16919         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16920         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16921         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16922         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16923         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16924         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16925         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16926         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16927         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16928         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16929         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16930
16931         [BZ #16032]
16932         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16933         without decrementing exponent if mantissa >= that for the
16934         denominator, not >.
16935         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16936         denominator, not >.  Decrement exponent in < case instead of
16937         incrementing in >= case.
16938         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16939         without decrementing exponent if mantissa >= that for the
16940         denominator, not >.
16941
16942         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16943         computing saturated result for unsigned overflow.
16944
16945 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16946             Jeff Law  <law@redhat.com>
16947
16948         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16949         (atan2Mp): Add systemtap probe marker.
16950         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16951         (__ieee754_log): Add systemtap probe marker.
16952         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16953         (atanMp): Add systemtap probe marker.
16954         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16955         (tanMp): Add systemtap probe marker.
16956         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16957         (__slowexp): Add systemtap probe marker.
16958         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16959         (__slowpow): Add systemtap probe marker.
16960         * manual/probes.texi: Document probes.
16961
16962 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16963
16964         [BZ #15362]
16965         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16966         written.
16967         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16968         written.
16969         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16970         written to buffer but not flushed.
16971         * libio/iofwrite_u.c:  Likewise.
16972         * libio/iopadn.c:  Return bytes returned even if EOF was
16973         encountered.
16974         * libio/iowpadn.c:  Likewise.
16975         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16976         if _IO_padn does not write the whole buffer.
16977         [!COMPILE_WPRINTF] (PAD): Likewise.
16978
16979 2013-10-10  David S. Miller  <davem@davemloft.net>
16980
16981         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16982         directory block.
16983
16984 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16985
16986         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16987         instead of FSF address.
16988         * soft-fp/fixdfti.c: Likewise.
16989         * soft-fp/fixsfti.c: Likewise.
16990         * soft-fp/fixtfti.c: Likewise.
16991         * soft-fp/fixunsdfti.c: Likewise.
16992         * soft-fp/fixunssfti.c: Likewise.
16993         * soft-fp/fixunstfti.c: Likewise.
16994         * soft-fp/floattidf.c: Likewise.
16995         * soft-fp/floattisf.c: Likewise.
16996         * soft-fp/floattitf.c: Likewise.
16997         * soft-fp/floatuntidf.c: Likewise.
16998         * soft-fp/floatuntisf.c: Likewise.
16999         * soft-fp/floatuntitf.c: Likewise.
17000         * soft-fp/trunctfxf2.c: Likewise.
17001
17002         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
17003         * soft-fp/fixdfti.c: Likewise.
17004         * soft-fp/fixsfti.c: Likewise.
17005         * soft-fp/fixtfti.c: Likewise.
17006         * soft-fp/fixunsdfti.c: Likewise.
17007         * soft-fp/fixunssfti.c: Likewise.
17008         * soft-fp/fixunstfti.c: Likewise.
17009         * soft-fp/floattidf.c: Likewise.
17010         * soft-fp/floattisf.c: Likewise.
17011         * soft-fp/floattitf.c: Likewise.
17012         * soft-fp/floatuntidf.c: Likewise.
17013         * soft-fp/floatuntisf.c: Likewise.
17014         * soft-fp/floatuntitf.c: Likewise.
17015         * soft-fp/trunctfxf2.c: Likewise.
17016
17017 2013-10-10  David S. Miller  <davem@davemloft.net>
17018
17019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17020
17021 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
17022
17023         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17024         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17025         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17026         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17027         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17028         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17029         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17030
17031         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17032         for NaNs before doing comparisons on argument.
17033         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17034         Likewise.
17035
17036 2013-10-10  Will Newton  <will.newton@linaro.org>
17037
17038         * malloc/hooks.c (memalign_check): Ensure the value of bytes
17039         passed to _int_memalign does not overflow.
17040
17041 2013-10-10  Torvald Riegel  <triegel@redhat.com>
17042
17043         * scripts/bench.pl: Add include-sources directive.
17044         * benchtests/README: Update documentation.
17045
17046 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17047
17048         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17049         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17050         instead of FP_INIT_ROUNDMODE.
17051         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17052         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17053
17054         [BZ #16034]
17055         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
17056         copy class of input value.
17057         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
17058         not handle exceptions.
17059         * soft-fp/negsf2.c (__negsf2): Likewise.
17060         * soft-fp/negtf2.c (__negtf2): Likewise.
17061         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17062
17063 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
17064
17065         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17066         semicolon.  From Linux kernel.
17067
17068 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
17069
17070         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17071
17072 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
17073
17074         [BZ #156]
17075         * manual/socket.texi: Added statement about buffer
17076         for gethostbyname2_r.
17077
17078 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
17079
17080         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17081         Use .p2align directive instead, throughout.
17082         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17083         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17084         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17085         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17086         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17087         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17088         * sysdeps/x86_64/strchr.S: Likewise.
17089         * sysdeps/x86_64/strrchr.S: Likewise.
17090
17091 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17092
17093         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17094
17095         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17096
17097         * sysdeps/generic/math_private.h (__mpsin1): Remove
17098         declaration.
17099         (__mpcos1): Likewise.
17100         (__mpsin): New argument __range_reduce.
17101         (__mpcos): Likewise.
17102         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17103         (slow): Use __mpsin and __mpcos.
17104         (slow1): Likewise.
17105         (slow2): Likewise.
17106         (sloww): Likewise.
17107         (sloww1): Likewise.
17108         (sloww2): Likewise.
17109         (bsloww): Likewise.
17110         (bsloww1): Likewise.
17111         (bsloww2): Likewise.
17112         (cslow2): Likewise.
17113         (csloww): Likewise.
17114         (csloww1): Likewise.
17115         (csloww2): Likewise.
17116         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17117         range_reduce.  Merge in __mpsin1.
17118         (__mpcos): Likewise.
17119         (__mpsin1): Remove.
17120         (__mpcos1): Likewise.
17121
17122 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
17123
17124         * locale/loadlocale.c (_nl_intern_locale_data): Use
17125         LOCFILE_ALIGNED_P.
17126         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17127         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17128         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17129         obstack data is appropriately aligned.
17130         (obstack_int32_grow_fast): Likewise.
17131         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17132         * locale/programs/locfile.c (add_locale_uint32): Likewise.
17133         (add_locale_uint32_array): Likewise.
17134
17135 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17136
17137         * benchtests/Makefile: Remove ARGLIST and RET variables.
17138         ($(objpfx)bench-%.c): Pass only function name to the script.
17139         * benchtests/README: Update documentation.
17140         * benchtests/acos-inputs: Add new directives.
17141         * benchtests/acosh-inputs: Likewise.
17142         * benchtests/asin-inputs: Likewise.
17143         * benchtests/asinh-inputs: Likewise.
17144         * benchtests/atan-inputs: Likewise.
17145         * benchtests/atanh-inputs: Likewise.
17146         * benchtests/cos-inputs: Likewise.
17147         * benchtests/cosh-inputs: Likewise.
17148         * benchtests/exp-inputs: Likewise.
17149         * benchtests/log-inputs: Likewise.
17150         * benchtests/pow-inputs: Likewise.
17151         * benchtests/rint-inputs: Likewise.
17152         * benchtests/sin-inputs: Likewise.
17153         * benchtests/sinh-inputs: Likewise.
17154         * benchtests/tan-inputs: Likewise.
17155         * benchtests/tanh-inputs: Likewise.
17156         * scripts/bench.pl: Add support for new directives.
17157
17158 2013-10-07  Alan Modra  <amodra@gmail.com>
17159
17160         * README: Fix careless merge.
17161
17162 2013-10-05  Alan Modra  <amodra@gmail.com>
17163
17164         * NEWS: Mention powerpc64le support and bugs fixed.
17165         * README: Both big-endian and little-endian powerpc64 supported.
17166
17167 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17168
17169         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17170         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17171         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17172         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17173
17174 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
17175
17176         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17177         match prototype.
17178
17179 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
17180
17181         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17182         Move -mhard-float appending from
17183         ports/sysdeps/powerpc/powerpc32/Makefile.
17184         [$(with-fp) = yes] (ASFLAGS): Likewise.
17185         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17186         * sysdeps/powerpc/nofpu: Move directory from
17187         ports/sysdeps/powerpc/nofpu.
17188         * sysdeps/powerpc/soft-fp: Move directory from
17189         ports/sysdeps/powerpc/soft-fp.
17190         * sysdeps/powerpc/powerpc32/405: Move directory from
17191         ports/sysdeps/powerpc/powerpc32/405.
17192         * sysdeps/powerpc/powerpc32/440: Move directory from
17193         ports/sysdeps/powerpc/powerpc32/440.
17194         * sysdeps/powerpc/powerpc32/464: Move directory from
17195         ports/sysdeps/powerpc/powerpc32/464.
17196         * sysdeps/powerpc/powerpc32/476: Move directory from
17197         ports/sysdeps/powerpc/powerpc32/476.
17198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17199         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17201         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17203         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17205         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17207         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17208         * README: Update for powerpc-*-linux-gnu software floating point
17209         support in libc.
17210
17211         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17212         case to powerpc/powerpc32*.
17213         * sysdeps/unix/sysv/linux/configure: Regenerated.
17214
17215         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17216         (_FPU_MASK_OM): Define as 0x04.
17217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17219         0x00c10080.
17220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17221         0x0000003c.
17222         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17223
17224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17225         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17226         getcontext_e500.
17227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17228         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17229         setcontext_e500.
17230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17231         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17232         and setcontext_e500.
17233
17234 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
17235
17236         * locale/iso-3166.def: Update iso-1366.def and related occurrences
17237
17238 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17239
17240         * manual/threads.texi (Default Thread Attributes): Fix typo.
17241
17242 2013-10-04  Will Newton  <will.newton@linaro.org>
17243
17244         * malloc/Makefile: Add tst-memalign.
17245         * malloc/tst-memalign.c: New file.
17246
17247         * malloc/tst-posix_memalign.c: Add comments.
17248         (do_test): Add comments and call free on all potentially
17249         allocated pointers. Add space after cast.
17250
17251         * malloc/tst-pvalloc.c: Add comments.
17252         (do_test): Add comments and call free on all potentially
17253         allocated pointers. Remove duplicate check for NULL pointer.
17254         Add space after cast.
17255
17256         * malloc/tst-valloc.c: Add comments.
17257         (do_test): Add comments and call free on all potentially
17258         allocated pointers. Remove duplicate check for NULL pointer.
17259         Add space after cast.
17260
17261 2013-10-04  Alan Modra  <amodra@gmail.com>
17262
17263         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17264         Use stdint types in rather than __attribute__((mode())).
17265         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17266
17267 2013-10-04  Alan Modra  <amodra@gmail.com>
17268
17269         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17270         Correct handling of unaligned relocs for little-endian.
17271         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17272
17273 2013-10-04  Alan Modra  <amodra@gmail.com>
17274
17275         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17276         * configure: Regenerate.
17277         * nptl/shlib-versions: Powerpc*le starts at 2.18.
17278         * shlib-versions: Likewise.
17279
17280 2013-10-04  Alan Modra  <amodra@gmail.com>
17281
17282         * string/tester.c (test_memrchr): Increment reported test cycle.
17283
17284 2013-10-04  Alan Modra  <amodra@gmail.com>
17285
17286         * string/test-memcpy.c (do_one_test): When reporting errors, print
17287         string address and don't overrun end of string.
17288
17289 2013-10-04  Alan Modra  <amodra@gmail.com>
17290
17291         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17292         insrdi.  Make better use of reg selection to speed exit slightly.
17293         Schedule entry path a little better.  Remove useless "are we done"
17294         checks on entry to main loop.  Handle wrapping around zero address.
17295         Correct main loop count.  Handle single left-over word from main
17296         loop inline rather than by using loop_small.  Remove extra word
17297         case in loop_small caused by wrong loop count.  Add little-endian
17298         support.
17299         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17300         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
17301         cache hint.
17302         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17303         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17304         support.  Avoid rlwimi.
17305         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17306
17307 2013-10-04  Alan Modra  <amodra@gmail.com>
17308
17309         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17310         insrdi.  Formatting.
17311         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17312         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17313         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17314         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17315         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17316         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17317
17318 2013-10-04  Alan Modra  <amodra@gmail.com>
17319
17320         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17321         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17322         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17323         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17324         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17325         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17326         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17327         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17328         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
17329         use of regs.  Use power7 mtocrf.  Tidy function tails.
17330
17331 2013-10-04  Alan Modra  <amodra@gmail.com>
17332
17333         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17334         Formatting.  Consistently use rXXX register defines or rN defines.
17335         Use early exit labels that avoid restoring unused non-volatile regs.
17336         Make cr field use more consistent with rWORDn compares.  Rename
17337         regs used as shift registers for unaligned loop, using rN defines
17338         for short lifetime/multiple use regs.
17339         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17340         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
17341         addi 1,1,64 to pop stack frame.  Simplify return value code.
17342         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17343
17344 2013-10-04  Alan Modra  <amodra@gmail.com>
17345
17346         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17347         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
17348         rather than rlwimi.
17349         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17350         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17351         little-endian support.  Correct typos.
17352         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
17353         rather than rlwimi.
17354         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
17355         in loop and entry code to keep "and." results.
17356         (strchr): Add little-endian support.  Comment.  Move cntlzd
17357         earlier in tail.
17358         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17359
17360 2013-10-04  Alan Modra  <amodra@gmail.com>
17361
17362         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17363         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17364         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17365         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17366
17367 2013-10-04  Alan Modra  <amodra@gmail.com>
17368
17369         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17370         (rTMP): Define as r11.
17371         (strcmp): Add little-endian support.  Optimise tail.
17372         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17373         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17374         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17375         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17376         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17377         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17378         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17379
17380 2013-10-04  Alan Modra  <amodra@gmail.com>
17381
17382         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17383         little-endian support.  Remove unnecessary "are we done" tests.
17384         Handle "s" wrapping around zero and extremely large "size".
17385         Correct main loop count.  Handle single left-over word from main
17386         loop inline rather than by using small_loop.  Correct comments.
17387         Delete "zero" tail, use "end_max" instead.
17388         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17389
17390 2013-10-04  Alan Modra  <amodra@gmail.com>
17391
17392         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17393         support.  Don't branch over align.
17394         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17395         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17396         support.  Rearrange tmp reg use to suit.  Comment.
17397         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17398
17399 2013-10-04  Alan Modra  <amodra@gmail.com>
17400
17401         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17402
17403 2013-10-04  Alan Modra  <amodra@gmail.com>
17404
17405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17406         conditional form of branch and link when obtaining pc.
17407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17408
17409 2013-10-04  Alan Modra  <amodra@gmail.com>
17410
17411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17412         HIWORD/LOWORD.
17413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17415
17416 2013-10-04  Alan Modra  <amodra@gmail.com>
17417
17418         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17419         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17420         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17421         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17422         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17423         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17424         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17425         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17426         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17427         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17428
17429 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17430             Alistair Popple <alistair@ozlabs.au.ibm.com>
17431             Alan Modra <amodra@gmail.com>
17432
17433         [BZ #15723]
17434         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17435         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17436         _dl_hwcap access for little-endian.
17437         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17438         destroy vmx regs when saving unaligned.
17439         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17440         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17441         destroy vmx regs when saving unaligned.
17442
17443 2013-10-04  Alan Modra  <amodra@gmail.com>
17444
17445         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17446         Don't use a union to pack hi/low value.
17447
17448 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17449
17450         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17451         for little-endian.
17452         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17453         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17454         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17455         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17456         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17457
17458 2013-10-04  Alan Modra  <amodra@gmail.com>
17459
17460         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17461         constants to usual value for .cst8 section, and remove redundant
17462         high address load.
17463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17464         constant for 0x1p52.  Load little-endian words of double from
17465         correct stack offsets.
17466
17467 2013-10-04  Alan Modra  <amodra@gmail.com>
17468
17469         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17470         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17471         words of double from correct stack offsets.
17472         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17473         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17474         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17475         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17476         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17477         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17478         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17479         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17480         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17481         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17482         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17483         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17484         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17485         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17486         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17487         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17488         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17489
17490 2013-10-04  Alan Modra  <amodra@gmail.com>
17491
17492         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17493         64-bit int/double union.
17494         (_FPU_SETCW): Likewise.
17495         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17496         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17497
17498 2013-10-04  Alan Modra  <amodra@gmail.com>
17499
17500         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17501         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17502
17503 2013-10-04  Alan Modra  <amodra@gmail.com>
17504
17505         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17506         use vector int constants.
17507         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17508
17509 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17510
17511         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17512         array with long long.
17513         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17514         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17515         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17516         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17517         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17518         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17519         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17520         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17521         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17522         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17523         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17524         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17525         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17526
17527 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17528
17529         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17530         (__signbit): Likewise.  Correct for little-endian.
17531         (__signbitl): Call __signbit.
17532         (lrint): Correct for little-endian.
17533         (lrintf): Call lrint.
17534
17535 2013-10-04  Alan Modra  <amodra@gmail.com>
17536
17537         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17538         union 32-bit int array member with 64-bit int array.
17539         (t515, tm256): Double rather than long double.
17540         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17541
17542 2013-10-04  Alan Modra  <amodra@gmail.com>
17543
17544         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17545         Delete.
17546         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17548         version of math_ldbl.h.
17549
17550 2013-10-04  Alan Modra  <amodra@gmail.com>
17551
17552         [BZ #15734], [BZ #15735]
17553         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17554         all uses of ieee875 long double macros and unions.  Simplify test
17555         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17556         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17557         normalize after ldbl_extract_mantissa, and don't add hidden bit
17558         already handled.  Don't treat low word of ieee854 mantissa like
17559         low word of IBM long double and mask off bit when testing for
17560         zero.
17561         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17562         all uses of ieee875 long double macros and unions.  Simplify tests
17563         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17564         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17565         two1022, instead use their values.  Recognise that tests for large
17566         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17567         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17568         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17569         test for 0.0L and nan.  Correct negation.
17570         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17571         ieee875 long double macros and unions.  Correct output for large
17572         magnitude x.  Correct absolute value calculation.
17573         (__erfcl): Likewise.
17574         * math/libm-test.inc: Add tests for errors discovered in IBM long
17575         double versions of fmodl, remainderl, erfl and erfcl.
17576
17577 2013-10-04  Alan Modra  <amodra@gmail.com>
17578
17579         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17580         all uses of ieee854 long double macros and unions.  Simplify tests
17581         for long doubles that are fully specified by the high double.
17582         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17583         Likewise.
17584         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17585         Remove dead code too.
17586         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17587         (__ieee754_ynl): Likewise.
17588         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17589         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17590         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17591         Remove dead code too.
17592         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17593         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17594         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17595         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17596         Simplify.
17597         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17598         Simplify.
17599         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17600         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17601         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17602         Comment on variable precision.
17603         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17604         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17605         Likewise.
17606         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17607         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17608         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17609         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17610         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17611
17612 2013-10-04  Alan Modra  <amodra@gmail.com>
17613
17614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17615         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17616         all uses of ieee854 long double macros and unions.
17617         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17619         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17620         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17621         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17622         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17623         Likewise.
17624         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17625         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17627         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17628         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17629         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17630         Simplify sign and nan test too.
17631         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17632         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17633         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17634         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17635         Likewise.
17636         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17637         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17638         Likewise.
17639         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17640         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17641         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17642         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17643         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17644         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17645
17646 2013-10-04  Alan Modra  <amodra@gmail.com>
17647
17648         * stdio-common/printf_size.c (__printf_size): Don't use
17649         union ieee854_long_double in fpnum union.
17650         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17651         signbit macro to retrieve sign from long double.
17652         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17653         retrieve sign from long double.
17654         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17655         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17656         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17657         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17658         * math/test-misc.c (main): Don't use union ieee854_long_double.
17659
17660 2013-10-04  Alan Modra  <amodra@gmail.com>
17661
17662         [BZ #15680]
17663         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17664         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17665         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17666         calculation.  Remove unnecessary test for denormal exponent.
17667         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17668         Correct handling of denormals.  Avoid undefined shift behaviour.
17669         Correct normalisation of low mantissa when low double is denormal.
17670         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17671         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17672         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17673         Correct normalisation of low mantissa.  Test for overflow of high
17674         mantissa and normalise.
17675         (ldbl_nearbyint): Use more readable constant for two52.
17676         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17677         (__mpn_construct_long_double): Fix test for overflow of high
17678         mantissa and correct normalisation.  Avoid undefined shift.
17679
17680 2013-10-04  Alan Modra  <amodra@gmail.com>
17681
17682         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17683         (union ibm_extended_long_double): Define as an array of ieee754_double.
17684         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17685         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17686         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17687         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17688         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17689         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17690         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17691         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17692         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17693         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17694         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17695
17696 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17697
17698         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17699         page size instead of calling getpagesize.
17700
17701         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17702         (LOCFILE_ALIGN_MASK): Likewise.
17703         (LOCFILE_ALIGN_UP): Likewise.
17704         (LOCFILE_ALIGNED_P): Likewise.
17705         * locale/programs/ld-collate.c (collate_output): Use the new
17706         macros instead of __alignof__ (int32_t).
17707         * locale/weight.h (findidx): Likewise.
17708
17709 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17710
17711         [BZ #431]
17712         * manual/string.texi: Fix strncat and wcsncat.
17713
17714 2013-10-03  Brooks Moses  <bmoses@google.com>
17715
17716         [BZ #15915]
17717         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17718         * Makerules: ...here, and adjust associated comments.
17719
17720 2013-10-02  Will Newton  <will.newton@linaro.org>
17721
17722         * malloc/Makefile: Add tst-pvalloc.
17723         * malloc/tst-pvalloc.c: New file.
17724
17725 2013-10-02  Will Newton  <will.newton@linaro.org>
17726
17727         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17728         improve test coverage.
17729
17730 2013-10-02  Will Newton  <will.newton@linaro.org>
17731
17732         * malloc/Makefile: Add tst-posix_memalign.
17733         * malloc/tst-posix_memalign.c: New file.
17734
17735 2013-10-01  Eric Blake  <eblake@redhat.com>
17736
17737         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17738         Use __THROWNL rather than __THROW on static functions.
17739
17740 2013-09-30  Petr Machata  <pmachata@redhat.com>
17741
17742         * elf/elf.h (R_AARCH64_ABS16): New macro.
17743         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17744         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17745         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17746         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17747         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17748         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17749         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17750         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17751         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17752         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17753         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17754         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17755         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17756         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17757         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17758         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17759         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17760         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17761         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17762         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17763         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17764         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17765         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17766         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17767         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17768         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17769         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17770         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17771         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17772         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17773         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17774         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17775         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17776         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17777         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17778         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17779         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17780         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17781         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17782         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17783         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17784         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17785         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17786         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17787         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17788         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17789         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17790         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17791         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17792         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17793         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17794         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17795         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17796         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17797         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17798         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17799         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17800         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17801         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17802         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17803         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17804         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17805         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17806         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17807         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17808         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17809         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17810         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17811         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17812         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17813         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17814         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17815         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17816         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17817         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17818         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17819         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17820         (R_AARCH64_TLSDESC_LDR): Likewise.
17821         (R_AARCH64_TLSDESC_ADD): Likewise.
17822         (R_AARCH64_TLSDESC_CALL): Likewise.
17823
17824 2013-09-30  Andreas Schwab  <schwab@suse.de>
17825
17826         [BZ #15048]
17827         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17828         the nss database lookup.
17829         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17831
17832 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17833
17834         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17835
17836 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17837
17838         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17839         ${Bash-specific parameter/pattern/string} parameter expansion.
17840         * sysdeps/unix/make-syscalls.sh: Likewise.
17841
17842 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17843
17844         * sysdeps/sh/stackguard-macros.h: New file.
17845
17846 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17847
17848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17850         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17851         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17852         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17853         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17854
17855 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17856
17857         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17858         Fix thread ID register.
17859
17860 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17861
17862         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17863         [POSIX || UNIX98]: Require rather than permitting all symbols from
17864         <time.h>.
17865         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17866         element of struct sched_param.
17867         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17868         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17869         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17870         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17871         constant.
17872
17873 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17874
17875         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17876         argument calculation.
17877
17878 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17879
17880         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17881         Expect macro.
17882         [POSIX] (pthread_attr_t): Do not require type.
17883         [POSIX] (pthread_cond_t): Likewise.
17884         [POSIX] (pthread_condattr_t): Likewise.
17885         [POSIX] (pthread_key_t): Likewise.
17886         [POSIX] (pthread_mutex_t): Likewise.
17887         [POSIX] (pthread_mutexattr_t): Likewise.
17888         [POSIX] (pthread_once_t): Likewise.
17889         [POSIX] (pthread_t): Likewise.
17890         [POSIX-based standards] (pthread_atfork): Expect function.
17891
17892 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17893             Richard Sandiford  <richard@codesourcery.com>
17894
17895         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17896         (swap_endianness_p): New extern variable.
17897         (set_big_endian): New inline function.
17898         (maybe_swap_uint32): Likewise.
17899         (maybe_swap_uint32_array): Likewise.
17900         (maybe_swap_uint32_obstack): Likewise.
17901         * locale/programs/locfile.c: Include <stdbool.h>.
17902         (swap_endianness_p): New variable.
17903         (add_locale_uint32): Call maybe_swap_uint32.
17904         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17905         (write_locale_data): Call maybe_swap_uint32_array.
17906         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17907         maybe_swap_uint32.
17908         (obstack_int32_grow_fast): Likewise.
17909         (output_weightwc): Call maybe_swap_uint32_obstack.
17910         (collate_output): Likewise.
17911         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17912         (OPT_LITTLE_ENDIAN): Likewise.
17913         (options): Add --little-endian and --big-endian options.
17914         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17915         * locale/programs/locarchive.c: Include "locfile.h".
17916         (GET): New macro.
17917         (SET): Likewise.
17918         (INC): Likewise.
17919         (create_archive): Use the new macros to access fields of
17920         structures directly mapped from or written to locale archives.
17921         (oldlocrecentcmp): Likewise.
17922         (enlarge_archive): Likewise.
17923         (insert_name): Likewise.
17924         (add_alias): Likewise.
17925         (add_locale): Likewise.
17926         (delete_locales_from_archive): Likewise.
17927         (show_archive_content): Likewise.
17928         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17929         locale data.
17930
17931 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17932
17933         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17934         http://www.gnu.org/doc/freemanuals.texi.
17935         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17936
17937 2013-09-24  Will Newton  <will.newton@linaro.org>
17938
17939         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17940         macro.
17941
17942 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17943
17944         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17945         unsigned char.
17946
17947 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17948
17949         * manual/threads.texi (POSIX Threads): Fix a typo.
17950
17951 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17952
17953         [BZ #14547]
17954         * string/tst-strcoll-overflow.c: New test case.
17955         * string/Makefile (xtests): Add tst-strcoll-overflow.
17956         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17957         cache if string sizes may cause integer overflow.
17958
17959         [BZ #14547]
17960         * string/strcoll_l.c (coll_seq): New members rule, idx,
17961         save_idx and back_us.
17962         (get_next_seq_nocache): New function.
17963         (do_compare_nocache): New function.
17964         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17965         when malloc fails.
17966
17967 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17968
17969         [BZ #15754]
17970         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17971         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17972         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17973
17974         [BZ #15754]
17975         * elf/Makefile (tests): Add tst-ptrguard1.
17976         (tests-static): Add tst-ptrguard1-static.
17977         (tst-ptrguard1-ARGS): Define.
17978         (tst-ptrguard1-static-ARGS): Define.
17979         * elf/tst-ptrguard1.c: New file.
17980         * elf/tst-ptrguard1-static.c: New file.
17981         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17982         * sysdeps/i386/stackguard-macros.h: Likewise.
17983         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17984         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17985         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17986         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17987         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17988         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17989
17990 2013-09-23  Hector Marco  <hecmargi@upv.es>
17991             Ismael Ripoll  <iripoll@disca.upv.es>
17992             Carlos O'Donell  <carlos@redhat.com>
17993
17994         [BZ #15754]
17995         * sysdeps/generic/stackguard-macros.h: Define
17996         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17997         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17998         Define __pointer_chk_guard_local.
17999         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18000         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18001
18002 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
18003
18004         [BZ #15859]
18005         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18006
18007 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
18008
18009         * include/string.h (__ffs): Declare as hidden.
18010         * string/ffs.c (__ffs): Define as hidden.
18011         * sysdeps/i386/ffs.c (__ffs): Likewise.
18012         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18013         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18014         * sysdeps/s390/ffs.c (__ffs): Likewise.
18015         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18016
18017 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
18018
18019         * NEWS: Mention malloc probes.
18020
18021         * malloc/arena.c (new_heap): New memory_heap_new probe.
18022         (grow_heap): New memory_heap_more probe.
18023         (shrink_heap): New memory_heap_less probe.
18024         (heap_trim): New memory_heap_free probe.
18025         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18026         (systrim): New memory_sbrk_less probe.
18027         * manual/probes.texi: Document them.
18028
18029         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18030         * manual/probes.texi: Document it.
18031
18032         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18033         (__libc_realloc): Add memory_realloc_retry probe.
18034         (__libc_memalign): Add memory_memalign_retry probe.
18035         (__libc_valloc): Add memory_valloc_retry probe.
18036         (__libc_pvalloc): Add memory_pvalloc_retry probe.
18037         (__libc_calloc): Add memory_calloc_retry probe.
18038         * manual/probes.texi: Document them.
18039
18040         * malloc/arena.c (get_free_list): Add probe
18041         memory_arena_reuse_free_list.
18042         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18043         and memory_arena_reuse.
18044         (arena_get2) [!PER_THREAD]: Likewise.
18045         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18046         memory_arena_reuse_realloc.
18047         * manual/probes.texi: Document them.
18048
18049         * malloc/malloc.c (__libc_free): Add
18050         memory_mallopt_free_dyn_thresholds probe.
18051         (__libc_mallopt): Add multiple memory_mallopt probes.
18052         * manual/probes.texi: Document them.
18053
18054         * malloc/malloc.c: Include stap-probe.h.
18055         (__libc_mallopt): Add memory_mallopt probe.
18056         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18057         * manual/probes.texi: New.
18058         * manual/Makefile (chapters): Add probes.
18059         * manual/threads.texi: Set next node.
18060
18061 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
18062
18063         [BZ #15963, #13985]
18064         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18065         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18066         Add `Chinese' to `nan' entry name.
18067
18068 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18069
18070         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18071         (POLYNOMIAL): Likewise.
18072         (TAYLOR_SINCOS): Likewise.
18073         (TAYLOR_SLOW): Likewise.
18074         (__sin): Use TAYLOR_SINCOS.
18075         (__cos): Likewise.
18076         (slow): Use TAYLOR_SLOW.
18077         (sloww): Likewise.
18078         (bsloww): Likewise.
18079         (csloww): Likewise.
18080
18081 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18082
18083         * stdlib/strtod_l.c: Fix buffer overrun.
18084
18085 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18086
18087         * benchtests/Makefile (bench): Add sincos.
18088         * benchtests/bench-sincos.c: New file.
18089
18090         * math/libm-test.inc (cos_test_data): New test inputs.
18091         (sin_test_data): Likewise.
18092
18093         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18094         macro.
18095         (__sin): Use it.
18096         (__cos): Likewise.
18097         (slow1): Likewise.
18098         (slow2): Likewise.
18099         (sloww1): Likewise.
18100         (sloww2): Likewise.
18101         (bsloww1): Likewise.
18102         (bsloww2): Likewise.
18103         (cslow2): Likewise.
18104         (csloww1): Likewise.
18105         (csloww2): Likewise.
18106
18107         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18108         function.
18109         (__sin): Use it.
18110         (__cos): Likewise.
18111
18112         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18113         gotos.
18114         (__cos): Likewise.
18115
18116 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
18117
18118         * config.h.in (HAVE_MIPS_NAN2008): New macro.
18119         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18120         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18121         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18122         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18123         * elf/cache.c (print_entry): Handle the new cache flags.
18124
18125 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18126             Aldy Hernandez  <aldyh@redhat.com>
18127
18128         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18129         Change condition to [_SOFT_FLOAT].
18130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18134         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18135         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18136         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18137         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18142         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18145         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18146         declaration.
18147
18148 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18149
18150         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18151         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18152         (__longjmp): Use LOAD_GP to load saved GPRs.
18153         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18154         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18155         (__sigsetjmp): Use SAVE_GP to save GPRs.
18156
18157         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18158         Do not append -msoft-float.
18159         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18160
18161 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18162
18163         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18164
18165 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
18166
18167         [BZ #15966]
18168         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18169         (_FPU_GETCW): Use initial "__" on variable and field names but not
18170         on macro parameter name.
18171         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
18172         parentheses around reference to macro parameter.
18173
18174 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
18175
18176         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18177         prototype.
18178         (ctype_startup): Use uint32_t in cast and sizeof for
18179         ctype->charnames.
18180
18181 2013-09-11  Jia Liu  <proljc@gmail.com>
18182
18183         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18184         __daddr_t_defined.
18185         [__FreeBSD__]: Likewise.
18186
18187 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
18188
18189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18190         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18191         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18192         (strchr): Remove __strchr_sse42 ifunc selection.
18193         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18194         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18195
18196 2013-09-11  Will Newton  <will.newton@linaro.org>
18197
18198         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18199         parameter to RES. Remove hardcoded 1000 value.
18200         * benchtests/bench-skeleton.c (main): Pass RES parameter
18201         to TIMING_INIT and multiply result by 1000.
18202
18203 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18204
18205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18206
18207 2013-09-11  Andreas Schwab  <schwab@suse.de>
18208
18209         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18210         if not defined.
18211         (O_TMPFILE) [__USE_GNU]: Define.
18212         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18213         Define.
18214
18215 2013-09-11  Will Newton  <will.newton@linaro.org>
18216
18217         [BZ #15857]
18218         * malloc/malloc.c (__libc_memalign): Check the value of bytes
18219         does not overflow.
18220
18221 2013-09-11  Will Newton  <will.newton@linaro.org>
18222
18223         [BZ #15856]
18224         * malloc/malloc.c (__libc_valloc): Check the value of bytes
18225         does not overflow.
18226
18227 2013-09-11  Will Newton  <will.newton@linaro.org>
18228
18229         [BZ #15855]
18230         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18231         does not overflow.
18232
18233 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
18234
18235         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18236         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18237         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18238         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18239         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18240
18241 2013-09-10  Allan McRae  <allan@archlinux.org>
18242
18243         [BZ #15748]
18244         * manual/arith.texi (Parsing of Floats): Clarify
18245         cross-reference.
18246
18247         [BZ #15849]
18248         * manual/install.texi (Running make install): Mention
18249         --enable-pt-chown.
18250         * INSTALL: Regenerated.
18251
18252 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
18253
18254         * csu/init-first.c (_init): Remove the !SHARED condition around
18255         FPU control word initialization.
18256         * elf/dl-support.c (_dl_fpu_control): New variable.
18257         (_dl_aux_init) <AT_FPUCW>: Initialize it.
18258         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18259         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18260         * math/test-fpucw-static.c: New file.
18261         * math/test-fpucw-ieee.c: New file.
18262         * math/test-fpucw-ieee-static.c: New file.
18263         * math/Makefile (tests): Add `test-fpucw-ieee' and
18264         `$(tests-static)'.
18265         (tests-static): New variable.
18266         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18267         dependency to...
18268         [($(build-shared),yes)]
18269         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18270         ... this.
18271         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18272         New dependency.
18273
18274 2013-09-09  Allan McRae  <allan@archlinux.org>
18275
18276         [BZ #15939]
18277         * manual/string.texi (Collation Functions): Fix typo in
18278         strcoll example.
18279         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18280
18281         [BZ #15893]
18282         * stdlib/isomac.c (get_null_defines): Fix memory leak.
18283
18284         [BZ #15892]
18285         * libio/memstream.c (open_memstream): Fix memory leak.
18286         * libio/wmemstream.c (open_wmemstream): Likewise.
18287
18288         [BZ #15895]
18289         * nscd/netgroupcache.c: Fix nesting of ifdefs.
18290
18291 2013-09-09  Will Newton  <will.newton@linaro.org>
18292
18293         * malloc/Makefile: Add tst-realloc to tests.
18294         * malloc/tst-realloc.c: New file.
18295
18296 2013-09-09  Allan McRae  <allan@archlinux.org>
18297
18298         [BZ #15844]
18299         * COPYING: Update from GNU website to fix FSF address.
18300         * COPYING.LIB: Likewise.
18301
18302 2013-09-06  David S. Miller  <davem@davemloft.net>
18303
18304         * po/zh_TW.po: Update Chinese (traditional) translation from
18305         translation project.
18306
18307 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
18308             Joseph Myers  <joseph@codesourcery.com>
18309
18310         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18311         "localeinfo.h".
18312         (obstack_chunk_alloc): New macro.
18313         (obstack_chunk_free): Likewise.
18314         (record_offset): New function.
18315         (init_locale_data): Likewise.
18316         (align_locale_data): Likewise.
18317         (add_locale_empty): Likewise.
18318         (add_locale_raw_data): Likewise.
18319         (add_locale_raw_obstack): Likewise.
18320         (add_locale_string): Likewise.
18321         (add_locale_wstring): Likewise.
18322         (add_locale_uint32): Likewise.
18323         (add_locale_uint32_array): Likewise.
18324         (add_locale_char): Likewise.
18325         (start_locale_structure): Likewise.
18326         (end_locale_structure): Likewise.
18327         (start_locale_prelude): Likewise.
18328         (end_locale_prelude): Likewise.
18329         (write_locale_data): Take locale_file structure rather than an
18330         iovec.
18331         * locale/programs/locfile.h: Include "obstack.h".
18332         (struct locale_file): Change to store locale file contents instead
18333         of header.
18334         (init_locale_data): New prototype.
18335         (align_locale_data): Likewise.
18336         (add_locale_empty): Likewise.
18337         (add_locale_raw_data): Likewise.
18338         (add_locale_raw_obstack): Likewise.
18339         (add_locale_string): Likewise.
18340         (add_locale_wstring): Likewise.
18341         (add_locale_uint32): Likewise.
18342         (add_locale_uint32_array): Likewise.
18343         (add_locale_char): Likewise.
18344         (start_locale_structure): Likewise.
18345         (end_locale_structure): Likewise.
18346         (start_locale_prelude): Likewise.
18347         (end_locale_prelude): Likewise.
18348         (write_locale_data): Update prototype.
18349         * locale/programs/3level.h (struct TABLE): Remove result field.
18350         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18351         Use new locale_file interface.
18352         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18353         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18354         * locale/programs/ld-address.c (address_output): Use new
18355         locale_file interface.
18356         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18357         NO_ADD_LOCALE.
18358         (collate_finish): Don't call collseq_table_finalize.
18359         (collate_output): Use new locale_file interface.
18360         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18361         in file.
18362         (NO_FINALIZE): Change to NO_ADD_LOCALE.
18363         (TABLE): Move defines earlier in file.
18364         (ELEMENT): Likewise.
18365         (DEFAULT): Likewise.
18366         (wctrans_table_add): Move macro and inline function earlier in
18367         file.
18368         (struct wctype_table): Move type earlier in file.
18369         (add_locale_wctype_table): New static prototype.
18370         (struct locale_ctype_t): Use logical types instead of struct iovec
18371         pointers for members.
18372         (ctype_output): Use new locale_file interface.
18373         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
18374         new locale_file interface.
18375         (allocate_arrays): Update for use of new locale_file interface.
18376         * locale/programs/ld-identification.c (identification_output): Use
18377         new locale_file interface.
18378         * locale/programs/ld-measurement.c (measurement_output): Likewise.
18379         * locale/programs/ld-messages.c (messages_output): Likewise.
18380         * locale/programs/ld-monetary.c (monetary_output): Likewise.
18381         * locale/programs/ld-name.c (name_output): Likewise.
18382         * locale/programs/ld-numeric.c (numeric_output): Likewise.
18383         * locale/programs/ld-paper.c (paper_output): Likewise.
18384         * locale/programs/ld-telephone.c (telephone_output): Likewise.
18385         * locale/programs/ld-time.c (time_output): Likewise.
18386
18387 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18388
18389         * benchtests/Makefile: Add memrchr benchmark.
18390         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18391         benchmark as memrchr.
18392         * benchtests/bench-memrchr-ifunc.c: New file.
18393         * benchtests/bench-memrchr.c: New file.
18394
18395 2013-09-06   Will Newton  <will.newton@linaro.org>
18396
18397         * benchtests/Makefile (string-bench): Add memcpy.
18398
18399 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18400             Cong Wang  <amwang@redhat.com>
18401
18402         [BZ #15850]
18403         * sysdeps/unix/sysv/linux/bits/in.h
18404         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18405         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18406         before __USE_KERNEL_IPV6_DEFS uses.
18407         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18408         IPPROTO_BEETPH.
18409         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18410         sockaddr_in6, or ipv6_mreq.
18411
18412 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18413
18414         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18415         memory access for final bytes in some large inputs.
18416         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18417
18418 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18419
18420         * string/test-memrchr.c: New file.
18421         * string/test-memrchr-ifunc.c: New file.
18422         * string/Makefile: Add new memrchr testcase.
18423
18424 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18425
18426         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18427         fanotify_init returns EPERM.
18428
18429 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18430
18431         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18432         errors.
18433         (top level): Treat second token from macro or constant entries for
18434         allowed headers as allowed.
18435         * include/complex.h: Condition internal declarations on
18436         [!_ISOMAC].
18437         * include/fenv.h: Condition include of <stdbool.h> and internal
18438         declarations on [!_ISOMAC].
18439
18440 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18441
18442         [BZ #15923]
18443         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18444
18445 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18446
18447         * configure.in (--enable-versioning): Remove configure option.
18448         (libc_cv_asm_symver_directive): Remove configure test.
18449         (libc_cv_ld_version_script_option): Likewise.
18450         (VERSIONING): Remove variable and AC_SUBST.
18451         (DO_VERSIONING): Remove AC_DEFINE.
18452         * configure: Regenerated.
18453         * config.h.in (DO_VERSIONING): Remove macro.
18454         * Makerules [$(versioning) = yes]: Change conditionals to
18455         [$(build-shared) = yes].
18456         * config.make.in (versioning): Remove variable.
18457         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18458         [$(build-shared) = yes].
18459         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18460         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18461         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18462         [$(build-shared) = yes].
18463         * extra-lib.mk [$(versioning) = yes]: Likewise.
18464         * hurd/Makefile [$(versioning) = yes]: Likewise.
18465         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18466         [SHARED].
18467         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18468         [SHARED].
18469         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18470         [SHARED && !NO_HIDDEN].
18471         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18472         [SHARED].
18473         [SHARED && DO_VERSIONING]: Likewise..
18474         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18475         [$(build-shared) = yes].
18476         * manual/install.texi (--disable-versioning): Remove
18477         documentation.
18478         * INSTALL: Regenerated.
18479         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18480         to [SHARED].
18481         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18482         [$(build-shared) = yes].
18483         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18484         * sysdeps/i386/i686/multiarch/strstr-c.c
18485         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18486         [SHARED && !NO_HIDDEN].
18487         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18488         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18489         * sysdeps/powerpc/powerpc32/dl-machine.c
18490         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18491         * sysdeps/powerpc/powerpc32/sysdep.h
18492         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18493         to [SHARED && PIC && !NO_HIDDEN].
18494         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18495         conditional to [SHARED].
18496
18497 2013-09-04   Will Newton  <will.newton@linaro.org>
18498
18499         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18500         * benchtests/bench-string.h: Include bench-timing.h instead
18501         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18502         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18503         call to HP_TIMING_DIFF_INIT.
18504         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18505         instead of hp-timing.h macros.
18506         * benchtests/bench-memchr.c: Likewise.
18507         * benchtests/bench-memcmp.c: Likewise.
18508         * benchtests/bench-memcpy.c: Likewise.
18509         * benchtests/bench-memmem.c: Likewise.
18510         * benchtests/bench-memmove.c: Likewise.
18511         * benchtests/bench-memset.c: Likewise.
18512         * benchtests/bench-rawmemchr.c: Likewise.
18513         * benchtests/bench-strcasecmp.c: Likewise.
18514         * benchtests/bench-strcasestr.c: Likewise.
18515         * benchtests/bench-strcat.c: Likewise.
18516         * benchtests/bench-strchr.c: Likewise.
18517         * benchtests/bench-strcmp.c: Likewise.
18518         * benchtests/bench-strcpy.c: Likewise.
18519         * benchtests/bench-strcpy_chk.c: Likewise.
18520         * benchtests/bench-strlen.c: Likewise.
18521         * benchtests/bench-strncasecmp.c: Likewise.
18522         * benchtests/bench-strncat.c: Likewise.
18523         * benchtests/bench-strncmp.c: Likewise.
18524         * benchtests/bench-strncpy.c: Likewise.
18525         * benchtests/bench-strnlen.c: Likewise.
18526         * benchtests/bench-strpbrk.c: Likewise.
18527         * benchtests/bench-strrchr.c: Likewise.
18528         * benchtests/bench-strspn.c: Likewise.
18529         * benchtests/bench-strstr.c: Likewise.
18530
18531 2013-09-04  Will Newton  <will.newton@linaro.org>
18532
18533         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18534
18535 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18536
18537         [BZ #15427]
18538         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18539         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18540         * math/libm-test.inc (lgamma_test_data): Add more tests.
18541         * sysdeps/i386/fpu/libm-test-ulps: Update.
18542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18543
18544 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18545
18546         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18548         Add ifunc.
18549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18550         Add strcmp-sse2-unaligned
18551         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18552
18553 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18554
18555         * Versions.def (libc): Add GLIBC_2.19.
18556
18557 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18558
18559         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18560         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18561
18562 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18563
18564         [BZ #14155]
18565         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18566         intermediate calculations in recurrence.
18567         (__ieee754_ynf): Likewise.
18568         * math/libm-test.inc (jn_test_data): Do not allow spurious
18569         underflow exception.  Add more tests.
18570         (yn_test_data): Add more tests.
18571         * sysdeps/i386/fpu/libm-test-ulps: Update.
18572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18573
18574 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18575
18576         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18577
18578 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18579
18580         * csu/init-first.c: Fix then/than typos.
18581         * locale/programs/ld-collate.c: Likewise.
18582         * locale/programs/linereader.h: Likewise.
18583         * manual/charset.texi: Likewise.
18584         * manual/filesys.texi: Likewise.
18585         * manual/stdio.texi: Likewise.
18586         * manual/string.texi: Likewise.
18587         * stdlib/fmtmsg.c: Likewise.
18588         * sysdeps/i386/stpncpy.S: Likewise.
18589         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18590         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18591         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18592         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18593
18594 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18595
18596         * elf/dl-open.c: Fix typos.
18597         * iconvdata/gbbig5.c: Likewise.
18598         * iconvdata/iso-2022-jp.c: Likewise.
18599         * iconv/gconv_int.h: Likewise.
18600         * iconv/loop.c: Likewise.
18601         * nis/rpcsvc/nis.h: Likewise.
18602         * resolv/ns_name.c: Likewise.
18603         * stdio-common/vfscanf.c: Likewise.
18604         * streams/stropts.h: Likewise.
18605         * sunrpc/rpc_thread.c: Likewise.
18606         * sysdeps/i386/strpbrk.S: Likewise.
18607         * sysdeps/ieee754/k_standard.c: Likewise.
18608         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18609         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18610         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18611         * sysdeps/mach/hurd/profil.c: Likewise.
18612         * sysdeps/s390/dl-procinfo.h: Likewise.
18613         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18614         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18615         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18616         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18617         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18618
18619 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18620
18621         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18623
18624 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18625
18626         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18627         aix specific files.
18628         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18629         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18630         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18631         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18632         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18633         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18634         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18635         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18636
18637 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18638             Roland McGrath  <roland@hack.frob.com>
18639
18640         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18641         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18642
18643 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18644
18645         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18646         __executable_start symbol instead of _start.
18647
18648 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18649
18650         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18651         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18652         Move macros to...
18653         * sysdeps/gnu/ldsodefs.h: ... this new file.
18654
18655         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18656         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18657         instead of ELFOSABI_LINUX.
18658
18659         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18660         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18661         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18662         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18663         Likewise.
18664         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18665         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18666         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18667         Likewise.
18668         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18669         (ibm_extended_long_double): Add ieee_nan member.
18670         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18671         (do_test): New function.
18672
18673         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18674         TEST_TRUNC.
18675         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18676         functions, renamed from truncdfsf_test, trunctfsf_test,
18677         trunctfdf_test.
18678         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18679         functions.
18680         (do_test): Run all these.
18681
18682 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18683
18684         * argp/argp-help.c: Fix typos.
18685         * argp/argp-parse.c: Likewise.
18686         * debug/backtracesyms.c: Likewise.
18687         * elf/elf.h: Likewise.
18688         * malloc/malloc.c: Likewise.
18689         * nis/nis_print.c: Likewise.
18690         * resolv/res_comp.c: Likewise.
18691         * stdlib/stdlib.h: Likewise.
18692         * sunrpc/clnt_tcp.c: Likewise.
18693         * sunrpc/clnt_udp.c: Likewise.
18694         * sunrpc/clnt_unix.c: Likewise.
18695         * sysdeps/unix/bsd/ptsname.c: Likewise.
18696         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18697         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18699         Likewise.
18700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18701         Likewise.
18702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18703         Likewise.
18704         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18705
18706 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18707
18708         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18710
18711 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18712
18713         [BZ #15897]
18714         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18715         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18716         ($(objpfx)bug-dl-leaf): New rule.
18717         ($(objpfx)bug-dl-leaf.so): Likewise.
18718         ($(objpfx)bug-dl-leaf.out): Likewise.
18719         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18720         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18721         * dlfcn/bug-dl-leaf.c: New test.
18722         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18723         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18724         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18725         (dlclose): Likewise.
18726         (dlmopen): Likewise.
18727
18728 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18729
18730         * include/netdb.h [!_ISOMAC]:
18731         Don't include <tls.h>.
18732         (h_errno, __libc_h_errno): Move declaration and macros out of
18733         [_LIBC_REENTRANT].
18734
18735         * include/resolv.h [_RESOLV_H_]:
18736         Don't include <tls.h>.
18737         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18738         * resolv/res_libc.c: Don't include <tls.h>.
18739         (_res): Use __attribute__ ((nocommon)) in place of
18740         __attribute__ ((section (".bss"))).
18741
18742         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18743         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18744
18745         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18746
18747         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18748         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18749
18750         * resolv/res_mkquery.c: Include <sys/time.h>.
18751
18752         * inet/ifreq.c: Moved to ...
18753         * sysdeps/unix/ifreq.c: ... here.
18754         * inet/ifreq.c: New file, true stub version.
18755
18756         * socket/sa_len.c: New file.
18757         * socket/Makefile (aux): Add it.
18758         * sysdeps/unix/sysv/linux/Makefile
18759         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18760         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18761         and #include <socket/sa_len.c>.
18762         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18763         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18764
18765         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18766         * bits/socket.h: ... here.
18767
18768         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18769         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18770         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18771
18772 2013-08-27  Andreas Schwab  <schwab@suse.de>
18773
18774         [BZ #15736]
18775         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18776         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18777         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18778         * string/test-strcasecmp.c (test_main): Run tests in several
18779         locales.
18780         * string/test-strncasecmp.c (test_main): Likewise.
18781
18782         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18783         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18784         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18785         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18786         (__strncasecmp_ssse3) [PIC]: Likewise.
18787
18788 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18789
18790         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18791
18792         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18793         instead of explicitly declaring xdecrypt.
18794         * nis/nss_nis/nis-publickey.c: Likewise.
18795
18796 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18797
18798         [BZ #15890]
18799         * nscd/aicache.c: Include res_hconf.h.
18800         (addhstaiX): Initialize res_hconf.
18801
18802 2013-08-26  Andreas Schwab  <schwab@suse.de>
18803
18804         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18805         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18806
18807 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18808
18809         * nscd/aicache.c (addhstaiX): Fix indentation.
18810
18811 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18812
18813         * configure.ac: Quote $build_pt_chown test.
18814         * configure: Regenerated.
18815
18816 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18817
18818         [BZ #15532]
18819         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18820         * math/s_cexpf.c (__cexpf): Likewise.
18821         * math/s_cexpl.c (__cexpl): Likewise.
18822         * math/libm-test.inc (cexp_test_data): Correct expected return
18823         value for NaN + i0.  Add another test.
18824
18825 2013-08-22  David S. Miller  <davem@davemloft.net>
18826
18827         * po/ca.po: Update Catalan translation from translation project.
18828         * po/uk.po: Add Ukrainian translations from translation project.
18829
18830 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18831
18832         [BZ #15797]
18833         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18834         is infinite, not alongside NaN test.
18835         * math/s_fdimf.c (__fdimf): Likewise.
18836         * math/s_fdiml.c (__fdiml): Likewise.
18837         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18838         errno is unchanged.
18839
18840 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18841
18842         * argp/argp-help.c: Fix typos.
18843         * crypt/speeds.c: Likewise.
18844         * csu/check_fds.c: Likewise.
18845         * elf/dl-load.c: Likewise.
18846         * elf/dl-open.c: Likewise.
18847         * elf/reldep3.c: Likewise.
18848         * elf/reldep.c: Likewise.
18849         * elf/sprof.c: Likewise.
18850         * iconv/iconv_charmap.c: Likewise.
18851         * iconv/skeleton.c: Likewise.
18852         * iconv/strtab.c: Likewise.
18853         * io/lockf64.c: Likewise.
18854         * libio/libioP.h: Likewise.
18855         * resolv/gai_notify.c: Likewise.
18856         * resolv/ns_name.c: Likewise.
18857         * resolv/ns_samedomain.c: Likewise.
18858         * resolv/res_send.c: Likewise.
18859         * stdlib/random.c: Likewise.
18860         * sunrpc/rpc/xdr.h: Likewise.
18861         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18862         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18863         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18864         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18865         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18866         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18868         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18869         * sysdeps/mach/hurd/check_fds.c: Likewise.
18870         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18871         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18872         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18873         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18874         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18875         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18876         * sysdeps/pthread/aio_notify.c: Likewise.
18877         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18878         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18879         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18880         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18881         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18882
18883 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18884
18885         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18886         version if bit_Slow_SSE4_2 is set.
18887         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18888         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18889
18890 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18891
18892         [BZ #15867]
18893         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18894         trampoline stack frame information.
18895         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18896         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18897         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18898         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18899         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18900         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18901         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18902         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18903         sa_flags value.
18904         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18905         interrupting a syscall and set with option SA_SIGINFO.
18906
18907 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18908
18909         [BZ #15531]
18910         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18911         argument is infinite.
18912         * math/s_cprojf.c (__cprojf): Likewise.
18913         * math/s_cprojl.c (__cprojl): Likewise.
18914         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18915         * math/libm-test.inc (cproj_test_data): Add more tests.
18916
18917         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18918
18919         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18920         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18921         size.  Use __ffs to determine corresponding shift.
18922
18923 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18924             Roland McGrath  <roland@hack.frob.com>
18925
18926         * Makefile (INSTALL): Remove trailing blank lines from output of
18927         makeinfo.
18928
18929 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18930
18931         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18932         Align 32 bit compat elf_greg to 8 bytes.
18933
18934 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18935
18936         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18937
18938 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18939
18940         * string/strcoll_l.c (coll_seq): New structure.
18941         (get_next_seq_cached): New function.
18942         (get_next_seq): New function.
18943         (do_compare): New function.
18944         (STRCOLL): Use GNU style definition.  Simplify implementation
18945         by using get_next_seq, get_next_seq_cached and do_compare.
18946
18947 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18948
18949         [BZ #14699]
18950         CVE-2013-4237
18951         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18952         member.
18953         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18954         member.
18955         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18956         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18957         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18958         conditional.
18959         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18960         GETDENTS_64BIT_ALIGNED.
18961         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18962         * manual/filesys.texi (Reading/Closing Directory): Document
18963         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18964         strongly.
18965         * manual/conf.texi (Limits for Files): Add portability note to
18966         NAME_MAX, PATH_MAX.
18967         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18968
18969 2013-08-13  Andreas Schwab  <schwab@suse.de>
18970
18971         [BZ #15749]
18972         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18973         of fabs.
18974         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18975         LDBL_MAX_EXP >= 16384]: Add tests for it.
18976
18977 2013-08-12  David S. Miller  <davem@davemloft.net>
18978
18979         * version.h (RELEASE): Set to "development".
18980         (VERSION): Set to "2.18.90".
18981         * NEWS: Add 2.19 section.
18982
18983 2013-08-03  David S. Miller  <davem@davemloft.net>
18984
18985         * po/ko.po: Update Korean translation from translation project.
18986
18987 2013-08-01  David S. Miller  <davem@davemloft.net>
18988
18989         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18990         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18991         Bilka.
18992
18993 2013-07-30  David S. Miller  <davem@davemloft.net>
18994
18995         * po/fr.po: Update French translation from translation project.
18996
18997 2013-07-28  David S. Miller  <davem@davemloft.net>
18998
18999         * po/cs.po: Update Czech translation from translation project.
19000
19001         * po/sv.po: Update Swedish translation from translation project.
19002
19003 2013-07-27  David S. Miller  <davem@davemloft.net>
19004
19005         * po/eo.po: Update Esperanto translation from translation project.
19006
19007         * po/vi.po: Update Vietnamese translation from translation project.
19008
19009         * po/de.po: Update German translation from translation project.
19010
19011 2013-07-26  David S. Miller  <davem@davemloft.net>
19012
19013         * po/bg.po: Update Bulgarian translation from translation project.
19014
19015         * po/nl.po: Update Dutch translation from translation project.
19016         * po/pl.po: Update Polish translation from translation project.
19017         * po/ru.po: Update Russian translation from translation project.
19018
19019 2013-07-24  David S. Miller  <davem@davemloft.net>
19020
19021         * po/libc.pot: Update.
19022
19023 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19024
19025         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19026         variable page size.
19027         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19028         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19029         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19030
19031 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19032
19033         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19034
19035 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19036             Andreas Schwab  <schwab@suse.de>
19037             Roland McGrath  <roland@hack.frob.com>
19038             Joseph Myers  <joseph@codesourcery.com>
19039             Carlos O'Donell  <carlos@redhat.com>
19040
19041         [BZ #15755]
19042         * config.h.in: Define HAVE_PT_CHOWN.
19043         * config.make.in (build-pt-chown): New variable.
19044         * configure.in (--enable-pt_chown): New configure option.
19045         * configure: Regenerate.
19046         * login/Makefile: Include Makeconfig.  Build pt_chown only if
19047         build-pt-chown is enabled.
19048         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19049         pt_chown to fix pty ownership.
19050         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19051         CLOSE_ALL_FDS.
19052         * manual/install.texi (Configuring and compiling): Mention
19053         --enable-pt_chown. Add @findex for grantpt.
19054         * INSTALL: Regenerate.
19055
19056 2013-07-20  David S. Miller  <davem@davemloft.net>
19057
19058         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19059         difference between 32-bit and 64-bit.
19060
19061 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
19062
19063         [BZ #15711]
19064         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19065         Avoid system header dependency with -ffreestanding.
19066         ($(objpfx)bits/syscall%d): Likewise.
19067
19068 2013-07-13  David S. Miller  <davem@davemloft.net>
19069
19070         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19071         underflows from atanl/atan2l due to bug 15319.
19072         (casinh_test_data): Likewise.
19073
19074 2013-07-07  David S. Miller  <davem@davemloft.net>
19075
19076         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19077
19078 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
19079
19080         * sysdeps/i386/fpu/libm-test-ulps: Update.
19081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19082
19083 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19084
19085         * configure.in (--enable-lock-elision): Fix message text.
19086         * INSTALL: Regenerate.
19087         * configure: Regenerate.
19088
19089 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19090
19091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19092
19093 2013-07-03  Andreas Jaeger  <aj@suse.de>
19094
19095         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19096         define.
19097         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19098         (ptrace_peeksiginfo_args): Add.
19099         (__ptrace_peeksiginfo_flags): Add.
19100         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19101         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19102         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19103
19104 2013-07-03  Allan McRae  <allan@archlinux.org>
19105
19106         * sysdeps/i386/fpu/libm-test-ulps: Update.
19107
19108 2013-07-02  David S. Miller  <davem@davemloft.net>
19109
19110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19111
19112 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
19113
19114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19115
19116 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19117
19118         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19120
19121 2013-07-02  Andi Kleen <ak@linux.intel.com>
19122
19123         * config.h.in (ENABLE_LOCK_ELISION): Add.
19124         * configure.in (--enable-lock-elision): Add option.
19125         * manual/install.texi: Document --enable lock elision.
19126         * configure: Regenerate
19127         * INSTALL: Regenerate.
19128
19129 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
19130
19131         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19132         SSE4.2 strcasecmp for libc.a.
19133         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19134
19135 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19136
19137         [BZ #13304]
19138         * soft-fp/op-common.h (_FP_FMA): New macro.
19139         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19140         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
19141         (_FP_MUL_MEAT_1_imm): ... here.
19142         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
19143         (_FP_MUL_MEAT_1_wide): ... here.
19144         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
19145         (_FP_MUL_MEAT_1_hard): ... here.
19146         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19147         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
19148         (_FP_MUL_MEAT_2_wide): ... here.
19149         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
19150         (_FP_MUL_MEAT_2_wide_3mul): ... here.
19151         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
19152         (_FP_MUL_MEAT_2_gmp): ... here.
19153         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19154         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
19155         (_FP_MUL_MEAT_4_wide): ... here.
19156         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
19157         (_FP_MUL_MEAT_4_gmp): ... here.
19158         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19159         (_FP_WFRACBITS_DW_S): Likewise.
19160         (_FP_WFRACXBITS_DW_S): Likewise.
19161         (_FP_HIGHBIT_DW_S): Likewise.
19162         (FP_FMA_S): Likewise.
19163         (_FP_FRAC_HIGH_DW_S): Likewise.
19164         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19165         (_FP_WFRACBITS_DW_D): Likewise.
19166         (_FP_WFRACXBITS_DW_D): Likewise.
19167         (_FP_HIGHBIT_DW_D): Likewise.
19168         (FP_FMA_D): Likewise.
19169         (_FP_FRAC_HIGH_DW_D): Likewise.
19170         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19171         (_FP_WFRACBITS_DW_E): Likewise.
19172         (_FP_WFRACXBITS_DW_E): Likewise.
19173         (_FP_HIGHBIT_DW_E): Likewise.
19174         (FP_FMA_E): Likewise.
19175         (_FP_FRAC_HIGH_DW_E): Likewise.
19176         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19177         (_FP_WFRACBITS_DW_Q): Likewise.
19178         (_FP_WFRACXBITS_DW_Q): Likewise.
19179         (_FP_HIGHBIT_DW_Q): Likewise.
19180         (FP_FMA_Q): Likewise.
19181         (_FP_FRAC_HIGH_DW_Q): Likewise.
19182         * soft-fp/fmasf4.c: New file.
19183         * soft-fp/fmadf4.c: Likewise.
19184         * soft-fp/fmatf4.c: Likewise.
19185
19186 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19187
19188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19189         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19190         Silvermont.
19191         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19192         macro.
19193         (index_Slow_SSE4_2): Likewise.
19194         (index_Prefer_PMINUB_for_stringop): Likewise.
19195         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19196         bit_Slow_SSE4_2 is set.
19197         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19198         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19199
19200 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19201
19202         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19203         rtld_global._dl_hwcap2.
19204         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19205         POWER8.
19206         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19207         POWER8 feature descriptions defined in _dl_hwcap2.
19208         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19209         string handling for POWER8 feature bits.
19210         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19211         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19212         _dl_powerpc_cap_flags.
19213         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19214         * sysdeps/powerpc/rtld-global-offsets.sym
19215         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19216         _dl_hwcap2 in the rtld_global_ro structure.
19217
19218 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19219
19220         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19221         hardware capabilities in support of AT_HWCAP2.
19222         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19223         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19224         GLRO(dl_hwcap2).
19225         (_dl_show_auxv): Add support for calling _dl_procinfo to display
19226         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
19227         explicitly the unknown a_type display mechanism is used.
19228         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19229         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19230         struct member.
19231         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19232         to macro prototype for AT_HWCAP2 support.
19233         * sysdeps/i386/dl-procinfo.h: Likewise.
19234         * sysdeps/s390/dl-procinfo.h: Likewise.
19235         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19236         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
19237         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
19238         return -1 for unknown a_type display fallback.
19239         * sysdeps/sparc/dl-procinfo.h: Likewise.
19240         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19241         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19242
19243 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
19244
19245         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19246         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19247
19248 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
19249
19250         [BZ #12492]
19251         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19252         mprotect making __stack_prot writable.
19253
19254 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
19255             Joseph Myers  <joseph@codesourcery.com>
19256
19257         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19258         as being properly aligned.
19259
19260 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
19261
19262         * dlfcn/modstatic5.c: New file.
19263         * dlfcn/tststatic5.c: New file.
19264         * dlfcn/Makefile (tests): Add tststatic5.
19265         (tests-static): Likewise.
19266         (modules-names): Add modstatic5.
19267         (tststatic5-ENV): New variable.
19268         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19269
19270         [BZ #15022]
19271         * elf/dl-support.c (_dl_main_map): New variable.
19272         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19273         (_dl_nns, _dl_load_adds): Set to 1.
19274         (_dl_initial_searchlist): Refer to _dl_main_map.
19275         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19276         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19277         call to _dl_get_origin.
19278         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19279         around call_map.
19280         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19281         * dlfcn/modstatic3.c: New file.
19282         * dlfcn/tststatic3.c: New file.
19283         * dlfcn/tststatic4.c: New file.
19284         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19285         (tests-static): Likewise.
19286         (modules-names): Add modstatic3.
19287         (tststatic3-ENV, tststatic4-ENV): New variables.
19288         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19289         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19290
19291 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
19292
19293         * configure.in (CC): Require GCC version 4.4 or later.
19294         * configure: Regenerated.
19295         * manual/install.texi (Tools for Compilation): Update GCC version
19296         requirement.
19297         * INSTALL: Regenerated.
19298
19299 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19300
19301         [BZ #15674]
19302         * string/test-memcmp.c (check2): New.
19303         (main): Call check2.
19304
19305         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19306
19307 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
19308
19309         [BZ #15022]
19310         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19311         over to...
19312         (dl_open_worker) [!SHARED]: ... here.
19313
19314 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19315
19316         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19317
19318 2013-06-25  Richard Henderson  <rth@redhat.com>
19319
19320         * locale/programs/locarchive.c: Include <libc-internal.h>
19321
19322 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
19323
19324         * manual/texinfo.tex: Update to version 2013-06-21.17, with
19325         trailing whitespace removed.
19326
19327 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19328
19329         [BZ #10283]
19330         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19331         * locale/programs/locarchive.c: Include libc-mmap.h.
19332         (prepare_address_space): Take two new outputs (the mmap base and len).
19333         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
19334         values.
19335         (create_archive): Declare new mmap base and len values for
19336         prepare_address_space, and store the result in ah.
19337         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19338         (enlarge_archive): If ah->mmap_base is not NULL, use that and
19339         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19340         Declare new mmap base and len values for
19341         prepare_address_space, and store the result in new_ah.
19342         (open_archive): Declare new mmap base and len values for
19343         prepare_address_space, and store the result in ah.
19344         (close_archive): If ah->mmap_base is not NULL, use that and
19345         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19346         * sysdeps/generic/libc-mmap.h: New file.
19347
19348 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19349
19350         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19351         (ALIGN_UP): Likewise.
19352         (PTR_ALIGN_DOWN): Likewise.
19353         (PTR_ALIGN_UP): Likewise.
19354
19355 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19356
19357         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19358         entry mapped to PPC_PLATFORM_POWER8.
19359         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19360         POWER8.
19361         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19362         (_dl_string_platform): Add case for exporting platform position for
19363         POWER8.
19364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19365         search path to sysdeps/powerpc/powerpc32/power8 directory.
19366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19367         search path to sysdeps/powerpc/powerpc64/power8 directory.
19368         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19369         power7 directories.
19370         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19371         power7 directories.
19372
19373 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19374
19375         * INSTALL: Regenerate.
19376
19377         * nscd/connections.c (nscd_init): Fix comment.
19378
19379 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
19380
19381         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19382
19383         [BZ #15667]
19384         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19385         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19386
19387 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19388
19389         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19390         DL_DST_REQ_STATIC.
19391         (DL_DST_REQ_STATIC): Remove macro.
19392
19393 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
19394
19395         [BZ #7006]
19396         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19397         with a shift of 0 bits.
19398
19399 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19400
19401         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19402         $(tststatic-ENV).
19403
19404 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19405
19406         [BZ #15655]
19407         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19408
19409 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19410
19411         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19412         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19413         accepts -fno-tree-loop-distribute-patterns.
19414         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19415         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19416         recursive call.
19417         * string/memset.c (memset): Likewise.
19418         * string/test-memmove.c (simple_memmove): Disable loop transformation
19419         to library calls.
19420         * string/test-memset.c (simple_memset): Likewise.
19421         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19422         * benchtests/bench-memset.c (simple_memset): Likewise.
19423         * configure: Regenerated.
19424
19425 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19426
19427         * math/test-misc.c (main): Ignore fesetround failure when failures
19428         of subsequent rounding tests would be ignored.
19429
19430         [BZ #15654]
19431         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19432         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19433         * math/fegetenv.c (__fegetenv): Return 0.
19434         * math/fegetexcept.c (fegetexcept): Return 0.
19435         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19436         FE_TONEAREST.
19437         * math/feholdexcpt.c (feholdexcept): Return 0.
19438         * math/fesetenv.c (__fesetenv): Return 0.
19439         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19440         argument FE_TONEAREST.
19441         * math/feupdateenv.c (__feupdateenv): Return 0.
19442         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19443
19444 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19445
19446         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19447         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19448         ($(objpfx)rtld-%.os rules): Use them.
19449
19450 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19451
19452         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19453         fields.
19454
19455 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19456
19457         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19458         length of target pattern, then descending length of dependency pattern.
19459         * configure.in (AWK): Require gawk 3.1.2 or newer.
19460         * manual/install.texi (Tools for Compilation): Say that we do.
19461         * configure: Regenerated.
19462
19463         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19464         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19465         * scripts/sysd-rules.awk: ... this new script.
19466         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19467         than a glob-style pattern.
19468
19469 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19470
19471         * math/test-misc.c (main): Do not treat incorrectly rounded
19472         conversions as failure unless ROUNDING_TESTS passes.
19473
19474 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19475
19476         [BZ #15631]
19477         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19478         restore exception state around main square root computation, then
19479         check for inexactness explicitly.
19480
19481         * math/libm-test.inc (fma_test_data): Add another test.
19482
19483 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19484
19485         * manual/threads.texi (Non-POSIX Extensions): New document
19486         node.  Document pthread_getattr_default_np and
19487         pthread_setattr_default_np.
19488
19489         * Versions.def (libpthread): Add GLIBC_2.18.
19490         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19492         Likewise.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19494         Likewise.
19495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19496         Likewise.
19497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19498         Likewise.
19499         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19500         Likewise.
19501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19502         Likewise.
19503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19504         Likewise.
19505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19506         Likewise.
19507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19508         Likewise.
19509
19510 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19511
19512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19513         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19514
19515 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19516             H.J. Lu  <hjl.tools@gmail.com>
19517
19518         [BZ #15627]
19519         * sysdeps/x86_64/rtld-memset.c: Remove file.
19520         * sysdeps/x86_64/rtld-memset.S: New file.
19521
19522 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19523
19524         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19525         (test_in_one_mode): Take arguments for whether the rounding mode
19526         is supported for each floating-point type.
19527         (do_test): Pass new arguments to test_in_one_mode using
19528         ROUNDING_TESTS.
19529
19530 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19531
19532         * posix/tst-waitid.c (do_test): Distinguish different instances of
19533         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19534         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19535         before entering the kernel for waitpid.
19536
19537 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19538
19539         * NEWS: Fix note on clock function precision.  Text by Roland
19540         McGrath.
19541
19542 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19543
19544         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19545         it into place only when and if the sanity check passes.
19546
19547 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19548
19549         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19550         output for whether conversion result is exact.  Take argument
19551         indicating whether type is IBM long double.
19552         (round_for_all): Change need_exact field to ibm_ld.
19553         * stdlib/tst-strtod-round.c (struct exactness): New type.
19554         (struct test): Change bool ld_ok field to struct exactness exact.
19555         (TEST): Update all definitions for change to field.
19556         (tests): Regenerate array contents.
19557         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19558         field value.  Check for IBM long double here.
19559         (do_test): Update calls to test_in_one_mode.
19560
19561 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19562
19563         [BZ #12515]
19564         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19565         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19566
19567 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19568
19569         [BZ #15605]
19570         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19571         generated by the compiler on loop optimizations.
19572         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19573         general definitions.
19574
19575 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19576
19577         * math/bug-nextafter.c: Include <math-tests.h>.
19578         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19579         the relevant type.
19580         * math/bug-nexttoward.c: Include <math-tests.h>.
19581         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19582         the relevant type.
19583         * math/test-misc.c: Include <math-tests.h>.
19584         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19585         the relevant type.
19586
19587 2013-06-12  Andreas Jaeger  <aj@suse.de>
19588
19589         * po/ia.po: Update Interlingua translation from translation
19590         project.
19591
19592 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19593
19594         * include/fenv.h: Include stdbool.h.
19595         (struct rm_ctx): New structure.
19596         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19597         Define macro.
19598         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19599         (SET_RESTORE_ROUNDF): Likewise.
19600         (SET_RESTORE_ROUNDL): Likewise.
19601         (SET_RESTORE_ROUND_NOEX): Likewise.
19602         (SET_RESTORE_ROUND_NOEXF): Likewise.
19603         (SET_RESTORE_ROUND_NOEXL): Likewise.
19604         (SET_RESTORE_ROUND_53BIT): Likewise.
19605         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19606         (libc_feresetround_noexf_ctx): Likewise.
19607         (libc_feresetround_noexl_ctx): Likewise.
19608         (libc_feholdsetround_53bit_ctx): Likewise.
19609         (libc_feresetround_53bit_ctx): Likewise.
19610         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19611         (libc_feholdexcept_setround_sse_ctx): New function.
19612         (libc_fesetenv_sse_ctx): Likewise.
19613         (libc_feupdateenv_sse_ctx): Likewise.
19614         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19615         (libc_feholdexcept_setround_387_ctx): Likewise.
19616         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19617         (libc_feholdsetround_387_prec_ctx): Likewise.
19618         (libc_feholdsetround_387_ctx): Likewise.
19619         (libc_feholdsetround_387_53bit_ctx): Likewise.
19620         (libc_feholdsetround_sse_ctx): Likewise.
19621         (libc_feresetround_sse_ctx): Likewise.
19622         (libc_feresetround_387_ctx): Likewise.
19623         (libc_feupdateenv_387_ctx): Likewise.
19624         (libc_feholdexcept_setroundf_ctx): Define macro.
19625         (libc_fesetenvf_ctx): Likewise.
19626         (libc_feupdateenvf_ctx): Likewise.
19627         (libc_feholdsetroundf_ctx): Likewise.
19628         (libc_feresetroundf_ctx): Likewise.
19629         (libc_feholdexcept_setround_ctx): Likewise.
19630         (libc_fesetenv_ctx): Likewise.
19631         (libc_feupdateenv_ctx): Likewise.
19632         (libc_feholdsetround_ctx): Likewise.
19633         (libc_feresetround_ctx): Likewise.
19634         (libc_feholdexcept_setroundl_ctx): Likewise.
19635         (libc_feupdateenvl_ctx): Likewise.
19636         (libc_feholdsetroundl_ctx): Likewise.
19637         (libc_feresetroundl_ctx): Likewise.
19638         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19639         (libc_feresetround_53bit_ctx): Likewise.
19640
19641 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19642
19643         * locale/iso-639.def: Convert to UTF-8.
19644
19645 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19646
19647         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19648         (EXCEPTION_TESTS_double): Likewise.
19649         (EXCEPTION_TESTS_long_double): Likewise.
19650         (EXCEPTION_TESTS): Likewise.
19651         * math/libm-test.inc (test_exceptions): Only test exceptions if
19652         EXCEPTION_TESTS (FLOAT).
19653
19654 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19655
19656         * benchtests/Makefile (string-bench): Add strcpy_chk and
19657         stpcpy_chk.
19658         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19659         * benchtests/bench-stpcpy_chk.c: New file.
19660         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19661         * benchtests/bench-strcpy_chk.c: New file.
19662         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19663         code.
19664         (do_test): Likewise.
19665
19666 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19667
19668         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19669         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19670         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19671         with tabs where appropriate.
19672         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19673         dl-procinfo.h.
19674         [PPC_PLATFORM_PPC440]: Likewise.
19675         [PPC_PLATFORM_PPC464]: Likewise.
19676         [PPC_PLATFORM_PPC476]: Likewise.
19677         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19678         ppc464, and ppc476 platform strings merging from ports/
19679         dl-procinfo.h.
19680
19681 2013-06-11  Andreas Schwab  <schwab@suse.de>
19682
19683         [BZ #14991]
19684         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19685         (from_ucs4_idx): Regenerate.
19686         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19687         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19688         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19689         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19690         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19691         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19692         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19693         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19694         from FROM_LOOP and TO_LOOP specific macros.
19695         (BODY): Handle combining characters.
19696         * iconvdata/BIG5HKSCS.irreversible: Update.
19697         * iconvdata/BIG5HKSCS.precomposed: New file.
19698         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19699         characters.
19700         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19701
19702 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19703
19704         * include/sys/time.h: Fix indentation and add copyright header.
19705
19706         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19707         (do_test): Likewise.
19708         * string/test-memchr.c (do_one_test): Likewise.
19709         (do_test): Likewise.
19710         * string/test-memcmp.c (do_one_test): Likewise.
19711         (do_test): Likewise.
19712         * string/test-memcpy.c (do_one_test): Likewise.
19713         (do_test): Likewise.
19714         * string/test-memmem.c (do_one_test): Likewise.
19715         (do_test): Likewise.
19716         (do_random_tests): Likewise.
19717         * string/test-memmove.c (do_one_test): Likewise.
19718         (do_test): Likewise.
19719         * string/test-memset.c (do_one_test): Likewise.
19720         (do_test): Likewise.
19721         * string/test-rawmemchr.c (do_one_test): Likewise.
19722         (do_test): Likewise.
19723         * string/test-strcasecmp.c (do_one_test): Likewise.
19724         (do_test): Likewise.
19725         * string/test-strcasestr.c (do_one_test): Likewise.
19726         (do_test): Likewise.
19727         * string/test-strcat.c (do_one_test): Likewise.
19728         (do_test): Likewise.
19729         * string/test-strchr.c (do_one_test): Likewise.
19730         (do_test): Likewise.
19731         * string/test-strcmp.c (do_one_test): Likewise.
19732         (do_test): Likewise.
19733         * string/test-strcpy.c (do_one_test): Likewise.
19734         (do_test): Likewise.
19735         * string/test-string.h: Likewise.
19736         (test_init): Likewise.
19737         * string/test-strlen.c (do_one_test): Likewise.
19738         (do_test): Likewise.
19739         * string/test-strncasecmp.c (do_one_test): Likewise.
19740         (do_test): Likewise.
19741         * string/test-strncat.c (do_one_test): Likewise.
19742         (do_test): Likewise.
19743         * string/test-strncmp.c (do_one_test): Likewise.
19744         (do_test_limit): Likewise.
19745         (do_test): Likewise.
19746         * string/test-strncpy.c (do_one_test): Likewise.
19747         (do_test): Likewise.
19748         * string/test-strnlen.c (do_one_test): Likewise.
19749         (do_test): Likewise.
19750         * string/test-strpbrk.c (do_one_test): Likewise.
19751         (do_test): Likewise.
19752         * string/test-strrchr.c (do_one_test): Likewise.
19753         (do_test): Likewise.
19754         * string/test-strspn.c (do_one_test): Likewise.
19755         (do_test): Likewise.
19756         * string/test-strstr.c (do_one_test): Likewise.
19757         (do_test): Likewise.
19758
19759         * benchtests/Makefile (string-bench): Add string benchmarks.
19760         * benchtests/bench-bcopy-ifunc.c: New file.
19761         * benchtests/bench-bcopy.c: New file.
19762         * benchtests/bench-bzero-ifunc.c: New file.
19763         * benchtests/bench-bzero.c: New file.
19764         * benchtests/bench-memccpy-ifunc.c: New file.
19765         * benchtests/bench-memccpy.c: New file.
19766         * benchtests/bench-memchr-ifunc.c: New file.
19767         * benchtests/bench-memchr.c: New file.
19768         * benchtests/bench-memcmp-ifunc.c: New file.
19769         * benchtests/bench-memcmp.c: New file.
19770         * benchtests/bench-memmem-ifunc.c: New file.
19771         * benchtests/bench-memmem.c: New file.
19772         * benchtests/bench-memmove-ifunc.c: New file.
19773         * benchtests/bench-memmove.c: New file.
19774         * benchtests/bench-mempcpy-ifunc.c: New file.
19775         * benchtests/bench-mempcpy.c: New file.
19776         * benchtests/bench-memset-ifunc.c: New file.
19777         * benchtests/bench-memset.c: New file.
19778         * benchtests/bench-rawmemchr-ifunc.c: New file.
19779         * benchtests/bench-rawmemchr.c: New file.
19780         * benchtests/bench-stpcpy-ifunc.c: New file.
19781         * benchtests/bench-stpcpy.c: New file.
19782         * benchtests/bench-stpncpy-ifunc.c: New file.
19783         * benchtests/bench-stpncpy.c: New file.
19784         * benchtests/bench-strcasecmp-ifunc.c: New file.
19785         * benchtests/bench-strcasecmp.c: New file.
19786         * benchtests/bench-strcasestr-ifunc.c: New file.
19787         * benchtests/bench-strcasestr.c: New file.
19788         * benchtests/bench-strcat-ifunc.c: New file.
19789         * benchtests/bench-strcat.c: New file.
19790         * benchtests/bench-strchr-ifunc.c: New file.
19791         * benchtests/bench-strchr.c: New file.
19792         * benchtests/bench-strchrnul-ifunc.c: New file.
19793         * benchtests/bench-strchrnul.c: New file.
19794         * benchtests/bench-strcmp-ifunc.c: New file.
19795         * benchtests/bench-strcmp.c: New file.
19796         * benchtests/bench-strcpy-ifunc.c: New file.
19797         * benchtests/bench-strcpy.c: New file.
19798         * benchtests/bench-strcspn-ifunc.c: New file.
19799         * benchtests/bench-strcspn.c: New file.
19800         * benchtests/bench-strlen-ifunc.c: New file.
19801         * benchtests/bench-strlen.c: New file.
19802         * benchtests/bench-strncasecmp-ifunc.c: New file.
19803         * benchtests/bench-strncasecmp.c: New file.
19804         * benchtests/bench-strncat-ifunc.c: New file.
19805         * benchtests/bench-strncat.c: New file.
19806         * benchtests/bench-strncmp-ifunc.c: New file.
19807         * benchtests/bench-strncmp.c: New file.
19808         * benchtests/bench-strncpy-ifunc.c: New file.
19809         * benchtests/bench-strncpy.c: New file.
19810         * benchtests/bench-strnlen-ifunc.c: New file.
19811         * benchtests/bench-strnlen.c: New file.
19812         * benchtests/bench-strpbrk-ifunc.c: New file.
19813         * benchtests/bench-strpbrk.c: New file.
19814         * benchtests/bench-strrchr-ifunc.c: New file.
19815         * benchtests/bench-strrchr.c: New file.
19816         * benchtests/bench-strspn-ifunc.c: New file.
19817         * benchtests/bench-strspn.c: New file.
19818         * benchtests/bench-strstr-ifunc.c: New file.
19819         * benchtests/bench-strstr.c: New file.
19820
19821         * benchtests/Makefile: Disable parallel execution of targets.
19822         (string-bench): Add memcpy.
19823         (benchset): New variable to store a list of benchmark sets.
19824         (bench-func): Renamed from bench.
19825         (bench-set): New target.
19826         (bench): Depend on bench-func and bench-set.
19827         * benchtests/README: Add section on benchmark sets.
19828         * benchtests/bench-memcpy-ifunc.c: New file.
19829         * benchtests/bench-memcpy.c: New file.
19830         * benchtests/bench-string.h: New file.
19831
19832 2013-06-11  Andreas Schwab  <schwab@suse.de>
19833
19834         [BZ #15577]
19835         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19836         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19837         values in the triple.
19838         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19839         terminator in the group key.
19840
19841 2013-06-11  Andreas Jaeger  <aj@suse.de>
19842
19843         * po/zh_TW.po: Update Chinese (traditional) translation from
19844         translation project.
19845
19846 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19847
19848         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19849         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19850         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19851         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19852         (clock_getcpuclockid): Likewise.
19853         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19854         Add weak_alias and libc_hidden_def.
19855         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19856         * rt/clock_gettime.c (clock_gettime): Rename to
19857         __clock_gettime.  Add weak_alias and libc_hidden_def.
19858         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19859         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19860         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19861         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19862         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19863         Likewise.
19864         * rt/clock_settime.c (clock_settime): Rename to
19865         __clock_settime.  Add weak_alias and libc_hidden_def.
19866         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19867
19868 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19869
19870         * mach/err_boot.sub: Remove trailing whitespace.
19871         * mach/err_ipc.sub: Likewise.
19872         * mach/err_mach.sub: Likewise.
19873
19874         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19875         (ROUNDING_TESTS_double): Likewise.
19876         (ROUNDING_TESTS_long_double): Likewise.
19877         (ROUNDING_TESTS): Likewise.
19878         * math/libm-test.inc: Include <math-tests.h>.
19879         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19880         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19881         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19882         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19883
19884 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19885
19886         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19887         of assigning.
19888
19889 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19890
19891         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19892         otherwise empty TRANS lines.
19893         * sysdeps/gnu/errlist.c: Regenerated.
19894
19895         * catgets/gencat.c (error_print): Use (void) in function
19896         definition.
19897         * crypt/crypt_util.c (__init_des): Likewise.
19898         * crypt/speeds.c (Stop): Likewise.
19899         (main): Likewise.
19900         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19901         * inet/ruserpass.c (token): Likewise.
19902         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19903         * intl/localealias.c (extend_alias_table): Likewise.
19904         * intl/plural-exp.c (init_germanic_plural): Likewise.
19905         * libio/fcloseall.c (__fcloseall): Likewise.
19906         * libio/genops.c (_IO_flush_all): Likewise.
19907         (_IO_flush_all_linebuffered): Likewise.
19908         (_IO_cleanup): Likewise.
19909         (_IO_iter_begin): Likewise.
19910         (_IO_iter_end): Likewise.
19911         (_IO_list_lock): Likewise.
19912         (_IO_list_unlock): Likewise.
19913         (_IO_list_resetlock): Likewise.
19914         * libio/getchar.c (getchar): Likewise.
19915         * libio/getchar_u.c (getchar_unlocked): Likewise.
19916         * libio/getwchar.c (getwchar): Likewise.
19917         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19918         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19919         * login/getpt.c (__getpt): Likewise.
19920         * login/tst-utmp.c (main): Likewise.
19921         * malloc/hooks.c (__malloc_check_init): Likewise.
19922         * malloc/malloc.c (__malloc_stats): Likewise.
19923         * malloc/mtrace.c (tr_break): Likewise.
19924         (mtrace): Likewise.
19925         (muntrace): Likewise.
19926         * misc/fstab.c (endfsent): Likewise.
19927         * misc/getclktck.c (__getclktck): Likewise.
19928         * misc/getdtsz.c (__getdtablesize): Likewise.
19929         * misc/gethostid.c (gethostid): Likewise.
19930         * misc/getpagesize.c (__getpagesize): Likewise.
19931         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19932         (__get_nprocs): Likewise.
19933         (__get_phys_pages): Likewise.
19934         (__get_avphys_pages): Likewise.
19935         * misc/getttyent.c (getttyent): Likewise.
19936         (setttyent): Likewise.
19937         (endttyent): Likewise.
19938         * misc/getusershell.c (getusershell): Likewise.
19939         (endusershell): Likewise.
19940         (setusershell): Likewise.
19941         (initshells): Likewise.
19942         * misc/hsearch.c (__hdestroy): Likewise.
19943         * misc/sync.c (sync): Likewise.
19944         * misc/syslog.c (closelog_internal): Likewise.
19945         (closelog): Likewise.
19946         * misc/ttyslot.c (ttyslot): Likewise.
19947         * misc/vhangup.c (vhangup): Likewise.
19948         * posix/fork.c (__fork): Likewise.
19949         * posix/getegid.c (__getegid): Likewise.
19950         * posix/geteuid.c (__geteuid): Likewise.
19951         * posix/getgid.c (__getgid): Likewise.
19952         * posix/getpid.c (__getpid): Likewise.
19953         * posix/getppid.c (__getppid): Likewise.
19954         * posix/getuid.c (__getuid): Likewise.
19955         * posix/pause.c (pause): Likewise.
19956         * posix/setpgrp.c (setpgrp): Likewise.
19957         * posix/setsid.c (__setsid): Likewise.
19958         * posix/test-vfork.c (noop): Likewise.
19959         * resolv/gethnamaddr.c (_endhtent): Likewise.
19960         (_gethtent): Likewise.
19961         (ht_endhostent): Likewise.
19962         (gethostent): Likewise.
19963         (dns_service): Likewise.
19964         * stdlib/drand48.c (drand48): Likewise.
19965         * stdlib/lrand48.c (lrand48): Likewise.
19966         * stdlib/mrand48.c (mrand48): Likewise.
19967         * stdlib/rand.c (rand): Likewise.
19968         * stdlib/random.c (__random): Likewise.
19969         * stdlib/setenv.c (clearenv): Likewise.
19970         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19971         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19972         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19973         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19974         (__get_nprocs): Likewise.
19975         (__get_phys_pages): Likewise.
19976         (__get_avphys_pages): Likewise.
19977         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19978         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19979         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19980         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19981         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19982         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19983         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19984         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19985         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19986         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19987         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19988         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19989         * sysdeps/posix/clock.c (clock): Likewise.
19990         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19991         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19992         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19993         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19994         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19996         (__get_nprocs_conf): Likewise.
19997         (__get_phys_pages): Likewise.
19998         (__get_avphys_pages): Likewise.
19999         * time/clock.c (clock): Likewise.
20000         * time/tzset.c (__tzname_max): Likewise.
20001
20002 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
20003
20004         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20005         (__bswap_32): Do not use "register".
20006         * crypt/crypt.c (_ufc_doit_r): Likewise.
20007         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20008         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20009         * gmon/gmon.c (__monstartup): Likewise.
20010         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20011         * hurd/hurdmalloc.c (more_memory): Likewise.
20012         (malloc): Likewise.
20013         (free): Likewise.
20014         (realloc): Likewise.
20015         (malloc_fork_prepare): Likewise.
20016         (malloc_fork_parent): Likewise.
20017         (malloc_fork_child): Likewise.
20018         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20019         (_svcauth_des): Likewise.
20020         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20021         * inet/inet_net.c (inet_network): Likewise.
20022         * inet/inet_netof.c (inet_netof): Likewise.
20023         * inet/rcmd.c (__validuser2_sa): Likewise.
20024         * io/fts.c (fts_open): Likewise.
20025         (fts_load): Likewise.
20026         (fts_close): Likewise.
20027         (fts_read): Likewise.
20028         (fts_children): Likewise.
20029         (fts_build): Likewise.
20030         (fts_stat): Likewise.
20031         (fts_sort): Likewise.
20032         (fts_alloc): Likewise.
20033         (fts_lfree): Likewise.
20034         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20035         (_IO_file_xsgetn): Likewise.
20036         (_IO_file_xsgetn_mmap): Likewise.
20037         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20038         (_IO_cookie_write): Likewise.
20039         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20040         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20041         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20042         * malloc/obstack.c (_obstack_begin): Likewise.
20043         (_obstack_begin_1): Likewise.
20044         (_obstack_newchunk): Likewise.
20045         (_obstack_allocated_p): Likewise.
20046         (obstack_free): Likewise.
20047         (_obstack_memory_used): Likewise.
20048         * misc/getttyent.c (getttynam): Likewise.
20049         (getttyent): Likewise.
20050         (skip): Likewise.
20051         (value): Likewise.
20052         * misc/getusershell.c (initshells): Likewise.
20053         * misc/syslog.c (__vsyslog_chk): Likewise.
20054         * misc/ttyslot.c (ttyslot): Likewise.
20055         * nis/nis_hash.c (__nis_hash): Likewise.
20056         * posix/fnmatch_loop.c (FCT): Likewise.
20057         * posix/getconf.c (print_all): Likewise.
20058         (main): Likewise.
20059         * posix/getopt.c (exchange): Likewise.
20060         * posix/glob.c (globfree): Likewise.
20061         (prefix_array): Likewise.
20062         (__glob_pattern_type): Likewise.
20063         * resolv/arpa/nameser.h (NS_GET16): Likewise.
20064         (NS_GET32): Likewise.
20065         (NS_PUT16): Likewise.
20066         (NS_PUT32): Likewise.
20067         * resolv/gethnamaddr.c (getanswer): Likewise.
20068         (gethostbyname2): Likewise.
20069         (gethostbyaddr): Likewise.
20070         (_gethtent): Likewise.
20071         (_gethtbyname2): Likewise.
20072         (_gethtbyaddr): Likewise.
20073         * resolv/ns_print.c (dst_s_get_int16): Likewise.
20074         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20075         * resolv/res_init.c (__res_vinit): Likewise.
20076         (net_mask): Likewise.
20077         * resolv/res_mkquery.c (outchar): Likewise.
20078         (PRINT): Likewise.
20079         * stdio-common/printf_fp.c (outchar): Likewise.
20080         (PRINT): Likewise.
20081         * stdio-common/printf_fphex.c (outchar): Likewise.
20082         (PRINT): Likewise.
20083         * stdio-common/printf_size.c (outchar): Likewise.
20084         (PRINT): Likewise.
20085         * stdio-common/test_rdwr.c (main): Likewise.
20086         * stdio-common/tfformat.c (matches): Likewise.
20087         * stdio-common/vfprintf.c (outchar): Likewise.
20088         (printf_unknown): Likewise.
20089         (buffered_vfprintf): Likewise.
20090         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20091         * stdio-common/xbug.c (AppendToBuffer): Likewise.
20092         (ReadFile): Likewise.
20093         * stdlib/qsort.c (SWAP): Likewise.
20094         (_quicksort): Likewise.
20095         * stdlib/setenv.c (__add_to_environ): Likewise.
20096         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20097         * stdlib/strtol_l.c (__strtol_l): Likewise.
20098         * stdlib/tst-strtod.c (main): Likewise.
20099         * stdlib/tst-strtol.c (main): Likewise.
20100         * stdlib/tst-strtoll.c (main): Likewise.
20101         * string/bits/string2.h (__strcmp_cc): Likewise.
20102         (__strcmp_cg): Likewise.
20103         (__strcspn_c1): Likewise.
20104         (__strcspn_c2): Likewise.
20105         (__strcspn_c3): Likewise.
20106         (__strspn_c1): Likewise.
20107         (__strspn_c2): Likewise.
20108         (__strspn_c3): Likewise.
20109         (__strsep_1c): Likewise.
20110         (__strsep_2c): Likewise.
20111         (__strsep_3c): Likewise.
20112         * string/memccpy.c (__memccpy): Likewise.
20113         * string/stpcpy.c (__stpcpy): Likewise.
20114         * string/strcmp.c (strcmp): Likewise.
20115         * string/strrchr.c (strrchr): Likewise.
20116         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20117         Likewise.
20118         * sysdeps/mach/hurd/getcwd.c
20119         (_hurd_canonicalize_directory_name_internal): Likewise.
20120         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20121         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20122         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20123         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20124         Likewise, in both definitions.
20125         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20126         definitions.
20127         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20128         64] (__bswap_64): Likewise.
20129         * time/test_time.c (main): Likewise.
20130         * time/tzfile.c (__tzfile_read): Likewise.
20131         (__tzfile_compute): Likewise.
20132         * time/tzset.c (__tzset_parse_tz): Likewise.
20133         (tzset_internal): Likewise.
20134         (compute_change): Likewise.
20135         * wcsmbs/wcscat.c (__wcscat): Likewise.
20136         * wcsmbs/wcschr.c (wcschr): Likewise.
20137         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20138         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20139         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20140         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20141         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20142         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20143         * wcsmbs/wmemchr.c (wmemchr): Likewise.
20144         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20145         * wcsmbs/wmemset.c (wmemset): Likewise.
20146
20147 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
20148
20149         * scripts/config.guess: Update to version 2013-05-16.
20150         * scripts/config.sub: Update to version 2013-04-24.
20151         * scripts/install-sh: Update to version 2011-11-20.07.
20152         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20153         * scripts/move-if-change: Update to version 2012-01-06 07:23.
20154
20155 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
20156
20157         * debug/fgetws_u_chk.c: Fix leading whitespaces.
20158         * elf/sln.c: Likewise.
20159         * hurd/hurd/ioctl.h: Likewise.
20160         * hurd/hurdmalloc.c: Likewise.
20161         * hurd/xattr.c: Likewise.
20162         * include/shlib-compat.h: Likewise.
20163         * inet/ruserpass.c: Likewise.
20164         * libio/iofgets_u.c: Likewise.
20165         * libio/iofgetws_u.c: Likewise.
20166         * locale/programs/ld-identification.c: Likewise.
20167         * locale/programs/ld-time.c: Likewise.
20168         * mach/msg-destroy.c: Likewise.
20169         * nss/nss_files/files-netgrp.c: Likewise.
20170         * resolv/res_data.c: Likewise.
20171         * soft-fp/op-1.h: Likewise.
20172         * soft-fp/op-2.h: Likewise.
20173         * soft-fp/op-4.h: Likewise.
20174         * soft-fp/op-common.h: Likewise.
20175         * stdio-common/printf_fphex.c: Likewise.
20176         * stdlib/strtod_l.c: Likewise.
20177         * sunrpc/rpc/clnt.h: Likewise.
20178         * sysdeps/generic/framestate.c: Likewise.
20179         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20180         * sysdeps/i386/bsd-setjmp.S: Likewise.
20181         * sysdeps/i386/__longjmp.S: Likewise.
20182         * sysdeps/i386/setjmp.S: Likewise.
20183         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20184         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20185         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20186         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20187         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20188         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20189         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20190         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20191         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20192         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20193         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20194         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20195         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20196         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20197         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20198         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20199         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20200         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20201         * sysdeps/ieee754/support.c: Likewise.
20202         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20203         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20204         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20205         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20206         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20207         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20208         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20209         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20210         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20211         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20212         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20213         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20214         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20215         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20216         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20217         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20218         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20220
20221 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
20222
20223         * posix/transbug.c: Remove executable mode.
20224
20225 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
20226
20227         * crypt/speeds.c: Remove trailing whitespace.
20228         * dlfcn/default.c: Likewise.
20229         * elf/ifuncdep2.c: Likewise.
20230         * elf/ifuncmain1.c: Likewise.
20231         * elf/ifuncmain1vis.c: Likewise.
20232         * elf/testobj.h: Likewise.
20233         * elf/tst-stackguard1.c: Likewise.
20234         * gmon/sys/gmon.h: Likewise.
20235         * hurd/hurdmsg.c: Likewise.
20236         * hurd/new-fd.c: Likewise.
20237         * hurd/ports-get.c: Likewise.
20238         * iconvdata/ibm1008_420.c: Likewise.
20239         * inet/tst-getni1.c: Likewise.
20240         * inet/tst-getni2.c: Likewise.
20241         * libio/ioungetc.c: Likewise.
20242         * libio/wfiledoalloc.c: Likewise.
20243         * manual/libm-err-tab.pl: Likewise.
20244         * math/w_dremf.c: Likewise.
20245         * misc/ftruncate.c: Likewise.
20246         * posix/bug-glob2.c: Likewise.
20247         * posix/tst-pcre.c: Likewise.
20248         * posix/wait4.c: Likewise.
20249         * resolv/README: Likewise.
20250         * resolv/res_debug.h: Likewise.
20251         * resolv/tst-inet_ntop.c: Likewise.
20252         * setjmp/bug269-setjmp.c: Likewise.
20253         * soft-fp/extended.h: Likewise.
20254         * soft-fp/op-1.h: Likewise.
20255         * soft-fp/op-2.h: Likewise.
20256         * soft-fp/op-4.h: Likewise.
20257         * soft-fp/op-8.h: Likewise.
20258         * soft-fp/testit.c: Likewise.
20259         * stdio-common/bug16.c: Likewise.
20260         * stdlib/random.c: Likewise.
20261         * sunrpc/rpcsvc/rquota.x: Likewise.
20262         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20263         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20264         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20265         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20266         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20267         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20268         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20269         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20270         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20271         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20272         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20273         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20274         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20275         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20276         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20277         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20278         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20279         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20280         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20281         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20282         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20283         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20284         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20285         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20286         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20287         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20288         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20289         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20290         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20291         * sysdeps/ieee754/s_lib_version.c: Likewise.
20292         * sysdeps/mach/hurd/check_fds.c: Likewise.
20293         * sysdeps/mach/hurd/getsockname.c: Likewise.
20294         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20295         * sysdeps/mach/hurd/recvfrom.c: Likewise.
20296         * sysdeps/powerpc/bits/link.h: Likewise.
20297         * sysdeps/powerpc/dl-procinfo.c: Likewise.
20298         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20299         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20300         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20301         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20302         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20303         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20304         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20305         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20306         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20307         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20308         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20309         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20310         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20311         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20312         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20313         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20314         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20315         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20316         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20317         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20318         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20319         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20320         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20321         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20322         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20323         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20324         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20325         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20326         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20327         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20328         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20329         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20330         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20331         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20332         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20333         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20334         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20335         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20336         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20337         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20338         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20339         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20340         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20341         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20342         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20343         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20344         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20345         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20346         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20347         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20348         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20349         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20350         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20351         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20352         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20353         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20354         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20355         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20356         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20357         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20358         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20359         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20360         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20361         * sysdeps/powerpc/sysdep.h: Likewise.
20362         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20363         * sysdeps/s390/s390-64/sub_n.S: Likewise.
20364         * sysdeps/sh/dl-trampoline.S: Likewise.
20365         * sysdeps/sh/memset.S: Likewise.
20366         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20367         * sysdeps/sh/strlen.S: Likewise.
20368         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20369         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20370         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20371         * sysdeps/sparc/sparc32/rem.S: Likewise.
20372         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20373         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20374         * sysdeps/sparc/sparc32/strchr.S: Likewise.
20375         * sysdeps/sparc/sparc32/udiv.S: Likewise.
20376         * sysdeps/sparc/sparc32/urem.S: Likewise.
20377         * sysdeps/sparc/sparc64/add_n.S: Likewise.
20378         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20379         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20380         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20381         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20382         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20383         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20384         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20385         * sysdeps/unix/bsd/times.c: Likewise.
20386         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20387         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20391         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20392         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20393         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20394         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20395         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20396         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20397         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20398         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20399         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20400         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20401         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20402         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20403         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20404         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20405         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20406         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20407         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20408         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20409         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20410         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20411         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20412         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20413         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20414         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20415         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20416         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20417         * sysdeps/x86_64/strcspn.S: Likewise.
20418
20419 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20420
20421         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20422         generated file.  Regenerate properly from gen-translit.pl.
20423         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20424         locale/C-translit.h.
20425
20426 2013-06-05  Andreas Schwab  <schwab@suse.de>
20427
20428         [BZ #15100]
20429         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20430         week as 6 instead of -1.
20431         * time/tst-strptime.c (day_tests): Add test case.
20432
20433 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20434
20435         * sysdeps/generic/math_private.h
20436         (libc_feholdexcept_setround_53bit): Replace with
20437         libc_feholdsetround_53bit.
20438         (libc_feupdateenv_53bit): Replace with
20439         libc_feresetround_53bit.
20440         (SET_RESTORE_ROUND_53BIT): Adjust.
20441
20442 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20443
20444         * string/test-strchrnul.c: Add copyright header.
20445
20446         * posix/tst-getaddrinfo4.c: Increase test timeout.
20447
20448 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20449
20450         [BZ #15536]
20451         * math/libm-test.inc (MAX_EXP): Remove
20452         (MIN_EXP): Define.
20453         (ulp): Use MIN_EXP - MANT_DIG.
20454         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20455
20456 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20457
20458         * po/be.po: Revert last change.
20459         * po/zh_CN.po: Likewise.
20460         * po/header.pot: Likewise.
20461
20462 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20463
20464         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20465         link-libc-deps to empty as target-specific variable.
20466         * Makerules (link-libc-args): New variable.
20467         (libc-for-link): Likewise.
20468         (link-libc-deps): Likewise.
20469         (lib%.so): Depend on $(link-libc-deps).  Link with
20470         $(link-libc-args).
20471         (build-module): Link with $(link-libc-args).
20472         (build-module-asneeded): Likewise.
20473         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20474         list of objects.
20475         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20476         target-specific variable.
20477         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20478         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20479         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20480         libc.
20481         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20482         libc and ld.so.
20483         ($(objpfx)libpcprofile.so): Likewise.
20484         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20485         libc_nonshared.a.
20486         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20487         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20488         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20489         $(link-libc-deps).
20490         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20491         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20492         * login/Makefile ($(objpfx)libutil.so): Likewise.
20493         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20494         * math/Makefile ($(objpfx)libm.so): Likewise.
20495         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20496         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20497         variable instead of depending directly on libc.
20498         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20499         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20500         $(link-libc-deps).
20501         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20502         libc.
20503         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20504         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20505         ($(objpfx)libanl.so): Likewise.
20506         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20507         ld.so.
20508         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20509         $(link-libc-deps).
20510         * sysdeps/i386/fpu/Makefile: Remove file.
20511         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20512         ($(objpfx)libm.so): Remove dependency on ld.so.
20513
20514 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20515
20516         [BZ # 15553]
20517         * nis/yp_xdr.c (XDRMAXNAME): Define.
20518         (XDRMAXRECORD): Define.
20519         (xdr_domainname): Use XDRMAXNAME.
20520         (xdr_mapname): Likewise.
20521         (xdr_peername): Likewise.
20522         (xdr_keydat): Use XDRMAXRECORD.
20523         (xdr_valdat): Likewise.
20524
20525 2013-05-30  Jeff Law  <law@redhat.com>
20526
20527         [BZ #14256]
20528         * manual/errno.texi (ESTALE): Update to account for more than
20529         just NFS file systems.
20530         * sysdeps/gnu/errlist.c: Regenerated.
20531
20532 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20533
20534         [BZ #15465]
20535         * elf/Makefile (tests): Add tst-null-argv.
20536         (modules-names):  Add tst-null-argv-lib.
20537         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20538         (tst-null-argv-ENV): Set environment for tst-null-argv.
20539         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20540         (RTLD_PROGNAME): New macro.
20541         * elf/tst-null-argv.c: New test case.
20542         * elf/tst-null-argv-lib.c: Library for test case.
20543         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20544         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20545         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20546         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20547         * elf/dl-init.c (call_init): Likewise.
20548         (_dl_init): Likewise.
20549         * elf/dl-load.c (print_search_path): Likewise.
20550         (_dl_map_object): Likewise.
20551         * elf/dl-lookup.c (do_lookup_x): Likewise.
20552         (add_dependency): Likewise.
20553         (_dl_lookup_symbol_x): Likewise.
20554         (_dl_debug_bindings): Likewise.
20555         * elf/dl-open.c (_dl_show_scope): Likewise.
20556         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20557         * elf/dl-version.c (match_symbol): Likewise.
20558         (_dl_check_map_versions): Likewise.
20559         * elf/rtld.c (dl_main): Likewise.
20560         (print_unresolved): Use RTLD_PROGNAME.
20561         (print_missing_version): Likewise.
20562         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20563         (elf_machine_rela): Likewise.
20564         * sysdeps/powerpc/powerpc32/dl-machine.c
20565         (__process_machine_rela): Likewise.
20566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20567         Likewise.
20568         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20569         Likewise.
20570         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20571         Likewise.
20572         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20573         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20574         Likewise.
20575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20576         Likewise.
20577         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20578
20579 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20580
20581         * po/be.po: Add descriptive title.
20582         * po/zh_CN.po: Likewise.
20583         * po/header.pot: Likewise.
20584
20585 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20586
20587         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20588         error message.
20589         (enlarge_archive): Likewise.
20590
20591 2013-05-28  Ben North  <ben@redfrontdoor.org>
20592
20593         * manual/arith.texi (frexp): It is the magnitude of the return
20594         value which lies in [0.5, 1), not the return value itself.
20595
20596 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20597
20598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20599
20600 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20601
20602         * stdio-common/bug26.c (main): Correct fscanf template.
20603
20604         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20605         declare _dl_skip_args.
20606
20607         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20608         Don't declare.
20609
20610         * manual/platform.texi: Add missing @end deftypefun.
20611
20612 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20613
20614         [BZ #15529]
20615         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20616         bit of mantissa of 2^16382.
20617         * math/libm-test.inc (hypot_test_data): Add more tests.
20618
20619         * math/libm-test.inc: Add drem and pow10 to list of tested
20620         functions.
20621         (pow10_test): New function.
20622         (drem_test): Likewise.
20623         (drem_test_tonearest): Likewise.
20624         (drem_test_towardzero): Likewise.
20625         (drem_test_downward): Likewise.
20626         (drem_test_upward): Likewise.
20627         (main): Call the new functions.
20628
20629         * math/libm-test.inc (finite_test_data): Remove.
20630         (finite_test): Run tests from isfinite_test_data.
20631         (gamma_test_data): Remove.
20632         (gamma_test): Run tests from lgamma_test_data.
20633         * sysdeps/i386/fpu/libm-test-ulps: Update.
20634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20635
20636 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20637
20638         * manual/platform.texi: Add PowerPC PPR function set documentation.
20639         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20640         implementation.
20641
20642 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20643
20644         * math/libm-test.inc (MAX_EXP): Define.
20645         (ULPDIFF): Define.
20646         (ulp): New function.
20647         (check_float_internal): Use ULPDIFF.
20648         (cpow_test): Disable failing test.
20649         (check_ulp): Test ulp() implemetnation.
20650         (main): Call check_ulp before starting tests.
20651
20652 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20653
20654         * math/gen-libm-test.pl (generate_testfile): Do not handle
20655         START_DATA and END_DATA.
20656         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20657         END_DATA.
20658         (acos_tonearest_test_data): Likewise.
20659         (acos_towardzero_test_data): Likewise.
20660         (acos_downward_test_data): Likewise.
20661         (acos_upward_test_data): Likewise.
20662         (acosh_test_data): Likewise.
20663         (asin_test_data): Likewise.
20664         (asin_tonearest_test_data): Likewise.
20665         (asin_towardzero_test_data): Likewise.
20666         (asin_downward_test_data): Likewise.
20667         (asin_upward_test_data): Likewise.
20668         (asinh_test_data): Likewise.
20669         (atan_test_data): Likewise.
20670         (atanh_test_data): Likewise.
20671         (atan2_test_data): Likewise.
20672         (cabs_test_data): Likewise.
20673         (cacos_test_data): Likewise.
20674         (cacosh_test_data): Likewise.
20675         (carg_test_data): Likewise.
20676         (casin_test_data): Likewise.
20677         (casinh_test_data): Likewise.
20678         (catan_test_data): Likewise.
20679         (catanh_test_data): Likewise.
20680         (cbrt_test_data): Likewise.
20681         (ccos_test_data): Likewise.
20682         (ccosh_test_data): Likewise.
20683         (ceil_test_data): Likewise.
20684         (cexp_test_data): Likewise.
20685         (cimag_test_data): Likewise.
20686         (clog_test_data): Likewise.
20687         (clog10_test_data): Likewise.
20688         (conj_test_data): Likewise.
20689         (copysign_test_data): Likewise.
20690         (cos_test_data): Likewise.
20691         (cos_tonearest_test_data): Likewise.
20692         (cos_towardzero_test_data): Likewise.
20693         (cos_downward_test_data): Likewise.
20694         (cos_upward_test_data): Likewise.
20695         (cosh_test_data): Likewise.
20696         (cosh_tonearest_test_data): Likewise.
20697         (cosh_towardzero_test_data): Likewise.
20698         (cosh_downward_test_data): Likewise.
20699         (cosh_upward_test_data): Likewise.
20700         (cpow_test_data): Likewise.
20701         (cproj_test_data): Likewise.
20702         (creal_test_data): Likewise.
20703         (csin_test_data): Likewise.
20704         (csinh_test_data): Likewise.
20705         (csqrt_test_data): Likewise.
20706         (ctan_test_data): Likewise.
20707         (ctan_tonearest_test_data): Likewise.
20708         (ctan_towardzero_test_data): Likewise.
20709         (ctan_downward_test_data): Likewise.
20710         (ctan_upward_test_data): Likewise.
20711         (ctanh_test_data): Likewise.
20712         (ctanh_tonearest_test_data): Likewise.
20713         (ctanh_towardzero_test_data): Likewise.
20714         (ctanh_downward_test_data): Likewise.
20715         (ctanh_upward_test_data): Likewise.
20716         (erf_test_data): Likewise.
20717         (erfc_test_data): Likewise.
20718         (exp_test_data): Likewise.
20719         (exp_tonearest_test_data): Likewise.
20720         (exp_towardzero_test_data): Likewise.
20721         (exp_downward_test_data): Likewise.
20722         (exp_upward_test_data): Likewise.
20723         (exp10_test_data): Likewise.
20724         (exp2_test_data): Likewise.
20725         (expm1_test_data): Likewise.
20726         (fabs_test_data): Likewise.
20727         (fdim_test_data): Likewise.
20728         (finite_test_data): Likewise.
20729         (floor_test_data): Likewise.
20730         (fma_test_data): Likewise.
20731         (fma_towardzero_test_data): Likewise.
20732         (fma_downward_test_data): Likewise.
20733         (fma_upward_test_data): Likewise.
20734         (fmax_test_data): Likewise.
20735         (fmin_test_data): Likewise.
20736         (fmod_test_data): Likewise.
20737         (fpclassify_test_data): Likewise.
20738         (frexp_test_data): Likewise.
20739         (gamma_test_data): Likewise.
20740         (hypot_test_data): Likewise.
20741         (ilogb_test_data): Likewise.
20742         (isfinite_test_data): Likewise.
20743         (isgreater_test_data): Likewise.
20744         (isgreaterequal_test_data): Likewise.
20745         (isinf_test_data): Likewise.
20746         (isless_test_data): Likewise.
20747         (islessequal_test_data): Likewise.
20748         (islessgreater_test_data): Likewise.
20749         (isnan_test_data): Likewise.
20750         (isnormal_test_data): Likewise.
20751         (issignaling_test_data): Likewise.
20752         (isunordered_test_data): Likewise.
20753         (j0_test_data): Likewise.
20754         (j1_test_data): Likewise.
20755         (jn_test_data): Likewise.
20756         (ldexp_test_data): Likewise.
20757         (lgamma_test_data): Likewise.
20758         (lrint_test_data): Likewise.
20759         (lrint_tonearest_test_data): Likewise.
20760         (lrint_towardzero_test_data): Likewise.
20761         (lrint_downward_test_data): Likewise.
20762         (lrint_upward_test_data): Likewise.
20763         (llrint_test_data): Likewise.
20764         (llrint_tonearest_test_data): Likewise.
20765         (llrint_towardzero_test_data): Likewise.
20766         (llrint_downward_test_data): Likewise.
20767         (llrint_upward_test_data): Likewise.
20768         (log_test_data): Likewise.
20769         (log10_test_data): Likewise.
20770         (log1p_test_data): Likewise.
20771         (log2_test_data): Likewise.
20772         (logb_test_data): Likewise.
20773         (logb_downward_test_data): Likewise.
20774         (lround_test_data): Likewise.
20775         (llround_test_data): Likewise.
20776         (modf_test_data): Likewise.
20777         (nearbyint_test_data): Likewise.
20778         (nextafter_test_data): Likewise.
20779         (nexttoward_test_data): Likewise.
20780         (pow_test_data): Likewise.
20781         (pow_tonearest_test_data): Likewise.
20782         (pow_towardzero_test_data): Likewise.
20783         (pow_downward_test_data): Likewise.
20784         (pow_upward_test_data): Likewise.
20785         (remainder_test_data): Likewise.
20786         (remainder_tonearest_test_data): Likewise.
20787         (remainder_towardzero_test_data): Likewise.
20788         (remainder_downward_test_data): Likewise.
20789         (remainder_upward_test_data): Likewise.
20790         (remquo_test_data): Likewise.
20791         (rint_test_data): Likewise.
20792         (rint_tonearest_test_data): Likewise.
20793         (rint_towardzero_test_data): Likewise.
20794         (rint_downward_test_data): Likewise.
20795         (rint_upward_test_data): Likewise.
20796         (round_test_data): Likewise.
20797         (scalb_test_data): Likewise.
20798         (scalbn_test_data): Likewise.
20799         (scalbln_test_data): Likewise.
20800         (signbit_test_data): Likewise.
20801         (sin_test_data): Likewise.
20802         (sin_tonearest_test_data): Likewise.
20803         (sin_towardzero_test_data): Likewise.
20804         (sin_downward_test_data): Likewise.
20805         (sin_upward_test_data): Likewise.
20806         (sincos_test_data): Likewise.
20807         (sinh_test_data): Likewise.
20808         (sinh_tonearest_test_data): Likewise.
20809         (sinh_towardzero_test_data): Likewise.
20810         (sinh_downward_test_data): Likewise.
20811         (sinh_upward_test_data): Likewise.
20812         (sqrt_test_data): Likewise.
20813         (tan_test_data): Likewise.
20814         (tan_tonearest_test_data): Likewise.
20815         (tan_towardzero_test_data): Likewise.
20816         (tan_downward_test_data): Likewise.
20817         (tan_upward_test_data): Likewise.
20818         (tanh_test_data): Likewise.
20819         (tgamma_test_data): Likewise.
20820         (trunc_test_data): Likewise.
20821         (y0_test_data): Likewise.
20822         (y1_test_data): Likewise.
20823         (yn_test_data): Likewise.
20824         (significand_test_data): Likewise.
20825
20826         * math/gen-libm-test.pl (@functions): Remove variable.
20827         (generate_testfile): Don't handle START and END lines.
20828         * math/libm-test.inc (START): New macro.
20829         (END): Likewise.
20830         (END_COMPLEX): Likewise.
20831         (acos_test): Use END macro without arguments.
20832         (acos_test_tonearest): Likewise.
20833         (acos_test_towardzero): Likewise.
20834         (acos_test_downward): Likewise.
20835         (acos_test_upward): Likewise.
20836         (acosh_test): Likewise.
20837         (asin_test): Likewise.
20838         (asin_test_tonearest): Likewise.
20839         (asin_test_towardzero): Likewise.
20840         (asin_test_downward): Likewise.
20841         (asin_test_upward): Likewise.
20842         (asinh_test): Likewise.
20843         (atan_test): Likewise.
20844         (atanh_test): Likewise.
20845         (atan2_test): Likewise.
20846         (cabs_test): Likewise.
20847         (cacos_test): Use END_COMPLEX macro without arguments.
20848         (cacosh_test): Likewise.
20849         (carg_test): Use END macro without arguments.
20850         (casin_test): Use END_COMPLEX macro without arguments.
20851         (casinh_test): Likewise.
20852         (catan_test): Likewise.
20853         (catanh_test): Likewise.
20854         (cbrt_test): Use END macro without arguments.
20855         (ccos_test): Use END_COMPLEX macro without arguments.
20856         (ccosh_test): Likewise.
20857         (ceil_test): Use END macro without arguments.
20858         (cexp_test): Use END_COMPLEX macro without arguments.
20859         (cimag_test): Use END macro without arguments.
20860         (clog_test): Use END_COMPLEX macro without arguments.
20861         (clog10_test): Likewise.
20862         (conj_test): Likewise.
20863         (copysign_test): Use END macro without arguments.
20864         (cos_test): Likewise.
20865         (cos_test_tonearest): Likewise.
20866         (cos_test_towardzero): Likewise.
20867         (cos_test_downward): Likewise.
20868         (cos_test_upward): Likewise.
20869         (cosh_test): Likewise.
20870         (cosh_test_tonearest): Likewise.
20871         (cosh_test_towardzero): Likewise.
20872         (cosh_test_downward): Likewise.
20873         (cosh_test_upward): Likewise.
20874         (cpow_test): Use END_COMPLEX macro without arguments.
20875         (cproj_test): Likewise.
20876         (creal_test): Use END macro without arguments.
20877         (csin_test): Use END_COMPLEX macro without arguments.
20878         (csinh_test): Likewise.
20879         (csqrt_test): Likewise.
20880         (ctan_test): Likewise.
20881         (ctan_test_tonearest): Likewise.
20882         (ctan_test_towardzero): Likewise.
20883         (ctan_test_downward): Likewise.
20884         (ctan_test_upward): Likewise.
20885         (ctanh_test): Likewise.
20886         (ctanh_test_tonearest): Likewise.
20887         (ctanh_test_towardzero): Likewise.
20888         (ctanh_test_downward): Likewise.
20889         (ctanh_test_upward): Likewise.
20890         (erf_test): Use END macro without arguments.
20891         (erfc_test): Likewise.
20892         (exp_test): Likewise.
20893         (exp_test_tonearest): Likewise.
20894         (exp_test_towardzero): Likewise.
20895         (exp_test_downward): Likewise.
20896         (exp_test_upward): Likewise.
20897         (exp10_test): Likewise.
20898         (exp2_test): Likewise.
20899         (expm1_test): Likewise.
20900         (fabs_test): Likewise.
20901         (fdim_test): Likewise.
20902         (finite_test): Likewise.
20903         (floor_test): Likewise.
20904         (fma_test): Likewise.
20905         (fma_test_towardzero): Likewise.
20906         (fma_test_downward): Likewise.
20907         (fma_test_upward): Likewise.
20908         (fmax_test): Likewise.
20909         (fmin_test): Likewise.
20910         (fmod_test): Likewise.
20911         (fpclassify_test): Likewise.
20912         (frexp_test): Likewise.
20913         (gamma_test): Likewise.
20914         (hypot_test): Likewise.
20915         (ilogb_test): Likewise.
20916         (isfinite_test): Likewise.
20917         (isgreater_test): Likewise.
20918         (isgreaterequal_test): Likewise.
20919         (isinf_test): Likewise.
20920         (isless_test): Likewise.
20921         (islessequal_test): Likewise.
20922         (islessgreater_test): Likewise.
20923         (isnan_test): Likewise.
20924         (isnormal_test): Likewise.
20925         (issignaling_test): Likewise.
20926         (isunordered_test): Likewise.
20927         (j0_test): Likewise.
20928         (j1_test): Likewise.
20929         (jn_test): Likewise.
20930         (ldexp_test): Likewise.
20931         (lgamma_test): Likewise.
20932         (lrint_test): Likewise.
20933         (lrint_test_tonearest): Likewise.
20934         (lrint_test_towardzero): Likewise.
20935         (lrint_test_downward): Likewise.
20936         (lrint_test_upward): Likewise.
20937         (llrint_test): Likewise.
20938         (llrint_test_tonearest): Likewise.
20939         (llrint_test_towardzero): Likewise.
20940         (llrint_test_downward): Likewise.
20941         (llrint_test_upward): Likewise.
20942         (log_test): Likewise.
20943         (log10_test): Likewise.
20944         (log1p_test): Likewise.
20945         (log2_test): Likewise.
20946         (logb_test): Likewise.
20947         (logb_test_downward): Likewise.
20948         (lround_test): Likewise.
20949         (llround_test): Likewise.
20950         (modf_test): Likewise.
20951         (nearbyint_test): Likewise.
20952         (nextafter_test): Likewise.
20953         (nexttoward_test): Likewise.
20954         (pow_test): Likewise.
20955         (pow_test_tonearest): Likewise.
20956         (pow_test_towardzero): Likewise.
20957         (pow_test_downward): Likewise.
20958         (pow_test_upward): Likewise.
20959         (remainder_test): Likewise.
20960         (remainder_test_tonearest): Likewise.
20961         (remainder_test_towardzero): Likewise.
20962         (remainder_test_downward): Likewise.
20963         (remainder_test_upward): Likewise.
20964         (remquo_test): Likewise.
20965         (rint_test): Likewise.
20966         (rint_test_tonearest): Likewise.
20967         (rint_test_towardzero): Likewise.
20968         (rint_test_downward): Likewise.
20969         (rint_test_upward): Likewise.
20970         (round_test): Likewise.
20971         (scalb_test): Likewise.
20972         (scalbn_test): Likewise.
20973         (scalbln_test): Likewise.
20974         (signbit_test): Likewise.
20975         (sin_test): Likewise.
20976         (sin_test_tonearest): Likewise.
20977         (sin_test_towardzero): Likewise.
20978         (sin_test_downward): Likewise.
20979         (sin_test_upward): Likewise.
20980         (sincos_test): Likewise.
20981         (sinh_test): Likewise.
20982         (sinh_test_tonearest): Likewise.
20983         (sinh_test_towardzero): Likewise.
20984         (sinh_test_downward): Likewise.
20985         (sinh_test_upward): Likewise.
20986         (sqrt_test): Likewise.
20987         (tan_test): Likewise.
20988         (tan_test_tonearest): Likewise.
20989         (tan_test_towardzero): Likewise.
20990         (tan_test_downward): Likewise.
20991         (tan_test_upward): Likewise.
20992         (tanh_test): Likewise.
20993         (tgamma_test): Likewise.
20994         (trunc_test): Likewise.
20995         (y0_test): Likewise.
20996         (y1_test): Likewise.
20997         (yn_test): Likewise.
20998         (significand_test): Likewise.
20999
21000 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
21001
21002         [BZ #15381]
21003         * libio/genops.c (_IO_no_init): Initialize wide struct info.
21004
21005 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21006
21007         [BZ #14894]
21008         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21009         __ppc_mdoio and __ppc_mdoom.
21010         * manual/platform.texi: Document new functions __ppc_yield,
21011         __ppc_mdoio and __ppc_mdoom.
21012
21013 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
21014
21015         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21016         (main): Mention "tls" pseudo-hwcap is legacy.
21017         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21018
21019 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21020
21021         * math/gen-libm-test.pl (parse_args): Output only string of
21022         arguments as text for test name, not full call or descriptions of
21023         tests for extra outputs.
21024         (generate_testfile): Do not pass function name to parse_args.
21025         Generate this_func variable from START.
21026         * math/libm-test.inc (struct test_f_f_data): Rename test_name
21027         field to arg_str.
21028         (struct test_ff_f_data): Likewise.
21029         (test_ff_f_data_nexttoward): Likewise.
21030         (struct test_fi_f_data): Likewise.
21031         (struct test_fl_f_data): Likewise.
21032         (struct test_if_f_data): Likewise.
21033         (struct test_fff_f_data): Likewise.
21034         (struct test_c_f_data): Likewise.
21035         (struct test_f_f1_data): Likewise.  Remove field extra_name.
21036         (struct test_fF_f1_data): Likewise.
21037         (struct test_ffI_f1_data): Likewise.
21038         (struct test_c_c_data): Rename test_name field to arg_str.
21039         (struct test_cc_c_data): Likewise.
21040         (struct test_f_i_data): Likewise.
21041         (struct test_ff_i_data): Likewise.
21042         (struct test_f_l_data): Likewise.
21043         (struct test_f_L_data): Likewise.
21044         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
21045         and extra2_name.
21046         (COMMON_TEST_SETUP): New macro.
21047         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21048         (COMMON_TEST_CLEANUP): Likewise.
21049         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21050         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
21051         macros.
21052         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21053         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
21054         macros.
21055         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21056         (RUN_TEST_fff_f): Take argument string.  Call new setup and
21057         cleanup macros.
21058         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21059         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
21060         macros.
21061         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21062         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
21063         macros.
21064         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21065         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
21066         cleanup macros.
21067         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21068         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
21069         cleanup macros.
21070         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21071         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
21072         cleanup macros.
21073         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21074         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
21075         macros.
21076         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21077         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
21078         macros.
21079         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21080         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
21081         macros.
21082         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21083         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
21084         cleanup macros.
21085         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21086         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
21087         cleanup macros.
21088         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21089         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
21090         macros.
21091         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21092         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
21093         cleanup macros.
21094         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21095         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
21096         macros.
21097         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21098         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
21099         macros.
21100         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21101         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
21102         cleanup macros.
21103         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21104
21105 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
21106
21107         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21108         to _sifields.sigfault.
21109         (si_addr_lsb): Define new macro.
21110         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21111         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21112         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21113
21114 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
21115
21116         [BZ #15441]
21117         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21118         returns -1.
21119         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21120         null return -1.
21121         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21122         loading the domain.
21123
21124 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21125
21126         * math/gen-libm-test.pl (parse_args): Do not include expected
21127         result in test name.
21128         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21129         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21130         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21131         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21132         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21134
21135 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21136
21137         * benchtests/Makefile: Sort function entries.
21138
21139         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21140         tanh, asinh, acosh, atanh.
21141         * benchtests/acos-inputs: New file.
21142         * benchtests/acosh-inputs: New file.
21143         * benchtests/asin-inputs: New file.
21144         * benchtests/asinh-inputs: New file.
21145         * benchtests/atanh-inputs: New file.
21146         * benchtests/cosh-inputs: New file.
21147         * benchtests/log-inputs: New file.
21148         * benchtests/sinh-inputs: New file.
21149         * benchtests/tanh-inputs: New file.
21150
21151 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
21152
21153         [BZ #15339]
21154         * posix/tst-getaddrinfo4.c: New test.
21155         * posix/Makefile (tests): Add it.
21156
21157 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21158
21159         [BZ #15339]
21160         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21161         when no services were used.
21162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21163         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21164
21165 2013-05-21  Andreas Schwab  <schwab@suse.de>
21166
21167         [BZ #15014]
21168         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21169         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21170         successful.
21171         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21172         redundant variable declarations and reallocation of buffer when
21173         parsing as IPv6 address.  Always set NSS status when called from
21174         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
21175         buffer too small.  Correct computation of needed size.
21176         * nss/Makefile (tests): Add test-digits-dots.
21177         * nss/test-digits-dots.c: New test.
21178
21179 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21180
21181         * benchtests/Makefile: Remove instructions for adding
21182         benchmark tests.
21183         * benchtests/README: New file to explain how to execute and
21184         enhance the benchmark tests.
21185
21186 2013-05-21  Andreas Schwab  <schwab@suse.de>
21187
21188         [BZ #15493]
21189         * setjmp/Makefile (tests): Add tst-sigsetjmp.
21190         * setjmp/tst-sigsetjmp.c: New test.
21191
21192 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21193
21194         * sysdeps/x86_64/memset.S (memset): New implementation.
21195         (__bzero): Likewise.
21196         (__memset_tail): New function.
21197
21198 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21199
21200         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21201         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21202         __memcpy_sse2_unaligned ifunc selection.
21203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21204         Add memcpy-sse2-unaligned.S.
21205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21206         Add: __memcpy_sse2_unaligned.
21207
21208 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
21209
21210         [BZ #15490]
21211         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21212         math_force_eval before restoring floating-point envrionment.
21213         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21214         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21215         Likewise.
21216         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21217         <math_private.h>.
21218         (__nearbyintl): Use math_force_eval before restoring
21219         floating-point environment.
21220         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21221
21222         * math/gen-libm-test.pl (special_functions): Remove.
21223         (parse_args): Don't handle TEST_extra.  Handle functions with no
21224         return value.
21225         * math/libm-test.inc (struct test_sincos_data): Replace with
21226         struct test_fFF_11_data.
21227         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21228         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21229         (sincos_test_data): Change element type to struct
21230         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
21231         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21232         RUN_TEST_LOOP_sincos.
21233         * math/README.libm-test: Don't mention special handling of
21234         individual functions.
21235         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21236         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21237         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21238         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21239         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21241
21242         * math/gen-libm-test.pl (get_variable): Remove function.
21243         (parse_args): Don't show pointer parameters to call in test
21244         names.  Use "extra output N" in test names for extra outputs
21245         rather than naming variables.
21246
21247 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
21248
21249         [BZ #15488]
21250         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21251         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21252         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21253         double tests.
21254         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21255         disable.
21256         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21257         check_long_double.
21258
21259         * math/gen-libm-test.pl (@tests): Remove variable.
21260         ($count): Likewise.
21261         (new_test): Remove function.
21262         (show_exceptions): New function.
21263         (special_functions): Use show_exceptions instead of new_test.
21264         (parse_args): Likewise.
21265         (generate_testfile): Pass only function name in generated call to
21266         print_max_error or print_complex_max_error.
21267         (get_ulps): Do not handle complex tests specially.
21268         (output_test): Rename to ...
21269         (get_all_ulps_for_test): ... this.  Return a string rather than
21270         printing to a file.  Require ulps to be present.
21271         (output_ulps): Generate arrays rather than #defines.
21272         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21273         (struct ulp_data): New type.
21274         (BUILD_COMPLEX_ULP): Remove macro.
21275         (compare_ulp_data): New function.
21276         (find_ulps): Likewise.
21277         (find_test_ulps): Likewise.
21278         (find_function_ulps): Likewise.
21279         (find_complex_function_ulps): Likewise.
21280         (print_max_error): Determine allowed ulps using
21281         find_function_ulps.
21282         (print_complex_max_error): Determine allowed ulps using
21283         find_complex_function_ulps.
21284         (check_float_internal): Determine max ulps using find_test_ulps.
21285         (check_float): Do not take max_ulp parameter.  Update call to
21286         check_float_internal.
21287         (check_complex): Likewise.
21288         (check_int): Do not take max_ulp parameter.
21289         (check_long): Likewise.
21290         (check_bool): Likewise.
21291         (check_longlong): Likewise.
21292         (struct test_f_f_data): Remove max_ulp field.
21293         (struct test_ff_f_data): Likewise.
21294         (struct test_ff_f_data_nexttoward): Likewise.
21295         (struct test_fi_f_data): Likewise.
21296         (struct test_fl_f_data): Likewise.
21297         (struct test_if_f_data): Likewise.
21298         (struct test_fff_f_data): Likewise.
21299         (struct test_c_f_data): Likewise.
21300         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21301         (struct test_fF_f1_data): Likewise.
21302         (struct test_ffI_f1_data): Likewise.
21303         (struct test_c_c_data): Remove max_ulp field.
21304         (struct test_cc_c_data): Likewise.
21305         (struct test_f_i_data): Likewise.
21306         (struct test_ff_i_data): Likewise.
21307         (struct test_f_l_data): Likewise.
21308         (struct test_f_L_data): Likewise.
21309         (struct test_sincos_data): Likewise.
21310         (RUN_TEST_f_f): Do not handle ulps.
21311         (RUN_TEST_LOOP_f_f): Likewise.
21312         (RUN_TEST_2_f): Likewise.
21313         (RUN_TEST_LOOP_2_f): Likewise.
21314         (RUN_TEST_fff_f): Likewise.
21315         (RUN_TEST_LOOP_fff_f): Likewise.
21316         (RUN_TEST_c_f): Likewise.
21317         (RUN_TEST_LOOP_c_f): Likewise.
21318         (RUN_TEST_f_f1): Likewise.
21319         (RUN_TEST_LOOP_f_f1): Likewise.
21320         (RUN_TEST_fF_f1): Likewise.
21321         (RUN_TEST_LOOP_fF_f1): Likewise.
21322         (RUN_TEST_fI_f1): Likewise.
21323         (RUN_TEST_LOOP_fI_f1): Likewise.
21324         (RUN_TEST_ffI_f1): Likewise.
21325         (RUN_TEST_LOOP_ffI_f1): Likewise.
21326         (RUN_TEST_c_c): Likewise.
21327         (RUN_TEST_LOOP_c_c): Likewise.
21328         (RUN_TEST_cc_c): Likewise.
21329         (RUN_TEST_LOOP_cc_c): Likewise.
21330         (RUN_TEST_f_i): Likewise.
21331         (RUN_TEST_LOOP_f_i): Likewise.
21332         (RUN_TEST_f_i_tg): Likewise.
21333         (RUN_TEST_LOOP_f_i_tg): Likewise.
21334         (RUN_TEST_ff_i_tg): Likewise.
21335         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21336         (RUN_TEST_f_b): Likewise.
21337         (RUN_TEST_LOOP_f_b): Likewise.
21338         (RUN_TEST_f_b_tg): Likewise.
21339         (RUN_TEST_LOOP_f_b_tg): Likewise.
21340         (RUN_TEST_f_l): Likewise.
21341         (RUN_TEST_LOOP_f_l): Likewise.
21342         (RUN_TEST_f_L): Likewise.
21343         (RUN_TEST_LOOP_f_L): Likewise.
21344         (RUN_TEST_sincos): Likewise.
21345         (RUN_TEST_LOOP_sincos): Likewise.
21346
21347 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
21348
21349         [BZ #15480]
21350         [BZ #15485]
21351         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21352         main case of finite arguments, set rounding mode to FE_TONEAREST
21353         and discard exceptions.
21354         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21355         exceptions.
21356         (remainder_tonearest_test_data): New variable.
21357         (remainder_test_tonearest): New function.
21358         (remainder_towardzero_test_data): New variable.
21359         (remainder_test_towardzero): New function.
21360         (remainder_downward_test_data): New variable.
21361         (remainder_test_downward): New function.
21362         (remainder_upward_test_data): New variable.
21363         (remainder_test_upward): New function.
21364         (main): Call the new test functions.
21365
21366         * math/libm-test.inc (struct test_f_f1_data): Remove field
21367         extra_init.
21368         (struct test_fF_f1_data): Likewise.
21369         (struct test_ffI_f1_data): Likewise.
21370         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
21371         based on value of EXTRA_EXPECTED.
21372         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21373         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
21374         EXTRA_VAR based on value of EXTRA_EXPECTED.
21375         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21376         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
21377         EXTRA_VAR based on value of EXTRA_EXPECTED.
21378         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21379         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
21380         EXTRA_VAR based on value of EXTRA_EXPECTED.
21381         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21382         * math/gen-libm-test.pl (parse_args): Don't output initializers
21383         for extra output values.
21384
21385         * math/libm-test.inc (check_int): Expect result to be exactly
21386         equal to expected value and do not handle ulps.
21387         (check_long): Likewise.
21388         (check_longlong): Likewise.
21389
21390         * math/libm-test.inc (ceil_test_data): Test for "inexact"
21391         exceptions.
21392         (cimag_test_data): Likewise.
21393         (conj_test_data): Likewise.
21394         (copysign_test_data): Likewise.
21395         (cproj_test_data): Likewise.
21396         (creal_test_data): Likewise.
21397         (fabs_test_data): Likewise.
21398         (fdim_test_data): Likewise.
21399         (finite_test_data): Likewise.
21400         (floor_test_data): Likewise.
21401         (fmax_test_data): Likewise.
21402         (fmin_test_data): Likewise.
21403         (fmod_test_data): Likewise.
21404         (fpclassify_test_data): Likewise.
21405         (frexp_test_data): Likewise.
21406         (ilogb_test_data): Likewise.
21407         (isfinite_test_data): Likewise.
21408         (isgreater_test_data): Likewise.
21409         (isgreaterequal_test_data): Likewise.
21410         (isinf_test_data): Likewise.
21411         (isless_test_data): Likewise.
21412         (islessequal_test_data): Likewise.
21413         (islessgreater_test_data): Likewise.
21414         (isnan_test_data): Likewise.
21415         (isnormal_test_data): Likewise.
21416         (issignaling_test_data): Likewise.
21417         (isunordered_test_data): Likewise.
21418         (ldexp_test_data): Likewise.
21419         (lrint_test_data): Likewise.
21420         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21421         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21422         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21423         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21424         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21425         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21426         test input.
21427         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21428         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21429         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21430         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21431         that test input.
21432         (lrint_downward_test_data): Test for "inexact" exceptions.
21433         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21434         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21435         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21436         test input.
21437         (lrint_upward_test_data): Test for "inexact" exceptions.
21438         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21439         test input.
21440         (llrint_test_data): Test for "inexact" exceptions.
21441         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21442         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21443         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21444         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21445         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21446         (llrint_downward_test_data): Test for "inexact" exceptions.
21447         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21448         (llrint_upward_test_data): Test for "inexact" exceptions.
21449         (logb_test_data): Likewise.
21450         (logb_downward_test_data): Likewise.
21451         (nextafter_test_data): Likewise.
21452         (nexttoward_test_data): Likewise.
21453         (remainder_test_data): Likewise.
21454         (remquo_test_data): Likewise.
21455         (scalbn_test_data): Likewise.
21456         (scalbln_test_data): Likewise.
21457         (signbit_test_data): Likewise.
21458         (sqrt_test_data): Likewise.
21459         (significand_test_data): Likewise.
21460
21461 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21462
21463         [BZ #15424]
21464         * benchtests/bench-modf.c (struct args): Mark arg0 as
21465         volatile.
21466         * scripts/bench.pl: Mark members of struct args as volatile.
21467
21468 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21469
21470         [BZ # 15497]
21471         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21472         negative infinity on POWER6 or lower.
21473         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21474
21475 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21476
21477         [BZ #15442]
21478         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21479         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21480         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21481         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21482         (_FP_SETQNAN): New macro.
21483         (_FP_SETQNAN_SEMIRAW): Likewise.
21484         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21485         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21486         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21487         (FP_EXTEND): Use _FP_FRAC_SNANP.
21488         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21489         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21490         into account.
21491         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21492         New macro.
21493         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21494         Likewise.
21495
21496 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21497
21498         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21499         with DIVIDE_BY_ZERO_EXCEPTION.
21500         (gamma_test_data): Likewise.
21501         (lgamma_test_data): Likewise.
21502         (log_test_data): Likewise.
21503         (log10_test_data): Likewise.
21504         (log2_test_data): Likewise.
21505         (tgamma_test_data): Likewise.
21506
21507         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21508         (acos_test_tonearest): Likewise.
21509         (acos_test_towardzero): Likewise.
21510         (acos_test_downward): Likewise.
21511         (acos_test_upward): Likewise.
21512         (acosh_test): Likewise.
21513         (asin_test): Likewise.
21514         (asin_test_tonearest): Likewise.
21515         (asin_test_towardzero): Likewise.
21516         (asin_test_downward): Likewise.
21517         (asin_test_upward): Likewise.
21518         (asinh_test): Likewise.
21519         (atan_test): Likewise.
21520         (atanh_test): Likewise.
21521         (atan2_test): Likewise.
21522         (cabs_test): Likewise.
21523         (cacos_test): Likewise.
21524         (cacosh_test): Likewise.
21525         (casin_test): Likewise.
21526         (casinh_test): Likewise.
21527         (catan_test): Likewise.
21528         (catanh_test): Likewise.
21529         (cbrt_test): Likewise.
21530         (ccos_test): Likewise.
21531         (ccosh_test): Likewise.
21532         (cexp_test): Likewise.
21533         (clog_test): Likewise.
21534         (clog10_test): Likewise.
21535         (cos_test): Likewise.
21536         (cos_test_tonearest): Likewise.
21537         (cos_test_towardzero): Likewise.
21538         (cos_test_downward): Likewise.
21539         (cos_test_upward): Likewise.
21540         (cosh_test): Likewise.
21541         (cosh_test_tonearest): Likewise.
21542         (cosh_test_towardzero): Likewise.
21543         (cosh_test_downward): Likewise.
21544         (cosh_test_upward): Likewise.
21545         (cpow_test): Likewise.
21546         (csin_test): Likewise.
21547         (csinh_test): Likewise.
21548         (csqrt_test): Likewise.
21549         (ctan_test): Likewise.
21550         (ctan_test_tonearest): Likewise.
21551         (ctan_test_towardzero): Likewise.
21552         (ctan_test_downward): Likewise.
21553         (ctan_test_upward): Likewise.
21554         (ctanh_test): Likewise.
21555         (ctanh_test_tonearest): Likewise.
21556         (ctanh_test_towardzero): Likewise.
21557         (ctanh_test_downward): Likewise.
21558         (ctanh_test_upward): Likewise.
21559         (erf_test): Likewise.
21560         (erfc_test): Likewise.
21561         (exp_test): Likewise.
21562         (exp_test_tonearest): Likewise.
21563         (exp_test_towardzero): Likewise.
21564         (exp_test_downward): Likewise.
21565         (exp_test_upward): Likewise.
21566         (exp10_test): Likewise.
21567         (exp2_test): Likewise.
21568         (expm1_test): Likewise.
21569         (fmod_test): Likewise.
21570         (gamma_test): Likewise.
21571         (hypot_test): Likewise.
21572         (j0_test): Likewise.
21573         (j1_test): Likewise.
21574         (jn_test): Likewise.
21575         (lgamma_test): Likewise.
21576         (log_test): Likewise.
21577         (log10_test): Likewise.
21578         (log1p_test): Likewise.
21579         (log2_test): Likewise.
21580         (logb_test_downward): Likewise.
21581         (pow_test): Likewise.
21582         (pow_test_tonearest): Likewise.
21583         (pow_test_towardzero): Likewise.
21584         (pow_test_downward): Likewise.
21585         (pow_test_upward): Likewise.
21586         (remainder_test): Likewise.
21587         (remquo_test): Likewise.
21588         (sin_test): Likewise.
21589         (sin_test_tonearest): Likewise.
21590         (sin_test_towardzero): Likewise.
21591         (sin_test_downward): Likewise.
21592         (sin_test_upward): Likewise.
21593         (sincos_test): Likewise.
21594         (sinh_test): Likewise.
21595         (sinh_test_tonearest): Likewise.
21596         (sinh_test_towardzero): Likewise.
21597         (sinh_test_downward): Likewise.
21598         (sinh_test_upward): Likewise.
21599         (sqrt_test): Likewise.
21600         (tan_test): Likewise.
21601         (tan_test_tonearest): Likewise.
21602         (tan_test_towardzero): Likewise.
21603         (tan_test_downward): Likewise.
21604         (tan_test_upward): Likewise.
21605         (tanh_test): Likewise.
21606         (tgamma_test): Likewise.
21607         (y0_test): Likewise.
21608         (y1_test): Likewise.
21609         (yn_test): Likewise.
21610
21611         * math/gen-libm-test.pl (adjust_arg): Remove function.
21612         (special_function): Remove argument $in_func.  Only handle
21613         generating output for tables of tests, not inside functions.
21614         (parse_args): Likewise.
21615         (generate_testfile): Remove variable $in_func.  Update call to
21616         parse_args.
21617         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21618         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21619         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21620         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21621         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21622         (MAX_VALUE_INIT): Rename macro to max_value.
21623         (MIN_VALUE_INIT): Rename macro to min_value.
21624         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21625         (plus_zero): Remove variable.
21626         (minus_zero): Likewise.
21627         (plus_infty): Likewise.
21628         (minus_infty): Likewise.
21629         (qnan_value): Likewise.
21630         (max_value): Likewise.
21631         (min_value): Likewise.
21632         (min_subnorm_value): Likewise.
21633
21634 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21635
21636         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21637         uint64_t or uint32_t usage.
21638         * crypt/sha256-block.c: Likewise.
21639         * crypt/sha256-crypt.c: Likewise.
21640         * crypt/sha256.c: Likewise.
21641         * crypt/sha512-block.c: Likewise.
21642         * crypt/sha512-crypt.c: Likewise.
21643         * crypt/sha512.c: Likewise.
21644         * debug/backtrace-tst.c: Likewise.
21645         * debug/pcprofiledump.c: Likewise.
21646         * elf/cache.c: Likewise.
21647         * elf/dl-cache.c: Likewise.
21648         * elf/dl-misc.c: Likewise.
21649         * elf/dl-profile.c: Likewise.
21650         * elf/dl-support.c: Likewise.
21651         * elf/ldconfig.c: Likewise.
21652         * elf/sprof.c: Likewise.
21653         * iconv/dummy-repertoire.c: Likewise.
21654         * iconv/iconv_charmap.c: Likewise.
21655         * iconv/skeleton.c: Likewise.
21656         * iconvdata/8bit-generic.c: Likewise.
21657         * iconvdata/cp737.h: Likewise.
21658         * iconvdata/cp775.h: Likewise.
21659         * iconvdata/ibm1008.h: Likewise.
21660         * iconvdata/ibm1025.h: Likewise.
21661         * iconvdata/ibm1046.h: Likewise.
21662         * iconvdata/ibm1097.h: Likewise.
21663         * iconvdata/ibm1112.h: Likewise.
21664         * iconvdata/ibm1122.h: Likewise.
21665         * iconvdata/ibm1123.h: Likewise.
21666         * iconvdata/ibm1124.h: Likewise.
21667         * iconvdata/ibm1129.h: Likewise.
21668         * iconvdata/ibm1130.h: Likewise.
21669         * iconvdata/ibm1132.h: Likewise.
21670         * iconvdata/ibm1133.h: Likewise.
21671         * iconvdata/ibm1137.h: Likewise.
21672         * iconvdata/ibm1140.h: Likewise.
21673         * iconvdata/ibm1141.h: Likewise.
21674         * iconvdata/ibm1142.h: Likewise.
21675         * iconvdata/ibm1143.h: Likewise.
21676         * iconvdata/ibm1144.h: Likewise.
21677         * iconvdata/ibm1145.h: Likewise.
21678         * iconvdata/ibm1146.h: Likewise.
21679         * iconvdata/ibm1147.h: Likewise.
21680         * iconvdata/ibm1148.h: Likewise.
21681         * iconvdata/ibm1149.h: Likewise.
21682         * iconvdata/ibm1153.h: Likewise.
21683         * iconvdata/ibm1154.h: Likewise.
21684         * iconvdata/ibm1155.h: Likewise.
21685         * iconvdata/ibm1156.h: Likewise.
21686         * iconvdata/ibm1157.h: Likewise.
21687         * iconvdata/ibm1158.h: Likewise.
21688         * iconvdata/ibm1160.h: Likewise.
21689         * iconvdata/ibm1161.h: Likewise.
21690         * iconvdata/ibm1162.h: Likewise.
21691         * iconvdata/ibm1163.h: Likewise.
21692         * iconvdata/ibm1164.h: Likewise.
21693         * iconvdata/ibm1166.h: Likewise.
21694         * iconvdata/ibm1167.h: Likewise.
21695         * iconvdata/ibm12712.h: Likewise.
21696         * iconvdata/ibm1390.h: Likewise.
21697         * iconvdata/ibm1399.h: Likewise.
21698         * iconvdata/ibm16804.h: Likewise.
21699         * iconvdata/ibm4517.h: Likewise.
21700         * iconvdata/ibm4899.h: Likewise.
21701         * iconvdata/ibm4909.h: Likewise.
21702         * iconvdata/ibm4971.h: Likewise.
21703         * iconvdata/ibm5347.h: Likewise.
21704         * iconvdata/ibm803.h: Likewise.
21705         * iconvdata/ibm856.h: Likewise.
21706         * iconvdata/ibm901.h: Likewise.
21707         * iconvdata/ibm902.h: Likewise.
21708         * iconvdata/ibm9030.h: Likewise.
21709         * iconvdata/ibm9066.h: Likewise.
21710         * iconvdata/ibm921.h: Likewise.
21711         * iconvdata/ibm922.h: Likewise.
21712         * iconvdata/ibm9448.h: Likewise.
21713         * iconvdata/isiri-3342.h: Likewise.
21714         * iconvdata/jis0201.h: Likewise.
21715         * include/link.h: Likewise.
21716         * include/netdb.h: Likewise.
21717         * inet/check_native.c: Likewise.
21718         * inet/check_pf.c: Likewise.
21719         * inet/getipv4sourcefilter.c: Likewise.
21720         * inet/getnameinfo.c: Likewise.
21721         * inet/getsourcefilter.c: Likewise.
21722         * inet/htonl.c: Likewise.
21723         * inet/setipv4sourcefilter.c: Likewise.
21724         * inet/setsourcefilter.c: Likewise.
21725         * inet/test-inet6_opt.c: Likewise.
21726         * inet/tst-network.c: Likewise.
21727         * locale/C-collate.c: Likewise.
21728         * locale/C-ctype.c: Likewise.
21729         * locale/C-time.c: Likewise.
21730         * locale/C-translit.h: Likewise.
21731         * locale/loadarchive.c: Likewise.
21732         * locale/programs/3level.h: Likewise.
21733         * locale/programs/charmap.c: Likewise.
21734         * locale/programs/charmap.h: Likewise.
21735         * locale/programs/ld-address.c: Likewise.
21736         * locale/programs/ld-collate.c: Likewise.
21737         * locale/programs/ld-ctype.c: Likewise.
21738         * locale/programs/ld-identification.c: Likewise.
21739         * locale/programs/ld-measurement.c: Likewise.
21740         * locale/programs/ld-messages.c: Likewise.
21741         * locale/programs/ld-monetary.c: Likewise.
21742         * locale/programs/ld-name.c: Likewise.
21743         * locale/programs/ld-numeric.c: Likewise.
21744         * locale/programs/ld-paper.c: Likewise.
21745         * locale/programs/ld-telephone.c: Likewise.
21746         * locale/programs/ld-time.c: Likewise.
21747         * locale/programs/linereader.c: Likewise.
21748         * locale/programs/locale.c: Likewise.
21749         * locale/programs/locarchive.c: Likewise.
21750         * locale/programs/locfile.h: Likewise.
21751         * locale/programs/repertoire.c: Likewise.
21752         * locale/programs/simple-hash.c: Likewise.
21753         * locale/programs/simple-hash.h: Likewise.
21754         * malloc/memusage.c: Likewise.
21755         * malloc/memusagestat.c: Likewise.
21756         * nis/nis_defaults.c: Likewise.
21757         * nis/nis_hash.c: Likewise.
21758         * nis/nis_print.c: Likewise.
21759         * nis/nis_xdr.c: Likewise.
21760         * nscd/connections.c: Likewise.
21761         * nscd/hstcache.c: Likewise.
21762         * nscd/nscd_gethst_r.c: Likewise.
21763         * nscd/nscd_getserv_r.c: Likewise.
21764         * nscd/nscd_helper.c: Likewise.
21765         * nscd/servicescache.c: Likewise.
21766         * nss/makedb.c: Likewise.
21767         * nss/nss_db/db-XXX.c: Likewise.
21768         * nss/nss_db/db-initgroups.c: Likewise.
21769         * nss/nss_db/db-netgrp.c: Likewise.
21770         * nss/nss_files/files-network.c: Likewise.
21771         * nss/nss_files/files-parse.c: Likewise.
21772         * posix/bug-regex5.c: Likewise.
21773         * posix/fnmatch_loop.c: Likewise.
21774         * posix/regcomp.c: Likewise.
21775         * posix/regexec.c: Likewise.
21776         * posix/tst-rfc3484-2.c: Likewise.
21777         * posix/tst-rfc3484-3.c: Likewise.
21778         * posix/tst-rfc3484.c: Likewise.
21779         * resolv/nss_dns/dns-canon.c: Likewise.
21780         * resolv/nss_dns/dns-network.c: Likewise.
21781         * resolv/res_init.c: Likewise.
21782         * resolv/res_mkquery.c: Likewise.
21783         * resolv/tst-aton.c: Likewise.
21784         * stdlib/cxa_atexit.c: Likewise.
21785         * stdlib/cxa_finalize.c: Likewise.
21786         * stdlib/gen-fpioconst.c: Likewise.
21787         * stdlib/strtol_l.c: Likewise.
21788         * string/tst-endian.c: Likewise.
21789         * sunrpc/auth_des.c: Likewise.
21790         * sunrpc/clnt_udp.c: Likewise.
21791         * sunrpc/rtime.c: Likewise.
21792         * sunrpc/svcauth_des.c: Likewise.
21793         * sunrpc/xdr.c: Likewise.
21794         * sunrpc/xdr_intXX_t.c: Likewise.
21795         * sunrpc/xdr_rec.c: Likewise.
21796         * sysdeps/generic/ldconfig.h: Likewise.
21797         * sysdeps/generic/ldsodefs.h: Likewise.
21798         * sysdeps/generic/memusage.h: Likewise.
21799         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21801         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21802         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21803         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21804         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21805         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21807         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21808         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21809         * sysdeps/posix/getaddrinfo.c: Likewise.
21810         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21811         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21812         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21813         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21814         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21815         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21816         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21817         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21818         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21819         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21820         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21821         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21822         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21823         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21824         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21825         * sysdeps/x86_64/dl-tls.h: Likewise.
21826         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21827         * time/alt_digit.c: Likewise.
21828         * time/era.c: Likewise.
21829         * wcsmbs/tst-c16c32-1.c: Likewise.
21830
21831 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21832
21833         * math/libm-test.inc (struct test_sincos_data): New type.
21834         (RUN_TEST_LOOP_sincos): New macro.
21835         (sincos_test_data): New variable.
21836         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21837
21838 2013-05-16  Richard Henderson  <rth@redhat.com>
21839
21840         * math/atest-exp2.c (LIMB64): New macro.
21841         (CONSTSZ): New macro.
21842         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21843         (hexdig): Move ...
21844         (print_mpn_fp): ... to function scope.
21845         (read_mpn_hex): Remove.
21846         (get_log2): Remove.
21847         (exp2_mpn): Use mp_log2.
21848         (main): Use mp_exp1.
21849
21850 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21851
21852         * math/libm-test.inc: Remove comment about not testing "inexact"
21853         exceptions.
21854         (INEXACT_EXCEPTION): New macro.
21855         (NO_INEXACT_EXCEPTION): Likewise.
21856         (INVALID_EXCEPTION_OK): Update value.
21857         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21858         (OVERFLOW_EXCEPTION_OK): Likewise.
21859         (UNDERFLOW_EXCEPTION_OK): Likewise.
21860         (IGNORE_ZERO_INF_SIGN): Likewise.
21861         (ERRNO_UNCHANGED): Likewise.
21862         (ERRNO_EDOM): Likewise.
21863         (ERRNO_ERANGE): Likewise.
21864         (test_exceptions): Handle testing "inexact" exceptions.
21865         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21866         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21867         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21868         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21869         INEXACT_EXCEPTION.
21870         (rint_towardzero_test_data): Likewise.
21871         (rint_downward_test_data): Likewise.
21872         (rint_upward_test_data): Likewise.
21873
21874         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21875         with OVERFLOW_EXCEPTION.
21876         (exp10_test_data): Likewise.
21877         (exp2_test_data): Likewise.
21878         (expm1_test_data): Likewise.
21879         (lgamma_test_data): Likewise.
21880         (pow_test_data): Likewise.
21881         (tgamma_test_data): Likewise.
21882         (yn_test_data): Remove duplicate test of overflow.
21883
21884         * math/libm-test.inc (struct test_cc_c_data): New type.
21885         (RUN_TEST_LOOP_cc_c): New macro.
21886         (cpow_test_data): New variable.
21887         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21888
21889         * math/libm-test.inc (struct test_f_L_data): New type.
21890         (RUN_TEST_LOOP_f_L): New macro.
21891         (llrint_test_data): New variable.
21892         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21893         (llrint_tonearest_test_data): New variable.
21894         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21895         (llrint_towardzero_test_data): New variable.
21896         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21897         (llrint_downward_test_data): New variable.
21898         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21899         (llrint_upward_test_data): New variable.
21900         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21901         (llround_test_data): New variable.
21902         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21903
21904 2013-05-13  Peter Collingbourne  <pcc@google.com>
21905
21906         * math/atest-exp2.c (get_log2): Remove const attribute.
21907
21908 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21909
21910         * math/libm-test.inc (struct test_f_l_data): New type.
21911         (RUN_TEST_LOOP_f_l): New macro.
21912         (lrint_test_data): New variable.
21913         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21914         (lrint_tonearest_test_data): New variable.
21915         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21916         (lrint_towardzero_test_data): New variable.
21917         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21918         (lrint_downward_test_data): New variable.
21919         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21920         (lrint_upward_test_data): New variable.
21921         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21922         (lround_test_data): New variable.
21923         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21924
21925 2013-05-15  Peter Collingbourne  <pcc@google.com>
21926
21927         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21928         (EXTRACT_WORDS64) Use where appropriate.
21929         (INSERT_WORDS64) Likewise.
21930
21931         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21932         constraints with x constraints.
21933         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21934
21935         * malloc/obstack.c (_obstack_compat): Add initializer.
21936
21937 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21938
21939         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21940         si_trapno and add si_addr_lsb to _sifields.sigfault.
21941         (si_trapno): Remove macro.
21942         (si_addr_lsb): Define new macro.
21943         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21944
21945 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21946
21947         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21948         instead of TEST_f_l.
21949         (llrint_test_tonearest): Likewise.
21950         (llrint_test_towardzero): Likewise.
21951         (llrint_test_downward): Likewise.
21952         (llrint_test_upward): Likewise.
21953         (llround_test): Likewise.
21954
21955         * math/libm-test.inc (struct test_f_i_data): Add comment.
21956         (RUN_TEST_LOOP_f_b): New macro.
21957         (RUN_TEST_LOOP_f_b_tg): Likewise.
21958         (finite_test_data): New variable.
21959         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21960         (isfinite_test_data): New variable.
21961         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21962         (isinf_test_data): New variable.
21963         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21964         (isnan_test_data): New variable.
21965         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21966         (isnormal_test_data): New variable.
21967         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21968         (issignaling_test_data): New variable.
21969         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21970         (signbit_test_data): New variable.
21971         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21972
21973         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21974         with INVALID_EXCEPTION.
21975         (acosh_test_data): Likewise.
21976         (asin_test_data): Likewise.
21977         (atanh_test_data): Likewise.
21978         (fmod_test_data): Likewise.
21979         (log_test_data): Likewise.
21980         (log10_test_data): Likewise.
21981         (log2_test_data): Likewise.
21982         (pow_test_data): Likewise.
21983         (sqrt_test_data): Likewise.
21984         (y0_test_data): Likewise.
21985         (y1_test_data): Likewise.
21986         (yn_test_data): Likewise.
21987
21988         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21989         function contents.
21990
21991         * math/libm-test.inc (struct test_ff_i_data): New type.
21992         (RUN_TEST_LOOP_ff_i_tg): New macro.
21993         (isgreater_test_data): New variable.
21994         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21995         (isgreaterequal_test_data): New variable.
21996         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21997         (isless_test_data): New variable.
21998         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21999         (islessequal_test_data): New variable.
22000         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22001         (islessgreater_test_data): New variable.
22002         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22003         (isunordered_test_data): New variable.
22004         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22005
22006 2013-05-14  David S. Miller  <davem@davemloft.net>
22007
22008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22009
22010 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
22011
22012         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22013
22014         * math/libm-test.inc (struct test_fF_f1_data): Change type of
22015         extra_test to int.
22016         (struct test_f_i_data): Change type of max_ulp to int.
22017
22018         * math/libm-test.inc (test_ffI_f1_data): New type.
22019         (RUN_TEST_LOOP_ffI_f1): New macro.
22020         (remquo_test_data): New variable.
22021         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22022
22023         * setjmp/tst-setjmp-fp.c: New file.
22024         * setjmp/Makefile (tests): Add tst-setjmp-fp.
22025         (link-libm): New variable.
22026         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22027
22028         * math/libm-test.inc (struct test_f_i_data): New type.
22029         (RUN_TEST_LOOP_f_i): New macro.
22030         (RUN_TEST_LOOP_f_i_tg): Likewise.
22031         (fpclassify_test_data): New variable.
22032         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22033         (ilogb_test_data): New variable.
22034         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22035
22036         * math/libm-test.inc (scalbln_test): Correct function name in END
22037         call.
22038
22039         * math/libm-test.inc (struct test_f_f1_data): Add comment.
22040         (RUN_TEST_LOOP_fI_f1): New macro.
22041         (frexp_test_data): New variable.
22042         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22043
22044         * math/libm-test.inc (struct test_fF_f1_data): New type.
22045         (RUN_TEST_LOOP_fF_f1): New macro.
22046         (modf_test_data): New variable.
22047         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22048
22049         * math/libm-test.inc (struct test_f_f1_data): New type.
22050         (RUN_TEST_LOOP_f_f1): New macro.
22051         (gamma_test_data): New variable.
22052         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22053         (lgamma_test_data): New variable.
22054         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22055
22056 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
22057
22058         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22059         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22060         (main): Comment "tls" pseudo-hwcap.
22061
22062 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
22063
22064         * math/libm-test.inc (struct test_fl_f_data): New type.
22065         (RUN_TEST_LOOP_fl_f): New variable.
22066         (scalbln_test_data): New variable.
22067         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22068
22069         * math/libm-test.inc (struct test_fi_f_data): New type.
22070         (RUN_TEST_LOOP_fi_f): New macro.
22071         (ldexp_test_data): New variable.
22072         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22073         (scalbn_test_data): New variable.
22074         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22075
22076         * math/libm-test.inc (struct test_c_f_data): New type.
22077         (RUN_TEST_LOOP_c_f): New macro.
22078         (cabs_test_data): New variable.
22079         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22080         (carg_test_data): New variable.
22081         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22082         (cimag_test_data): New variable.
22083         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22084         (creal_test_data): New variable.
22085         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22086
22087         * math/libm-test.inc (struct test_if_f_data): New type.
22088         (RUN_TEST_LOOP_if_f): New macro.
22089         (jn_test_data): New variable.
22090         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22091         (yn_test_data): New variable.
22092         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22093
22094         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22095
22096 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22097
22098         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22099         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22100
22101 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22102
22103         * benchtests/Makefile (CPPFLAGS-nonlib): Add
22104         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22105         (bench-deps): Add bench-timing.h.
22106         * benchtests-bench-skeleton.c: Include bench-timing.h.
22107         (main): Use TIMING_* macros instead of clock_gettime.
22108         * benchtests/bench-timing.h: New file.
22109
22110         [BZ #14582]
22111         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22112         Renamed from _LIB_VERSION.
22113         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22114
22115 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
22116
22117         * math/libm-test.inc (struct test_fff_f_data): New type.
22118         (RUN_TEST_LOOP_fff_f): New macro.
22119         (fma_test_data): New variable.
22120         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22121         (fma_towardzero_test_data): New variable.
22122         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22123         (fma_downward_test_data): New variable.
22124         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22125         (fma_upward_test_data): New variable.
22126         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22127
22128         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22129         (struct test_c_c_data): New type.
22130         (RUN_TEST_LOOP_c_c): New macro.
22131         (cacos_test_data): New variable.
22132         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22133         (cacosh_test_data): New variable.
22134         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22135         (casin_test_data): New variable.
22136         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22137         (casinh_test_data): New variable.
22138         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22139         (catan_test_data): New variable.
22140         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22141         (catanh_test_data): New variable.
22142         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22143         (ccos_test_data): New variable.
22144         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22145         (ccosh_test_data): New variable.
22146         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22147         (cexp_test_data): New variable.
22148         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22149         (clog_test_data): New variable.
22150         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22151         (clog10_test_data): New variable.
22152         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22153         (conj_test_data): New variable.
22154         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22155         (cproj_test_data): New variable.
22156         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22157         (csin_test_data): New variable.
22158         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22159         (csinh_test_data): New variable.
22160         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22161         (csqrt_test_data): New variable.
22162         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22163         (ctan_test_data): New variable.
22164         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22165         (ctan_tonearest_test_data): New variable.
22166         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22167         (ctan_towardzero_test_data): New variable.
22168         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22169         (ctan_downward_test_data): New variable.
22170         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22171         (ctan_upward_test_data): New variable.
22172         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22173         (ctanh_test_data): New variable.
22174         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22175         (ctanh_tonearest_test_data): New variable.
22176         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22177         (ctanh_towardzero_test_data): New variable.
22178         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22179         (ctanh_downward_test_data): New variable.
22180         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22181         (ctanh_upward_test_data): New variable.
22182         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22183         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22184         of BUILD_COMPLEX.
22185
22186         * math/libm-test.inc (struct test_ff_f_data): New type.
22187         (struct test_ff_f_data_nexttoward): Likewise.
22188         (RUN_TEST_LOOP_2_f): New macro.
22189         (RUN_TEST_LOOP_ff_f): Likewise.
22190         (atan2_test_data): New variable.
22191         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22192         (copysign_test_data): New variable.
22193         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22194         (fdim_test_data): New variable.
22195         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22196         (fmax_test_data): New variable.
22197         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22198         (fmin_test_data): New variable.
22199         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22200         (fmod_test_data): New variable.
22201         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22202         (hypot_test_data): New variable.
22203         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22204         (nextafter_test_data): New variable.
22205         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22206         (nexttoward_test_data): New variable.
22207         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22208         (pow_test_data): New variable.
22209         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22210         (pow_tonearest_test_data): New variable.
22211         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22212         (pow_towardzero_test_data): New variable.
22213         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22214         (pow_downward_test_data): New variable.
22215         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22216         (pow_upward_test_data): New variable.
22217         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22218         (remainder_test_data): New variable.
22219         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22220         (scalb_test_data): New variable.
22221         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22222         * sysdeps/i386/fpu/libm-test-ulps: Update.
22223
22224 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
22225
22226         * math/libm-test.inc (fma_test): Use max_value instead of local
22227         variable fltmax.
22228         (nextafter_test): Likewise.
22229
22230         * math/libm-test.inc (acos_towardzero_test_data): New variable.
22231         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22232         (acos_downward_test_data): New variable.
22233         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22234         (acos_upward_test_data): New variable.
22235         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22236         (acosh_test_data): New variable.
22237         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22238         (asin_test_data): New variable.
22239         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22240         (asin_tonearest_test_data): New variable.
22241         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22242         (asin_towardzero_test_data): New variable.
22243         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22244         (asin_downward_test_data): New variable.
22245         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22246         (asin_upward_test_data): New variable.
22247         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22248         (asinh_test_data): New variable.
22249         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22250         (atan_test_data): New variable.
22251         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22252         (atanh_test_data): New variable.
22253         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22254         (cbrt_test_data): New variable.
22255         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22256         (ceil_test_data): New variable.
22257         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22258         (cos_test_data): New variable.
22259         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22260         (cos_tonearest_test_data): New variable.
22261         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22262         (cos_towardzero_test_data): New variable.
22263         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22264         (cos_downward_test_data): New variable.
22265         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22266         (cos_upward_test_data): New variable.
22267         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22268         (cosh_test_data): New variable.
22269         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22270         (cosh_tonearest_test_data): New variable.
22271         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22272         (cosh_towardzero_test_data): New variable.
22273         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22274         (cosh_downward_test_data): New variable.
22275         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22276         (cosh_upward_test_data): New variable.
22277         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22278         (erf_test_data): New variable.
22279         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22280         (erfc_test_data): New variable.
22281         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22282         (exp_test_data): New variable.
22283         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22284         (exp_tonearest_test_data): New variable.
22285         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22286         (exp_towardzero_test_data): New variable.
22287         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22288         (exp_downward_test_data): New variable.
22289         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22290         (exp_upward_test_data): New variable.
22291         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22292         (exp10_test_data): New variable.
22293         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22294         (exp2_test_data): New variable.
22295         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22296         (expm1_test_data): New variable.
22297         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22298         (fabs_test_data): New variable.
22299         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22300         (floor_test_data): New variable.
22301         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22302         (j0_test_data): New variable.
22303         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22304         (j1_test_data): New variable.
22305         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22306         (log_test_data): New variable.
22307         (log_test): Run tests with RUN_TEST_LOOP_f_f.
22308         (log10_test_data): New variable.
22309         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22310         (log1p_test_data): New variable.
22311         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22312         (log2_test_data): New variable.
22313         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22314         (logb_test_data): New variable.
22315         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22316         (logb_downward_test_data): New variable.
22317         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22318         (nearbyint_test_data): New variable.
22319         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22320         (rint_test_data): New variable.
22321         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22322         (rint_tonearest_test_data): New variable.
22323         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22324         (rint_towardzero_test_data): New variable.
22325         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22326         (rint_downward_test_data): New variable.
22327         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22328         (rint_upward_test_data): New variable.
22329         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22330         (round_test_data): New variable.
22331         (round_test): Run tests with RUN_TEST_LOOP_f_f.
22332         (sin_test_data): New variable.
22333         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22334         (sin_tonearest_test_data): New variable.
22335         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22336         (sin_towardzero_test_data): New variable.
22337         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22338         (sin_downward_test_data): New variable.
22339         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22340         (sin_upward_test_data): New variable.
22341         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22342         (sinh_test_data): New variable.
22343         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22344         (sinh_tonearest_test_data): New variable.
22345         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22346         (sinh_towardzero_test_data): New variable.
22347         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22348         (sinh_downward_test_data): New variable.
22349         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22350         (sinh_upward_test_data): New variable.
22351         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22352         (sqrt_test_data): New variable.
22353         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22354         (tan_test_data): New variable.
22355         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22356         (tan_tonearest_test_data): New variable.
22357         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22358         (tan_towardzero_test_data): New variable.
22359         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22360         (tan_downward_test_data): New variable.
22361         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22362         (tan_upward_test_data): New variable.
22363         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22364         (tanh_test_data): New variable.
22365         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22366         (tgamma_test_data): New variable.
22367         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22368         (trunc_test_data): New variable.
22369         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22370         (y0_test_data): New variable.
22371         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22372         (y1_test_data): New variable.
22373         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22374         (significand_test_data): New variable.
22375         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22376
22377 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
22378
22379         [BZ #12387]
22380         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22381
22382 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22383
22384         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22385
22386 2013-05-10  Andreas Jaeger  <aj@suse.de>
22387
22388         [BZ #15448]
22389         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22390         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22391
22392 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22393
22394         * math/gen-libm-test.pl (adjust_arg): New function.
22395         (special_functions): Handle generating output in both functions
22396         and arrays.
22397         (parse_args): Likewise.
22398         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22399         $in_func argument to parse_args.
22400         * math/libm-test.inc (struct test_f_f_data): New type.
22401         (IF_ROUND_INIT_): New macro.
22402         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22403         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22404         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22405         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22406         (ROUND_RESTORE_): Likewise.
22407         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22408         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22409         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22410         (ROUND_RESTORE_FE_UPWARD): Likewise.
22411         (RUN_TEST_LOOP_f_f): New macro.
22412         (acos_test_data): New variable.
22413         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22414         (acos_tonearest_test_data): New variable.
22415         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22416
22417 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22418
22419         * benchtests/bench-skeleton.c (startup): Fix coding style.
22420
22421 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22422
22423         [BZ #6809]
22424         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22425         negative infinity argument.
22426         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22427         negative infinity argument.
22428         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22429         negative infinity argument.
22430         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22431         domain errors.
22432
22433 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22434
22435         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22436         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22437         * iconv/iconv_prog.c (main): Likewise.
22438         * locale/programs/charmap-dir.c (charmap_readdir)
22439         (fopen_uncompressed): Likewise.
22440         * locale/programs/locfile.c (siblings_uncached)
22441         (write_locale_data): Use lstat64 instead of lstat.
22442         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22443         stat.
22444
22445 2013-05-10  Andreas Jaeger  <aj@suse.de>
22446
22447         [BZ #15395]
22448         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22449         localization.
22450         Include <locale.h>.
22451
22452 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22453
22454         * elf/dl-close.c (_dl_close_worker): Add comments.
22455
22456 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22457
22458         [BZ #15359]
22459         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22460         high part of pi/2.
22461         (__ieee754_rem_pio2l): Update comments.
22462
22463         [BZ #15429]
22464         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22465         high part of pi/2.
22466         (__ieee754_rem_pio2l): Update comments.
22467
22468         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22469         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22470
22471         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22472         M_PI_4l.
22473
22474         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22475         (M_PI_34_LOG10El): Likewise.
22476         (M_PI2_LOG10El): Likewise.
22477         (M_PI4_LOG10El): Likewise.
22478         (M_PI_LOG10El): Likewise.
22479
22480 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22481
22482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22483
22484 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22485
22486         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22487         (MINUS_ZERO_INIT): Likewise.
22488         (PLUS_INFTY_INIT): Likewise.
22489         (MINUS_INFTY_INIT): Likewise.
22490         (QNAN_VALUE_INIT): Likewise.
22491         (MAX_VALUE_INIT): Likewise.
22492         (MIN_VALUE_INIT): Likewise.
22493         (MIN_SUBNORM_VALUE_INIT): Likewise.
22494         (plus_zero): Initialize with PLUS_ZERO_INIT.
22495         (minus_zero): Initialize with MINUS_ZERO_INIT.
22496         (plus_infty): Initialize with PLUS_INFTY_INIT.
22497         (minus_infty): Initialize with MINUS_INFTY_INIT.
22498         (qnan_value): Initialize with QNAN_VALUE_INIT.
22499         (max_value): Initialize with MAX_VALUE_INIT.
22500         (min_value): Initialize with MIN_VALUE_INIT.
22501         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22502
22503         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22504         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22505         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22506         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22507
22508         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22509         (RUN_TEST_2_f): Likewise.
22510         (RUN_TEST_ff_f): Likewise.
22511         (RUN_TEST_fi_f): Likewise.
22512         (RUN_TEST_fl_f): Likewise.
22513         (RUN_TEST_fff_f): Likewise.
22514         (RUN_TEST_c_f): Likewise.
22515         (RUN_TEST_f_f1): Likewise.
22516         (RUN_TEST_fF_f1): Likewise.
22517         (RUN_TEST_fI_f1): Likewise.
22518         (RUN_TEST_ffI_f1): Likewise.
22519         (RUN_TEST_c_c): Likewise.
22520         (RUN_TEST_cc_c): Likewise.
22521         (RUN_TEST_f_i): Likewise.
22522         (RUN_TEST_f_i_tg): Likewise.
22523         (RUN_TEST_ff_i_tg): Likewise.
22524         (RUN_TEST_f_b): Likewise.
22525         (RUN_TEST_f_b_tg): Likewise.
22526         (RUN_TEST_f_l): Likewise.
22527         (RUN_TEST_f_L): Likewise.
22528         (RUN_TEST_sincos): Likewise.
22529         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22530         whether to show exceptions.  Do not include ");\n" in return
22531         value.
22532         (special_functions): Output call to RUN_TEST_sincos instead of
22533         check_float calls.  Update calls to new_test.
22534         (parse_args): Output call to single RUN_TEST_* macro instead of
22535         check_* calls and other assignments.  Update calls to new_test.
22536
22537         [BZ #2546]
22538         [BZ #2560]
22539         [BZ #5159]
22540         [BZ #15426]
22541         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22542         input to result for tgamma overflow.
22543         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22544         (gamma_coeff): New variable.
22545         (NCOEFF): New macro.
22546         (gamma_positive): New function.
22547         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22548         underflow here.  Use gamma_positive instead of exp (lgamma) for
22549         other arguments.
22550         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22551         (gamma_coeff): New variable.
22552         (NCOEFF): New macro.
22553         (gammaf_positive): New function.
22554         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22555         underflow here.  Use gamma_positive instead of exp (lgamma) for
22556         other arguments.
22557         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22558         (gamma_coeff): New variable.
22559         (NCOEFF): New macro.
22560         (gammal_positive): New function.
22561         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22562         underflow here.  Use gamma_positive instead of exp (lgamma) for
22563         other arguments.
22564         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22565         (gamma_coeff): New variable.
22566         (NCOEFF): New macro.
22567         (gammal_positive): New function.
22568         (__ieee754_gammal_r): Handle positive infinity, overflow and
22569         underflow here.  Handle NaN the same as positive infinity.  Remove
22570         check x < 0xffffffff for negative integers.  Use gamma_positive
22571         instead of exp (lgamma) for other arguments.
22572         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22573         (gamma_coeff): New variable.
22574         (NCOEFF): New macro.
22575         (gammal_positive): New function.
22576         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22577         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22578         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22579         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22580         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22581         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22582         * sysdeps/generic/math_private.h (__gamma_productf): New
22583         prototype.
22584         (__gamma_product): Likewise.
22585         (__gamma_productl): Likewise.
22586         * math/Makefile (libm-calls): Add gamma_product.
22587         * math/libm-test.inc (tgamma_test): Add more tests.
22588         * sysdeps/i386/fpu/libm-test-ulps: Update.
22589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22590
22591 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22592
22593         * benchtests/bench-skeleton.c (main): Preheat CPU.
22594
22595 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22596
22597         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22598
22599 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22600
22601         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22602         and _dl_skip_args_internal.
22603
22604 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22605
22606         * manual/message.texi (Message Translation): Talk about users.
22607         Message to key mapping impacts design.
22608
22609 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22610
22611         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22612
22613         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22614
22615         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22616         * sysdeps/wordsize-64/glob64.c: ... here.
22617
22618         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22619         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22620         New macros.
22621
22622         * debug/getlogin_r_chk.c: Moved to ...
22623         * login/getlogin_r_chk.c: ... here.
22624         * debug/Makefile (routines): Move getlogin_r_chk to ...
22625         * login/Makefile (routines): ... here.
22626         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22627         * login/Versions (libc: GLIBC_2.4): ... here.
22628
22629         * io/poll.c (__poll): Renamed from poll.
22630         Add libc_hidden_def.
22631         (poll): Define as weak alias.
22632
22633         * debug/ptsname_r_chk.c: Moved to ...
22634         * login/ptsname_r_chk.c: ... here.
22635         * debug/Makefile (routines): Move ptsname_r_chk to ...
22636         * login/Makefile (routines): ... here.
22637         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22638         * login/Versions (libc: GLIBC_2.4): ... here.
22639
22640         * posix/getlogin.c: Moved to ...
22641         * login/getlogin.c: ... here.
22642         * posix/getlogin_r.c: Moved to ...
22643         * login/getlogin_r.c: ... here.
22644         * posix/getlogin_r.c: Moved to ...
22645         * login/getlogin_r.c: ... here.
22646         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22647         * login/Makefile (routines): ... here.
22648         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22649         * login/Versions (libc: GLIBC_2.0): ... here.
22650
22651         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22652         (setrlimit): Define as weak alias.
22653
22654         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22655         Call __ names for open, ftruncate, and close.
22656         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22657         (truncate): Define as weak alias.
22658
22659 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22660
22661         * math/gen-libm-test.pl (parse_args): Initialize x before each
22662         test of frexp, modf and remquo.
22663
22664         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22665         test signgam value.
22666
22667 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22668
22669         [BZ #15418]
22670         [BZ #15419]
22671         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22672         internal tests.
22673         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22674
22675 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22676
22677         * elf/dl-writev.h: New file.
22678         * elf/dl-misc.c: Include it.
22679         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22680         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22681
22682 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22683
22684         * math/libm-test.inc (noXFails): Remove variable.
22685         (noXPasses): Likewise.
22686         (BUILD_COMPLEX_INT): Remove macro.
22687         (print_screen): Remove xfail argument.
22688         (print_screen_max_error): Likewise.
22689         (update_stats): Likewise.
22690         (print_max_error): Likewise.  Update calls to other affected
22691         functions.
22692         (print_complex_max_error): Likewise.
22693         (test_single_exception): Update calls to print_screen.
22694         (test_single_errno): Likewise.
22695         (check_float_internal): Remove xfail argument.  Update calls to
22696         other affected functions.
22697         (check_float): Likewise.
22698         (check_complex): Likewise.
22699         (check_int): Likewise.
22700         (check_long): Likewise.
22701         (check_bool): Likewise.
22702         (check_longlong): Likewise.
22703         (main): Don't print noXFails and noXPasses.
22704         * math/gen-libm-test.pl (top level): Don't mention expected
22705         failure handling in comment.
22706         (new_test): Don't handle expected failures.
22707         (parse_args): Don't mention expected failure handling in comment.
22708         (generate_testfile): Don't handle expected failures.
22709         (parse_ulps): Likewise.
22710         (print_ulps_file): Likewise.
22711         (get_failure): Remove function.
22712         (output_test): Don't handle expected failures.
22713         * make/README.libm-test: Don't mention expected failure handling.
22714
22715         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22716         (minus_zero): Likewise.
22717         (plus_infty): Likewise.
22718         (minus_infty): Likewise.
22719         (qnan_value): Likewise.
22720         (max_value): Likewise.
22721         (min_value): Likewise.
22722         (min_subnorm_value): Likewise.
22723         (initialize): Do not initialize those variables dynamically.
22724
22725 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22726
22727         * io/open.c (__open_2): Moved to ...
22728         * io/open_2.c: ... this new file.
22729         * io/open64.c (__open64_2): Moved to ...
22730         * io/open64_2.c: ... this new file.
22731         * io/openat.c (__openat_2): Moved to ...
22732         * io/openat_2.c: ... this new file.
22733         * io/openat64.c (__openat64_2): Moved to ...
22734         * io/openat64_2.c: ... this new file.
22735         * io/Makefile (routines): Add them.
22736         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22737         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22738         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22739         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22740         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22741         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22742         (__openat64): Add hidden_ver.
22743         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22744         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22745
22746         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22747         Separately conditionalize setting of GLRO(dl_sysinfo) so
22748         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22749         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22750
22751 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22752
22753         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22754         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22755         definition.
22756         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22757         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22758         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22759         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22760         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22761
22762 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22763
22764         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22765         test signgam value.
22766
22767         * math/libm-test.inc (hypot_test): Do not use
22768         IGNORE_ZERO_INF_SIGN.
22769
22770 2013-05-03  Andreas Jaeger  <aj@suse.de>
22771
22772         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22773         Linux 3.9.
22774         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22775         (PF_MAX): Adjust for VSOCK change.
22776
22777 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22778
22779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22780
22781 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22782
22783         [BZ #15264]
22784         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22785         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22786         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22787
22788 2013-05-02  David S. Miller  <davem@davemloft.net>
22789
22790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22791
22792 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22793
22794         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22795
22796 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22797
22798         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22799
22800 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22801
22802         [BZ #14952]
22803         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22804         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22805         Use __attribute__ ((__gnu_inline__)).
22806         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22807         Don't use __attribute__ ((__gnu_inline__)).
22808
22809 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22810
22811         [BZ #15423]
22812         * math/s_catan.c (__catan): Handle small real or imaginary part of
22813         input specially to avoid spurious underflow.
22814         * math/s_catanf.c (__catanf): Likewise.
22815         * math/s_catanh.c (__catanh): Likewise.
22816         * math/s_catanhf.c (__catanhf): Likewise.
22817         * math/s_catanhl.c (__catanhl): Likewise.
22818         * math/s_catanl.c (__catanl): Likewise.
22819         * math/libm-test.inc (catan_test): Add more tests.
22820         (catanh_test): Likewise.
22821         * sysdeps/i386/fpu/libm-test-ulps: Update.
22822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22823
22824 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22825
22826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22827
22828 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22829
22830         [BZ #15416]
22831         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22832         accurately for denominator in atan2.
22833         * math/s_catanf.c (__catanf): Likewise.
22834         * math/s_catanh.c (__catanh): Likewise.
22835         * math/s_catanhf.c (__catanhf): Likewise.
22836         * math/s_catanhl.c (__catanhl): Likewise.
22837         * math/s_catanl.c (__catanl): Likewise.
22838         * math/libm-test.inc (catan_test): Add more tests.
22839         (catanh_test): Likewise.
22840         * sysdeps/i386/fpu/libm-test-ulps: Update.
22841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22842
22843 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22844
22845         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22846
22847         * benchtests/Makefile (bench): Remove slow benchmarks.
22848         * benchtests/atan-inputs: Add slow benchmark inputs.
22849         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22850         (BENCH_FUNC): Accept variant offset.
22851         (VARIANT): Define.
22852         * benchtests/bench-skeleton.c (main): Run benchmark for each
22853         variant.
22854         * benchtests/cos-inputs: Add slow benchmark inputs.
22855         * benchtests/exp-inputs: Likewise.
22856         * benchtests/pow-inputs: Likewise.
22857         * benchtests/sin-inputs: Likewise.
22858         * benchtests/slowatan-inputs: Remove.
22859         * benchtests/slowatan.c: Remove.
22860         * benchtests/slowcos-inputs: Remove.
22861         * benchtests/slowcos.c: Remove.
22862         * benchtests/slowexp-inputs: Remove.
22863         * benchtests/slowexp.c: Remove.
22864         * benchtests/slowpow-inputs: Remove.
22865         * benchtests/slowpow.c: Remove.
22866         * benchtests/slowsin-inputs: Remove.
22867         * benchtests/slowsin.c: Remove.
22868         * benchtests/slowtan-inputs: Remove.
22869         * benchtests/slowtan.c: Remove.
22870         * benchtests/tan-inputs: Add slow benchmark inputs.
22871         * scripts/bench.pl: Parse comments and directives.
22872
22873         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22874         in CPPFLAGS.
22875         ($(objpfx)bench-%.c): Remove *-ITER.
22876         * benchtests/bench-modf.c: Remove definition of ITER.
22877         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22878         (main): Loop for DURATION seconds instead of fixed number of
22879         iterations.
22880         * scripts/bench.pl: Don't expect iterations in parameters.
22881
22882 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22883
22884         * io/fchdir.c (__fchdir): Renamed from fchdir.
22885         (fchdir): Define as weak alias.
22886
22887 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22888
22889         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22890         (ERRNO_EDOM): Likewise.
22891         (ERRNO_ERANGE): Likewise.
22892         (noErrnoTests): New variable.
22893         (init_max_error): Set errno to 0.
22894         (test_single_errno): New function.
22895         (test_errno): Likewise.
22896         (check_float_internal): Call test_errno.  Set errno to 0.
22897         (check_complex): Refer to errno tests in comment.
22898         (check_int): Call test_errno.  Set errno to 0.
22899         (check_long): Likewise.
22900         (check_bool): Likewise.
22901         (check_longlong): Likewise.
22902         (cos_test): Use ERRNO_* flags for errno tests instead of
22903         check_int.
22904         (expm1_test): Likewise.
22905         (fmod_test): Likewise.
22906         (ilogb_test): Likewise.
22907         (lgamma_test): Likewise.
22908         (pow_test): Likewise.
22909         (remainder_test): Likewise.
22910         (sin_test): Likewise.
22911         (tan_test): Likewise.
22912         (yn_test): Likewise.
22913         (initialize): Set errno to 0.
22914         (main): Print number of errno tests.
22915         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22916
22917 2013-04-29  Andreas Jaeger  <aj@suse.de>
22918
22919         [BZ #15084]
22920         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22921         and RES_USEVC.
22922
22923         [BZ #15085]
22924         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22925         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22926         unimplemented.
22927
22928         [BZ #15380]
22929         * stdlib/random.c (__initstate): Return NULL if
22930         __initstate fails.
22931
22932         [BZ #15086]
22933         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22934         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22935         RES_SNGLKUPREOP.
22936
22937 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22938
22939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22940
22941 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22942
22943         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22944         of individual tests.
22945         (casin_test): Likewise.
22946         (casinh_test): Likewise.
22947
22948 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22949
22950         [BZ #15409]
22951         * math/s_catan.c (__catan): Handle arguments with large real or
22952         imaginary part separately without squaring.
22953         * math/s_catanf.c (__catanf): Likewise.
22954         * math/s_catanh.c (__catanh): Likewise.
22955         * math/s_catanhf.c (__catanhf): Likewise.
22956         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22957         and redefine.
22958         (__catanhl): Handle arguments with large real or imaginary part
22959         separately without squaring.
22960         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22961         and redefine.
22962         (__catanl): Handle arguments with large real or imaginary part
22963         separately without squaring.
22964         * math/libm-test.inc (catan_test): Add more tests.
22965         (catanh_test): Likewise.
22966         * sysdeps/i386/fpu/libm-test-ulps: Update.
22967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22968
22969 2013-04-27  Andreas Jaeger  <aj@suse.de>
22970
22971         [BZ #15007]
22972         * stdlib/stdlib.h: Update guards for qecvt.
22973         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22974         <stdlib.h>.
22975
22976 2013-04-27  Allan McRae  <allan@archlinux.org>
22977
22978         * sysdeps/i386/fpu/libm-test-ulps: Update.
22979
22980 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22981
22982         [BZ #15406]
22983         * math/s_catan.c: Include <float.h>.
22984         (__catan): Ensure underflow exception occurs for underflowed
22985         result.
22986         * math/s_catanf.c: Include <float.h>.
22987         (__catanf): Ensure underflow exception occurs for underflowed
22988         result.
22989         * math/s_catanh.c: Include <float.h>.
22990         (__catanh): Ensure underflow exception occurs for underflowed
22991         result.
22992         * math/s_catanhf.c: Include <float.h>.
22993         (__catanhf): Ensure underflow exception occurs for underflowed
22994         result.
22995         * math/s_catanhl.c: Include <float.h>.
22996         (__catanhl): Ensure underflow exception occurs for underflowed
22997         result.
22998         * math/s_catanl.c: Include <float.h>.
22999         (__catanl): Ensure underflow exception occurs for underflowed
23000         result.
23001         * math/libm-test.inc (catan_test): Add more tests.
23002         (catanh_test): Likewise.
23003
23004         [BZ #15405]
23005         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23006         underflowed result.
23007         * math/s_ccoshf.c (__ccoshf): Likewise.
23008         * math/s_ccoshl.c (__ccoshl): Likewise.
23009         * math/s_csin.c (__csin): Likewise.
23010         * math/s_csinf.c (__csinf): Likewise.
23011         * math/s_csinh.c (__csinh): Likewise.
23012         * math/s_csinhf.c (__csinhf): Likewise.
23013         * math/s_csinhl.c (__csinhl): Likewise.
23014         * math/s_csinl.c (__csinl): Likewise.
23015         * math/libm-test.inc (ccos_test): Add more tests.
23016         (ccosh_test): Likewise.
23017         (csin_test): Likewise.
23018         (csinh_test): Likewise.
23019
23020 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23021
23022         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23023         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23024         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23025         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23026         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23027         powerpc/power5+/fpu folders.
23028         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23029
23030
23031 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23032
23033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23034
23035 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
23036
23037         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23038         additions to variable.
23039         [$(config-machine) = x86_64] (modules-names): Likewise.
23040         ($(objpfx)tst-audit3): Remove dependency.
23041         ($(objpfx)tst-audit3.out): Likewise.
23042         ($(objpfx)tst-audit4): Likewise.
23043         ($(objpfx)tst-audit4.out): Likewise.
23044         ($(objpfx)tst-audit5): Likewise.
23045         ($(objpfx)tst-audit5.out): Likewise.
23046         ($(objpfx)tst-audit6): Likewise.
23047         ($(objpfx)tst-audit6.out): Likewise.
23048         ($(objpfx)tst-audit7): Likewise.
23049         ($(objpfx)tst-audit7.out): Likewise.
23050         (tst-audit3-ENV): Remove variable.
23051         (tst-audit4-ENV): Likewise.
23052         (tst-audit5-ENV): Likewise.
23053         (tst-audit6-ENV): Likewise.
23054         (tst-audit7-ENV): Likewise.
23055         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23056         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23057         addition to variable.
23058         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23059         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23060         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23061         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23062         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23063         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23064         tst-audit3, tst-audit4 and tst-audit5.
23065         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23066         tst-audit6 and tst-audit7.
23067         [$(subdir) = elf] (modules-names): Add audit modules for those
23068         tests.
23069         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23070         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23071         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23072         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23073         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23074         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23075         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23076         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23077         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23078         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23079         [$(subdir) = elf] (tst-audit3-ENV): New variable.
23080         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23081         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23082         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23083         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23084         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23085         Likewise.
23086         [$(subdir) = elf && $(config-cflags-avx) = yes]
23087         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23088         [$(subdir) = elf && $(config-cflags-avx) = yes]
23089         (CFLAGS-tst-auditmod4a.c): Likewise.
23090         [$(subdir) = elf && $(config-cflags-avx) = yes]
23091         (CFLAGS-tst-auditmod4b.c): Likewise.
23092         [$(subdir) = elf && $(config-cflags-avx) = yes]
23093         (CFLAGS-tst-auditmod6b.c): Likewise.
23094         [$(subdir) = elf && $(config-cflags-avx) = yes]
23095         (CFLAGS-tst-auditmod6c.c): Likewise.
23096         [$(subdir) = elf && $(config-cflags-avx) = yes]
23097         (CFLAGS-tst-auditmod7b.c): Likewise.
23098         * elf/tst-audit3.c: Move to ...
23099         * sysdeps/x86_64/tst-audit3.c: ... here.
23100         * elf/tst-audit4.c: Move to ...
23101         * sysdeps/x86_64/tst-audit4.c: ... here.
23102         * elf/tst-audit5.c: Move to ...
23103         * sysdeps/x86_64/tst-audit5.c: ... here.
23104         * elf/tst-audit6.c: Move to ...
23105         * sysdeps/x86_64/tst-audit6.c: ... here.
23106         * elf/tst-audit7.c: Move to ...
23107         * sysdeps/x86_64/tst-audit7.c: ... here.
23108         * elf/tst-auditmod3a.c: Move to ...
23109         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23110         * elf/tst-auditmod3b.c: Move to ...
23111         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23112         * elf/tst-auditmod4a.c: Move to ...
23113         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23114         * elf/tst-auditmod4b.c: Move to ...
23115         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23116         * elf/tst-auditmod5a.c: Move to ...
23117         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23118         * elf/tst-auditmod5b.c: Move to ...
23119         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23120         * elf/tst-auditmod6a.c: Move to ...
23121         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23122         * elf/tst-auditmod6b.c: Move to ...
23123         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23124         * elf/tst-auditmod6c.c: Move to ...
23125         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23126         * elf/tst-auditmod7a.c: Move to ...
23127         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23128         * elf/tst-auditmod7b.c: Move to ...
23129         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23130
23131 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
23132
23133         [BZ #15366]
23134         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23135         define unconditionally.
23136         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23137         define unconditionally.
23138         (INT8_C, INT16_C, etc.): Likewise.
23139
23140 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
23141
23142         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23143         __ehdr_start with hidden visibility.
23144
23145         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23146
23147 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
23148
23149         * math/libm-test.inc (cos_test): Use accurate hex constants.
23150         (sincost_test): Likewise.
23151
23152 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
23153
23154         * math/libm-test.inc (catan_test): Add more tests.
23155         (catanh_test): Likewise.
23156
23157         * math/s_catanf.c (__catanf): Use suffixed floating-point
23158         constants.
23159         * math/s_catanhf.c (__catanhf): Likewise.
23160         * math/s_catanhl.c (__catanhl): Likewise.
23161         * math/s_catanl.c (__catanl): Likewise.
23162
23163         [BZ #15394]
23164         * math/s_catan.c (__catan): Calculate imaginary part of result
23165         with log1p not log unless computing log of number close to 0.
23166         * math/s_catanf.c (__catanf): Likewise.
23167         * math/s_catanl.c (__catanl): Likewise.
23168         * math/s_catanh.c (__catanh): Calculate real part of result with
23169         log1p not log unless computing log of number close to 0.
23170         * math/s_catanhf.c (__catanhf): Likewise.
23171         * math/s_catanhl.c (__catanhl): Likewise.
23172         * math/libm-test.inc (catan_test): Add more tests.
23173         (catanh_test): Likewise.
23174         * sysdeps/i386/fpu/libm-test-ulps: Update.
23175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23176
23177 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23178
23179         * benchtests/Makefile: Mention files in which fast and slow
23180         paths of math functions are implemented.
23181
23182 2013-04-23  Roland McGrath  <roland@hack.frob.com>
23183
23184         * sysdeps/posix/timespec_get.c: New file.
23185
23186 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23187
23188         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23189         POWER.
23190         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23191         for POWER.
23192         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23193         powerpc/power5/fpu folders.
23194         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23195         * benchtests/Makefile: Add modf testcase.
23196         * benchtests/bench-modf.c: New file: Benchmark test for mo
23197
23198 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23199
23200         [BZ #14888]
23201         * time/Makefile (tests): Add tst-strptime-whitespace.
23202         * time/strptime_l.c (get_number): Use ISSPACE.
23203         (__strptime_internal): Likewise.
23204         * time/tst-strptime-whitespace.c: New test case.
23205
23206 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
23207
23208         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23209         member.
23210         (_nss_files_init): Set it here.
23211
23212 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
23213
23214         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23215         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23216         unsigned.
23217
23218 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
23219
23220         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23221
23222 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23223
23224         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23225         size just once.
23226
23227 2013-04-21  David S. Miller  <davem@davemloft.net>
23228
23229         * po/ru.po: Update Russion translation from translation project.
23230
23231 2013-04-17  Adam Conrad  <adconrad@0c3.net>
23232
23233         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23234         and setfsgid.
23235
23236 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
23237
23238         * configure.in: Remove i386 configure warning. Remove i386 case.
23239         * configure: Regenerate.
23240         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23241         Add example to error message.
23242         * sysdeps/i386/configure: Regenerate.
23243
23244 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23245
23246         * benchtests/Makefile (bench): Add cos, tan, slowcos and
23247         slowtan.
23248         * benchtests/cos-inputs: New file.
23249         * benchtests/slowcos-inputs: New file.
23250         * benchtests/slowcos.c: New file.
23251         * benchtests/slowtan-inputs: New file.
23252         * benchtests/slowtan.c: New file.
23253         * benchtests/tan-inputs: New file.
23254
23255 2013-04-16  Roland McGrath  <roland@hack.frob.com>
23256
23257         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23258         considered kosher.
23259
23260 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23261
23262         * benchtests/Makefile: Include cppflags-iterator.mk to add
23263         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23264
23265         * Makefile.in (bench-clean): New target.
23266         * benchtests/Makefile (bench-clean): Likewise.
23267
23268 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
23269
23270         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23271
23272 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
23273
23274         * stdio-common/tstdiomisc.c: Fix coding-style violation.
23275
23276 2013-04-15  Andreas Schwab  <schwab@suse.de>
23277
23278         * nscd/grpcache.c (cache_addgr): Properly check for short write.
23279         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23280         * nscd/pwdcache.c (cache_addpw): Likewise.
23281         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
23282         more than recsize.
23283
23284 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23285
23286         * benchtests/Makefile (bench): Write all output to
23287         bench-out.tmp together.
23288
23289 2013-04-15  Andreas Schwab  <schwab@suse.de>
23290
23291         * nscd/nscd.c (main): Don't fork again after closing files.
23292
23293 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23294
23295         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23296
23297         * benchtests/Rules (bench-deps): Collect dependencies into a
23298         single variable.  Add Makefile to dependencies.
23299         ($(objpfx)bench-%.c): Depend on bench-deps.
23300
23301 2013-04-12  Roland McGrath  <roland@hack.frob.com>
23302             Xavier Roche  <roche+kml2@exalead.com>
23303
23304         [BZ #15361]
23305         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23306         just that it's a file descriptor.
23307         * manual/llio.texi (Synchronizing AIO Operations): Update description
23308         for EBADF error from aio_fsync.
23309
23310 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23311
23312         * Rules (bench): Move target definition...
23313         * benchtests/Makefile: ... here.
23314
23315 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
23316
23317         * math/libm-test.inc (cos_test): Fix PI/2 test.
23318         (sincos_test): Likewise.
23319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23320         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23321
23322 2013-04-11  Andreas Schwab  <schwab@suse.de>
23323
23324         [BZ #13988]
23325         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23326         accept exponent character only when digits were seen.
23327         * stdio-common/Makefile (tests): Add bug26.
23328         * stdio-common/bug26.c: New file.
23329
23330         [BZ #14293]
23331         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23332         non-freeable.
23333
23334 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23335
23336         * Makeconfig (rtld-prefix): Define built linker prefix.
23337         * Rules (run-bench): Use it.
23338         * math/Makefile (run-regen-ulps): Likewise.
23339
23340         * Rules (bench): Remove eval.
23341
23342 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23343             Roland McGrath  <roland@hack.frob.com>
23344             Ondrej Bilka  <neleai@seznam.cz>
23345
23346         [BZ #15346]
23347         * time/getdate.c: Include ctype.h and alloca.h.
23348         (__getdate_r): Trim leading and trailing spaces of input.
23349         * time/tst-getdate.c (tests): Add tests with leading and
23350         trailing spaces.
23351
23352 2013-04-08  Roland McGrath  <roland@hack.frob.com>
23353
23354         [BZ #14280]
23355         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23356         when computing value.
23357
23358 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23359
23360         * math/README.libm-test (How can I generate "libm-test-ulps"?):
23361         Use testrun.sh to run libm tests.
23362
23363         [BZ #15309]
23364         * elf/dl-open.c (dl_open_worker): memset all of seen array.
23365
23366 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
23367
23368         [BZ #15264]
23369         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23370
23371 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23372
23373         * Makefile.in (regen-ulps): New target.
23374         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23375         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23376         [ifneq (no,$(PERL)] (regen-ulps): New target.
23377         [ifeq (no,$(PERL)] (regen-ulps): New target.
23378         * math/libm-test.inc (ulps_file_name): Define.
23379         (output_dir): New variable.
23380         (options): Add "output-dir" option.
23381         (parse_opt): Handle 'o' case.
23382         (main): If output_dir is non-NULL use it as a prefix
23383         otherwise use "".
23384         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23385
23386 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23387
23388         [BZ #10060, #10062]
23389         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23390         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23391         fail configure if __sync_val_compare_and_swap is not inlined.
23392         * sysdeps/i386/configure: Regenerate.
23393         * configure.in: Build for i686 when configured for i386.
23394         * configure: Regenerate.
23395         * README: Remove i386 reference.
23396
23397 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23398
23399         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23400         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23401
23402 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23403
23404         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23405         (lmsnanval): New variables.
23406         (F): Add conversion tests.
23407         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23408         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23409
23410         * stdio-common/tstdiomisc.c (F): Properly collect individual
23411         tests' results.
23412
23413         [BZ #14686, #15336]
23414         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23415         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23416         Instead, use input NaN values or generate a qNaN by arithmetic
23417         operation.  Also fix bugs to comply with the standard.
23418         * math/libm-test.inc (remainder_test): Add more tests.
23419
23420         [BZ #15335, #15342]
23421         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23422         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23423         input NaN values or generate a qNaN by arithmetic operation.
23424
23425         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23426         unreachable code.
23427
23428         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23429         definitions.
23430
23431 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23432
23433         [BZ #14478]
23434         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23435         underflowed result.
23436         * math/s_cexpf.c (__cexpf): Likewise.
23437         * math/s_cexpl.c (__cexpl): Likewise.
23438         * math/libm-test.inc (cexp_test): Add more tests.
23439
23440 2013-04-03  Andreas Schwab  <schwab@suse.de>
23441
23442         [BZ #15330]
23443         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23444         order arrays from heap if bigger than alloca cutoff.
23445
23446 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23447
23448         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23449         (SNAN_TESTS_double): Refer to GCC PR56831.
23450         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23451         GCC PR56828.
23452
23453 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23454
23455         * Rules (bench): Move bench.out after the run is complete.
23456
23457         * Rules (bench): Echo currently running benchmark.
23458
23459         * benchtests/Makefile (bench): Add atan and slowatan.
23460         * benchtests/atan-inputs: New file.
23461         * benchtests/slowatan-inputs: New file.
23462         * benchtests/slowatan.c: New file.
23463
23464         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23465         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23466         its value.
23467
23468         [BZ #15305]
23469         * sysdeps/unix/sysv/linux/kernel-features.h
23470         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23471         __ASSUME_XFS_RESTRICTED_CHOWN.
23472         * sysdeps/unix/sysv/linux/pathconf.c
23473         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23474         Save and restore errno.
23475
23476 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23477
23478         [BZ #15327]
23479         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23480         arguments using __kernel_casinh.
23481         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23482         arguments using __kernel_casinhf.
23483         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23484         arguments using __kernel_casinhl.
23485         * math/libm-test.inc (cacosh_test): Add more tests.
23486         * sysdeps/i386/fpu/libm-test-ulps: Update.
23487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23488
23489 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23490
23491         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23492         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23493
23494         * bench/Makefile (bench): Add sin and slowsin.
23495         * benchtests/sin-inputs: New file.
23496         * benchtests/slowsin-inputs: New file.
23497         * benchtests/slowsin.c: New file.
23498
23499         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23500         (bench): Add slowexp and slowpow.
23501         (exp-ITER): Increase iterations.
23502         (pow-ITER): Likewise.
23503         * benchtests/exp-inputs: Change input.
23504         * benchtests/pow-inputs: Likewise.
23505         * benchtests/slowexp-inputs: New file.
23506         * benchtests/slowexp.c: New file.
23507         * benchtests/slowpow-inputs: New file.
23508         * benchtests/slowpow.c: New file.
23509
23510 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23511
23512         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23513         instructions.
23514         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23515         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23516         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23517         * benchtests/Makefile: Add rint benchtest.
23518         * benchtests/rint-inputs: Input for rint benchtest.
23519
23520 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23521
23522         * Versions.def (libm): Add GLIBC_2.18.
23523         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23524         hidden libm prototypes.
23525         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23526         * math/Makefile (libm-calls): Add s_issignaling.
23527         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23528         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23529         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23530         declaration.
23531         * math/math.h [__USE_GNU] (issignaling): New macro.
23532         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23533         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23534         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23535         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23536         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23537         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23538         * manual/arith.texi (issignaling): New section.
23539         * manual/libm-err-tab.pl (@all_functions): Update comment.
23540         * math/gen-libm-test.pl (parse_args): Apply special handling for
23541         issignaling.
23542         * math/libm-test.inc (print_float, issignaling_test): New
23543         functions.
23544         (check_float_internal): Add issignaling checks.
23545         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23546         default definition.
23547         * sysdeps/powerpc/math-tests.h: New file.
23548         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23549         tests.
23550         * math/test-snan.c (TEST_FUNC): Likewise.
23551
23552 2013-03-30  David S. Miller  <davem@davemloft.net>
23553
23554         * po/de.po: Update from translation team.
23555
23556 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23557
23558         [BZ #10357]
23559         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23560         imaginary part less than 1.0 and real part less than 0.5
23561         specially.
23562         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23563         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23564         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23565         (cacos_test): Add more tests.
23566         (casin_test): Likewise.
23567         (casinh_test): Likewise.
23568         * sysdeps/i386/fpu/libm-test-ulps: Update.
23569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23570
23571 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23572
23573         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23574         ONE with its value.
23575
23576         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23577         (__pow_mp): Replace ONE and MONE with their values.
23578         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23579         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23580         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23581         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23582         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23583         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23584
23585         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23586
23587         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23588         (__pow_mp): Replace ZERO and MZERO with their values.
23589         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23590         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23591         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23592         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23593         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23594         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23595         (__sqr): Likewise.
23596
23597         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23598
23599         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23600
23601 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23602
23603         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23604         Declare with __attribute__ ((weak)).
23605         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23606         Call __call_tls_dtors only if it's not NULL.
23607
23608 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23609
23610         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23611         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23612         magic __ehdr_start linker symbol if it's defined.
23613         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23614         them up here if it was already done.
23615
23616         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23617         (_dl_aux_init): Use const in cast when setting it.
23618         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23619         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23620         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23621
23622         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23623         Declare them here.
23624         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23625         * csu/libc-tls.c: Nor here.
23626         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23627
23628         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23629         (__libc_message): Never call vsyslog.
23630
23631 2013-03-28  Alan Modra  <amodra@gmail.com>
23632
23633         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23634         Define as empty.
23635         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23636         Likewise.
23637
23638 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23639
23640         [BZ #15214]
23641         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23642         underflow.
23643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23644
23645 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23646
23647         [BZ #15304]
23648         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23649         Don't add gid passed as argument.
23650
23651         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23652
23653 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23654
23655         [BZ #15307]
23656         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23657         imaginary part between 1.0 and 1.5 and real part less than 0.5
23658         specially.
23659         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23660         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23661         * math/libm-test.inc (cacos_test): Add more tests.
23662         (casin_test): Likewise.
23663         (casinh_test): Likewise.
23664         * sysdeps/i386/fpu/libm-test-ulps: Update.
23665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23666
23667 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23668
23669         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23670         constants.
23671         (norm): Likewise.
23672         (denorm): Likewise.
23673         (__dbl_mp): Likewise.
23674         (add_magnitudes): Likewise.
23675         (sub_magnitudes): Likewise.
23676         (__add): Likewise.
23677         (__sub): Likewise.
23678         (__mul): Likewise.
23679         (__sqr): Likewise.
23680         (__inv): Likewise.
23681         (__dvd): Likewise.
23682
23683         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23684         commented code.
23685         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23686         (__dubcos): Likewise.
23687         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23688         (__ieee754_acos): Likewise.
23689         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23690         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23691         (__exp1): Likewise.
23692         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23693         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23694         (log1): Likewise.
23695         (my_log2): Likewise.
23696         (checkint): Likewise.
23697         * sysdeps/ieee754/dbl-64/e_remainder.c
23698         (__ieee754_remainder): Likewise.
23699         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23700         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23701         (bsloww): Likewise.
23702         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23703
23704         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23705         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23706         MANTISSA_STORE_T to store computations on mantissa.  Use
23707         macros for rounding and division.
23708         (denorm): Likewise.
23709         (__dbl_mp): Likewise.
23710         (add_magnitudes): Likewise.
23711         (sub_magnitudes): Likewise.
23712         (__mul): Likewise.
23713         (__sqr): Likewise.
23714         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23715         powers of two in terms of TWOPOW macro.
23716         (mp_no): Make type of mantissa as MANTISSA_T.
23717         [!RADIXI]: Define RADIXI.
23718         [!TWO52]: Define TWO52.
23719         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23720
23721 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23722
23723         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23724         llroundl symbol when building for PPC32.
23725
23726 2013-03-24  Mark H Weaver  <mhw@netris.org>
23727
23728         * manual/arith.texi (Normalization Functions): Fix prototypes for
23729         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23730
23731 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23732
23733         [BZ #13889]
23734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23735         high value to check if expl overflow.
23736         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23737         to check for underflow and overflow.
23738         * math/libm-test.inc: Add exp test.
23739
23740 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23741
23742         [BZ #11120]
23743         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23744         with NOT_IN_libc.
23745
23746 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23747
23748         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23749         symbol.
23750
23751 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23752
23753         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23754         wrap blocks consisting of several statements.
23755
23756         * sysdeps/generic/math-tests.h: New file.
23757         * sysdeps/i386/fpu/math-tests.h: Likewise.
23758         * math/test-snan.c: Include it.
23759         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23760
23761 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23762
23763         [BZ #15285]
23764         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23765         (__ieee754_j0l): Do not improve calculations using cos of twice
23766         input for inputs above LDBL_MAX / 2.0L.
23767         (__ieee754_y0l): Likewise.
23768         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23769         (__ieee754_j1l): Do not improve calculations using cos of twice
23770         input for inputs above LDBL_MAX / 2.0L.
23771         (__ieee754_y1l): Likewise.
23772         * math/libm-test.inc (j0_test): Add another test.
23773         (j1_test): Likewise.
23774         (y0_test): Likewise.
23775         (y1_test): Likewise.
23776         * sysdeps/i386/fpu/libm-test-ulps: Update.
23777
23778 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23779
23780         * Rules ($(objpfx)bench-%.c): Include code from a C source
23781         file.
23782
23783 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23784
23785         [BZ #15287]
23786         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23787         imaginary part 1.0 and real part less than 0.5 specially.
23788         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23789         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23790         * math/libm-test.inc (cacos_test): Add more tests.
23791         (casin_test): Likewise.
23792         (casinh_test): Likewise.
23793         * sysdeps/i386/fpu/libm-test-ulps: Update.
23794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23795
23796 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23797
23798         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23799         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23800
23801 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23802
23803         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23804         * config.make.in (config-cflags-sse4): Remove variable.
23805         (config-cflags-avx): Likewise.
23806         (config-cflags-sse2avx): Likewise.
23807         (config-cflags-novzeroupper): Likewise.
23808         (config-asflags-i686): Likewise.
23809         (have-mfma4): Likewise.
23810         (have-as-vis3): Likewise.
23811         (MIG): Likewise.
23812         * configure.in (MIG): Do not AC_SUBST.
23813         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23814         (libc_cv_cc_sse4): Do not AC_SUBST.
23815         (libc_cv_cc_avx): Likewise.
23816         (libc_cv_cc_sse2avx): Likewise.
23817         (libc_cv_cc_novzeroupper): Likewise.
23818         (libc_cv_cc_fma4): Likewise.
23819         (libc_cv_as_i686): Likewise.
23820         (libc_cv_sparc_as_vis3): Likewise.
23821         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23822         LIBC_CONFIG_VAR.
23823         (config-asflags-i686): Likewise.
23824         (config-cflags-avx): Likewise.
23825         (config-cflags-sse2avx): Likewise.
23826         (have-mfma4): Likewise.
23827         (config-cflags-novzeroupper): Likewise.
23828         * sysdeps/mach/configure.in (MIG): Likewise.
23829         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23830         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23831         LIBC_CONFIG_VAR.
23832         (config-cflags-avx): Likewise.
23833         (config-cflags-sse2avx): Likewise.
23834         (have-mfma4): Likewise.
23835         (config-cflags-novzeroupper): Likewise.
23836         * configure: Regenerated.
23837         * sysdeps/i386/configure: Likewise.
23838         * sysdeps/mach/configure: Likewise.
23839         * sysdeps/sparc/configure: Likewise.
23840         * sysdeps/x86_64/configure: Likewise.
23841
23842 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23843
23844         [BZ #14812]
23845         * locale/programs/localedef.c (options): Put N_ translation marker
23846         on argument names, not just descriptions.
23847
23848 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23849
23850         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23851
23852 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23853
23854         [BZ #14176]
23855         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23856
23857 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23858
23859         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23860         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23861         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23862         [!BEFORE_ABORT] (before_abort): New function.
23863         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23864         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23865         (writev_for_fatal): New function.
23866         (WRITEV_FOR_FATAL): New macro; call that.
23867         (backtrace_and_maps): New function.
23868         (BEFORE_ABORT): New macro; call that.
23869         (struct str_list): Type removed.
23870         (__libc_message, __libc_fatal): Functions removed.
23871         Include <sysdeps/posix/libc_fatal.c> instead.
23872
23873 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23874
23875         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23876         constants.
23877         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23878         double constants.
23879
23880 2013-03-19  Andreas Schwab  <schwab@suse.de>
23881
23882         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23883         * sysdeps/gnu/configure: Regenerate.
23884
23885         * configure.in: Substitute libc_cv_rtlddir.
23886         * configure: Regenerate.
23887         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23888         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23889         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23890         * elf/Makefile (install-others, CFLAGS-interp.c)
23891         (ldso_install, common-ldd-rewrite): Likewise.
23892         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23893         $(inst_slibdir)/$(rtld-installed-name).
23894         * scripts/rellns-sh: Add -p option.
23895         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23896         for source.
23897
23898 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23899
23900         * manual/nptl.texi: Renamed to ...
23901         * manual/threads.texi: ... this.
23902         * manual/Makefile (chapters): Update.
23903
23904 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23905
23906         [BZ #14812]
23907         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23908         on argument names, not just descriptions.
23909         * malloc/memusagestat.c (options): Likewise.
23910         * nss/getent.c (options): Likewise.
23911
23912 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23913
23914         [BZ #14812]
23915         * iconv/iconv_prog.c (options): Put N_ translation marker
23916         on argument names, not just descriptions.
23917         * iconv/iconvconfig.c (options): Likewise.
23918
23919 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23920
23921         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23922         implementation which is faster on all x86_64 architectures.
23923         Tested on AMD, Intel Nehalem, SNB, IVB.
23924         * sysdeps/x86_64/strnlen.S: Likewise.
23925
23926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23927         Remove all multiarch strlen and strnlen versions.
23928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23929         Remove strlen and strnlen related parts.
23930
23931         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23932         Inline strlen part.
23933         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23934
23935         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23936         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23937         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23938         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23939         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23940         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23941
23942 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23943
23944         * manual/memory.texi (Malloc Tunable Parameters):
23945         Sort parameters alphabetically. Add comments for missing entries.
23946
23947 2013-03-17  David S. Miller  <davem@davemloft.net>
23948
23949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23950
23951 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23952
23953         [BZ #15283]
23954         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23955         for arguments at most half maximum finite value.
23956         * math/libm-test.inc (j0_test): Add more tests.
23957         (j1_test): Likewise.
23958         (y0_test): Likewise.
23959         (y1_test): Likewise.
23960         * sysdeps/i386/fpu/libm-test-ulps: Update.
23961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23962
23963         [BZ #14155]
23964         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23965         1 / x and functions P and Q for arguments above 0x1p256L.
23966         (__ieee754_y0l): Likewise.
23967         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23968         (__ieee754_y1l): Likewise.
23969         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23970         (j1_test): Likewise.
23971         (y0_test): Likewise.
23972         (y1_test): Likewise.
23973
23974 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23975
23976         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23977         variable.
23978
23979 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23980
23981         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23982         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23983         zero since it's initialized to EXEC_PAGESIZE.
23984
23985         * sysdeps/unix/sysv/linux/ldsodefs.h
23986         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23987         * sysdeps/generic/ldsodefs.h: ... here.
23988
23989 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23990
23991         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23992
23993         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23994         math/test-snan.c.
23995         * math/test-snan.c: Renamed from
23996         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23997         * math/Makefile (tests): Add test-snan.
23998         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23999         test-powerpc-snan.
24000
24001         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24002         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
24003         functions.
24004         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
24005         __builtin_nan family of functions.
24006         * math/libm-test.inc (initialize): Initialize qnan_value with
24007         __builtin_nan family of functions.
24008         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24009         Remove variables.
24010         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24011         Remove functions.
24012         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
24013         storage class.  Initialize qNaN_var and sNaN_var with
24014         __builtin_nan and __builtin_nans families of functions,
24015         respectively.
24016
24017         * math/libm-test.inc (acosh_test): Also test with qNaN input.
24018         (sqrt_test): Remove duplicate test with qNaN input.
24019         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24020         (round_test, signbit_test, significand_test): Note missing +/-Inf
24021         as well as qNaN tests.
24022
24023         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24024         qNaN_var.  Fix a few strings, too.
24025         * math/libm-test.inc (nan_value): Rename to qnan_value.
24026         * math/gen-libm-test.pl (%beautify): Adjust to that.
24027         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24028         * math/test-misc.c (main): Likewise.
24029         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24030         to __qnan_bytes, and __qnan_union, respectively.
24031         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24032         Likewise.
24033         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24034         and lqnanval, respectively.
24035         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24036         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24037         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24038         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24039
24040         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24041         * math/test-misc.c (main) [__x86_64__]: Enable test for long
24042         doubles.
24043
24044         * math/test-misc.c (main): Fix copy'n'pastos.
24045         * misc/tst-efgcvt.c (special): Likewise.
24046
24047         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24048         Remove declarations.
24049
24050 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24051
24052         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24053         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24054         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24055         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24056
24057 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24058
24059         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24060         macro to return vdso values correctly in IFUNC implementations.
24061         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24062         Optimization by using IFUNC.
24063
24064 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24065             Richard Henderson  <rth@redhat.com>
24066             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24067
24068         * Makefile.in (bench): New target.
24069         * NEWS: Mention the benchmark framework.
24070         * Rules (bench): Likewise.
24071         (binaries-bench): Generate binaries for functions to
24072         benchmark.
24073         * benchtests/Makefile: New makefile for benchmark tests.
24074         * benchtests/bench-skeleton.c: New skeleton file for benchmark
24075         programs.
24076         * benchtests/exp-inputs: New input file for EXP function.
24077         * benchtests/pow-inputs: New input file for POW function.
24078         * scripts/bench.pl: New script to generate source files for
24079         benchmark programs.
24080
24081 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24082
24083         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24084         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24085         computations on mantissa.  Use macros for rounding and
24086         division.
24087         (denorm): Likewise.
24088         (__dbl_mp): Likewise.
24089         (add_magnitudes): Likewise.
24090         (sub_magnitudes): Likewise.
24091         (__mul): Likewise.
24092         (__sqr): Likewise.
24093         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24094         powers of two in terms of TWOPOW macro.
24095         (mp_no): Make type of mantissa as MANTISSA_T.
24096         [!RADIXI]: Define RADIXI.
24097         [!TWO52]: Define TWO52.
24098         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24099
24100         * manual/nptl.texi (cindex): Modify threads to pthreads.
24101
24102 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
24103
24104         * sysdeps/x86_64/preconfigure: Regenerated.
24105
24106 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
24107
24108         [BZ #14155]
24109         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24110         0x1p28 and above.
24111         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24112         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24113         0x1p28 and above.
24114         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24115         * math/libm-test.inc (j0_test): Do not allow one spurious
24116         underflow exception.
24117         (y1_test): Likewise.
24118
24119 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24120
24121         * manual/Makefile (chapters): Add nptl.
24122         * manual/debug.texi (Debugging Support): Add link to Threads
24123         chapter.
24124         * manual/nptl.texi: New file.
24125
24126         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24127
24128 2013-03-14  Petr Baudis  <pasky@ucw.cz>
24129
24130         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24131         for non-NULL pointer before the memory validity test. Pointed
24132         out by Holger Brunck <holger.brunck@keymile.com>.
24133
24134 2013-03-13  Andreas Schwab  <schwab@suse.de>
24135
24136         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24137         instead of .os.
24138
24139 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
24140
24141         * timezone/zic.c: Update from tzcode 2013b.
24142
24143 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
24144
24145         * manual/install.texi (Configuring and compiling):
24146         Mention i686 and i586.
24147         * INSTALL: Regenerate.
24148
24149 2013-03-12  Roland McGrath  <roland@hack.frob.com>
24150
24151         * sysdeps/init_array/elf-init.c: New file.
24152         * csu/elf-init.c
24153         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24154         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24155
24156         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24157         __gmon_start__ as global, but as static with a .preinit_array pointer.
24158         * sysdeps/init_array/gmon-start.c: New file.  Use that.
24159         * sysdeps/init_array/crti.S: New file, empty except for comments.
24160         * sysdeps/init_array/crtn.S: Likewise.
24161
24162 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
24163
24164         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24165         definining bcopy.
24166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24167         Remove Prefer_SSE_for_memop.
24168         * sysdeps/x86_64/multiarch/init-arch.h: Remove
24169         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24170         HAS_PREFER_SSE_FOR_MEMOP.
24171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24172         memset-x86-64.
24173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24174         Remove bzero, memset ifunc support.
24175         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24176         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24177         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24178         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24179
24180 2013-03-11  Andreas Schwab  <schwab@suse.de>
24181
24182         [BZ #15234]
24183         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24184         by SHLIB_COMPAT.
24185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24186         (GLIBC_2.16): Remove pthread_atfork.
24187
24188 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24189
24190         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24191         (ptestcases.h): Likewise.
24192
24193 2013-03-08  Roland McGrath  <roland@hack.frob.com>
24194
24195         * Makeconfig ($(common-objpfx)config.status): Depend on
24196         sysdeps/*/preconfigure{,.in} too.
24197
24198 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
24199
24200         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24201         (__free_hook): Use void * instead of __malloc_ptr_t.
24202         (__malloc_hook): Likewise.
24203         (__realloc_hook): Likewise.
24204         (__memalign_hook): Likewise.
24205         (__after_morecore_hook): Likewise.
24206         * malloc/arena.c (save_malloc_hook): Likewise.
24207         (save_free_hook): Likewise.
24208         * malloc/hooks.c (malloc_hook_ini): Likewise.
24209         (realloc_hook_ini): Likewise.
24210         (memalign_hook_ini): Likewise.
24211         * malloc/malloc.c (malloc_hook_ini): Likewise.
24212         (realloc_hook_ini): Likewise.
24213         (memalign_hook_ini): Likewise.
24214         (__free_hook): Likewise.
24215         (__malloc_hook): Likewise.
24216         (__realloc_hook): Likewise.
24217         (__memalign_hook): Likewise.
24218         (__libc_malloc): Likewise.
24219         (__libc_free): Likewise.
24220         (__libc_realloc): Likewise.
24221         (__libc_memalign): Likewise.
24222         (__libc_valloc): Likewise.
24223         (__libc_pvalloc): Likewise.
24224         (__libc_calloc): Likewise.
24225         (__posix_memalign): Likewise.
24226         * malloc/morecore.c (__sbrk): Likewise.
24227         (__default_morecore): Likewise.
24228
24229         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24230
24231         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24232         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24233         __malloc_ptrdiff_t.
24234
24235         * malloc/malloc.h (__malloc_size_t): Remove macro.
24236         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24237         __malloc_size_t.
24238         (old_memalign_hook): Likewise.
24239         (old_realloc_hook): Likewise.
24240         (struct hdr): Likewise.
24241         (flood): Likewise.
24242         (mallochook): Likewise.
24243         (memalignhook): Likewise.
24244         (reallochook): Likewise.
24245         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24246         (tr_old_realloc_hook): Likewise.
24247         (tr_old_memalign_hook): Likewise.
24248         (tr_mallochook): Likewise.
24249         (tr_reallochook): Likewise.
24250         (tr_memalignhook): Likewise.
24251
24252 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24253
24254         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24255         default_ldbl_pack and using as default implementation.
24256         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24257         implementation.
24258         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24259         redundant definition.
24260         (ldbl_insert_mantissa): Likewise.
24261         (ldbl_canonicalize): Likewise.
24262         (ldbl_nearbyint): Likewise.
24263         (ldbl_pack): Rename to ldbl_pack_ppc.
24264         (ldbl_unpack): Rename to ldbl_unpack_ppc.
24265         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24266         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24267
24268 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24269
24270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24271         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24272         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24273         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24275         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24276         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24277         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24278
24279 2013-03-07  Andreas Jaeger  <aj@suse.de>
24280
24281         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24282         bits/mman-linux.h.
24283
24284 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24285
24286         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24287         Include mpa.h and declare __MPEXP.
24288         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24289         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24290         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24291         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24292         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24293         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24294         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24295
24296         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24297         (__slowpow): Use long double EXPL and LOGL functions to
24298         compute POW.
24299         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24300         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24301         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24302         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24303         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24304         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24305
24306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24307         intermediate variable to calculate exponent.
24308         (__sqr): Likewise.
24309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24310         Likewise.
24311         (__sqr): Likewise.
24312
24313         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24314         [!NO__SQR]: Define __sqr.
24315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24316         and NO__SQR.  Remove all code except __mul and __sqr.  Include
24317         sysdeps/ieee754/dbl-64/mpa.c.
24318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24319
24320         [BZ #12723]
24321         * posix/Makefile (tests): Add tst-pathconf.
24322         * posix/tst-pathconf.c: New test case.
24323         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24324         _PC_PIPE_BUF.
24325         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24326
24327 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
24328
24329         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24330
24331 2013-03-06  Andreas Jaeger  <aj@suse.de>
24332
24333         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24334         definition via __MAP_ANONYMOUS.
24335
24336         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24337         it's not part of Linux headers.
24338
24339         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24340         (MAP_HUGE_MASK): Define.
24341
24342         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24343         Define.
24344         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24345         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24346         Define.
24347         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24348         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24349         Define.
24350         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24351         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24352         Define.
24353         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24354
24355         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24356         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24357         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24358         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24359         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24360         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24361
24362         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24363         Handle f2fs.
24364
24365         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24366         Handle f2fs and efivarfs.
24367
24368         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24369         f2fs.
24370
24371         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24372         (EFIVARFS_MAGIC): Add.
24373         (F2FS_LINK_MAX): Add.
24374
24375 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24376
24377         * stdio-common/vfprintf.c: Replace __builtin_expect with
24378         __glibc_unlikely.
24379
24380 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
24381
24382         [BZ #13550]
24383         * sysdeps/generic/bp-sym.h: Remove file.
24384         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24385         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24386         <bp-sym.h> and <bp-asm.h>.
24387         (__longjmp): Don't use BP_SYM.
24388         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24389         and <bp-asm.h>.
24390         (memcpy): Don't use BP_SYM.
24391         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24392         <bp-sym.h> and <bp-asm.h>.
24393         (memcpy): Don't use BP_SYM.
24394         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24395         <bp-asm.h>.
24396         (memcpy): Don't use BP_SYM.
24397         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24398         <bp-asm.h>.
24399         (memset): Don't use BP_SYM.
24400         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24401         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24402         (__bzero): Don't use BP_SYM.
24403         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24404         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24405         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24406         <bp-sym.h> and <bp-asm.h>.
24407         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24408         pointers.
24409         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24410         <bp-sym.h> and <bp-asm.h>.
24411         (memcpy): Don't use BP_SYM.
24412         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24413         <bp-sym.h> and <bp-asm.h>.
24414         (memset): Don't use BP_SYM.
24415         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24416         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24417         (__bzero): Don't use BP_SYM.
24418         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24419         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24420         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24421         <bp-sym.h> and <bp-asm.h>.
24422         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24423         pointers.
24424         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24425         <bp-sym.h> and <bp-asm.h>.
24426         (memcpy): Don't use BP_SYM.
24427         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24428         <bp-sym.h> and <bp-asm.h>.
24429         (memset): Don't use BP_SYM.
24430         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24431         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24432         (__bzero): Don't use BP_SYM.
24433         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24434         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24435         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24436         <bp-sym.h> and <bp-asm.h>.
24437         (__memchr): Don't use BP_SYM.
24438         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24439         <bp-sym.h> and <bp-asm.h>.
24440         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24441         pointers.
24442         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24443         <bp-sym.h> and <bp-asm.h>.
24444         (memcpy): Don't use BP_SYM.
24445         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24446         <bp-sym.h> and <bp-asm.h>.
24447         (__mempcpy): Don't use BP_SYM.
24448         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24449         <bp-sym.h> and <bp-asm.h>.
24450         (__memrchr): Don't use BP_SYM.
24451         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24452         <bp-sym.h> and <bp-asm.h>.
24453         (memset): Don't use BP_SYM.
24454         (__bzero): Likewise.
24455         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24456         <bp-sym.h> and <bp-asm.h>.
24457         (__rawmemchr): Don't use BP_SYM.
24458         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24459         <bp-sym.h> and <bp-asm.h>.
24460         (__STRCMP): Don't use BP_SYM.
24461         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24462         <bp-sym.h> and <bp-asm.h>.
24463         (strchr): Don't use BP_SYM.
24464         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24465         <bp-sym.h> and <bp-asm.h>.
24466         (__strchrnul): Don't use BP_SYM.
24467         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24468         <bp-sym.h> and <bp-asm.h>.
24469         (strlen): Don't use BP_SYM.
24470         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24471         <bp-sym.h> and <bp-asm.h>.
24472         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24473         pointers.
24474         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24475         <bp-sym.h> and <bp-asm.h>.
24476         (__strnlen): Don't use BP_SYM.
24477         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24478         <bp-sym.h> and <bp-asm.h>.
24479         (__GI__setjmp): Don't use BP_SYM.
24480         (_setjmp): Likewise.
24481         (__sigsetjmp): Likewise.
24482         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24483         (L(start_addresses)): Don't use BP_SYM.
24484         (_start): Likewise.
24485         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24486         <bp-asm.h>.
24487         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24488         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24489         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24490         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24491         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24492         <bp-asm.h>.
24493         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24494         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24495         about bounded pointers.
24496         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24497         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24498         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24499         <bp-asm.h>.
24500         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24501         about bounded pointers.  Remove GKM FIXME comments.
24502         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24503         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24504         <bp-asm.h>.
24505         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24506         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24507         Remove GKM FIXME comments.
24508         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24509         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24510         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24511         <bp-asm.h>.
24512         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24513         about bounded pointers.  Remove GKM FIXME comment.
24514         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24515         and <bp-asm.h>.
24516         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24517         pointers.
24518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24519         <bp-sym.h> and <bp-asm.h>.
24520         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24522         <bp-sym.h> and <bp-asm.h>.
24523         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24524         comment.
24525
24526 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24527
24528         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24529         call free(NULL).
24530
24531 2013-03-05  David S. Miller  <davem@davemloft.net>
24532
24533         * po/es.po: Update from translation team.
24534
24535 2013-03-05  Andreas Jaeger  <aj@suse.de>
24536
24537         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24538         <bits/mman-linux.h>.
24539         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24540         is fine.
24541         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24542         <bits/mman-linux.h> to end of file.
24543         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24544         is fine.
24545         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24546         <bits/mman-linux.h> to end of file.
24547         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24548         is fine.
24549         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24550         <bits/mman-linux.h> to end of file.
24551
24552         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24553         (MCL_CURRENT, MCL_FUTURE): Define here.
24554
24555 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24556
24557         [BZ #15232]
24558         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24559         attribute_hidden.
24560         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24561
24562 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24563
24564         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24565         fourth parameter needed for rt_sigprocmask syscall.
24566         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24567         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24568         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24569         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24570         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24571         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24572
24573 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24574
24575         [BZ #13550]
24576         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24577         comment about bounded pointers.
24578         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24579         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24580
24581 2013-03-04  Andreas Jaeger  <aj@suse.de>
24582
24583         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24584         common definitions.
24585
24586         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24587         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24588         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24589         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24590         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24591         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24592
24593 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24594
24595         [BZ #15055]
24596         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24597         __ieee754_sqrl instead of __sqrl.
24598
24599 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24600
24601         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24602         * sysdeps/powerpc/fpu_control.h: ... here.
24603         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24604         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24605         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24606         * sysdeps/powerpc/bits/mathinline.h: ... here.
24607
24608 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24609
24610         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24611         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24612         to just [NEED_DL_SYSINFO_DSO].
24613         * elf/dl-support.c: Likewise.
24614         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24615         * elf/rtld.c (dl_main): Likewise.
24616         * elf/setup-vdso.h (setup_vdso): Likewise.
24617         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24618         * sysdeps/unix/sysv/linux/dl-sysdep.c
24619         (_dl_discover_osversion): Likewise.
24620
24621 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24622
24623         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24624         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24625
24626 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24627
24628         * NEWS: Mention libm performance improvements and non-x86 PI
24629         futex support.
24630
24631         * csu/libc-start.c (__pthread_initialize_minimal): Change
24632         function arguments.
24633         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24634
24635 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24636
24637         [BZ #13550]
24638         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24639         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24640         <bp-sym.h> and <bp-asm.h>.
24641         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24642         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24643         and <bp-asm.h>.
24644         (memcpy): Don't use BP_SYM.
24645         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24646         <bp-asm.h>.
24647         (__mpn_add_n): Don't use BP_SYM.
24648         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24649         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24650         and <bp-asm.h>.
24651         (__mpn_addmul_1): Don't use BP_SYM.
24652         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24653         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24654         <bp-sym.h>.
24655         (_setjmp): Don't use BP_SYM.
24656         (__novmx_setjmp): Likewise.
24657         (__GI__setjmp): Likewise.
24658         (__vmx_setjmp): Likewise.
24659         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24660         <bp-sym.h>.
24661         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24662         (__bzero): Don't use BP_SYM.
24663         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24664         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24665         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24666         <bp-sym.h> and <bp-asm.h>.
24667         (memcpy): Don't use BP_SYM.
24668         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24669         <bp-sym.h> and <bp-asm.h>.
24670         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24671         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24672         <bp-sym.h> and <bp-asm.h>.
24673         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24674         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24675         <bp-asm.h>.
24676         (__mpn_lshift): Don't use BP_SYM.
24677         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24678         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24679         <bp-asm.h>.
24680         (memset): Don't use BP_SYM.
24681         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24682         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24683         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24684         <bp-asm.h>.
24685         (__mpn_mul_1): Don't use BP_SYM.
24686         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24687         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24688         <bp-sym.h> and <bp-asm.h>.
24689         (memcmp): Don't use BP_SYM.
24690         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24691         <bp-sym.h> and <bp-asm.h>.
24692         (memcpy): Don't use BP_SYM.
24693         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24694         <bp-sym.h> and <bp-asm.h>.
24695         (memset): Don't use BP_SYM.
24696         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24697         <bp-sym.h> and <bp-asm.h>.
24698         (strncmp): Don't use BP_SYM.
24699         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24700         <bp-sym.h> and <bp-asm.h>.
24701         (memcpy): Don't use BP_SYM.
24702         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24703         <bp-sym.h> and <bp-asm.h>.
24704         (memset): Don't use BP_SYM.
24705         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24706         <bp-sym.h> and <bp-asm.h>.
24707         (__memchr): Don't use BP_SYM.
24708         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24709         <bp-sym.h> and <bp-asm.h>.
24710         (memcmp): Don't use BP_SYM.
24711         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24712         <bp-sym.h> and <bp-asm.h>.
24713         (memcpy): Don't use BP_SYM.
24714         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24715         <bp-sym.h> and <bp-asm.h>.
24716         (__mempcpy): Don't use BP_SYM.
24717         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24718         <bp-sym.h> and <bp-asm.h>.
24719         (__memrchr): Don't use BP_SYM.
24720         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24721         <bp-sym.h> and <bp-asm.h>.
24722         (memset): Don't use BP_SYM.
24723         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24724         <bp-sym.h> and <bp-asm.h>.
24725         (__rawmemchr): Don't use BP_SYM.
24726         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24727         <bp-sym.h> and <bp-asm.h>.
24728         (__STRCMP): Don't use BP_SYM.
24729         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24730         <bp-sym.h> and <bp-asm.h>.
24731         (strchr): Don't use BP_SYM.
24732         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24733         <bp-sym.h> and <bp-asm.h>.
24734         (__strchrnul): Don't use BP_SYM.
24735         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24736         <bp-sym.h> and <bp-asm.h>.
24737         (strlen): Don't use BP_SYM.
24738         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24739         <bp-sym.h> and <bp-asm.h>.
24740         (strncmp): Don't use BP_SYM.
24741         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24742         <bp-sym.h> and <bp-asm.h>.
24743         (__strnlen): Don't use BP_SYM.
24744         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24745         <bp-asm.h>.
24746         (__mpn_rshift): Don't use BP_SYM.
24747         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24748         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24749         <bp-sym.h> and <bp-asm.h>.
24750         (__sigsetjmp): Don't use BP_SYM.
24751         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24752         (L(start_addresses)): Don't use BP_SYM.
24753         (_start): Likewise.
24754         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24755         <bp-asm.h>.
24756         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24757         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24758         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24759         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24760         <bp-asm.h>.
24761         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24762         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24763         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24764         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24765         <bp-asm.h>.
24766         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24767         comments.
24768         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24769         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24770         <bp-asm.h>.
24771         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24772         FIXME comments.
24773         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24774         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24775         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24776         <bp-asm.h>.
24777         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24778         comment.
24779         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24780         and <bp-asm.h>.
24781         (strncmp): Don't use BP_SYM,
24782         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24783         <bp-asm.h>.
24784         (__mpn_sub_n): Don't use BP_SYM.
24785         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24786         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24787         and <bp-asm.h>.
24788         (__mpn_submul_1): Don't use BP_SYM.
24789         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24791         <bp-sym.h> and <bp-asm.h>.
24792         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24794         <bp-sym.h> and <bp-asm.h>.
24795         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24796         comment.
24797
24798 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24799
24800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24801         Use ZK to minimize writes to Z.
24802         (sub_magnitudes): Simplify code a bit.
24803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24804         Use ZK to minimize writes to Z.
24805         (sub_magnitudes): Simplify code a bit.
24806
24807 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24808
24809         * csu/gmon-start.c: Add special exception to license text.
24810
24811 2013-02-27  Richard Henderson  <rth@redhat.com>
24812
24813         * scripts/config.guess: Update from config.git.
24814         * scripts/config.sub: Likewise.
24815
24816 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24817
24818         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24819
24820         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24821
24822         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24823
24824         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24825
24826         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24827
24828 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24829
24830         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24831         [$(build-shared = yes].
24832
24833 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24834
24835         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24836         (__mul): Reduce iterations for calculating mantissa.
24837
24838         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24839         MPTWO.
24840         (__mpranred): Likewise.
24841
24842         [BZ #15160]
24843         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24844         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24845
24846 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24847
24848         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24849         Define __attribute__.
24850
24851 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24852
24853         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24854         unused.
24855         * posix/regex_internal.h (__attribute): Remove.
24856         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24857         (re_string_context_at): Likewise.
24858         (bitset_not): Use __attribute__ and mark function as possibly
24859         unused.
24860         (bitset_merge): Likewise.
24861         (bitset_mask): Likewise.
24862         (re_string_char_size_at): Likewise.
24863         (re_string_wchar_at): Likewise.
24864         (re_string_elem_size_at): Likewise.
24865
24866 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24867
24868         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24869         code.
24870         (cc32): Likewise.
24871
24872         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24873         (__acr): Likewise.
24874         (__cpy): Likewise.
24875         (norm): Likewise.
24876         (denorm): Likewise.
24877         (__dbl_mp): Likewise.
24878         (add_magnitudes): Likewise.
24879         (sub_magnitudes): Likewise.
24880         (__mul): Likewise.
24881         (__inv): Likewise.
24882
24883         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24884         style.
24885
24886         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24887         style.
24888
24889         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24890         code.
24891
24892         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24893         up changes with default code.
24894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24895         Likewise.
24896
24897 2013-02-24  Allan McRae  <allan@archlinux.org>
24898
24899         * manual/socket.texi (The Internet Namespace): Order menu items
24900         to match that in the file.
24901
24902         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24903         node listing of the info page menu.
24904
24905 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24906
24907         [BZ #13550]
24908         * sysdeps/i386/bp-asm.h: Remove file.
24909         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24910         (PARMS): Do not use macros from bp-asm.h.
24911         (S1): Likewise.
24912         (S2): Likewise.
24913         (SIZE): Likewise.
24914         (__mpn_add_n): Do not use BP_SYM
24915         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24916         "bp-asm.h".
24917         (PARMS): Do not use macros from bp-asm.h.
24918         (S1): Likewise.
24919         (SIZE): Likewise.
24920         (__mpn_addmul_1): Do not use BP_SYM
24921         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24922         "bp-asm.h".
24923         (PARMS): Do not use macros from bp-asm.h.
24924         (SIGMSK): Likewise.
24925         (_setjmp): Likewise.  Do not use BP_SYM.
24926         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24927         "bp-asm.h".
24928         (PARMS): Do not use macros from bp-asm.h.
24929         (SIGMSK): Likewise.
24930         (setjmp): Likewise.  Do not use BP_SYM.
24931         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24932         "bp-asm.h".
24933         (PARMS): Do not use macros from bp-asm.h.
24934         (__frexp): Do not use BP_SYM.
24935         (frexp): Likewise.
24936         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24937         "bp-asm.h".
24938         (PARMS): Do not use macros from bp-asm.h.
24939         (__frexpf): Do not use BP_SYM.
24940         (frexpf): Likewise.
24941         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24942         "bp-asm.h".
24943         (PARMS): Do not use macros from bp-asm.h.
24944         (__frexpl): Do not use BP_SYM.
24945         (frexpl): Likewise.
24946         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24947         "bp-asm.h".
24948         (PARMS): Do not use macros from bp-asm.h.
24949         (__remquo): Do not use BP_SYM.
24950         (remquo): Likewise.
24951         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24952         "bp-asm.h".
24953         (PARMS): Do not use macros from bp-asm.h.
24954         (__remquof): Do not use BP_SYM.
24955         (remquof): Likewise.
24956         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24957         "bp-asm.h".
24958         (PARMS): Do not use macros from bp-asm.h.
24959         (__remquol): Do not use BP_SYM.
24960         (remquol): Likewise.
24961         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24962         "bp-asm.h".
24963         (PARMS): Do not use macros from bp-asm.h.
24964         (DEST): Likewise.
24965         (SRC): Likewise.
24966         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24967         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24968         "bp-asm.h".
24969         (PARMS): Do not use macros from bp-asm.h.
24970         (strlen): Do not use BP_SYM.
24971         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24972         "bp-asm.h".
24973         (PARMS): Do not use macros from bp-asm.h.
24974         (S1): Likewise.
24975         (S2): Likewise.
24976         (SIZE): Likewise.
24977         (__mpn_add_n): Do not use BP_SYM.
24978         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24979         "bp-asm.h".
24980         (PARMS): Do not use macros from bp-asm.h.
24981         (S1): Likewise.
24982         (SIZE): Likewise.
24983         (__mpn_addmul_1): Do not use BP_SYM.
24984         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24985         weak_alias.
24986         (bzero): Likewise.
24987         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24988         "bp-asm.h".
24989         (PARMS): Do not use macros from bp-asm.h.
24990         (S): Likewise.
24991         (SIZE): Likewise.
24992         (__mpn_lshift): Do not use BP_SYM.
24993         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24994         "bp-asm.h".
24995         (PARMS): Do not use macros from bp-asm.h.
24996         (DEST): Likewise.
24997         (SRC): Likewise.
24998         (LEN): Likewise.
24999         (memcpy): Likewise.  Do not use BP_SYM.
25000         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25001         libc_hidden_def and weak_alias.
25002         (mempcpy): Do not use BP_SYM in weak_alias.
25003         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25004         "bp-asm.h".
25005         (PARMS): Do not use macros from bp-asm.h.
25006         (DEST): Likewise.
25007         (LEN): Likewise.
25008         [!BZERO_P] (CHR): Likewise.
25009         (memset): Likewise.  Do not use BP_SYM.
25010         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25011         "bp-asm.h".
25012         (PARMS): Do not use macros from bp-asm.h.
25013         (S1): Likewise.
25014         (SIZE): Likewise.
25015         (__mpn_mul_1): Do not use BP_SYM.
25016         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25017         "bp-asm.h".
25018         (PARMS): Do not use macros from bp-asm.h.
25019         (S): Likewise.
25020         (SIZE): Likewise.
25021         (__mpn_rshift): Do not use BP_SYM.
25022         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25023         "bp-asm.h".
25024         (PARMS): Do not use macros from bp-asm.h.
25025         (STR): Likewise.
25026         (CHR): Likewise.
25027         (strchr): Likewise.  Do not use BP_SYM.
25028         (index): Do not use BP_SYM in weak_alias.
25029         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25030         "bp-asm.h".
25031         (PARMS): Do not use macros from bp-asm.h.
25032         (DEST): Likewise.
25033         (SRC): Likewise.
25034         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
25035         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25036         "bp-asm.h".
25037         (PARMS): Do not use macros from bp-asm.h.
25038         (strlen): Do not use BP_SYM.
25039         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25040         "bp-asm.h".
25041         (PARMS): Do not use macros from bp-asm.h.
25042         (S1): Likewise.
25043         (S2): Likewise.
25044         (SIZE): Likewise.
25045         (__mpn_sub_n): Do not use BP_SYM.
25046         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25047         "bp-asm.h".
25048         (PARMS): Do not use macros from bp-asm.h.
25049         (S1): Likewise.
25050         (SIZE): Likewise.
25051         (__mpn_submul_1): Do not use BP_SYM.
25052         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25053         "bp-asm.h".
25054         (PARMS): Do not use macros from bp-asm.h.
25055         (S1): Likewise.
25056         (S2): Likewise.
25057         (SIZE): Likewise.
25058         (__mpn_add_n): Do not use BP_SYM.
25059         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25060         weak_alias.
25061         (bzero): Likewise.
25062         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25063         "bp-asm.h".
25064         (PARMS): Do not use macros from bp-asm.h.
25065         (BLK2): Likewise.
25066         (LEN): Likewise.
25067         (memcmp): Do not use BP_SYM.
25068         (bcmp): Do not use BP_SYM in weak_alias.
25069         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25070         "bp-asm.h".
25071         (PARMS): Do not use macros from bp-asm.h.
25072         (DEST): Likewise.
25073         (SRC): Likewise.
25074         (LEN): Likewise.
25075         (memcpy): Likewise.  Do not use BP_SYM.
25076         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25077         "bp-asm.h".
25078         (PARMS): Do not use macros from bp-asm.h.
25079         (DEST): Likewise.
25080         (SRC): Likewise.
25081         (LEN): Likewise.
25082         (memmove): Likewise.  Do not use BP_SYM.
25083         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25084         "bp-asm.h".
25085         (PARMS): Do not use macros from bp-asm.h.
25086         (DEST): Likewise.
25087         (SRC): Likewise.
25088         (LEN): Likewise.
25089         (__mempcpy): Likewise.  Do not use BP_SYM.
25090         (mempcpy): Do not use BP_SYM in weak_alias.
25091         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25092         "bp-asm.h".
25093         (PARMS): Do not use macros from bp-asm.h.
25094         (DEST): Likewise.
25095         (LEN): Likewise.
25096         [!BZERO_P] (CHR): Likewise.
25097         (memset): Likewise.  Do not use BP_SYM.
25098         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25099         "bp-asm.h".
25100         (PARMS): Do not use macros from bp-asm.h.
25101         (STR2): Likewise.
25102         (strcmp): Do not use BP_SYM.
25103         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25104         "bp-asm.h".
25105         (PARMS): Do not use macros from bp-asm.h.
25106         (STR): Likewise.
25107         (DELIM): Likewise.
25108         [USE_AS_STRTOK_R] (SAVE): Likewise.
25109         (FUNCTION): Likewise.  Do not use BP_SYM.
25110         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25111         aliases.
25112         (strtok_r): Likewise.
25113         (__GI___strtok_r): Likewise.
25114         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25115         (PARMS): Do not use macros from bp-asm.h.
25116         (S): Likewise.
25117         (SIZE): Likewise.
25118         (__mpn_lshift): Do not use BP_SYM.
25119         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25120         (PARMS): Do not use macros from bp-asm.h.
25121         (STR): Likewise.
25122         (CHR): Likewise.
25123         (__memchr): Do not use BP_SYM.
25124         (memchr): Do not use BP_SYM in weak_alias.
25125         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25126         (PARMS): Do not use macros from bp-asm.h.
25127         (BLK2): Likewise.
25128         (LEN): Likewise.
25129         (memcmp): Do not use BP_SYM.
25130         (bcmp): Do not use BP_SYM in weak_alias.
25131         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25132         (PARMS): Do not use macros from bp-asm.h.
25133         (S1): Likewise.
25134         (SIZE): Likewise.
25135         (__mpn_mul_1): Do not use BP_SYM.
25136         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25137         "bp-asm.h".
25138         (PARMS): Do not use macros from bp-asm.h.
25139         (STR): Likewise.
25140         (CHR): Likewise.
25141         (__rawmemchr): Do not use BP_SYM.
25142         (rawmemchr): Do not use BP_SYM in weak_alias.
25143         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25144         (PARMS): Do not use macros from bp-asm.h.
25145         (S): Likewise.
25146         (SIZE): Likewise.
25147         (__mpn_rshift): Do not use BP_SYM.
25148         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25149         (PARMS): Do not use macros from bp-asm.h.
25150         (SIGMSK): Likewise.
25151         (__sigsetjmp): Likewise.  Do not use BP_SYM.
25152         * sysdeps/i386/start.S: Do not include "bp-sym.h".
25153         (_start): Do not use BP_SYM.
25154         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25155         (PARMS): Do not use macros from bp-asm.h.
25156         (DEST): Likewise.
25157         (SRC): Likewise.
25158         (__stpcpy): Likewise.  Do not use BP_SYM.
25159         (stpcpy): Do not use BP_SYM in weak_alias.
25160         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25161         "bp-asm.h".
25162         (PARMS): Do not use macros from bp-asm.h.
25163         (DEST): Likewise.
25164         (SRC): Likewise.
25165         (LEN): Likewise.
25166         (__stpncpy): Likewise.  Do not use BP_SYM.
25167         (stpncpy): Do not use BP_SYM in weak_alias.
25168         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25169         (PARMS): Do not use macros from bp-asm.h.
25170         (STR): Likewise.
25171         (CHR): Likewise.
25172         (strchr): Likewise.  Do not use BP_SYM.
25173         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25174         "bp-asm.h".
25175         (PARMS): Do not use macros from bp-asm.h.
25176         (STR): Likewise.
25177         (CHR): Likewise.
25178         (__strchrnul): Likewise.  Do not use BP_SYM.
25179         (strchrnul): Do not use BP_SYM in weak_alias.
25180         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25181         "bp-asm.h".
25182         (PARMS): Do not use macros from bp-asm.h.
25183         (STOP): Likewise.
25184         (strcspn): Do not use BP_SYM.
25185         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25186         "bp-asm.h".
25187         (PARMS): Do not use macros from bp-asm.h.
25188         (STR): Likewise.
25189         (STOP): Likewise.
25190         (strpbrk): Likewise.  Do not use BP_SYM.
25191         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25192         "bp-asm.h".
25193         (PARMS): Do not use macros from bp-asm.h.
25194         (STR): Likewise.
25195         (CHR): Likewise.
25196         (strrchr): Likewise.  Do not use BP_SYM.
25197         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25198         (PARMS): Do not use macros from bp-asm.h.
25199         (SKIP): Likewise.
25200         (strspn): Do not use BP_SYM.
25201         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25202         (PARMS): Do not use macros from bp-asm.h.
25203         (STR): Likewise.
25204         (DELIM): Likewise.
25205         (SAVE): Likewise.
25206         (FUNCTION): Likewise.  Do not use BP_SYM.
25207         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25208         aliases.
25209         (strtok_r): Likewise.
25210         (__GI___strtok_r): Likewise.
25211         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25212         (PARMS): Do not use macros from bp-asm.h.
25213         (S1): Likewise.
25214         (S2): Likewise.
25215         (SIZE): Likewise.
25216         (__mpn_sub_n): Do not use BP_SYM.
25217         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25218         "bp-asm.h".
25219         (PARMS): Do not use macros from bp-asm.h.
25220         (S1): Likewise.
25221         (SIZE): Likewise.
25222         (__mpn_submul_1): Do not use BP_SYM.
25223         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25224         <bp-sym.h>.
25225         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25226         and <bp-asm.h>.
25227         (PARMS): Do not use macros from bp-asm.h.
25228         (FLAGS): Likewise.
25229         (PTID): Likewise.
25230         (TLS): Likewise.
25231         (CTID): Likewise.
25232         (__clone): Do not use BP_SYM.
25233         (clone): Do not use BP_SYM in weak_alias.
25234         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25235         and <bp-asm.h>.
25236         (PARMS): Do not use macros from bp-asm.h.
25237         (LEN): Likewise.
25238         (__mmap64): Do not use BP_SYM.
25239         (mmap64): Do not use BP_SYM in weak_alias.
25240         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25241         <bp-sym.h> and <bp-asm.h>.
25242         (PARMS): Do not use macros from bp-asm.h.
25243         (__posix_fadvise64_l64): Do not use BP_SYM.
25244         * sysdeps/unix/sysv/linux/i386/semtimedop.S
25245         (PARMS): Do not use macros from bp-asm.h.
25246         (NSOPS): Likewise.
25247         (semtimedop): Do not use BP_SYM.
25248         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25249         and <bp-asm.h>.
25250
25251 2013-02-21  Allan McRae  <allan@archlinux.org>
25252
25253         * manual/message.texi (Charset conversion in gettext):
25254         Move @end statement to beginning of line.
25255
25256 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25257
25258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25259         static.
25260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25261         Likewise.
25262
25263         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25264         (denorm): Likewise.
25265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25266         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25267
25268 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25269
25270         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25271         tail-call to the resolved function if pltexit isn't needed.
25272
25273 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25274
25275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25276         or Y being zero as being unlikely.
25277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25278         Likewise.
25279
25280 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
25281
25282         * manual/nss.texi (System Databases and Name Service Switch):
25283         Remove frobnicate @pxref.
25284
25285 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25286
25287         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25288         __attribute__ ((unused)) to __attribute__ ((__unused__)).
25289
25290 2013-02-20  Petr Machata  <pmachata@redhat.com>
25291
25292         * elf/elf.h (R_ARM_TARGET1): New macro.
25293         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25294         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25295         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25296         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25297         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25298         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25299         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25300         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25301         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25302         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25303         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25304         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25305         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25306         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25307         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25308         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25309         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25310         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25311         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25312         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25313         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25314         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25315         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25316         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25317         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25318         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25319         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25320         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25321         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25322         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25323         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25324         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25325         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25326         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25327         (R_ARM_THM_GOT_BREL12): Likewise.
25328         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25329         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25330         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25331         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25332         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25333         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25334         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25335         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25336         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25337
25338 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25339
25340         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25341         __attribute_used__ to __attribute__ ((unused)).
25342
25343 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25344
25345         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25346         powerpc mpa.c.
25347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25348         comment formatting.
25349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25350
25351 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
25352
25353         [BZ #13550]
25354         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25355         Remove macro.
25356         (ENTER): Remove both macro definitions.
25357         (LEAVE): Likewise.
25358         (CHECK_BOUNDS_LOW): Likewise.
25359         (CHECK_BOUNDS_HIGH): Likewise.
25360         (CHECK_BOUNDS_BOTH): Likewise.
25361         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25362         (RETURN_BOUNDED_POINTER): Likewise.
25363         (RETURN_NULL_BOUNDED_POINTER): Likewise.
25364         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25365         (POP_ERRNO_LOCATION_RETURN): Likewise.
25366         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25367         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25368         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25369         macros.
25370         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25371         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25372         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25373         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25374         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25375         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25376         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25377         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25378         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25379         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25380         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25381         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25382         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25383         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25384         removed macros.
25385         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25386         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25387         macros.
25388         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25389         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25390         * sysdeps/i386/i586/memset.S (memset): Likewise.
25391         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25392         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25393         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25394         macros.
25395         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25396         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25397         Change uses of L(2) to L(out).
25398         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25399         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25400         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25401         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25402         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25403         removed macros.
25404         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25405         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25406         macros.
25407         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25408         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25409         (RETURN): Do not use macro LEAVE.
25410         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25411         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25412         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25413         * sysdeps/i386/i686/memset.S (memset): Likewise.
25414         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25415         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25416         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25417         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25418         Likewise.
25419         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25420         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25421         L(1_2) and L(1_3) into L(1).
25422         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25423         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25424         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25425         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25426         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25427         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25428         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25429         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25430         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25431         macros.
25432         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25433         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25434         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25435         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25436         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25437         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25438         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25439         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25440         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25441         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25442         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25443         * sysdeps/i386/strspn.S (strspn): Likewise.
25444         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25445         conditional code.
25446         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25447         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25448         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25449         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25450         L(1_3) into L(1_1).
25451         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25452         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25453         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25454         macros.
25455         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25456
25457 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25458
25459         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25460         macro.
25461
25462 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25463
25464         * math/atest-exp.c (exp_mpn): Remove ROUND.
25465         * math/atest-exp2.c (exp_mpn): Likewise.
25466         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25467
25468         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25469         * stdlib/tst-tls-atexit-lib.c: Likewise.
25470         * stdlib/tst-tls-atexit.c: Likewise.
25471
25472 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25473
25474         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25475         and __attribute_alloc_size__.
25476
25477 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25478
25479         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25480         __attribute_alloc_size__.
25481         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25482         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25483
25484 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25485
25486         * include/programs/xmalloc.h: New file.
25487         * catgets/gencat.c: Include it.
25488         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25489         * elf/pldd.c: Likewise.
25490         * iconv/iconv_charmap.c: Likewise.
25491         * iconv/iconvconfig.c: Likewise.
25492         * iconv/strtab.c: Likewise.
25493         * locale/programs/locale.c: Likewise.
25494         * locale/programs/localedef.h: Likewise.
25495         * locale/programs/simple-hash.c: Likewise.
25496         * nscd/nscd.h: Likewise.
25497         * nss/makedb.c: Likewise.
25498         * sysdeps/generic/ldconfig.h: Likewise.
25499
25500 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25501
25502         * Versions.def: Add GLIBC_2.18.
25503         * include/link.h (struct link_map): New member l_tls_dtor_count.
25504         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25505         (__call_tls_dtors): Likewise.
25506         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25507         __cxa_thread_atexit_impl.
25508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25509         Likewise.
25510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25511         Likewise.
25512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25513         Likewise.
25514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25515         Likewise.
25516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25518         Likewise.
25519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25520         Likewise.
25521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25523         Likewise.
25524         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25525         (tests): Add test case tst-tls-atexit.
25526         (modules-names): Add shared library for tst-tls-atexit.
25527         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25528         (GLIBC_PRIVATE): Add __call_tls_dtors.
25529         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25530         for libstdc++.
25531         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25532         * stdlib/tst-tls-atexit.c: New test case.
25533         * stdlib/tst-tls-atexit-lib.c: New test case.
25534
25535         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25536
25537         * elf/Versions (ld): Add _dl_find_dso_for_object.
25538         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25539         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25540         (dl_open_worker): Use _dl_find_dso_for_object.
25541         * elf/dl-sym.c (do_sym): Likewise.
25542         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25543
25544 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25545
25546         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25547         Syntactic changes only.
25548         (_dl_runtime_profile): Do a tail-call to the resolved function.
25549
25550 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25551
25552         [BZ #13550]
25553         * sysdeps/x86_64/bp-asm.h: Remove file.
25554         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25555         <bp-sym.h> and <bp-asm.h>.
25556         (__clone): Do not use BP_SYM.
25557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25558         <bp-sym.h> and <bp-asm.h>.
25559         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25560         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25561         "bp-asm.h".
25562         (_setjmp): Do not use BP_SYM.
25563         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25564         "bp-asm.h".
25565         (setjmp): Do not use BP_SYM.
25566         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25567         libc_hidden_def.
25568         (mempcpy): Do not use BP_SYM in weak_alias.
25569         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25570         "bp-asm.h".
25571         (strchr): Do not use BP_SYM.
25572         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25573         "bp-asm.h".
25574         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25575         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25576         (_start): Do not use BP_SYM.
25577         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25578         "bp-asm.h".
25579         (strcat): Do not use BP_SYM.
25580         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25581         "bp-asm.h".
25582         (STRCMP): Do not use BP_SYM.
25583         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25584         "bp-asm.h".
25585         (STRCPY): Do not use BP_SYM.
25586         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25587         "bp-asm.h".
25588         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25589         "bp-asm.h".
25590         (FUNCTION): Do not use BP_SYM.
25591         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25592         weak_alias.
25593         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25594
25595 2013-02-17  Andreas Jaeger  <aj@suse.de>
25596
25597         * time/Versions: Sort entries.
25598         * string/Versions: Likewise.
25599         * resolv/Versions: Likewise.
25600         * posix/Versions: Likewise.
25601         * iconv/Versions: Likewise.
25602         * elf/Versions: Likewise.
25603         * wcsmbs/Versions: Likewise.
25604
25605 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25606
25607         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25608         loop termination condition.
25609
25610         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25611         variable to calculate EZ.
25612         (__sqr): Likewise.
25613
25614         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25615         the lower precision input.
25616
25617 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25618
25619         [BZ #13550]
25620         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25621         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25622         (run-via-rtld-prefix): Do not handle %-bp tests.
25623         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25624         (all-object-suffixes): Remove .ob.
25625         (bppfx): Remove variable.
25626         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25627         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25628         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25629         [$(build-bounded) = yes] (libtype.ob): Likewise.
25630         * Makerules (elide-routines.ob): Remove variable.
25631         (do-tests-clean): Do not handle *-bp.out.
25632         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25633         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25634         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25635         (tests): Do not include $(tests-bp.out).
25636         (xtests): Do not include $(xtests-bp.out).
25637         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25638         [$(build-bounded) = yes] ($(addprefix
25639         $(objpfx),$(binaries-bounded))): Remove rule.
25640         ($(objpfx)%-bp.out): Remove rule.
25641         * config.make.in (build-bounded): Remove variable.
25642         * crypt/Makefile [$(build-bounded) = yes]
25643         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25644         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25645         append to variable.
25646         [$(build-bounded) = yes] (install-lib): Likewise.
25647         [$(build-bounded) = yes] (generated): Likewise.
25648         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25649         Remove rule.
25650         * intl/Makefile [$(build-bounded) = yes]
25651         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25652         * math/Makefile [$(build-bounded) = yes]
25653         ($(tests:%=$(objpfx)%-bp): Likewise.
25654         * misc/Makefile [$(build-bounded) = yes]
25655         ($(objpfx)tst-tsearch-bp): Likewise.
25656         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25657         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25658         Remove dependency.
25659         * string/Makefile (o-objects.ob): Remove variable.
25660         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25661         (CFLAGS-.ob): Remove variable.
25662         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25663         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25664         both definitions of variable.
25665         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25666         (ASFLAGS-.ob): Remove variable.
25667
25668 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25669
25670         [BZ #13550]
25671         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25672         Remove __BOUNDED_POINTERS__ from condition.
25673         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25674         * string/bits/string2.h [!__NO_STRING_INLINES &&
25675         !__BOUNDED_POINTERS__]: Likewise.
25676         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25677         Likewise.
25678         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25679         Remove conditional code.
25680         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25681         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25682         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25683         condition.
25684
25685         [BZ #13550]
25686         * csu/libc-start.c: Do not include <bp-sym.h>.
25687         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25688         * elf/dl-open.c: Do not include <bp-sym.h>.
25689         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25690         * math/fegetenv.c: Do not include <bp-sym.h>.
25691         (fegetenv): Do not use BP_SYM in versioned symbols.
25692         * nptl/sysdeps/pthread/bits/libc-lockP.h
25693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25694         <bp-sym.h>.
25695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25696         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25698         (__pthread_mutex_destroy): Likewise.
25699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25700         (__pthread_mutex_lock): Likewise.
25701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25702         (__pthread_mutex_trylock): Likewise.
25703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25704         (__pthread_mutex_unlock): Likewise.
25705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25706         (__pthread_mutexattr_init): Likewise.
25707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25708         (__pthread_mutexattr_destroy): Likewise.
25709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25710         (__pthread_mutexattr_settype): Likewise.
25711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25712         (__pthread_rwlock_init): Likewise.
25713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25714         (__pthread_rwlock_destroy): Likewise.
25715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25716         (__pthread_rwlock_rdlock): Likewise.
25717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25718         (__pthread_rwlock_tryrdlock): Likewise.
25719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25720         (__pthread_rwlock_wrlock): Likewise.
25721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25722         (__pthread_rwlock_trywrlock): Likewise.
25723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25724         (__pthread_rwlock_unlock): Likewise.
25725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25726         (__pthread_key_create): Likewise.
25727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25728         (__pthread_setspecific): Likewise.
25729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25730         (__pthread_getspecific): Likewise.
25731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25732         Likewise.
25733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25734         (_pthread_cleanup_push_defer): Likewise.
25735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25736         (_pthread_cleanup_pop_restore): Likewise.
25737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25738         (pthread_setcancelstate): Likewise.
25739         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25740         <bp-sym.h>.
25741         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25742         (memchr): Do not use BP_SYM in weak_alias.
25743         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25744         (fegetenv): Do not use BP_SYM in versioned symbols.
25745         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25746         (fesetenv): Do not use BP_SYM in versioned symbols.
25747         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25748         (feupdateenv): Do not use BP_SYM in versioned symbols.
25749         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25750         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25751         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25752         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25753         (open64): Do not use BP_SYM in weak_alias.
25754         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25755         (fegetenv): Do not use BP_SYM in versioned symbols.
25756         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25757         (fesetenv): Do not use BP_SYM in versioned symbols.
25758         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25759         (feupdateenv): Do not use BP_SYM in versioned symbols.
25760         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25761         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25762         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25763         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25764         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25765         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25766         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25767         <bp-sym.h>.
25768         (__libc_start_main): Do not use BP_SYM.
25769
25770 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25771
25772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25773         redundant return line.
25774         (norm): Likewise.
25775         (denorm): Likewise.
25776         (dbl_mp): Likewise.
25777         (sub_magnitudes): Likewise.
25778         (__add): Likewise.
25779         (__sub): Likewise.
25780         (__mul): Likewise.
25781         (__inv): Likewise.
25782         (__dvd): Likewise.
25783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25784         (norm): Likewise.
25785         (denorm): Likewise.
25786         (dbl_mp): Likewise.
25787         (sub_magnitudes): Likewise.
25788         (__add): Likewise.
25789         (__sub): Likewise.
25790         (__mul): Likewise.
25791         (__inv): Likewise.
25792         (__dvd): Likewise.
25793
25794         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25795         instead of __mul.
25796         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25797         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25798         (cc32): Likewise.
25799
25800         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25801         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25802         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25803         of __mul for squares.
25804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25805         function
25806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25807         Likewise.
25808         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25809         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25810
25811 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25812
25813         [BZ #13550]
25814         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25815         code.
25816         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25817         prototype or function definition.  Rename ubp_* variables and
25818         parameters.  Remove argv definitions conditional on
25819         [__BOUNDED_POINTERS__].
25820         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25821         * elf/dl-runtime.c (_dl_fixup): Likewise.
25822         * include/set-hooks.h (RUN_HOOK): Likewise.
25823         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25824         definition.
25825         * string/strcpy.c (strcpy): Do not use __unbounded.
25826         * sysdeps/generic/frame.h (struct layout): Likewise.
25827         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25828         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25829         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25830         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25831         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25832         (__backtrace): Likewise.
25833         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25834         use __ptrvalue.
25835         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25836         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25837         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25838         Likewise.
25839         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25840         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25841         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25842         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25843         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25844         Do not use __unbounded.
25845         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25846         Rename __unboundedrlimits parameter to rlimits in prototype.
25847         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25848         Do not use __unbounded.
25849         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25850         not use __ptrvalue.
25851         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25852         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25853         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25854         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25855         __ptrvalue or __unbounded.
25856         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25857         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25858         use __unbounded.
25859         (__new_msgctl): Do not use __ptrvalue.
25860         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25861         __unbounded.
25862         (__libc_msgrcv): Do not use __ptrvalue.
25863         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25864         startup_info): Do not use __unbounded.
25865         (__libc_start_main): Likewise.  Rename ubp_* variables and
25866         parameters.  Remove argv definitions conditional on
25867         [__BOUNDED_POINTERS__].
25868         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25869         __ptrvalue.
25870         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25871         use __unbounded.
25872         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25873         or __ptrvalue.
25874         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25875         use __unbounded.
25876         (__new_shmctl): Do not use __ptrvalue.
25877         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25878         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25879         Likewise.
25880         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25881         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25882         (__libc_sigaction): Likewise.
25883         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25884         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25885         Likewise.
25886         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25887
25888 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25889
25890         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25891
25892         * string/mempcpy.c: Implement by calling memcpy.
25893
25894 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25895
25896         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25897
25898         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25899         evaluation.
25900
25901         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25902         values in the mantissa.
25903
25904         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25905         minimize writes to Z.
25906         (sub_magnitudes): Simplify code a bit.
25907
25908 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25909
25910         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25911         from the message.  The linker prefixes all warnings with that already.
25912
25913 2013-02-12  Andreas Schwab  <schwab@suse.de>
25914
25915         [BZ #15078]
25916         * posix/regexec.c (extend_buffers): Add parameter min_len.
25917         (check_matching): Pass minimum needed length.
25918         (clean_state_log_if_needed): Likewise.
25919         (get_subexp): Likewise.
25920         * posix/Makefile (tests): Add bug-regex34.
25921         (bug-regex34-ENV): Define.
25922         * posix/bug-regex34.c: New file.
25923
25924         [BZ #11561]
25925         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25926         elements compare against the byte sequence of it, not its name.
25927         * posix/Makefile (tests): Add bug-regex35.
25928         (bug-regex35-ENV): Define.
25929         * posix/bug-regex35.c: New file.
25930
25931 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25932
25933         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25934         comment.
25935         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25936         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25937         (CHECK_EOL): Add undef.
25938
25939 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25940
25941         * bits/stdlib-bsearch.h: New file.
25942         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25943         * stdlib/stdlib.h: Likewise.
25944
25945 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25946
25947         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25948         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25949         declaration.
25950         * manual/search.texi (Array Search Function): Add missing const in
25951         lfind prototype.
25952         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25953         declaration to use rlim_t.
25954         (Basic Scheduling Functions): Remove erroneous const from
25955         sched_getparam prototype.  Remove erroneous * from
25956         sched_get_priority_max and sched_get_priority_min prototypes.
25957         (Resource Usage): Fix summary @comment on vtimes to refer to
25958         sys/vtimes.h rather than vtimes.h.
25959         Add missing *s in vtimes prototype.
25960         (Limits on Resources): Fix ulimit prototype to return long int.
25961         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25962         prototypes to use long int rather than double.
25963         (BSD Random): Fix initstate and setstate to use char *, not void *.
25964         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25965         prototype to make second argument 'struct aiocb64 *const[]'.
25966         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25967         (Status of AIO Operations): Remove erroneous const in aio_return and
25968         aio_return64 prototypes.
25969         (Synchronizing I/O): Fix sync prototype to return void.
25970         * manual/startup.texi (Suboptions): Remove an erroneous const in
25971         getsubopt prototype.
25972         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25973         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25974         use size_t rather than int.
25975         (Scanning All Users): Likewise for getpwent_r.
25976         (Setting Groups): Add missing const to setgroups prototype.
25977         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25978         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25979         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25980         'const void *' rather than 'const char *'.
25981         (Host Address Functions): Likewise for inet_ntop.
25982         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25983         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25984         ssize_t for return value.
25985         (Sending Data): Likewise for send, sendto, sendmsg.
25986         (Socket Option Functions): Add a missing const in setsockopt prototype.
25987         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25988         use wchar_t for the argument.
25989         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25990         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25991         take no arguments.
25992         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25993         double/float/long double for second argument.
25994         Fix return types of significand, significandf, significandl.
25995         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25996         argument in fchmod prototype.
25997         (File Owner): Use uid_t and gid_t in fchown prototype.
25998         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25999         (Making Special Files): Use mode_t and dev_t in mknod prototype.
26000         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26001         use 'const struct dirent **' as argument types to CMP function pointer
26002         argument.
26003         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26004         (File Times): Fix summary magic @comment for struct utimbuf and utime
26005         to refer to utime.h, not time.h.
26006         * manual/string.texi (Argz Functions): Add missing const in
26007         argz_extract and argz_next prototypes.
26008         (Finding Tokens in a String): Likewise for basename.
26009         (String/Array Comparison): Fix typo in wcscasecmp prototype.
26010         (Copying and Concatenation): Fix typo in wmemmove prototype.
26011         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26012         (Signal Stack): Remove erroneous const in sigstack prototype.
26013         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26014         prototype.
26015         (Simple Calendar Time): Likewise for stime.
26016         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26017         prototype.
26018         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26019         say sys/sysctl.h instead.
26020         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26021         and vsyslog prototypes.
26022
26023 2013-02-11  Tom de Vries  <tom@codesourcery.com>
26024
26025         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26026         Remove.
26027
26028 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26029
26030         * misc/sys/mman.h: Fix typo in mremap comment.
26031
26032 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26033
26034         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26035         the '\0' terminator.
26036
26037 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26038
26039         [BZ #13550]
26040         * debug/segfault.c: Don't include <bp-checks.h>.
26041         * sysdeps/generic/bp-checks.h: Remove file.
26042         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26043         (__GETDENTS): Don't use CHECK_N.
26044         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26045         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26046         (__getgroups): Don't use CHECK_N.
26047         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26048         (setgroups): Don't use CHECK_N.
26049         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26050         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26051         (__libc_msgrcv): Don't use CHECK_N.
26052         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26053         (__libc_msgsnd): Don't use CHECK_N.
26054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26055         <bp-checks.h>.
26056         (__libc_pread): Don't use CHECK_N.
26057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26058         include <bp-checks.h>.
26059         (__libc_pread64): Don't use CHECK_N.
26060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26061         include <bp-checks.h>.
26062         (__libc_pwrite): Don't use CHECK_N.
26063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26064         include <bp-checks.h>.
26065         (__libc_pwrite64): Don't use CHECK_N.
26066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26067         <bp-checks.h>.
26068         (__libc_pread): Don't use CHECK_N.
26069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26070         include <bp-checks.h>.
26071         (__libc_pread64): Don't use CHECK_N.
26072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26073         include <bp-checks.h>.
26074         (__libc_pwrite): Don't use CHECK_N.
26075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26076         include <bp-checks.h>.
26077         (__libc_pwrite64): Don't use CHECK_N.
26078         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26079         (do_pread): Don't use CHECK_N.
26080         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26081         (do_pread64): Don't use CHECK_N.
26082         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26083         (do_pwrite): Don't use CHECK_N.
26084         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26085         (do_pwrite64): Don't use CHECK_N.
26086         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26087         (__libc_readv): Don't use CHECK_N.
26088         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26089         (semop): Don't use CHECK_N.
26090         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26091         <bp-checks.h>.
26092         (semtimedop): Don't use CHECK_N.
26093         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26094         (__libc_pread): Don't use CHECK_N.
26095         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26096         <bp-checks.h>.
26097         (__libc_pread64): Don't use CHECK_N.
26098         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26099         <bp-checks.h>.
26100         (__libc_pwrite): Don't use CHECK_N.
26101         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26102         <bp-checks.h>.
26103         (__libc_pwrite64): Don't use CHECK_N.
26104         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26105         <bp-checks.h>.
26106         (__libc_msgrcv): Don't use CHECK_N.
26107         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26108         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
26109         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26110         (__libc_writev): Don't use CHECK_N.
26111
26112 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26113
26114         * string/strcpy.c: Removed unused variable.
26115
26116         * Makeconfig (+sysdep-includes): Define with := rather than =.
26117         Use an existing include/ subdir of each sysdeps dir before it.
26118
26119 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26120
26121         * nscd/connection.c (register_traced_file): Comment function.
26122         [HAVE_INOTIFY] (union __inev): Define.
26123         [HAVE_INOTIFY] (inotify_check_files): New function.
26124         [HAVE_INOTIFY] (clear_db_cache): Likewise.
26125         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26126         clear_db_cache.
26127         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26128
26129 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26130
26131         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26132         loaded if not already and that a failure is permanent.
26133
26134 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26135
26136         [BZ #15006]
26137         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26138         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26139
26140 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26141
26142         [BZ #13550]
26143         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26144         (CHECK_1_NULL_OK): Likewise.
26145         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26146         (__fxstat): Do not use CHECK_1.
26147         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26148         <bp-checks.h>.
26149         (___fxstat64): Do not use CHECK_1.
26150         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26151         <bp-checks.h>.
26152         (__fxstatat): Do not use CHECK_1.
26153         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26154         <bp-checks.h>.
26155         (__fxstatat64): Do not use CHECK_1.
26156         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26157         <bp-checks.h>.
26158         (__fxstat): Do not use CHECK_1.
26159         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26160         <bp-checks.h>.
26161         (__fxstatat): Do not use CHECK_1.
26162         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26163         <bp-checks.h>.
26164         (__getresgid): Do not use CHECK_1.
26165         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26166         <bp-checks.h>.
26167         (__getresuid): Do not use CHECK_1.
26168         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26169         <bp-checks.h>.
26170         (__lxstat): Do not use CHECK_1.
26171         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26172         <bp-checks.h>.
26173         (__old_msgctl): Do not use CHECK_1.
26174         (__new_msgctl): Likewise.
26175         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26176         <bp-checks.h>.
26177         (__new_setrlimit): Do not use CHECK_1.
26178         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26179         <bp-checks.h>.
26180         (__old_shmctl): Do not use CHECK_1.
26181         (__new_shmctl): Likewise.
26182         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26183         <bp-checks.h>.
26184         (__xstat): Do not use CHECK_1.
26185         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26186         (__lxstat): Do not use CHECK_1.
26187         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26188         <bp-checks.h>.
26189         (___lxstat64): Do not use CHECK_1.
26190         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26191         (__old_msgctl): Do not use CHECK_1.
26192         (__new_msgctl): Likewise.
26193         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26194         <bp-checks.h>.
26195         (__gettimeofday): Do not use CHECK_1.
26196         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26197         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26198         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26199         <bp-checks.h>.
26200         (__gettimeofday): Do not use CHECK_1.
26201         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26202         (__old_shmctl): Do not use CHECK_1_NULL_OK.
26203         (__new_shmctl): Do not use CHECK_1.
26204         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26205         <bp-checks.h>.
26206         (do_sigtimedwait): Do not use CHECK_1.
26207         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26208         <bp-checks.h>.
26209         (do_sigwaitinfo): Do not use CHECK_1.
26210         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26211         <bp-checks.h>.
26212         (msgctl): Do not use CHECK_1.
26213         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26214         <bp-checks.h>.
26215         (shmctl): Do not use CHECK_1.
26216         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26217         (ustat): Do not use CHECK_1.
26218         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26219         <bp-checks.h>.
26220         (__fxstat): Do not use CHECK_1.
26221         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26222         <bp-checks.h>.
26223         (__fxstatat): Do not use CHECK_1.
26224         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26225         <bp-checks.h>.
26226         (__lxstat): Do not use CHECK_1.
26227         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26228         <bp-checks.h>.
26229         (__xstat): Do not use CHECK_1.
26230         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26231         (__xstat): Do not use CHECK_1.
26232         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26233         (___xstat64): Do not use CHECK_1.
26234
26235         [BZ #13550]
26236         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26237         definitions.
26238         (CHECK_BOUNDS_HIGH): Likewise.
26239         * string/strcpy.c: Do not include <bp-checks.h>.
26240         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26241
26242 2013-02-07  Roland McGrath  <roland@hack.frob.com>
26243
26244         * nscd/nscd-client.h (__nscd_drop_map_ref):
26245         Add __attribute__ ((unused)).
26246         * nis/nss-nisplus.h (niserr2nss): Likewise.
26247
26248         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26249         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26250
26251         * csu/libc-tls.c (init_static_tls, init_slotinfo):
26252         Remove inline keyword.
26253         * include/rounding-mode.h (round_away): Likewise.
26254         * libio/wfileops.c (adjust_wide_data): Likewise.
26255         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26256         (__m128i_strloadu_tolower): Likewise.
26257         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26258         (__m128i_strloadu_tolower): Likewise.
26259         * time/mktime.c (ydhms_diff): Likewise.
26260         * locale/elem-hash.h (elem_hash): Likewise.
26261         * locale/setlocale.c (setdata): Likewise.
26262         * posix/regex_internal.h (re_string_char_size_at): Likewise.
26263         (re_string_wchar_at): Likewise.
26264         (bitset_not, bitset_merge, bitset_mask): Likewise.
26265         [!(__GNUC__ > 3)] (inline): Remove macro.
26266         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26267         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26268         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26269         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26270         * string/memcmp.c (memcmp_bytes): Likewise.
26271         * locale/programs/locarchive.c (compute_hashval): Likewise.
26272         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26273         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26274         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26275         * nss/getent.c (print_rpc, print_protocols): Likewise.
26276         (print_passwd, print_group, print_aliases): Likewise.
26277         * nis/nss-nisplus.h (niserr2nss): Likewise.
26278         * nscd/connections.c (restart_p): Likewise.
26279         Change return type to bool.
26280
26281 2013-02-05  Roland McGrath  <roland@hack.frob.com>
26282
26283         * Makeconfig (all-Depend-files): Add existing
26284         $(sorted-subdirs:=/Depend) files.
26285         (all-subdirs): Remove nss.
26286         * sysdeps/unix/inet/Subdirs: Add it here instead.
26287         * hesiod/Depend: New file.
26288
26289         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26290         instead of calling alloca.
26291
26292         * io/lseek.c (__lseek): Rename to __libc_lseek.
26293         Define __lseek as an alias.
26294
26295         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26296
26297 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
26298
26299         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26300         else clause and remove check for non-standard endianness.
26301
26302 2013-02-04  David S. Miller  <davem@davemloft.net>
26303
26304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26305
26306 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
26307
26308         [BZ #13550]
26309         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26310         (__ubp_memchr): Remove prototype.
26311         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26312         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26313         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26314         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26315         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26316         Remove alias.
26317         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26318         (__ubp_memchr): Likewise.
26319         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26320         (__ubp_memchr): Likewise.
26321         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26322         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26323         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26324         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26325         CHECK_STRING.
26326         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26327         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26328         (__getcwd): Do not use CHECK_STRING.
26329         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26330         <bp-checks.h>.
26331         (__real_chown): Do not use CHECK_STRING.
26332         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26333         <bp-checks.h>.
26334         (fchownat): Do not use CHECK_STRING.
26335         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26336         CHECK_STRING.
26337         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26338         <bp-checks.h>.
26339         (__lchown): Do not use CHECK_STRING.
26340         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26341         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26342         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26343         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26345         include <bp-checks.h>.
26346         (truncate64): Do not use CHECK_STRING.
26347         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26348         <bp-checks.h>.
26349         (__real_chown): Do not use CHECK_STRING.
26350         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26351         <bp-checks.h>.
26352         (__lchown): Do not use CHECK_STRING.
26353         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26354         <bp-checks.h>.
26355         (__chown): Do not use CHECK_STRING.
26356         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26357         <bp-checks.h>.
26358         (truncate64): Do not use CHECK_STRING.
26359         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26360         Likewise.
26361         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26362         (__xmknod): Do not use CHECK_STRING.
26363         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26364         <bp-checks.h>.
26365         (__xmknodat): Do not use CHECK_STRING.
26366         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26367         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26368
26369 2013-02-04  Andreas Schwab  <schwab@suse.de>
26370
26371         [BZ #14142]
26372         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26373         * include/netdb.h: Likewise for h_errno.
26374         * elf/tst-stackguard1.c: Include <tls.h>.
26375
26376 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
26377
26378         * elf/link.h (struct link_map): Extend the l_addr comment.
26379         * include/link.h (struct link_map): Likewise.
26380
26381 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
26382
26383         [BZ #13550]
26384         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26385         (BOUNDED_1): Remove macro.
26386         * debug/backtrace.c: Don't include <bp-checks.h>.
26387         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26388         (__backtrace): Likewise.
26389         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26390         <bp-checks.h>.
26391         (__backtrace): Don't use BOUNDED_1.
26392         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26393         <bp-checks.h>.
26394         (__backtrace): Don't use BOUNDED_1.
26395         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26396         (__backtrace): Don't use BOUNDED_1.
26397         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26398         (shmat): Don't use BOUNDED_N.
26399
26400 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26401
26402         [BZ #13550]
26403         * sysdeps/generic/bp-start.h: Remove file.
26404         * csu/libc-start.c: Don't include <bp-start.h>.
26405         (LIBC_START_MAIN): Set up __environ directly instead of using
26406         INIT_ARGV_and_ENVIRON.
26407         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26408         <bp-start.h>.
26409
26410         [BZ #13550]
26411         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26412         definitions.
26413         (CHECK_FCNTL): Likewise.
26414         (CHECK_N_PAGES): Likewise.
26415
26416         [BZ #13550]
26417         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26418         definitions.
26419         (CHECK_SIGSET_NULL_OK): Likewise.
26420         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26421         <bp-checks.h>.
26422         (sigpending): Don't use CHECK_SIGSET.
26423         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26424         <bp-checks.h>.
26425         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26426         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26427         <bp-checks.h>.
26428         (do_sigsuspend): Don't use CHECK_SIGSET.
26429         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26430         use CHECK_SIGSET.
26431         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26432         (do_sigwait): Don't use CHECK_SIGSET.
26433         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26434         use CHECK_SIGSET.
26435         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26436         include <bp-checks.h>.
26437         (sigpending): Don't use CHECK_SIGSET.
26438         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26439         include <bp-checks.h>.
26440         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26441         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26442         <bp-checks.h>.
26443         (sigpending): Don't use CHECK_SIGSET.
26444         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26445         <bp-checks.h>.
26446         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26447
26448         [BZ #13550]
26449         * sysdeps/generic/bp-semctl.h: Remove file.
26450         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26451         <bp-checks.h> and <bp-semctl.h>.
26452         (__old_semctl): Don't use CHECK_SEMCTL.
26453         (__new_semctl): Likewise.
26454         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26455         and <bp-semctl.h>.
26456         (__old_semctl): Don't use CHECK_SEMCTL.
26457         (__new_semctl): Likewise.
26458         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26459         <bp-checks.h> and <bp-semctl.h>.
26460         (__old_semctl): Don't use CHECK_SEMCTL.
26461         (__new_semctl): Likewise.
26462         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26463         <bp-checks.h> and <bp-semctl.h>.
26464         (semctl): Don't use CHECK_SEMCTL.
26465
26466         [BZ #13550]
26467         * Makerules (elide-bp-thunks): Remove variable.
26468         (elide-routines.oS): Don't use $(elide-bp-thunks).
26469         (elide-routines.os): Likewise.
26470         (elide-routines.o): Likewise.
26471         (elide-routines.op): Likewise.
26472         (elide-routines.og): Likewise.
26473         (objects): Don't use $(bp-thunks).
26474         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26475         include.
26476         (common-generated): Do not add s-proto-bp.d.
26477         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26478         (int): Likewise.
26479         (typ): Likewise.
26480         Do not generate makefile rules for bounded-pointer thunks.
26481         * sysdeps/generic/bp-thunks.h: Remove file.
26482         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26483         * sysdeps/unix/s-proto-bp.S: Likewise.
26484
26485         [BZ #15062]
26486         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26487         parts of result separately when argument is not close to line from
26488         -i to i and one part of argument is small.
26489         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26490         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26491         * math/libm-test.inc (cacos_test): Add more tests.
26492         (casin_test): Likewise.
26493         (casinh_test): Likewise.
26494         * sysdeps/i386/fpu/libm-test-ulps: Update.
26495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26496
26497 2013-01-31  David S. Miller  <davem@davemloft.net>
26498
26499         * po/de.po: Update from translation team.
26500
26501 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26502
26503         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26504
26505 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26506
26507         * configure.in (_AC_PROG_CC_C89): New definition.
26508         * configure: Regenerate.
26509
26510         * configure.in (AC_PROG_CPP): New definition.
26511         * configure: Regenerate.
26512
26513 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26514
26515         * debug/tst-backtrace.h: New file.
26516         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26517         (ret): Remove variable.
26518         (x): Likewise.
26519         (FAIL): Remove macro.
26520         (NO_INLINE): Likewise.
26521         (fn1): Use match function instead of strstr.
26522         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26523         (ret): Remove variable.
26524         (x): Likewise.
26525         (FAIL): Remove macro.
26526         (NO_INLINE): Likewise.
26527         (fn): Use match function instead of strstr.
26528         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26529         (ret): Remove variable.
26530         (x): Likewise.
26531         (FAIL): Remove macro.
26532         (NO_INLINE): Likewise.
26533         (handle_signal): Use match function instead of strstr.
26534         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26535         (ret): Remove variable.
26536         (x): Likewise.
26537         (FAIL): Remove macro.
26538         (NO_INLINE): Likewise.
26539         (handle_signal): Use match function instead of strstr.
26540
26541 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26542
26543         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26544
26545 2013-01-23  David S. Miller  <davem@davemloft.net>
26546
26547         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26548         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26549         argument of CAS if possible.
26550         * sysdeps/sparc/sparc64/bits/atomic.h
26551         (__arch_compare_and_exchange_val_32_acq): Likewise.
26552         (__arch_compare_and_exchange_val_64_acq): Likewise.
26553
26554 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26555
26556         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26557         * sysdeps/posix/ulimit.c: ... this.
26558         Include <limits.h>.
26559         * sysdeps/unix/bsd/ulimit.c: Remove file.
26560
26561 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26562
26563         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26564         (LDFLAGS-tst-array5): Likewise.
26565
26566 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26567
26568         [BZ #15036]
26569         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26570         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26571         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26572         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26573
26574 2013-01-21  David S. Miller  <davem@davemloft.net>
26575
26576         * sysdeps/sparc/backtrace.c: New file.
26577         * sysdeps/sparc/sparc32/backtrace.h: New file.
26578         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26579         * sysdeps/sparc/sparc64/backtrace.h: New file.
26580         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26581         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26582         -funwind-tables.
26583
26584 2013-01-21  Andreas Schwab  <schwab@suse.de>
26585
26586         [BZ #15020]
26587         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26588         closed its stdout.
26589
26590 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26591
26592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26593         "mpa2.h".
26594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26595
26596 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26597             Mark Mitchell  <mark@codesourcery.com>
26598             Tom de Vries  <tom@codesourcery.com>
26599             Paul Pluzhnikov  <ppluzhnikov@google.com>
26600
26601         * debug/tst-backtrace2.c: New file.
26602         * debug/tst-backtrace3.c: Likewise.
26603         * debug/tst-backtrace4.c: Likewise.
26604         * debug/tst-backtrace5.c: Likewise.
26605         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26606         (CFLAGS-tst-backtrace3.c): Likewise.
26607         (CFLAGS-tst-backtrace4.c): Likewise.
26608         (CFLAGS-tst-backtrace5.c): Likewise.
26609         (LDFLAGS-tst-backtrace2): Likewise.
26610         (LDFLAGS-tst-backtrace3): Likewise.
26611         (LDFLAGS-tst-backtrace4): Likewise.
26612         (LDFLAGS-tst-backtrace5): Likewise.
26613         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26614         tst-backtrace4 and tst-backtrace5.
26615
26616 2013-01-18  Anton Blanchard  <anton@samba.org>
26617             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26618
26619         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26620         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26622         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26624         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26625         "+r" and remove output regs list as redundant.  Add explicit inline
26626         asm to specify register of return val to work around compiler codegen
26627         bug.  Remove (int) cast on return value.  Add return type parameter to
26628         use in macro so that this macro does not truncate return value for
26629         64-bit values.
26630         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26631         pass to INTERNAL_VSYSCALL_NCS.
26632         (INLINE_VSYSCALL): Add 'long int' as return type to
26633         INTERNAL_VSYSCALL_NCS macro invocation.
26634         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26635         INTERNAL_VSYSCALL_NCS macro invocation.
26636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26637
26638 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26639
26640         [BZ #14496]
26641         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26642         Fix application of SIMD FP exception mask.
26643
26644         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26645         mp_no from a power of two.
26646         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26647         __mpexp_twomm1.  Use __pow_mp.
26648
26649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26650         multiplication.
26651
26652 2013-01-17  David S. Miller  <davem@davemloft.net>
26653
26654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26655
26656 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26657
26658         [BZ #15023]
26659         * include/complex.h: Condition contents on [!_COMPLEX_H].
26660         (__kernel_casinhf): New prototype.
26661         (__kernel_casinh): Likewise.
26662         (__kernel_casinhl): Likewise.
26663         * math/Makefile (libm_calls): Add k_casinh.
26664         * math/k_casinh.c: New file.
26665         * math/k_casinhf.c: Likewise.
26666         * math/k_casinhl.c: Likewise.
26667         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26668         finite nonzero arguments.
26669         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26670         finite nonzero arguments.
26671         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26672         finite nonzero arguments.
26673         * math/s_casinh.c: Do not include <float.h>.
26674         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26675         * math/s_casinhf.c: Do not include <float.h>.
26676         (__casinhf): Move code for finite nonzero arguments to
26677         k_casinhf.c.
26678         * math/s_casinhl.c: Do not include <float.h>.
26679         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26680         redefine.
26681         (__casinhl): Move code for finite nonzero arguments to
26682         k_casinhl.c.
26683         * math/libm-test.inc (cacos_test): Add more tests.
26684         * sysdeps/i386/fpu/libm-test-ulps: Update.
26685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26686
26687 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26688
26689         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26690         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26691         [!HAVE_MREMAP]: Remove [defined linux] case.
26692         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26693
26694 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26695
26696         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26697
26698 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26699
26700         * elf/elf.h (R_386_SIZE32): New relocation.
26701         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26702         R_386_SIZE32.
26703         (elf_machine_rela): Likewise.
26704         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26705         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26706
26707 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26708
26709         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26710         (FP_FAST_FMA): Do not define.
26711         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26712         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26713         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26714         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26715         !_SOFT_FLOAT]: Likewise.
26716         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26717         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26718         value.
26719         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26720         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26721         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26722         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26723         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26724         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26725         file.
26726
26727 2013-01-16  Andreas Schwab  <schwab@suse.de>
26728
26729         [BZ #14327]
26730         * include/stdlib.h (__mktemp): Add declaration.
26731         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26732         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26733
26734 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26735
26736         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26737         definitions.
26738         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26739         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26740         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26741         definitions here.
26742         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26743         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26744         definitions.
26745         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26746         and ONE.
26747         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26748         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26749         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26750         definitions.
26751         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26752         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26753         definitions.
26754         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26755
26756         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26757
26758 2013-01-15  David S. Miller  <davem@davemloft.net>
26759
26760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26761         trunc{,f} to libm-sysdep_routes.
26762         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26764         file.
26765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26767         file.
26768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26769         file.
26770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26772         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26773         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26774         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26775         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26776         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26777         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26778
26779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26780         nearbyint{,f} to libm-sysdep_routes.
26781         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26783         New file.
26784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26785         file.
26786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26787         New file.
26788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26789         file.
26790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26792         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26793         file.
26794         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26795         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26796         file.
26797         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26798         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26799         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26800
26801         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26802         libc_feholdexcept and libc_fesetenv.
26803
26804 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26805
26806         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26807
26808 2013-01-14  David S. Miller  <davem@davemloft.net>
26809
26810         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26811         (SPARC_ASM_VIS2_IFUNC): Likewise.
26812         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26814         use of 'siam' instruction.
26815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26816         Likewise.
26817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26818         Likewise.
26819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26820         Likewise.
26821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26822         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26826         file.
26827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26828         file.
26829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26830         file.
26831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26832         file.
26833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26838         new VIS2 routines.
26839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26842         Likewise.
26843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26844         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26846         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26848         routines to libm-sysdep_routines.
26849         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26850
26851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26852         fdim/fdimf to libm-sysdep_routines.
26853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26854         file.
26855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26857         file.
26858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26861         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26862         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26863         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26864         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26865
26866 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26867
26868         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26869         to optimize copies.
26870
26871         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26874
26875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26876         local variable MPTWO.
26877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26878         Likewise.
26879
26880 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26881
26882         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26883         GLOB_NOESCAPE.
26884
26885 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26886
26887         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26888
26889 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26890
26891         * manual/pattern.texi (glob_t): Document gl_flags.
26892         (glob64_t): Likewise.
26893
26894 2013-01-11  David S. Miller  <davem@davemloft.net>
26895
26896         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26897         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26898         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26899         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26900         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26901         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26902         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26903         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26904         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26905         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26906         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26907         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26908         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26909
26910         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26911         sparc V9 rather than using V8 code.
26912         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26913         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26914
26915         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26916         Move to...
26917         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26918         Here.
26919
26920 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26921
26922         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26923         not in the main loop.
26924         * configure: Regenerated.
26925
26926 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26927
26928         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26929         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26930         to just #else.
26931         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26932         [!__GLIBC_HAVE_LONG_LONG] case.
26933         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26934         condition to just #else.
26935         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26936         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26937         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26938         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26939         unconditional.
26940         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26941         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26942         #elif condition to just #else.
26943         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26944         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26945         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26946         #elif condition to just #else.
26947
26948 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26949
26950         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26951         (EF_MIPS_ARCH_64): Fix value.
26952         (EF_MIPS_ARCH_32R2): New.
26953         (EF_MIPS_ARCH_64R2): New.
26954
26955 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26956
26957         * Makeconfig (+link-pie-before-libc): New.
26958         (+link-pie-after-libc): Likewise.
26959         (+link-pie-tests): Likewise.
26960         (+link-pie): Rewritten.
26961         (link-before-libc): Remove $(config-LDFLAGS).
26962         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26963         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26964         (config-LDFLAGS): Renamed to ...
26965         (rtld-LDFLAGS): This.
26966         (rtld-tests-LDFLAGS): New macro.
26967         (link-libc-rpath-link): Likewise.
26968         (link-libc-tests-rpath-link): Likewise.
26969         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26970         (link-libc): Prepand $(link-libc-rpath-link).
26971         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26972         (test-program-prefix): New macro.
26973         (test-via-rtld-prefix): Likewise.
26974         (test-program-cmd): Likewise.
26975         (host-test-program-cmd): Likewise.
26976         * Makefile ($(common-objpfx)testrun.sh): Replace
26977         $(run-program-prefix) with $(test-program-prefix).
26978         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26979         $(rtld-LDFLAGS).
26980         ($(common-objpfx)shlib.lds): Likewise.
26981         (build-module-helper): Likewise.
26982         ($(common-objpfx)format.lds): Likewise.
26983         * Rules (binaries-pie-tests): New.
26984         (binaries-pie-notests): Likewise.
26985         (binaries-pie): Rewritten.
26986         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26987         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26988         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26989         (make-test-out): Replace $(host-built-program-cmd) with
26990         $(host-test-program-cmd).
26991         * config.make.in (build-hardcoded-path-in-tests): New variable.
26992         * configure.in (--enable-hardcoded-path-in-tests): New configure
26993         option.
26994         (hardcoded_path_in_tests): New AC_SUBST.
26995         * configure: Regenerated.
26996         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26997         $(built-program-cmd) with $(test-program-cmd).
26998         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26999         (test_program_cmd): This.
27000         * elf/Makefile ($(objpfx)order.out): Run test with
27001         $(test-program-prefix).
27002         ($(objpfx)order2.out): Likewise.
27003         ($(objpfx)tst-initorder.out): Likewise.
27004         ($(objpfx)tst-initorder2.out): Likewise.
27005         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27006         $(test-program-cmd).
27007         ($(objpfx)tst-array1-static.out): Likewise.
27008         ($(objpfx)tst-array2.out): Likewise.
27009         ($(objpfx)tst-array3.out): Likewise.
27010         ($(objpfx)tst-array4.out): Likewise.
27011         ($(objpfx)tst-array5.out): Likewise.
27012         ($(objpfx)tst-array5-static.out): Likewise.
27013         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27014         $(test-program-cmd).
27015         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27016         $(run-program-prefix) with $(test-program-prefix).
27017         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27018         (test_program_prefix): This.
27019         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27020         $(run-program-prefix) with $(test-program-prefix).
27021         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27022         (test_program_prefix): This.
27023         * iconvdata/tst-tables.sh: Likewise.
27024         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27025         $(run-program-prefix) with $(test-program-prefix).
27026         ($(objpfx)tst-translit.out): Likewise.
27027         ($(objpfx)tst-gettext2.out): Likewise.
27028         ($(objpfx)tst-gettext4.out): Likewise.
27029         ($(objpfx)tst-gettext6.out): Likewise.
27030         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27031         (test_program_prefix): This.
27032         * intl/tst-gettext2.sh: Likewise.
27033         * intl/tst-gettext4.sh  Likewise.
27034         * intl/tst-gettext6.sh: Likewise.
27035         * intl/tst-translit.sh: Likewise.
27036         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27037         with $(test-program-cmd).
27038         * libio/Makefile ($(objpfx)test-freopen.out): Replace
27039         $(run-program-prefix) with $(test-program-prefix).
27040         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27041         (test_program_prefix): This.
27042         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27043         $(run-program-prefix) with $(test-program-prefix).
27044         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27045         (test_program_prefix): This.
27046         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27047         * posix/Makefile ($(objpfx)globtest.out): Replace
27048         $(run-via-rtld-prefix) and $(test-wrapper) with
27049         $(test-program-prefix) and $(test-via-rtld-prefix).
27050         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27051         $(test-program-prefix).
27052         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27053         $(host-test-program-cmd).
27054         (tst-spawn-ARGS): Likewise.
27055         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27056         $(test-program-prefix).
27057         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27058         (test_via_rtld_prefix): This.
27059         (test_wrapper): Renamed to ...
27060         (test_program_prefix): This.
27061         (run_program_prefix): Replaced by test_program_prefix.
27062         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27063         (test_program_prefix): This.
27064         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27065         with $(host-test-program-cmd).
27066         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27067         $(run-program-prefix) with $(test-program-prefix).
27068         ($(objpfx)tst-printf.out): Likewise.
27069         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27070         $(test-program-cmd).
27071         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27072         (test_program_prefix): This.
27073         * stdio-common/tst-unbputc.sh: Likewise.
27074         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27075         $(run-program-prefix) with $(test-program-prefix).
27076         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27077         (test_program_prefix): This.
27078         * string/Makefile ($(objpfx)tst-svc.out):  Replace
27079         $(built-program-cmd) with $(test-program-cmd).
27080
27081 2013-01-11  Andreas Jaeger  <aj@suse.de>
27082
27083         [BZ #15003]
27084         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27085         value. Sync with Linux 3.7.
27086
27087 2013-01-10  David S. Miller  <davem@davemloft.net>
27088
27089         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27090         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27091         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27092
27093 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27094
27095         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27096         never set.
27097         * configure: Regenerated.
27098
27099 2013-01-10  David S. Miller  <davem@davemloft.net>
27100
27101         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27102         sparc V9 rather than using V8 code.
27103         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27104         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27105
27106 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27107
27108         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27109         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27110         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27111         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27112         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27113         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27114         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27115         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27116         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27117         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27118         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27119         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27120         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27121         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27122         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27123         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27124         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27125         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27126         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27127         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27128         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27129         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27130         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27131         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27132         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27133         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27134         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27135
27136 2013-01-10  David S. Miller  <davem@davemloft.net>
27137
27138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27139
27140 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27141
27142         * posix/Makefile (tests-static): New variable.
27143         (tests): Add $(tests-static).
27144         (tst-exec-static-ARGS): New variable.
27145         (tst-spawn-static-ARGS): Likewise.
27146         * posix/tst-exec-static.c: New file.
27147         * posix/tst-spawn-static.c: Likewise.
27148         * posix/tst-exec.c: Support run directly.
27149         * posix/tst-spawn.c: Likewise.
27150
27151 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
27152
27153         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27154         long.
27155         * math/bits/mathcalls.h (llrint): Likewise.
27156         (llround): Likewise.
27157         * stdlib/stdlib.h (struct drand48_data): Likewise.
27158         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27159         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27160         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27161         Likewise.
27162         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27163         Likewise.
27164         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27165         (elf_greg_t): Likewise.
27166         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27167         (__jmp_buf): Likewise.
27168         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27169         definitions.
27170         (llrint): Likewise, for all definitions.
27171         (llrintl): Likewise.
27172
27173         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27174         Remove [__GNUC__] condition.
27175         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27176         condition to just [__USE_ISOC99].
27177         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27178
27179 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27180
27181         [BZ #14200]
27182         * sysdeps/unix/sysv/linux/x86/bits/environments.h
27183         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27184         defined.
27185         (_POSIX_V6_ILP32_OFF32): Likewise.
27186         (_XBS5_ILP32_OFF32): Likewise.
27187         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27188         (__ILP32_OFFBIG_LDFLAGS): Likewise.
27189
27190 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27191
27192         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27193
27194         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27195         doubles __mpexp_twomm1.  Adjust usage.
27196         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27197         Remove.
27198
27199 2013-01-10  Andreas Schwab  <schwab@suse.de>
27200
27201         [BZ #14964]
27202         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27203         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27204
27205 2013-01-09  David S. Miller  <davem@davemloft.net>
27206
27207         [BZ #15003]
27208         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27209         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27210         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27211         (TCP_FASTOPEN): Define.
27212         (tcp_repair_opt): New structure.
27213         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27214         enum values.
27215         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27216         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27217         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27218         (tcp_cookie_transactions): New structure.
27219
27220 2013-01-09  Anton Blanchard  <anton@samba.org>
27221
27222         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27223         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27224         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27225         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27226
27227 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
27228
27229         * include/features.h (__USE_ANSI): Remove.
27230
27231 2013-01-09  Roland McGrath  <roland@hack.frob.com>
27232
27233         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27234
27235         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27236
27237 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27238
27239         * sysdeps/s390/fpu/libm-test-ulps: Update.
27240
27241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27242
27243         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27244         (__acr): Likewise.
27245         (__cpy): Likewise.
27246         (norm): Likewise.
27247         (denorm): Likewise.
27248         (__mp_dbl): Likewise.
27249         (__dbl_mp): Likewise.
27250         (add_magnitudes): Likewise.
27251         (sub_magnitudes): Likewise.
27252         (__add): Likewise.
27253         (__sub): Likewise.
27254         (__mul): Likewise.
27255         (__inv): Likewise.
27256         (__dvd): Likewise.
27257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27258         (__acr): Likewise.
27259         (__cpy): Likewise.
27260         (norm): Likewise.
27261         (denorm): Likewise.
27262         (__mp_dbl): Likewise.
27263         (__dbl_mp): Likewise.
27264         (add_magnitudes): Likewise.
27265         (sub_magnitudes): Likewise.
27266         (__add): Likewise.
27267         (__sub): Likewise.
27268         (__mul): Likewise.
27269         (__inv): Likewise.
27270         (__dvd): Likewise.
27271         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
27272         (__acr): Likewise.
27273         (__cpy): Likewise.
27274         (norm): Likewise.
27275         (denorm): Likewise.
27276         (__mp_dbl): Likewise.
27277         (__dbl_mp): Likewise.
27278         (add_magnitudes): Likewise.
27279         (sub_magnitudes): Likewise.
27280         (__add): Likewise.
27281         (__sub): Likewise.
27282         (__mul): Likewise.
27283         (__inv): Likewise.
27284         (__dvd): Likewise.
27285
27286 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
27287
27288         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27289         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27290         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27291         2 && __USE_EXTERN_INLINES]: Likewise.
27292
27293 2013-01-08  Andreas Jaeger  <aj@suse.de>
27294
27295         [BZ# 14985]
27296         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27297         Remove.
27298         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27299         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27300
27301 2013-01-07  Anton Blanchard  <anton@samba.org>
27302
27303         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27304         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27305         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27306         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27307         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27308         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27309         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27310         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27312         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27313         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27314         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27315         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27316         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27317         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27318         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27319         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27320         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27321         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27322         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27323         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27324         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27325         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27326         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27327         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27328         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27329         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27330         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27331         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27332         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27333         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27334         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27335         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27336         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27337         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27338         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27339         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27340         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27341         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27342         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27343         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27344         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27345         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27346
27347 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
27348
27349         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27350         (__MALLOC_PMT): Likewise.
27351         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27352         [__GNUC__], only on [_LIBC].
27353         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27354         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27355         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27356         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27357         forward declaration.
27358         (realloc_hook_ini): Likewise.
27359         (memalign_hook_ini): Likewise.
27360         (__libc_memalign): Do not use __MALLOC_PMT in variable
27361         declaration.
27362         (__libc_valloc): Likewise.
27363         (__libc_pvalloc): Likewise.
27364         (__libc_calloc): Likewise.
27365         (__posix_memalign): Likewise.
27366
27367         [BZ #14996]
27368         * math/s_casinh.c: Include <float.h>.
27369         (__casinh): Do not do computation with squaring and square root
27370         for large arguments.
27371         * math/s_casinhf.c: Include <float.h>.
27372         (__casinhf): Do not do computation with squaring and square root
27373         for large arguments.
27374         * math/s_casinhl.c: Include <float.h>.
27375         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27376         (__casinhl): Do not do computation with squaring and square root
27377         for large arguments.
27378         * math/libm-test.inc (casin_test): Add more tests.
27379         (casinh_test): Likewise.
27380         * sysdeps/i386/fpu/libm-test-ulps: Update.
27381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27382
27383 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
27384
27385         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27386         (__x86_64_raw_data_cache_size): Likewise.
27387         (__x86_64_data_cache_size_half): Likewise.
27388         (__x86_64_raw_data_cache_size_half): Likewise.
27389         (__x86_64_shared_cache_size): Likewise.
27390         (__x86_64_raw_shared_cache_size): Likewise.
27391         (__x86_64_shared_cache_size_half): Likewise.
27392         (__x86_64_raw_shared_cache_size_half): Likewise.
27393         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27394         to ...
27395         (__x86_data_cache_size): This.
27396         (__x86_64_raw_data_cache_size): Renamed to ...
27397         (__x86_raw_data_cache_size): This.
27398         (__x86_64_data_cache_size_half): Renamed to ...
27399         (__x86_data_cache_size_half): This.
27400         (__x86_64_raw_data_cache_size_half): Renamed to ...
27401         (__x86_raw_data_cache_size_half): This.
27402         (__x86_64_shared_cache_size): Renamed to ...
27403         (__x86_shared_cache_size): This.
27404         (__x86_64_raw_shared_cache_size): Renamed to ...
27405         (__x86_raw_shared_cache_size): This.
27406         (__x86_64_shared_cache_size_half): Renamed to ...
27407         (__x86_shared_cache_size_half): This.
27408         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27409         (__x86_raw_shared_cache_size_half): This.
27410         * sysdeps/x86_64/memcpy.S: Updated.
27411         * sysdeps/x86_64/memset.S: Likewise.
27412         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27413         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27414         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27415
27416 2013-01-04  David S. Miller  <davem@davemloft.net>
27417
27418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27419
27420 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27421
27422         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27423         1 to avoid redefinition warning.
27424         (__USE_GNU): Don't define.
27425         (init_signaling_nan): Protoize.
27426
27427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27428
27429 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27430
27431         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27432         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27433         (__cpymn): Likewise.
27434         (norm): Remove commented code.
27435         (denorm): Likewise.
27436         (__mp_dbl): Likewise.
27437         (__inv): Likewise.
27438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27439         (__cpymn): Likewise.
27440         (norm): Remove commented code.
27441         (denorm): Likewise.
27442         (__mp_dbl): Likewise.
27443         (__inv): Likewise.
27444
27445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27446         mp_no value for 1.0 and 2.0.
27447         (norm): Use RADIXI instead of radixi.d.
27448         (denorm): Likewise.
27449         (__mul): Use 0.0 instead of zero.d.
27450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27451         mp_no value for 1.0 and 2.0.
27452         (norm): Use RADIXI instead of radixi.d.
27453         (denorm): Likewise.
27454         (__mul): Use 0.0 instead of zero.d.
27455
27456 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27457
27458         [BZ #14994]
27459         * math/s_casinh.c (__casinh): Reduce finite argument to first
27460         quadrant then set signs of results at the end.
27461         * math/s_casinhf.c (__casinhf): Likewise.
27462         * math/s_casinhl.c (__casinhl): Likewise.
27463         * math/libm-test.inc (casin_test): Add more tests.
27464         (casinh_test): Likewise.
27465         * sysdeps/i386/fpu/libm-test-ulps: Update.
27466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27467
27468 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27469
27470         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27471
27472         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27473
27474         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27475         declarations.
27476         (denorm): Likewise.
27477         (__mp_dbl): Likewise.
27478         (__inv): Likewise.
27479
27480         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27481         and adjust the header comment.
27482
27483         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27484         variable name from declaration.
27485
27486 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27487
27488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27489         Initialize COMMON_CPUID_INDEX_7 element.
27490         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27491         (CPUID_RTM): Likewise.
27492         (HAS_RTM): Likewise.
27493         (COMMON_CPUID_INDEX_7): New enum.
27494
27495 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27496
27497         [BZ #14981]
27498         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27499         size is zero, record memory as freed.
27500
27501 2013-01-03  Andreas Jaeger  <aj@suse.de>
27502
27503         * po/ia.po: Add new Interlingua translation.
27504
27505 2012-01-03  Allan McRae  <allan@archlinux.org>
27506
27507         * locale/programs/localedef.c: Fix description of '--posix' flag.
27508
27509 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27510
27511         * NEWS: Update dates in second copyright notice.
27512         * README: Update copyright dates in example.
27513         * manual/libc.texinfo: Update copyright dates.
27514         * scripts/test-installation.pl: Update copyright date in --version
27515         output.
27516
27517         * hurd/ctty-input.c: Fix copyright notice formatting.
27518         * hurd/ctty-output.c: Likewise.
27519         * hurd/dtable.c: Likewise.
27520         * hurd/hurd-raise.c: Likewise.
27521         * hurd/hurdprio.c: Likewise.
27522         * hurd/msgportdemux.c: Likewise.
27523         * misc/sys/file.h: Likewise.
27524         * misc/sys/ioctl.h: Likewise.
27525         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27526         * sysdeps/mach/hurd/chdir.c: Likewise.
27527         * sysdeps/mach/hurd/fchdir.c: Likewise.
27528         * sysdeps/mach/hurd/rename.c: Likewise.
27529         * sysdeps/mach/hurd/rmdir.c: Likewise.
27530         * sysdeps/mach/hurd/seekdir.c: Likewise.
27531         * sysdeps/mach/hurd/setsid.c: Likewise.
27532         * sysdeps/posix/wait3.c: Likewise.
27533
27534         * All files with FSF copyright notices: Update copyright dates
27535         using scripts/update-copyrights.
27536         * intl/plural.c: Regenerated.
27537         * locale/programs/charmap-kw.h: Likewise.
27538         * locale/programs/locfile-kw.h: Likewise.
27539
27540 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27541
27542         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27543         four values.
27544
27545         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27546         calculation loop and add branch prediction.
27547
27548         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27549         check access beyond bounds of m1np.
27550
27551         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27552         MPTWO.
27553         (__inv): Remove local variable MPTWO to use the global
27554         constant.
27555         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27556         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27557         variable MPTWO.
27558         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27559         MP3HALFS static const.
27560
27561 2013-01-01  David S. Miller  <davem@davemloft.net>
27562
27563         * po/ca.po: Update from translation team.
27564
27565 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27566
27567         * scripts/update-copyrights: New file.
27568         * Makeconfig: Reformat copyright notice.
27569         * ctype/ctype.h: Likewise.
27570         * debug/swprintf_chk.c: Likewise.
27571         * elf/dl-cache.c: Likewise.
27572         * elf/dl-debug.c: Likewise.
27573         * elf/dl-object.c: Likewise.
27574         * grp/initgroups.c: Likewise.
27575         * hurd/Makefile: Likewise.
27576         * hurd/hurd/signal.h: Likewise.
27577         * hurd/hurdfault.c: Likewise.
27578         * hurd/hurdioctl.c: Likewise.
27579         * hurd/hurdlookup.c: Likewise.
27580         * hurd/intr-msg.c: Likewise.
27581         * iconv/gconv_open.c: Likewise.
27582         * libio/swprintf.c: Likewise.
27583         * locale/lc-ctype.c: Likewise.
27584         * locale/nl_langinfo.c: Likewise.
27585         * mach/Machrules: Likewise.
27586         * mach/Makefile: Likewise.
27587         * malloc/obstack.h: Likewise.
27588         * manual/Makefile: Likewise.
27589         * manual/tsort.awk: Likewise.
27590         * misc/bits/stab.def: Likewise.
27591         * nis/nis_print_group_entry.c: Likewise.
27592         * nis/nis_table.c: Likewise.
27593         * nis/nss_compat/compat-pwd.c: Likewise.
27594         * nis/nss_compat/compat-spwd.c: Likewise.
27595         * po/Makefile: Likewise.
27596         * posix/fnmatch.c: Likewise.
27597         * posix/regex.h: Likewise.
27598         * resolv/Makefile: Likewise.
27599         * resolv/nss_dns/dns-network.c: Likewise.
27600         * resolv/res_hconf.c: Likewise.
27601         * scripts/gen-sorted.awk: Likewise.
27602         * soft-fp/soft-fp.h: Likewise.
27603         * stdio-common/printf.h: Likewise.
27604         * stdlib/monetary.h: Likewise.
27605         * stdlib/random.c: Likewise.
27606         * stdlib/random_r.c: Likewise.
27607         * sysdeps/generic/Makefile: Likewise.
27608         * sysdeps/gnu/Makefile: Likewise.
27609         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27610         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27611         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27612         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27613         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27614         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27615         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27616         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27617         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27618         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27619         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27620         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27621         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27622         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27623         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27624         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27625         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27626         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27627         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27628         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27629         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27630         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27631         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27632         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27633         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27634         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27635         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27636         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27637         * sysdeps/mach/hurd/errnos.awk: Likewise.
27638         * sysdeps/mach/hurd/fork.c: Likewise.
27639         * sysdeps/mach/hurd/getcwd.c: Likewise.
27640         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27641         * sysdeps/mach/hurd/mmap.c: Likewise.
27642         * sysdeps/mach/hurd/utimes.c: Likewise.
27643         * sysdeps/mach/hurd/xmknod.c: Likewise.
27644         * sysdeps/posix/profil.c: Likewise.
27645         * sysdeps/posix/readdir_r.c: Likewise.
27646         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27647         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27648         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27649         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27651         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27652         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27653         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27654         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27655         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27656         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27657         * sysdeps/pthread/lio_listio.c: Likewise.
27658         * sysdeps/sparc/dl-procinfo.h: Likewise.
27659         * sysdeps/unix/i386/sysdep.S: Likewise.
27660         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27661         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27662         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27663         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27665         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27666         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27667         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27668         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27669         * sysdeps/wordsize-32/divdi3.c: Likewise.
27670         * time/sys/time.h: Likewise.
27671         * wcsmbs/Makefile: Likewise.
27672
27673 2013-01-01  David S. Miller  <davem@davemloft.net>
27674
27675         * po/fr.po: Update from translation team.
27676
27677         * catgets/gencat.c: Update copyright year.
27678         * csu/version.c: Likewise.
27679         * debug/catchsegv.sh: Likewise.
27680         * debug/pcprofiledump.c: Likewise.
27681         * debug/xtrace.sh: Likewise.
27682         * elf/ldconfig.c: Likewise.
27683         * elf/ldd.bash.in: Likewise.
27684         * elf/pldd.c: Likewise.
27685         * elf/sotruss.ksh: Likewise.
27686         * elf/sprof.c: Likewise.
27687         * iconv/iconv_prog.c: Likewise.
27688         * iconv/iconvconfig.c: Likewise.
27689         * locale/programs/locale.c: Likewise.
27690         * locale/programs/localedef.c: Likewise.
27691         * login/programs/pt_chown.c: Likewise.
27692         * malloc/memusage.sh: Likewise.
27693         * malloc/memusagestat.c: Likewise.
27694         * malloc/mtrace.pl: Likewise.
27695         * nscd/nscd.c: Likewise.
27696         * nss/getent.c: Likewise.
27697         * nss/makedb.c: Likewise.
27698         * posix/getconf.c: Likewise.
27699
27700 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27701
27702         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27703         numbers.
27704
27705 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27706
27707         * math/bits/mathcalls.h (modf): Use __nonnull.
27708
27709 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27710
27711         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27712         (split): Use macro CN instead of the bare value.
27713         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27714         could be used.
27715         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27716         instead of the bare value.
27717         (power1): Likewise.
27718
27719 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27720
27721         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27722         __ATAN_TWOM.
27723         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27724
27725         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27726         their values.
27727         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27728         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27729         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27730         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27731
27732 2012-12-28  Andreas Jaeger  <aj@suse.de>
27733
27734         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27735         values are from Linux 3.7.
27736
27737         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27738         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27739
27740 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27741
27742         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27743         TRUE case.
27744
27745         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27746         (norm): Likewise.
27747         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27748         variables with preprocessor constants.
27749         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27750         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27751         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27752
27753 2012-12-27  Bruno Haible  <bruno@clisp.org>
27754
27755         [BZ #14317]
27756         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27757         only if needed.
27758
27759 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27760
27761         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27762         and use variable directly.
27763         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27764
27765         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27766         MPONE.
27767         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27768         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27769         variable MPONE.
27770         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27772         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27773         include directive.  Remove local variable MPONE.
27774         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27775         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27776         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27777
27778 2012-12-25  David S. Miller  <davem@davemloft.net>
27779
27780         * version.h (RELEASE): Set to "development".
27781         (VERSION): Set to "2.17.90".
27782         * NEWS: Add 2.18 section.
27783
27784 2012-12-21  David S. Miller  <davem@davemloft.net>
27785
27786         * po/hr.po: Update from translation team.
27787
27788 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27789
27790         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27791
27792 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27793
27794         * NEWS:  Mention new memcpy for MIPS.
27795
27796 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27797
27798         * manual/contrib.texi (Contributors): Spelling correction.
27799
27800 2012-12-15  David S. Miller  <davem@davemloft.net>
27801
27802         * po/ru.po: Update from translation team.
27803
27804 2012-12-13  David S. Miller  <davem@davemloft.net>
27805
27806         * NEWS: Mention IFUNC testsuite enhancements.
27807
27808         * po/pl.po: Update from translation team.
27809         * po/bg.po: Likewise.
27810
27811         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27812         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27813
27814 2012-12-11  David S. Miller  <davem@davemloft.net>
27815
27816         * po/sv.po: Update from translation team.
27817
27818         * po/vi.po: Update from translation team.
27819
27820         * po/cs.po: Update from translation team.
27821
27822         * po/de.po: Update from translation team.
27823         * po/eo.po: Likewise.
27824         * po/nl.po: Likewise.
27825
27826 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27827
27828         [BZ #14246]
27829         * manual/argp.texi (Argp Helper Functions): Move node to follow
27830         Argp Parsing State.
27831
27832         [BZ #14872]
27833         * manual/conf.texi (Limits on File System Capacity): Mention if
27834         terminating null is included in the max size.
27835
27836 2012-12-10  Andreas Jaeger  <aj@suse.de>
27837
27838         * po/cs.po: Update from translation team.
27839
27840 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27841
27842         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27843         void pointer and cast to uintptr_t.
27844         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27845         path.
27846         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27847         * sysdeps/s390/s390-64/memset.S: Likewise.
27848
27849 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27850
27851         [BZ #14833]
27852         * menual/message.texi (Message Translation): Fix typos.
27853         (Helper programs for gettext): Likewise.
27854
27855 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27856
27857         [BZ #14898]
27858         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27859         Change to -1.
27860
27861 2012-12-07  David S. Miller  <davem@davemloft.net>
27862
27863         * po/libc.pot: Update.
27864
27865 2012-12-07  Richard Henderson  <rth@redhat.com>
27866
27867         [BZ #10114]
27868         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27869         normal/normal case to before the switch.
27870         (_FP_DIV): Likewise.
27871
27872 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27873             Mike Frysinger  <vapier@gentoo.org>
27874
27875         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27876         check for __NR_fadvise64_64.
27877
27878 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27879
27880         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27881         0, not just to plain "0" as a statement.
27882         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27883         with cw.
27884
27885 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27886
27887         * NEWS: Use sourceware.org in Bugzilla URL.
27888
27889 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27890
27891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27892         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27893
27894         * stdio-common/tst-put-error.c (do_test): Add newline to the
27895         padded test to ensure flush.
27896
27897 2012-12-05  Jeff Law  <law@redhat.com>
27898
27899         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27900
27901 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27902
27903         * README: Don't refer to ports add-on as distributed separately.
27904         Mention AArch64 in list of systems supported in the ports add-on.
27905
27906         * LICENSES: Add more non-FSF copyright and license notices.
27907
27908         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27909         ((unused)).
27910
27911         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27912
27913         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27914         10000 as width of padded output.
27915
27916 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27917
27918         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27919
27920         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27921         variable LX with __attribute__ ((unused)).
27922         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27923         Likewise.
27924         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27925         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27926         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27927         with __attribute__ ((unused)).
27928
27929 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27930
27931         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27932
27933 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27934
27935         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27936         (CFLAGS-nldbl-acos.c): New variable.
27937         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27938         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27939         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27940         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27941         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27942         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27943         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27944         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27945         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27946         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27947         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27948         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27949         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27950         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27951         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27952         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27953         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27954         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27955         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27956         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27957         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27958         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27959         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27960         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27961         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27962         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27963         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27964         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27965         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27966         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27967         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27968         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27969         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27970         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27971         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27972         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27973         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27974         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27975         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27976         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27977         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27978         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27979         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27980         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27981         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27982         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27983         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27984         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27985         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27986         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27987         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27988         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27989         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27990         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27991         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27992         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27993         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27994         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27995         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27996         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27997         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27998         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27999         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28000         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28001         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28002         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28003         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28004         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28005         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28006         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28007         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28008         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28009         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28010         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28011         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28012         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28013         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28014         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28015         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28016         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28017         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28018         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28019         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28020         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28021         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28022         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28023         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28024         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28025         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28026         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28027         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28028         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28029         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28030         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28031         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28032         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28033         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28034
28035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28036         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28037
28038         [BZ #14914]
28039         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28040         whole low double instead of just low 47 bits when splitting values
28041         into two parts.
28042
28043 2012-12-03  Allan McRae  <allan@archlinux.org>
28044
28045         * manual/stdio.texi (Predefined Printf Handlers): Remove
28046         @hsep and @vsep usage.
28047
28048 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
28049
28050         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28051         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28052
28053 2012-12-03  Jeff Law  <law@redhat.com>
28054
28055         * time/sys/time.h (settimeofday): Do not mark TV argument
28056         as __nonnull.
28057
28058 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
28059
28060         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28061         when currently writing and seek to current position when not.
28062         * libio/Makefile (tests): Remove bug-fclose1.
28063         * libio/bug-fclose1.c: Delete.
28064
28065 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
28066
28067         * manual/arith.texi (feenableexcept): Fix typo.
28068         (fedisableexcept): Likewise.
28069
28070 2012-11-30  Roland McGrath  <roland@hack.frob.com>
28071
28072         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28073         second, differently-typed declaration, rather than a cast.
28074
28075 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28076
28077         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28078         * include/rpc/svc.h: ... here.
28079
28080 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
28081
28082         [BZ #13013]
28083         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28084         depending n and resplen2 to catch cases where answer
28085         equals answerp2.
28086
28087 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
28088
28089         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28090         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28091
28092 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
28093
28094         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28095
28096 2012-11-29  Roland McGrath  <roland@hack.frob.com>
28097
28098         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28099
28100 2012-11-28  Jeff Law  <law@redhat.com>
28101
28102         [BZ #13761]
28103         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28104         dataset_temporary.  Track alloca usage into alloca_used.
28105         If dataset is large allocate and release it via malloc/free.
28106
28107 2012-06-04  Florian Weimer  <fweimer@redhat.com>
28108
28109         [BZ #14197]
28110         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28111
28112 2012-11-28  David S. Miller  <davem@davemloft.net>
28113
28114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28115
28116 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28117
28118         [BZ #14803]
28119         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28120         of pi/2 rounded to nearest to 64 bits.
28121         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28122         nearest to 64 bits.
28123         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28124         bits.
28125
28126 2012-11-28  Jeff Law <law@redhat.com>
28127             Martin Osvald <mosvald@redhat.com>
28128
28129         [BZ #14889]
28130         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28131         * sunrpc/svc.c: Include time.h.
28132         (__svc_accept_failed): New function.
28133         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28134         any reason other than EINTR, call __svc_accept_failed.
28135         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28136         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28137
28138 2012-11-28  Andreas Schwab  <schwab@suse.de>
28139
28140         * scripts/abilist.awk: Also handle indirect functions in .opd
28141         section.
28142
28143 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28144
28145         [BZ #13881]
28146         * sysdeps/x86/fpu/powl_helper.c: New file.
28147         * sysdeps/x86/fpu/Makefile: Likewise.
28148         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28149         (p3): New object.
28150         (__ieee754_powl): Use __powl_helper for finite arguments except
28151         integer exponents below 8.
28152         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28153         (p3): New object.
28154         (__ieee754_powl): Use __powl_helper for finite arguments except
28155         integer exponents below 8.
28156         * math/libm-test.inc (pow_test): Add more tests and enable some
28157         previously disabled tests.
28158         * sysdeps/i386/fpu/libm-test-ulps: Update.
28159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28160
28161 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28162             Carlos O'Donell  <carlos_odonell@mentor.com>
28163
28164         * nss/makedb.c (is_prime): Assert that input is odd and greater
28165         than 4.  Note that fact in a comment too.
28166         (next_prime): Add 4 to input.
28167
28168 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28169
28170         [BZ #11741]
28171         * libio/Makefile (tests): Add test case tst-fwrite-error.
28172         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28173         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28174         * libio/tst-fwrite-error.c: New test case.
28175
28176 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
28177
28178         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28179         before casting to void *.
28180         * include/libc-internal.h (__pointer_type): New macro.
28181         (__integer_if_pointer_type_sub): Likewise.
28182         (__integer_if_pointer_type): Likewise.
28183         (cast_to_integer): Likewise.
28184         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28185         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28186         before casting to atomic64_t.
28187         (atomic_exchange_acq): Likewise.
28188         (__arch_exchange_and_add_body): Likewise.
28189         (__arch_add_body): Likewise.
28190         (atomic_add_negative): Likewise.
28191         (atomic_add_zero): Likewise.
28192
28193 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
28194
28195         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28196         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28197         (add_fdes): Likewise.
28198         (linear_search_fdes): Likewise.
28199         (binary_search_unencoded_fdes): Likewise.
28200
28201 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
28202
28203         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28204
28205 2012-11-24  Adam Conrad  <adconrad@0c3.net>
28206
28207         * configure.in: Autodetect C++ header directories.
28208         * configure: Regenerated.
28209
28210 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
28211
28212         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28213
28214 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
28215
28216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28217
28218 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
28219
28220         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28221         LDBL_MANT_DIG == 106]: Disable some tests.
28222         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28223         Likewise.
28224         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28225         Likewise.
28226
28227         [BZ #14871]
28228         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28229         input for small inputs.  Return +/- pi/2 for large inputs.
28230         * math/libm-test.inc (atan_test): Add more tests.
28231
28232         * sysdeps/generic/unwind-dw2-fde-glibc.c
28233         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28234         __attribute__ ((unused)).
28235
28236         [BZ #14645]
28237         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28238         x * y if x and y are nonzero and z is zero.
28239
28240         [BZ #14811]
28241         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28242         nonzero exponents with absolute value below 0x1p-117 to +/-
28243         0x1p-117.
28244
28245         [BZ #14869]
28246         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28247         up arguments below 2**-450, not just those below 2**-500.
28248         * math/libm-test.inc (hypot_test): Add another test.
28249
28250         [BZ #14868]
28251         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28252         Return a+b for ratio over 2**120, not 2**60.
28253         * math/libm-test.inc (hypot_test): Add another test.
28254
28255         * math/libm-test.inc (clog_test): Use
28256         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28257         (clog10_test): Likewise.
28258
28259         [BZ #6778]
28260         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28261
28262 2012-11-22  Andreas Schwab  <schwab@suse.de>
28263
28264         * sysdeps/i386/fpu/libm-test-ulps: Update.
28265
28266 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
28267
28268         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28269         printf output with newline.
28270
28271 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
28272
28273         [BZ #14865]
28274         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28275         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28276         -z nodlopen, -z initfirst and -z execstack support.
28277         * configure: Regenerated.
28278
28279         * elf/elf.h (DF_1_NODIRECT): New macro.
28280         (DF_1_IGNMULDEF): Likewise.
28281         (DF_1_NOKSYMS): Likewise.
28282         (DF_1_NOHDR): Likewise.
28283         (DF_1_EDITED): Likewise.
28284         (DF_1_NORELOC): Likewise.
28285         (DF_1_SYMINTPOSE): Likewise.
28286         (DF_1_GLOBAUDIT): Likewise.
28287         (DF_1_SINGLETON): Likewise.
28288         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28289         DT_1_SUPPORTED_MASK bits.
28290         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28291
28292 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
28293
28294         * sysdeps/unix/make-syscalls.sh: Document prefixes.
28295
28296 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
28297
28298         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28299         macro.
28300
28301         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28302         (sendmmsg): Move declarations...
28303         * socket/sys/socket.h: ... here.
28304         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28305         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28306         include it from...
28307         * socket/recvmmsg.c: ... this new file.
28308         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28309         (sendmmsg): Rename to __sendmmsg, create weak alias and make
28310         definition of __sendmmsg hidden.
28311         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28312         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28313         Move ENOSYS stub into and include it from...
28314         * socket/sendmmsg.c: ... this new file.
28315         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28316         (sysdep_routines): Move recvmmsg and sendmmsg...
28317         * socket/Makefile (routines): ... here.
28318         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28319         (GLIBC_PRIVATE): Add __sendmmsg.
28320         * include/sys/socket.h (__sendmmsg): Add declarations.
28321         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28322         sendmmsg.
28323
28324 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
28325
28326         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28327         variable I1 with __attribute__ ((unused)).
28328         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28329
28330 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28331
28332         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28333         DUMMY variables with __attribute__ ((unused)).
28334
28335         * bits/byteswap.h: Include <bits/types.h>.
28336         (__bswap_64): Use __uint64_t instead of unsigned long long int.
28337
28338 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28339
28340         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28341         string_t.  Do not manually set errno.
28342         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28343         length with __strnlen.  Make sure to both set errno and return it on
28344         failure.
28345
28346 2012-11-19  David S. Miller  <davem@davemloft.net>
28347
28348         With help from Joseph Myers.
28349         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28350         very large arguments properly.
28351         * math/libm-test.inc (atan_test): New tests.
28352         (atan2_test): New tests.
28353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28355
28356 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28357
28358         [BZ #14856]
28359         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28360         Define to 3.
28361
28362         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28363         [POSIX] (EADDRNOTAVAIL): Likewise.
28364         [POSIX] (EAFNOSUPPORT): Likewise.
28365         [POSIX] (EALREADY): Likewise.
28366         [POSIX] (ECONNABORTED): Likewise.
28367         [POSIX] (ECONNREFUSED): Likewise.
28368         [POSIX] (ECONNRESET): Likewise.
28369         [POSIX] (EDESTADDRREQ): Likewise.
28370         [POSIX] (EDQUOT): Likewise.
28371         [POSIX] (EHOSTUNREACH): Likewise.
28372         [POSIX] (EIDRM): Likewise.
28373         [POSIX] (EISCONN): Likewise.
28374         [POSIX] (ELOOP): Likewise.
28375         [POSIX] (EMULTIHOP): Likewise.
28376         [POSIX] (ENETDOWN): Likewise.
28377         [POSIX] (ENETUNREACH): Likewise.
28378         [POSIX] (ENOBUFS): Likewise.
28379         [POSIX] (ENODATA): Likewise.
28380         [POSIX] (ENOLINK): Likewise.
28381         [POSIX] (ENOMSG): Likewise.
28382         [POSIX] (ENOPROTOOPT): Likewise.
28383         [POSIX] (ENOSR): Likewise.
28384         [POSIX] (ENOSTR): Likewise.
28385         [POSIX] (ENOTCONN): Likewise.
28386         [POSIX] (ENOTSOCK): Likewise.
28387         [POSIX] (EOPNOTSUPP): Likewise.
28388         [POSIX] (EOVERFLOW): Likewise.
28389         [POSIX] (EPROTO): Likewise.
28390         [POSIX] (EPROTONOSUPPORT): Likewise.
28391         [POSIX] (EPROTOTYPE): Likewise.
28392         [POSIX] (ESTALE): Likewise.
28393         [POSIX] (ETIME): Likewise.
28394         [POSIX] (ETXTBSY): Likewise.
28395         [POSIX] (EWOULDBLOCK): Likewise.
28396         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28397         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28398         [POSIX] (SEEK_CUR): Likewise.
28399         [POSIX] (SEEK_END): Likewise.
28400         [POSIX || UNIX98] (mode_t): Do not require.
28401         [POSIX] (off_t): Likewise.
28402         [POSIX] (pid_t): Likewise.
28403         [POSIX] (sys/stat.h): Do not allow header.
28404         [POSIX] (unistd.h): Likewise.
28405         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28406         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28407         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28408         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28409         require.
28410         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28411         sigevent): Specify elements.
28412         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28413         entry.
28414         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28415         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28416
28417         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28418         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28419         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28420         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28421         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28422         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28423         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28424         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28425         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28426         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28427         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28428         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28429         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28430         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28431         Likewise.
28432         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28433         Likewise.
28434         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28435         Likewise.
28436         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28437         Likewise.
28438         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28439         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28440         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28441         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28442         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28443         Specify lower bound on value.
28444         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28445         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28446         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28447         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28448         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28449         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28450         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28451         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28452         value.
28453         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28454         as optional.
28455         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28456         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28457         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28458         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28459         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28460         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28461         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28462         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28463         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28464         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28465         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28466         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28467         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28468         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28469         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28470         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28471         entry.
28472         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28473         optional.
28474         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28475         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28476         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28477         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28478         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28479         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28480         Likewise.
28481         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28482         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28483         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28484         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28485         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28486         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28487         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28488         as optional.
28489         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28490         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28491         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28492         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28493         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28494         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28495         specify as optional.
28496         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28497         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28498         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28499         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28500         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28501         [XPG3] (NL_LANGMAX): Likewise.
28502         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28503         [POSIX || XPG3] (NL_NMAX): Likewise.
28504         [POSIX || XPG3] (NL_SETMAX): Likewise.
28505         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28506         [XPG3] (NZERO): Likewise.
28507         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28508         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28509         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28510         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28511         (REG_ERANGE): Expect.
28512         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28513         optional-constant.
28514         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28515         Use (void) in prototype.
28516         [POSIX] (*_t): Allow.
28517         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28518         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28519         (WRDE_BADVAL): Expect.
28520
28521         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28522         expect.
28523         [XPG3 || XPG4] (O_RSYNC): Likewise.
28524         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28525         Likewise.
28526         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28527         [XPG3 || XPG4] (sigqueue): Likewise.
28528         [XPG3 || XPG4] (sigtimedwait): Likewise.
28529         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28530         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28531         [XPG3 || XPG4] (vsnprintf): Likewise.
28532         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28533         Likewise.
28534         [XPG3 || XPG4] (blksize_t): Likewise.
28535         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28536         Likewise.
28537         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28538         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28539         [XPG3 || XPG4] (struct itimerspec): Likewise.
28540         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28541         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28542         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28543         [XPG3 || XPG4] (clockid_t): Likewise.
28544         [XPG3 || XPG4] (timer_t): Likewise.
28545         [XPG3 || XPG4] (clock_getres): Likewise.
28546         [XPG3 || XPG4] (clock_gettime): Likewise.
28547         [XPG3 || XPG4] (clock_settime): Likewise.
28548         [XPG3 || XPG4] (nanosleep): Likewise.
28549         [XPG3 || XPG4] (timer_create): Likewise.
28550         [XPG3 || XPG4] (timer_delete): Likewise.
28551         [XPG3 || XPG4] (timer_gettime): Likewise.
28552         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28553         [XPG3 || XPG4] (timer_settime): Likewise.
28554         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28555         [XPG3 || XPG4] (getlogin_r): Likewise.
28556         [XPG3 || XPG4] (pread): Likewise.
28557         [XPG3 || XPG4] (pthread_atfork): Likewise.
28558         [XPG3 || XPG4] (pwrite): Likewise.
28559
28560         [BZ #14835]
28561         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28562         <bits/siginfo.h>.
28563
28564 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28565
28566         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28567         finalizing MALLSTREAM.
28568
28569         * sysdeps/mach/hurd/syncfs.c: New file.
28570
28571 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28572
28573         [BZ #14719]
28574         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28575         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28576         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28577         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28578         (_nss_dns_gethostbyname4_r): Likewise.
28579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28580         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28581
28582 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28583
28584         [BZ #13763]
28585         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28586
28587 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28588
28589         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28590         * elf/cache.c (print_entry): Print ",AArch64" for
28591         FLAG_AARCH64_LIB64
28592
28593         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28594         * elf/cache.c (print_entry): Print ",hard-float" for
28595         FLAG_ARM_LIBHF.
28596
28597 2012-11-18  David S. Miller  <davem@davemloft.net>
28598
28599         With help from Joseph Myers.
28600         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28601         cutoff to 2**-13.
28602         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28603         cutoff to 2**-25.
28604         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28605         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28606         small.
28607         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28608         * math/libm-test.inc (y0_test): New tests.
28609         (y1_test): New tests.
28610         * sysdeps/i386/fpu/libm-test-ulps: Update.
28611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28613
28614 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28615
28616         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28617         64-bit targets.
28618         * configure: Regenerated.
28619
28620 2012-11-17  David S. Miller  <davem@davemloft.net>
28621
28622         [BZ #14811]
28623         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28624         nonzero exponents with absolute value below 0x1p-128 to +/-
28625         0x1p-128.
28626
28627 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28628
28629         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28630
28631         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28632
28633         * posix/getconf-speclist.c: New file.
28634         * posix/posix-envs.def: Likewise.
28635         * posix/confstr.c (START_ENV_GROUP): New macro.
28636         (END_ENV_GROUP): Likewise.
28637         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28638         (KNOWN_PRESENT_ENV_STRING): Likewise.
28639         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28640         (UNKNOWN_ENVIRONMENT): Likewise.
28641         (confstr): Include posix-envs.def instead of handling
28642         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28643         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28644         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28645         (END_ENV_GROUP): Likewise.
28646         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28647         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28648         (UNKNOWN_ENVIRONMENT): Likewise.
28649         (__sysconf): Include posix-envs.def instead of handling associated
28650         cases directly here.
28651         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28652         preprocessing getconf-speclist.c rather than running getconf or
28653         generating empty file.
28654
28655 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28656
28657         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28658
28659 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28660
28661         [BZ #14672]
28662         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28663
28664 2012-11-16  David S. Miller  <davem@davemloft.net>
28665
28666         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28667         smaller than LDBL_EPSILON/2.0L, just return xm1.
28668
28669 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28670
28671         * elf/tst-array1.c (init): Set constructor priority to 1000.
28672         (fini): Set destructor priority to 1000.
28673         * elf/tst-array2dep.c: Likewise.
28674
28675 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28676
28677         [BZ #11741]
28678         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28679         (_IO_new_file_xsputn): Also return EOF if none of the input
28680         data was written when overflow failed.
28681         * libio/iopadn.c (_IO_padn): Likewise.
28682         * libio/iowpadn.c (_IO_wpadn): Likewise.
28683         * stdio-common/tst-put-error.c: Add copyright notice.
28684         (do_test): Add case for printing padded string.
28685         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28686         _IO_padn returned error.
28687         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28688         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28689         return EOF.
28690
28691 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28692
28693         * libio/libioP.h: Add comment note that the references to C++
28694         bits are now obsolete.
28695
28696 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28697
28698         * math/libm-test.inc (check_complex): Use asprintf.
28699
28700 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28701
28702         * debug/pcprofiledump.c (print_version): Update copyright year.
28703         * malloc/memusagestat.c (print_version): Likewise.
28704
28705 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28706
28707         [BZ #14831]
28708         * elf/Makefile (tests): Add tst-audit8.
28709         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28710         ($(objpfx)tst-audit8.out): New target.
28711         (tst-audit8-ENV): New variable.
28712         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28713         audit if l_reloc_result is NULL.
28714         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28715         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28716         * elf/tst-audit8.c: New file.
28717
28718 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28719
28720         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28721         * misc/Makefile (CFLAGS-select.c): Define.
28722         * posix/Makefile (CFLAGS-pause.c): Define.
28723
28724 2012-11-13  David S. Miller  <davem@davemloft.net>
28725
28726         * crypt/Makefile: Move test targets after toplevel Rules
28727         inclusion.  Grab any necessary sysdep routines when linking.
28728         * crypt/md5.c (md5_process_block): Remove define, we will always
28729         name it __md5_process_block.
28730         (md5_finish_ctx): Update md5_process_block call.
28731         (md5_stream): Likewise.
28732         (md5_process_bytes): Likewise.
28733         (md5_process_block): Rename to __md5_process_block and move to ...
28734         * crypt/md5-block.c: ... here.
28735         * crypt/sha256.c (sha256_process_block): Move to ...
28736         * crypt/sha256-block.c: ... here.
28737         * crypt/sha512.c (sha512_process_block): Move to ...
28738         * crypt/sha512-block.c: ... here.
28739         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28740         path.
28741         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28742         * sysdeps/sparc/sparc64/multiarch/Makefile
28743         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28744         crypt subdir.
28745         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28746         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28747         multiarch changes.
28748         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28749         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28750         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28751         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28752         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28753         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28754         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28755         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28756         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28757         file.
28758         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28759         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28760         file.
28761         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28762
28763 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28764
28765         * timezone/tzselect.ksh: Update from tzcode git revision
28766         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28767         * timezone/zdump.c: Likewise.
28768         * timezone/zic.c: Likewise.
28769         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28770         in TZVERSION setting, not $(PKGVERSION).
28771         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28772         REPORT_BUGS_TO settings.
28773
28774         [BZ #14838]
28775         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28776         macro.
28777
28778 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28779
28780         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28781         detection to immediately after _FP_ROUND().
28782         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28783         bits are 0.
28784
28785 2012-11-11  David S. Miller  <davem@davemloft.net>
28786
28787         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28788         inttypes.h
28789         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28790         __close rather than their public counterparts.
28791
28792 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28793
28794         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28795         file.
28796         [UNIX98] (sem_timedwait): Do not expect.
28797         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28798         [XPG4 || UNIX98] (sockatmark): Do not expect.
28799         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28800         (clock_getcpuclockid): Do not expect.
28801         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28802         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28803         Do not expect.
28804         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28805         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28806         [UNIX98] (vwscanf): Likewise.
28807         [UNIX98] (vswscanf): Likewise.
28808
28809 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28810
28811         * timezone/version.h: Remove file.
28812         * timezone/README: Do not refer to version.h.
28813         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28814         $(objpfx)version.h.
28815         ($(objpfx)zdump.o): Likewise.
28816         ($(objpfx)version.h): New target.
28817
28818         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28819         2012i.
28820         * timezone/README: Don't mention modification to tzselect.ksh.
28821         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28822         work on unmodified tzselect.ksh.  Substitute version numbers in
28823         tzselect.ksh.
28824
28825         * Makefile (format-me): Remove.
28826         (INSTALL): Adjust indentation.  Use commands directly instead of
28827         using $(format-me).
28828
28829         * aclocal.m4 (ACX_PKGVERSION): New macro.
28830         (ACX_BUGURL): Likewise.
28831         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28832         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28833         (REPORT_BUGS_TO): Likewise.
28834         * configure: Regenerated.
28835         * config.h.in (PKGVERSION): New macro.
28836         (REPORT_BUGS_TO): Likewise.
28837         * config.make.in (PKGVERSION): New variable.
28838         (PKGVERSION_TEXI): Likewise.
28839         (REPORT_BUGS_TO): Likewise.
28840         (REPORT_BUGS_TEXI): Likewise.
28841         * Makefile (format-me): Use -I$(common-objpfx)manual.
28842         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28843         ($(common-objpfx)manual/%): New target.
28844         (manual/%): Remove target.
28845         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28846         (print_version): Use PKGVERSION.
28847         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28848         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28849         and REPORT_BUGS_TO.
28850         ($(objpfx)xtrace): Likewise.
28851         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28852         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28853         (print_version): Use PKGVERSION.
28854         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28855         (do_version): Use PKGVERSION.
28856         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28857         REPORT_BUGS_TO.
28858         (common-ldd-rewrite): Likewise.
28859         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28860         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28861         (print_version): Use PKGVERSION.
28862         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28863         * elf/pldd.c (argp_program_bug_address): Remove variable.
28864         (more_help): New function.
28865         (argp): Use more_help.
28866         (print_version): Use PKGVERSION.
28867         * elf/sln.c (main): Use PKGVERSION.
28868         (usage): Use REPORT_BUGS_TO.
28869         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28870         (top level): Use PKGVERSION.
28871         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28872         (print_version): Use PKGVERSION.
28873         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28874         (print_version): Use PKGVERSION.
28875         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28876         (print_version): Use PKGVERSION.
28877         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28878         (print_version): Use PKGVERSION.
28879         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28880         (print_version): Use PKGVERSION.
28881         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28882         (print_version): Use PKGVERSION.
28883         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28884         and BUGURL.
28885         ($(objpfx)memusage): Likewise.
28886         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28887         (do_version): Use PKGVERSION.
28888         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28889         (print_version): Use PKGVERSION.
28890         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28891         ($PKGVERSION): New variable.
28892         ($REPORT_BUGS_TO): Likewise.
28893         (usage): Use $REPORT_BUGS_TO.
28894         (top level): Use $PKGVERSION.
28895         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28896         ($(objpfx)pkgvers.texi): New rule.
28897         ($(objpfx)stamp-pkgvers): Likewise.
28898         * manual/install.texi: Include pkgvers.texi.
28899         (--with-pkgversion): Document new configure option.
28900         (--with-bugurl): Likewise.
28901         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28902         than necessarily for this particular distribution.  Use
28903         REPORT_BUGS_TO for where to report bugs.
28904         * INSTALL: Regenerated.
28905         * manual/libc.texinfo: Include pkgvers.texi.
28906         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28907         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28908         (print_version): Use PKGVERSION.
28909         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28910         (print_version): Use PKGVERSION.
28911         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28912         (print_version): Use PKGVERSION.
28913         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28914         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28915         macro.
28916         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28917         (print_version): Use PKGVERSION.
28918         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28919         (print_version): Use PKGVERSION.
28920         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28921         and PKGVERSION.
28922
28923         * timezone/checktab.awk: Update from tzcode 2012i.
28924         * timezone/ialloc.c: Likewise.
28925         * timezone/private.h: Likewise.
28926         * timezone/scheck.c: Likewise.
28927         * timezone/tzfile.h: Likewise.
28928         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28929         (TZVERSION): Hardcode tzcode version number.
28930         * timezone/zdump.c: Update from tzcode 2012i.
28931         * timezone/zic.c: Likewise.
28932         * timezone/version.h: New file.
28933         * timezone/README: Describe version.h.  Update upstream location.
28934
28935         [BZ #14824]
28936         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28937         (mktemp): Enable declaration.
28938         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28940         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28941         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28942         Likewise.
28943         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28944         Likewise.
28945         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28946         Likewise.
28947         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28948         Likewise.
28949         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28950         Likewise.
28951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28952         Likewise.
28953
28954         [BZ #14821]
28955         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28956         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28957         for copies of such integer values.
28958         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28959         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28960
28961 2012-11-09  Andreas Jaeger  <aj@suse.de>
28962
28963         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28964         definitions and declarations that are provided by
28965         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28966
28967 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28968
28969         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28970         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28971         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28972         definition.
28973
28974 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28975
28976         * elf/elf.h: Update comment before AArch64 relocations.
28977
28978 2012-11-07  David S. Miller  <davem@davemloft.net>
28979
28980         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28981         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28982         (__start_context): Declare.
28983         (__makecontext_ret): Delete.
28984         (__makecontext): Hook up __start_context instead of
28985         __makecontext_ret.
28986         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28987         (sysdep_routines): Add __start_context when in stdlib.
28988
28989 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28990
28991         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28992         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28993         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28994         hardcoded "nm".
28995         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28996         (READELF): New variable.  Use it instead of hardcoded "readelf".
28997
28998 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28999
29000         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29001         * sysdeps/x86/Makefile: Here.
29002         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29003         * sysdeps/x86/tst-xmmymm.sh: This.
29004
29005 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29006
29007         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29008         expectations.
29009         [UNIX98] (pthread_barrier_t): Do not expect.
29010         [UNIX98] (pthread_barrierattr_t): Likewise.
29011         [UNIX98] (pthread_spinlock_t): Likewise.
29012         [UNIX98] (pthread_barrier_destroy): Likewise.
29013         [UNIX98] (pthread_barrier_init): Likewise.
29014         [UNIX98] (pthread_barrier_wait): Likewise.
29015         [UNIX98] (pthread_barrierattr_destroy): Likewise.
29016         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29017         [UNIX98] (pthread_barrierattr_init): Likewise.
29018         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29019         [UNIX98] (pthread_getcpuclockid): Likewise.
29020         [UNIX98] (pthread_mutex_timedlock): Likewise.
29021         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29022         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29023         [UNIX98] (pthread_sigmask): Likewise.
29024         [UNIX98] (pthread_spin_destroy): Likewise.
29025         [UNIX98] (pthread_spin_init): Likewise.
29026         [UNIX98] (pthread_spin_lock): Likewise.
29027         [UNIX98] (pthread_spin_trylock): Likewise.
29028         [UNIX98] (pthread_spin_unlock): Likewise.
29029         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29030         Do not expect.
29031         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29032         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29033         [XPG3 || XPG4] (pthread_cond_t): Likewise.
29034         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29035         [XPG3 || XPG4] (pthread_key_t): Likewise.
29036         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29037         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29038         [XPG3 || XPG4] (pthread_once_t): Likewise.
29039         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29040         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29041         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29042         [XPG3 || XPG4] (pthread_t): Likewise.
29043
29044         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29045         not expect.
29046         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29047
29048         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29049         Change function return type to int.
29050
29051         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29052         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29053         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29054         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29055         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29056         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29057         [!POSIX] (posix_madvise): Likewise.
29058         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29059         && !UNIX98].
29060         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29061         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29062         (mode_t): Likewise.
29063         (posix_mem_offset): Likewise.
29064         (posix_typed_mem_get_info): Likewise.
29065         (posix_typed_mem_open): Likewise.
29066
29067         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29068         Change condition to [XOPEN2K8].
29069
29070         * conform/conformtest.pl: Preprocess allow-header data with -x c
29071         instead of from stdin.
29072         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29073         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29074         [C99-based standards] (cerfc): Likewise.
29075         [C99-based standards] (cexp2): Likewise.
29076         [C99-based standards] (cexpm1): Likewise.
29077         [C99-based standards] (clog10): Likewise.
29078         [C99-based standards] (clog1p): Likewise.
29079         [C99-based standards] (clog2): Likewise.
29080         [C99-based standards] (clgamma): Likewise.
29081         [C99-based standards] (ctgamma): Likewise.
29082         [C99-based standards] (cerff): Likewise.
29083         [C99-based standards] (cerfcf): Likewise.
29084         [C99-based standards] (cexp2f): Likewise.
29085         [C99-based standards] (cexpm1f): Likewise.
29086         [C99-based standards] (clog10f): Likewise.
29087         [C99-based standards] (clog1pf): Likewise.
29088         [C99-based standards] (clog2f): Likewise.
29089         [C99-based standards] (clgammaf): Likewise.
29090         [C99-based standards] (ctgammaf): Likewise.
29091         [C99-based standards] (cerfl): Likewise.
29092         [C99-based standards] (cerfcl): Likewise.
29093         [C99-based standards] (cexp2l): Likewise.
29094         [C99-based standards] (cexpm1l): Likewise.
29095         [C99-based standards] (clog10l): Likewise.
29096         [C99-based standards] (clog1pl): Likewise.
29097         [C99-based standards] (clog2l): Likewise.
29098         [C99-based standards] (clgammal): Likewise.
29099         [C99-based standards] (ctgammal): Likewise.
29100         * conform/data/inttypes.h-data [C99-based standards]: Include
29101         stdint.h-data.  Remove all expectations for stdint.h contents.
29102         [C99-based standards] (PRI*): Do not allow.
29103         [C99-based standards] (SCN*): Likewise.
29104         [C99-based standards] (*_t): Likewise.
29105         [C99-based-standards] (PRId8): Expect macro.
29106         [C99-based-standards] (PRIi8): Likewise.
29107         [C99-based-standards] (PRIo8): Likewise.
29108         [C99-based-standards] (PRIu8): Likewise.
29109         [C99-based-standards] (PRIx8): Likewise.
29110         [C99-based-standards] (PRIX8): Likewise.
29111         [C99-based-standards] (SCNd8): Likewise.
29112         [C99-based-standards] (SCNi8): Likewise.
29113         [C99-based-standards] (SCNo8): Likewise.
29114         [C99-based-standards] (SCNu8): Likewise.
29115         [C99-based-standards] (SCNx8): Likewise.
29116         [C99-based-standards] (PRIdLEAST8): Likewise.
29117         [C99-based-standards] (PRIiLEAST8): Likewise.
29118         [C99-based-standards] (PRIoLEAST8): Likewise.
29119         [C99-based-standards] (PRIuLEAST8): Likewise.
29120         [C99-based-standards] (PRIxLEAST8): Likewise.
29121         [C99-based-standards] (PRIXLEAST8): Likewise.
29122         [C99-based-standards] (SCNdLEAST8): Likewise.
29123         [C99-based-standards] (SCNiLEAST8): Likewise.
29124         [C99-based-standards] (SCNoLEAST8): Likewise.
29125         [C99-based-standards] (SCNuLEAST8): Likewise.
29126         [C99-based-standards] (SCNxLEAST8): Likewise.
29127         [C99-based-standards] (PRIdFAST8): Likewise.
29128         [C99-based-standards] (PRIiFAST8): Likewise.
29129         [C99-based-standards] (PRIoFAST8): Likewise.
29130         [C99-based-standards] (PRIuFAST8): Likewise.
29131         [C99-based-standards] (PRIxFAST8): Likewise.
29132         [C99-based-standards] (PRIXFAST8): Likewise.
29133         [C99-based-standards] (SCNdFAST8): Likewise.
29134         [C99-based-standards] (SCNiFAST8): Likewise.
29135         [C99-based-standards] (SCNoFAST8): Likewise.
29136         [C99-based-standards] (SCNuFAST8): Likewise.
29137         [C99-based-standards] (SCNxFAST8): Likewise.
29138         [C99-based-standards] (PRId16): Likewise.
29139         [C99-based-standards] (PRIi16): Likewise.
29140         [C99-based-standards] (PRIo16): Likewise.
29141         [C99-based-standards] (PRIu16): Likewise.
29142         [C99-based-standards] (PRIx16): Likewise.
29143         [C99-based-standards] (PRIX16): Likewise.
29144         [C99-based-standards] (SCNd16): Likewise.
29145         [C99-based-standards] (SCNi16): Likewise.
29146         [C99-based-standards] (SCNo16): Likewise.
29147         [C99-based-standards] (SCNu16): Likewise.
29148         [C99-based-standards] (SCNx16): Likewise.
29149         [C99-based-standards] (PRIdLEAST16): Likewise.
29150         [C99-based-standards] (PRIiLEAST16): Likewise.
29151         [C99-based-standards] (PRIoLEAST16): Likewise.
29152         [C99-based-standards] (PRIuLEAST16): Likewise.
29153         [C99-based-standards] (PRIxLEAST16): Likewise.
29154         [C99-based-standards] (PRIXLEAST16): Likewise.
29155         [C99-based-standards] (SCNdLEAST16): Likewise.
29156         [C99-based-standards] (SCNiLEAST16): Likewise.
29157         [C99-based-standards] (SCNoLEAST16): Likewise.
29158         [C99-based-standards] (SCNuLEAST16): Likewise.
29159         [C99-based-standards] (SCNxLEAST16): Likewise.
29160         [C99-based-standards] (PRIdFAST16): Likewise.
29161         [C99-based-standards] (PRIiFAST16): Likewise.
29162         [C99-based-standards] (PRIoFAST16): Likewise.
29163         [C99-based-standards] (PRIuFAST16): Likewise.
29164         [C99-based-standards] (PRIxFAST16): Likewise.
29165         [C99-based-standards] (PRIXFAST16): Likewise.
29166         [C99-based-standards] (SCNdFAST16): Likewise.
29167         [C99-based-standards] (SCNiFAST16): Likewise.
29168         [C99-based-standards] (SCNoFAST16): Likewise.
29169         [C99-based-standards] (SCNuFAST16): Likewise.
29170         [C99-based-standards] (SCNxFAST16): Likewise.
29171         [C99-based-standards] (PRId32): Likewise.
29172         [C99-based-standards] (PRIi32): Likewise.
29173         [C99-based-standards] (PRIo32): Likewise.
29174         [C99-based-standards] (PRIu32): Likewise.
29175         [C99-based-standards] (PRIx32): Likewise.
29176         [C99-based-standards] (PRIX32): Likewise.
29177         [C99-based-standards] (SCNd32): Likewise.
29178         [C99-based-standards] (SCNi32): Likewise.
29179         [C99-based-standards] (SCNo32): Likewise.
29180         [C99-based-standards] (SCNu32): Likewise.
29181         [C99-based-standards] (SCNx32): Likewise.
29182         [C99-based-standards] (PRIdLEAST32): Likewise.
29183         [C99-based-standards] (PRIiLEAST32): Likewise.
29184         [C99-based-standards] (PRIoLEAST32): Likewise.
29185         [C99-based-standards] (PRIuLEAST32): Likewise.
29186         [C99-based-standards] (PRIxLEAST32): Likewise.
29187         [C99-based-standards] (PRIXLEAST32): Likewise.
29188         [C99-based-standards] (SCNdLEAST32): Likewise.
29189         [C99-based-standards] (SCNiLEAST32): Likewise.
29190         [C99-based-standards] (SCNoLEAST32): Likewise.
29191         [C99-based-standards] (SCNuLEAST32): Likewise.
29192         [C99-based-standards] (SCNxLEAST32): Likewise.
29193         [C99-based-standards] (PRIdFAST32): Likewise.
29194         [C99-based-standards] (PRIiFAST32): Likewise.
29195         [C99-based-standards] (PRIoFAST32): Likewise.
29196         [C99-based-standards] (PRIuFAST32): Likewise.
29197         [C99-based-standards] (PRIxFAST32): Likewise.
29198         [C99-based-standards] (PRIXFAST32): Likewise.
29199         [C99-based-standards] (SCNdFAST32): Likewise.
29200         [C99-based-standards] (SCNiFAST32): Likewise.
29201         [C99-based-standards] (SCNoFAST32): Likewise.
29202         [C99-based-standards] (SCNuFAST32): Likewise.
29203         [C99-based-standards] (SCNxFAST32): Likewise.
29204         [C99-based-standards] (PRId64): Likewise.
29205         [C99-based-standards] (PRIi64): Likewise.
29206         [C99-based-standards] (PRIo64): Likewise.
29207         [C99-based-standards] (PRIu64): Likewise.
29208         [C99-based-standards] (PRIx64): Likewise.
29209         [C99-based-standards] (PRIX64): Likewise.
29210         [C99-based-standards] (SCNd64): Likewise.
29211         [C99-based-standards] (SCNi64): Likewise.
29212         [C99-based-standards] (SCNo64): Likewise.
29213         [C99-based-standards] (SCNu64): Likewise.
29214         [C99-based-standards] (SCNx64): Likewise.
29215         [C99-based-standards] (PRIdLEAST64): Likewise.
29216         [C99-based-standards] (PRIiLEAST64): Likewise.
29217         [C99-based-standards] (PRIoLEAST64): Likewise.
29218         [C99-based-standards] (PRIuLEAST64): Likewise.
29219         [C99-based-standards] (PRIxLEAST64): Likewise.
29220         [C99-based-standards] (PRIXLEAST64): Likewise.
29221         [C99-based-standards] (SCNdLEAST64): Likewise.
29222         [C99-based-standards] (SCNiLEAST64): Likewise.
29223         [C99-based-standards] (SCNoLEAST64): Likewise.
29224         [C99-based-standards] (SCNuLEAST64): Likewise.
29225         [C99-based-standards] (SCNxLEAST64): Likewise.
29226         [C99-based-standards] (PRIdFAST64): Likewise.
29227         [C99-based-standards] (PRIiFAST64): Likewise.
29228         [C99-based-standards] (PRIoFAST64): Likewise.
29229         [C99-based-standards] (PRIuFAST64): Likewise.
29230         [C99-based-standards] (PRIxFAST64): Likewise.
29231         [C99-based-standards] (PRIXFAST64): Likewise.
29232         [C99-based-standards] (SCNdFAST64): Likewise.
29233         [C99-based-standards] (SCNiFAST64): Likewise.
29234         [C99-based-standards] (SCNoFAST64): Likewise.
29235         [C99-based-standards] (SCNuFAST64): Likewise.
29236         [C99-based-standards] (SCNxFAST64): Likewise.
29237         [C99-based-standards] (PRIdMAX): Likewise.
29238         [C99-based-standards] (PRIiMAX): Likewise.
29239         [C99-based-standards] (PRIoMAX): Likewise.
29240         [C99-based-standards] (PRIuMAX): Likewise.
29241         [C99-based-standards] (PRIxMAX): Likewise.
29242         [C99-based-standards] (PRIXMAX): Likewise.
29243         [C99-based-standards] (SCNdMAX): Likewise.
29244         [C99-based-standards] (SCNiMAX): Likewise.
29245         [C99-based-standards] (SCNoMAX): Likewise.
29246         [C99-based-standards] (SCNuMAX): Likewise.
29247         [C99-based-standards] (SCNxMAX): Likewise.
29248         [C99-based-standards] (PRIdPTR): Likewise.
29249         [C99-based-standards] (PRIiPTR): Likewise.
29250         [C99-based-standards] (PRIoPTR): Likewise.
29251         [C99-based-standards] (PRIuPTR): Likewise.
29252         [C99-based-standards] (PRIxPTR): Likewise.
29253         [C99-based-standards] (PRIXPTR): Likewise.
29254         [C99-based-standards] (SCNdPTR): Likewise.
29255         [C99-based-standards] (SCNiPTR): Likewise.
29256         [C99-based-standards] (SCNoPTR): Likewise.
29257         [C99-based-standards] (SCNuPTR): Likewise.
29258         [C99-based-standards] (SCNxPTR): Likewise.
29259         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29260         allow.
29261         * conform/data/stdint.h-data: Update comments to clarify
29262         requirements.
29263         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
29264         type.
29265         [C99-based standards] (INT8_MAX): Likewise.
29266         [C99-based standards] (INT16_MIN): Likewise.
29267         [C99-based standards] (INT16_MAX): Likewise.
29268         [C99-based standards] (INT32_MIN): Likewise.
29269         [C99-based standards] (INT32_MAX): Likewise.
29270         [C99-based standards] (INT64_MIN): Likewise.
29271         [C99-based standards] (INT64_MAX): Likewise.
29272         [C99-based standards] (UINT8_MAX): Likewise.
29273         [C99-based standards] (UINT16_MAX): Likewise.
29274         [C99-based standards] (UINT32_MAX): Likewise.
29275         [C99-based standards] (UINT64_MAX): Likewise.
29276         [C99-based standards] (INT_LEAST8_MIN): Likewise.
29277         [C99-based standards] (INT_LEAST8_MAX): Likewise.
29278         [C99-based standards] (INT_LEAST16_MIN): Likewise.
29279         [C99-based standards] (INT_LEAST16_MAX): Likewise.
29280         [C99-based standards] (INT_LEAST32_MIN): Likewise.
29281         [C99-based standards] (INT_LEAST32_MAX): Likewise.
29282         [C99-based standards] (INT_LEAST64_MIN): Likewise.
29283         [C99-based standards] (INT_LEAST64_MAX): Likewise.
29284         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29285         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29286         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29287         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29288         [C99-based standards] (INT_FAST8_MIN): Likewise.
29289         [C99-based standards] (INT_FAST8_MAX): Likewise.
29290         [C99-based standards] (INT_FAST16_MIN): Likewise.
29291         [C99-based standards] (INT_FAST16_MAX): Likewise.
29292         [C99-based standards] (INT_FAST32_MIN): Likewise.
29293         [C99-based standards] (INT_FAST32_MAX): Likewise.
29294         [C99-based standards] (INT_FAST64_MIN): Likewise.
29295         [C99-based standards] (INT_FAST64_MAX): Likewise.
29296         [C99-based standards] (UINT_FAST8_MAX): Likewise.
29297         [C99-based standards] (UINT_FAST16_MAX): Likewise.
29298         [C99-based standards] (UINT_FAST32_MAX): Likewise.
29299         [C99-based standards] (UINT_FAST64_MAX): Likewise.
29300         [C99-based standards] (INTPTR_MIN): Likewise.
29301         [C99-based standards] (INTPTR_MAX): Likewise.
29302         [C99-based standards] (UINTPTR_MAX): Likewise.
29303         [C99-based standards] (INTMAX_MIN): Likewise.
29304         [C99-based standards] (INTMAX_MAX): Likewise.
29305         [C99-based standards] (UINTMAX_MAX): Likewise.
29306         [C99-based standards] (PTRDIFF_MIN): Likewise.
29307         [C99-based standards] (PTRDIFF_MAX): Likewise.
29308         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29309         [C99-based standards] (SIZE_MAX): Likewise.
29310         [C99-based standards] (WCHAR_MAX): Likewise.
29311         [C99-based standards] (WINT_MAX): Likewise.
29312         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
29313         constraint on value.
29314         [C99-based standards] (WCHAR_MIN): Likewise.
29315         [C99-based standards] (WINT_MIN): Likewise.
29316         [C99-based standards] (*_t): Allow.
29317         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29318         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29319         Include math.h-data and complex.h-data.  Remove all expectations
29320         of math.h and complex.h contents.
29321         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29322         at end of line.
29323         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29324         (struct tm): Expect tag.
29325         [C99-based-standards] (wcstof): Expect function.
29326         [C99-based-standards] (wcstold): Likewise.
29327         [C99-based-standards] (wcstoll): Likewise.
29328         [C99-based-standards] (wcstoull): Likewise.
29329         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29330         macro-int-constant.  Specify type.
29331         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
29332         constraint on value.
29333         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29334         Specify type.
29335         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29336         Specify value.
29337         [ISO C standards]: Do not allow headers.
29338         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29339         wcs[abcdefghijklmnopqrstuvwxyz]*.
29340         [ISO C standards] (*_t): Do not allow.
29341         * conform/data/wctype.h-data [C99-based standards] (iswblank):
29342         Expect function.
29343         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29344         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29345         Specify type.
29346         [ISO C standards]: Do not allow headers.
29347         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29348         is[abcdefghijklmnopqrstuvwxyz]*.
29349         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29350         to[abcdefghijklmnopqrstuvwxyz]*.
29351         [ISO C standards] (*_t): Do not allow.
29352         * conform/data/stdalign.h-data: New file.
29353         * conform/data/stdbool.h-data: Likewise.
29354         * conform/data/stdnoreturn.h-data: Likewise.
29355
29356 2012-11-07  Roland McGrath  <roland@hack.frob.com>
29357
29358         [BZ #14815]
29359         * manual/filesys.texi (Directory Entries): Typo fix.
29360         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29361
29362 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29363
29364         * elf/elf.h (EM_AARCH64): New macro.
29365         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29366         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29367         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29368         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29369         (R_AARCH64_TLSDESC): Likewise.
29370         (NT_ARM_TLS): Likewise.
29371         (NT_ARM_HW_BREAK): Likewise.
29372         (NT_ARM_HW_WATCH): Likewise.
29373
29374 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29375
29376         [BZ #14811]
29377         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29378         (__ieee754_powl): Saturate nonzero exponents with absolute value
29379         below 0x1p-79 to +/- 0x1p-79.
29380         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29381         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29382         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29383         nonzero exponents with absolute value below 0x1p-32 to +/-
29384         0x1p-32.
29385         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29386         (__ieee754_powl): Saturate nonzero exponents with absolute value
29387         below 0x1p-79 to +/- 0x1p-79.
29388         * math/libm-test.inc (pow_test): Add more tests.
29389
29390 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29391
29392         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29393         _dl_s390_cap_flags with kernel. Increase string length.
29394         (_dl_s390_platforms): Add z196 and zEC12.
29395
29396 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29397
29398         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29399         Change XOPEN21K to XOPEN2K.
29400
29401 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29402
29403         * string/memmove.c: Use memcpy when possible.
29404
29405 2012-11-06  Andreas Jaeger  <aj@suse.de>
29406
29407         * po/eo.po: Update from translation team.
29408
29409 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29410
29411         [BZ #14793]
29412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29413         exponent and small x and y exponents, scale x or y up.  Increase
29414         by 2 the exponent used in scaling up.
29415         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29416         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29417         * math/libm-test.inc (fma_test): Add more tests.
29418         (fma_test_towardzero): Likewise.
29419         (fma_test_downward): Likewise.
29420         (fma_test_upward): Likewise.
29421
29422 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29423
29424         [BZ #14805]
29425         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29426         fenv_t *.
29427
29428         [BZ #14801]
29429         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29430         namespace for names of struct fields.
29431         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29432         fenv_t fields.
29433         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29434         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29435
29436 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29437
29438         [BZ #3665]
29439         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29440
29441 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29442
29443         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29444         PTR_DEMANGLE.
29445
29446         [BZ #5246]
29447         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29448         PTR_DEMANGLE.
29449
29450 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29451
29452         [BZ #14797]
29453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29454         definitely overflow as x * y not x * y + z.
29455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29457         * math/libm-test.inc (fma_test): Add more tests.
29458         (fma_test_towardzero): Likewise.
29459         (fma_test_downward): Likewise.
29460         (fma_test_upward): Likewise.
29461
29462 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29463
29464         [BZ #157]
29465
29466         * include/stub-tag.h: Remove file.
29467         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29468         '#include' of it.
29469         * manual/maint.texi (Porting): Don't reference it.
29470         * Makerules ($(objpfx)stubs): Likewise.
29471         * dirent/closedir.c: Don't include <stub-tag.h>.
29472         * dirent/dirfd.c: Likewise.
29473         * dirent/fdopendir.c: Likewise.
29474         * dirent/getdents.c: Likewise.
29475         * dirent/getdents64.c: Likewise.
29476         * dirent/opendir.c: Likewise.
29477         * dirent/readdir.c: Likewise.
29478         * dirent/readdir64.c: Likewise.
29479         * dirent/readdir64_r.c: Likewise.
29480         * dirent/readdir_r.c: Likewise.
29481         * dirent/rewinddir.c: Likewise.
29482         * dirent/seekdir.c: Likewise.
29483         * dirent/telldir.c: Likewise.
29484         * gmon/profil.c: Likewise.
29485         * grp/setgroups.c: Likewise.
29486         * inet/if_index.c: Likewise.
29487         * io/access.c: Likewise.
29488         * io/chdir.c: Likewise.
29489         * io/chmod.c: Likewise.
29490         * io/chown.c: Likewise.
29491         * io/close.c: Likewise.
29492         * io/dup.c: Likewise.
29493         * io/dup2.c: Likewise.
29494         * io/dup3.c: Likewise.
29495         * io/euidaccess.c: Likewise.
29496         * io/faccessat.c: Likewise.
29497         * io/fchdir.c: Likewise.
29498         * io/fchmod.c: Likewise.
29499         * io/fchmodat.c: Likewise.
29500         * io/fchown.c: Likewise.
29501         * io/fchownat.c: Likewise.
29502         * io/fcntl.c: Likewise.
29503         * io/flock.c: Likewise.
29504         * io/fstatfs.c: Likewise.
29505         * io/fstatfs64.c: Likewise.
29506         * io/fstatvfs.c: Likewise.
29507         * io/fstatvfs64.c: Likewise.
29508         * io/futimens.c: Likewise.
29509         * io/fxstat.c: Likewise.
29510         * io/fxstat64.c: Likewise.
29511         * io/fxstatat.c: Likewise.
29512         * io/fxstatat64.c: Likewise.
29513         * io/getcwd.c: Likewise.
29514         * io/isatty.c: Likewise.
29515         * io/lchmod.c: Likewise.
29516         * io/lchown.c: Likewise.
29517         * io/link.c: Likewise.
29518         * io/linkat.c: Likewise.
29519         * io/lseek.c: Likewise.
29520         * io/lseek64.c: Likewise.
29521         * io/lxstat64.c: Likewise.
29522         * io/mkdir.c: Likewise.
29523         * io/mkdirat.c: Likewise.
29524         * io/mkfifo.c: Likewise.
29525         * io/mkfifoat.c: Likewise.
29526         * io/open.c: Likewise.
29527         * io/open64.c: Likewise.
29528         * io/openat.c: Likewise.
29529         * io/openat64.c: Likewise.
29530         * io/pipe.c: Likewise.
29531         * io/pipe2.c: Likewise.
29532         * io/poll.c: Likewise.
29533         * io/posix_fadvise.c: Likewise.
29534         * io/posix_fadvise64.c: Likewise.
29535         * io/posix_fallocate.c: Likewise.
29536         * io/posix_fallocate64.c: Likewise.
29537         * io/read.c: Likewise.
29538         * io/readlink.c: Likewise.
29539         * io/readlinkat.c: Likewise.
29540         * io/rmdir.c: Likewise.
29541         * io/sendfile.c: Likewise.
29542         * io/sendfile64.c: Likewise.
29543         * io/statfs.c: Likewise.
29544         * io/statfs64.c: Likewise.
29545         * io/statvfs.c: Likewise.
29546         * io/statvfs64.c: Likewise.
29547         * io/symlink.c: Likewise.
29548         * io/symlinkat.c: Likewise.
29549         * io/ttyname.c: Likewise.
29550         * io/ttyname_r.c: Likewise.
29551         * io/umask.c: Likewise.
29552         * io/unlink.c: Likewise.
29553         * io/unlinkat.c: Likewise.
29554         * io/utime.c: Likewise.
29555         * io/utimensat.c: Likewise.
29556         * io/write.c: Likewise.
29557         * io/xmknod.c: Likewise.
29558         * io/xmknodat.c: Likewise.
29559         * io/xstat.c: Likewise.
29560         * io/xstat64.c: Likewise.
29561         * login/getpt.c: Likewise.
29562         * login/grantpt.c: Likewise.
29563         * login/unlockpt.c: Likewise.
29564         * math/e_acoshl.c: Likewise.
29565         * math/e_acosl.c: Likewise.
29566         * math/e_asinl.c: Likewise.
29567         * math/e_atan2l.c: Likewise.
29568         * math/e_atanhl.c: Likewise.
29569         * math/e_coshl.c: Likewise.
29570         * math/e_expl.c: Likewise.
29571         * math/e_fmodl.c: Likewise.
29572         * math/e_gammal_r.c: Likewise.
29573         * math/e_hypotl.c: Likewise.
29574         * math/e_j0l.c: Likewise.
29575         * math/e_j1l.c: Likewise.
29576         * math/e_jnl.c: Likewise.
29577         * math/e_lgammal_r.c: Likewise.
29578         * math/e_log10l.c: Likewise.
29579         * math/e_log2l.c: Likewise.
29580         * math/e_logl.c: Likewise.
29581         * math/e_powl.c: Likewise.
29582         * math/e_rem_pio2l.c: Likewise.
29583         * math/e_sinhl.c: Likewise.
29584         * math/e_sqrtl.c: Likewise.
29585         * math/fclrexcpt.c: Likewise.
29586         * math/fedisblxcpt.c: Likewise.
29587         * math/feenablxcpt.c: Likewise.
29588         * math/fegetenv.c: Likewise.
29589         * math/fegetexcept.c: Likewise.
29590         * math/fegetround.c: Likewise.
29591         * math/feholdexcpt.c: Likewise.
29592         * math/fesetenv.c: Likewise.
29593         * math/fesetround.c: Likewise.
29594         * math/feupdateenv.c: Likewise.
29595         * math/fgetexcptflg.c: Likewise.
29596         * math/fraiseexcpt.c: Likewise.
29597         * math/fsetexcptflg.c: Likewise.
29598         * math/ftestexcept.c: Likewise.
29599         * math/k_cosl.c: Likewise.
29600         * math/k_rem_pio2l.c: Likewise.
29601         * math/k_sinl.c: Likewise.
29602         * math/k_tanl.c: Likewise.
29603         * math/s_asinhl.c: Likewise.
29604         * math/s_atanl.c: Likewise.
29605         * math/s_cbrtl.c: Likewise.
29606         * math/s_erfl.c: Likewise.
29607         * math/s_expm1l.c: Likewise.
29608         * math/s_log1pl.c: Likewise.
29609         * math/s_tanhl.c: Likewise.
29610         * misc/acct.c: Likewise.
29611         * misc/brk.c: Likewise.
29612         * misc/chflags.c: Likewise.
29613         * misc/chroot.c: Likewise.
29614         * misc/fchflags.c: Likewise.
29615         * misc/fgetxattr.c: Likewise.
29616         * misc/flistxattr.c: Likewise.
29617         * misc/fremovexattr.c: Likewise.
29618         * misc/fsetxattr.c: Likewise.
29619         * misc/fsync.c: Likewise.
29620         * misc/ftruncate.c: Likewise.
29621         * misc/futimes.c: Likewise.
29622         * misc/futimesat.c: Likewise.
29623         * misc/getdomain.c: Likewise.
29624         * misc/getdtsz.c: Likewise.
29625         * misc/gethostid.c: Likewise.
29626         * misc/gethostname.c: Likewise.
29627         * misc/getloadavg.c: Likewise.
29628         * misc/getpagesize.c: Likewise.
29629         * misc/getsysstats.c: Likewise.
29630         * misc/getxattr.c: Likewise.
29631         * misc/gtty.c: Likewise.
29632         * misc/ioctl.c: Likewise.
29633         * misc/lgetxattr.c: Likewise.
29634         * misc/listxattr.c: Likewise.
29635         * misc/llistxattr.c: Likewise.
29636         * misc/lremovexattr.c: Likewise.
29637         * misc/lsetxattr.c: Likewise.
29638         * misc/lutimes.c: Likewise.
29639         * misc/madvise.c: Likewise.
29640         * misc/mincore.c: Likewise.
29641         * misc/mlock.c: Likewise.
29642         * misc/mlockall.c: Likewise.
29643         * misc/mmap.c: Likewise.
29644         * misc/mprotect.c: Likewise.
29645         * misc/msync.c: Likewise.
29646         * misc/munlock.c: Likewise.
29647         * misc/munlockall.c: Likewise.
29648         * misc/munmap.c: Likewise.
29649         * misc/preadv.c: Likewise.
29650         * misc/preadv64.c: Likewise.
29651         * misc/ptrace.c: Likewise.
29652         * misc/pwritev.c: Likewise.
29653         * misc/pwritev64.c: Likewise.
29654         * misc/readv.c: Likewise.
29655         * misc/reboot.c: Likewise.
29656         * misc/remap_file_pages.c: Likewise.
29657         * misc/removexattr.c: Likewise.
29658         * misc/revoke.c: Likewise.
29659         * misc/select.c: Likewise.
29660         * misc/setdomain.c: Likewise.
29661         * misc/setegid.c: Likewise.
29662         * misc/seteuid.c: Likewise.
29663         * misc/sethostid.c: Likewise.
29664         * misc/sethostname.c: Likewise.
29665         * misc/setregid.c: Likewise.
29666         * misc/setreuid.c: Likewise.
29667         * misc/setxattr.c: Likewise.
29668         * misc/sstk.c: Likewise.
29669         * misc/stty.c: Likewise.
29670         * misc/swapoff.c: Likewise.
29671         * misc/swapon.c: Likewise.
29672         * misc/sync.c: Likewise.
29673         * misc/syncfs.c: Likewise.
29674         * misc/syscall.c: Likewise.
29675         * misc/truncate.c: Likewise.
29676         * misc/ualarm.c: Likewise.
29677         * misc/usleep.c: Likewise.
29678         * misc/ustat.c: Likewise.
29679         * misc/utimes.c: Likewise.
29680         * misc/vhangup.c: Likewise.
29681         * misc/writev.c: Likewise.
29682         * posix/_exit.c: Likewise.
29683         * posix/alarm.c: Likewise.
29684         * posix/execve.c: Likewise.
29685         * posix/fexecve.c: Likewise.
29686         * posix/fork.c: Likewise.
29687         * posix/fpathconf.c: Likewise.
29688         * posix/getaddrinfo.c: Likewise.
29689         * posix/getegid.c: Likewise.
29690         * posix/geteuid.c: Likewise.
29691         * posix/getgid.c: Likewise.
29692         * posix/getgroups.c: Likewise.
29693         * posix/getlogin.c: Likewise.
29694         * posix/getlogin_r.c: Likewise.
29695         * posix/getpgid.c: Likewise.
29696         * posix/getpid.c: Likewise.
29697         * posix/getppid.c: Likewise.
29698         * posix/getresgid.c: Likewise.
29699         * posix/getresuid.c: Likewise.
29700         * posix/getsid.c: Likewise.
29701         * posix/getuid.c: Likewise.
29702         * posix/glob64.c: Likewise.
29703         * posix/nanosleep.c: Likewise.
29704         * posix/pathconf.c: Likewise.
29705         * posix/pause.c: Likewise.
29706         * posix/posix_madvise.c: Likewise.
29707         * posix/pread.c: Likewise.
29708         * posix/pread64.c: Likewise.
29709         * posix/pwrite.c: Likewise.
29710         * posix/pwrite64.c: Likewise.
29711         * posix/sched_getaffinity.c: Likewise.
29712         * posix/sched_getp.c: Likewise.
29713         * posix/sched_gets.c: Likewise.
29714         * posix/sched_primax.c: Likewise.
29715         * posix/sched_primin.c: Likewise.
29716         * posix/sched_rr_gi.c: Likewise.
29717         * posix/sched_setaffinity.c: Likewise.
29718         * posix/sched_setp.c: Likewise.
29719         * posix/sched_sets.c: Likewise.
29720         * posix/sched_yield.c: Likewise.
29721         * posix/setgid.c: Likewise.
29722         * posix/setlogin.c: Likewise.
29723         * posix/setpgid.c: Likewise.
29724         * posix/setresgid.c: Likewise.
29725         * posix/setresuid.c: Likewise.
29726         * posix/setsid.c: Likewise.
29727         * posix/setuid.c: Likewise.
29728         * posix/sleep.c: Likewise.
29729         * posix/spawni.c: Likewise.
29730         * posix/sysconf.c: Likewise.
29731         * posix/times.c: Likewise.
29732         * posix/wait.c: Likewise.
29733         * posix/wait3.c: Likewise.
29734         * posix/wait4.c: Likewise.
29735         * posix/waitpid.c: Likewise.
29736         * resolv/gai_sigqueue.c: Likewise.
29737         * resource/getpriority.c: Likewise.
29738         * resource/getrlimit.c: Likewise.
29739         * resource/getrusage.c: Likewise.
29740         * resource/nice.c: Likewise.
29741         * resource/setpriority.c: Likewise.
29742         * resource/setrlimit.c: Likewise.
29743         * resource/ulimit.c: Likewise.
29744         * rt/aio_cancel.c: Likewise.
29745         * rt/aio_fsync.c: Likewise.
29746         * rt/aio_read.c: Likewise.
29747         * rt/aio_sigqueue.c: Likewise.
29748         * rt/aio_suspend.c: Likewise.
29749         * rt/aio_write.c: Likewise.
29750         * rt/clock_getres.c: Likewise.
29751         * rt/clock_gettime.c: Likewise.
29752         * rt/clock_nanosleep.c: Likewise.
29753         * rt/clock_settime.c: Likewise.
29754         * rt/lio_listio.c: Likewise.
29755         * rt/mq_close.c: Likewise.
29756         * rt/mq_getattr.c: Likewise.
29757         * rt/mq_notify.c: Likewise.
29758         * rt/mq_open.c: Likewise.
29759         * rt/mq_receive.c: Likewise.
29760         * rt/mq_send.c: Likewise.
29761         * rt/mq_setattr.c: Likewise.
29762         * rt/mq_timedreceive.c: Likewise.
29763         * rt/mq_timedsend.c: Likewise.
29764         * rt/mq_unlink.c: Likewise.
29765         * rt/shm_open.c: Likewise.
29766         * rt/shm_unlink.c: Likewise.
29767         * rt/timer_create.c: Likewise.
29768         * rt/timer_delete.c: Likewise.
29769         * rt/timer_getoverr.c: Likewise.
29770         * rt/timer_gettime.c: Likewise.
29771         * rt/timer_settime.c: Likewise.
29772         * setjmp/__longjmp.c: Likewise.
29773         * setjmp/setjmp.c: Likewise.
29774         * signal/kill.c: Likewise.
29775         * signal/killpg.c: Likewise.
29776         * signal/raise.c: Likewise.
29777         * signal/sigaction.c: Likewise.
29778         * signal/sigaltstack.c: Likewise.
29779         * signal/sigblock.c: Likewise.
29780         * signal/sigignore.c: Likewise.
29781         * signal/sigintr.c: Likewise.
29782         * signal/signal.c: Likewise.
29783         * signal/sigpause.c: Likewise.
29784         * signal/sigpending.c: Likewise.
29785         * signal/sigqueue.c: Likewise.
29786         * signal/sigreturn.c: Likewise.
29787         * signal/sigset.c: Likewise.
29788         * signal/sigsetmask.c: Likewise.
29789         * signal/sigstack.c: Likewise.
29790         * signal/sigsuspend.c: Likewise.
29791         * signal/sigtimedwait.c: Likewise.
29792         * signal/sigvec.c: Likewise.
29793         * signal/sigwait.c: Likewise.
29794         * signal/sigwaitinfo.c: Likewise.
29795         * signal/sysv_signal.c: Likewise.
29796         * socket/accept.c: Likewise.
29797         * socket/accept4.c: Likewise.
29798         * socket/bind.c: Likewise.
29799         * socket/connect.c: Likewise.
29800         * socket/getpeername.c: Likewise.
29801         * socket/getsockname.c: Likewise.
29802         * socket/getsockopt.c: Likewise.
29803         * socket/isfdtype.c: Likewise.
29804         * socket/listen.c: Likewise.
29805         * socket/recv.c: Likewise.
29806         * socket/recvfrom.c: Likewise.
29807         * socket/recvmsg.c: Likewise.
29808         * socket/send.c: Likewise.
29809         * socket/sendmsg.c: Likewise.
29810         * socket/sendto.c: Likewise.
29811         * socket/setsockopt.c: Likewise.
29812         * socket/shutdown.c: Likewise.
29813         * socket/sockatmark.c: Likewise.
29814         * socket/socket.c: Likewise.
29815         * socket/socketpair.c: Likewise.
29816         * stdio-common/ctermid.c: Likewise.
29817         * stdio-common/cuserid.c: Likewise.
29818         * stdio-common/remove.c: Likewise.
29819         * stdio-common/rename.c: Likewise.
29820         * stdio-common/renameat.c: Likewise.
29821         * stdio-common/tempname.c: Likewise.
29822         * stdlib/getcontext.c: Likewise.
29823         * stdlib/makecontext.c: Likewise.
29824         * stdlib/setcontext.c: Likewise.
29825         * stdlib/swapcontext.c: Likewise.
29826         * stdlib/system.c: Likewise.
29827         * streams/fattach.c: Likewise.
29828         * streams/fdetach.c: Likewise.
29829         * streams/getmsg.c: Likewise.
29830         * streams/getpmsg.c: Likewise.
29831         * streams/putmsg.c: Likewise.
29832         * streams/putpmsg.c: Likewise.
29833         * sysdeps/unix/bsd/getpt.c: Likewise.
29834         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29835         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29836         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29838         Likewise.
29839         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29840         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29841         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29842         * sysvipc/msgctl.c: Likewise.
29843         * sysvipc/msgget.c: Likewise.
29844         * sysvipc/msgrcv.c: Likewise.
29845         * sysvipc/msgsnd.c: Likewise.
29846         * sysvipc/semctl.c: Likewise.
29847         * sysvipc/semget.c: Likewise.
29848         * sysvipc/semop.c: Likewise.
29849         * sysvipc/semtimedop.c: Likewise.
29850         * sysvipc/shmat.c: Likewise.
29851         * sysvipc/shmctl.c: Likewise.
29852         * sysvipc/shmdt.c: Likewise.
29853         * sysvipc/shmget.c: Likewise.
29854         * termios/tcdrain.c: Likewise.
29855         * termios/tcflow.c: Likewise.
29856         * termios/tcflush.c: Likewise.
29857         * termios/tcgetattr.c: Likewise.
29858         * termios/tcgetpgrp.c: Likewise.
29859         * termios/tcsendbrk.c: Likewise.
29860         * termios/tcsetattr.c: Likewise.
29861         * termios/tcsetpgrp.c: Likewise.
29862         * time/adjtime.c: Likewise.
29863         * time/clock.c: Likewise.
29864         * time/getitimer.c: Likewise.
29865         * time/gettimeofday.c: Likewise.
29866         * time/setitimer.c: Likewise.
29867         * time/settimeofday.c: Likewise.
29868         * time/stime.c: Likewise.
29869         * time/time.c: Likewise.
29870
29871 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29872
29873         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29874         /usr/old/bin.
29875
29876         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29877         instead of spaces.
29878         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29879
29880 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29881
29882         [BZ #14796]
29883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29884         FE_TONEAREST before applying Dekker multiplication and Knuth
29885         addition.  Clear inexact exceptions and check for exact zero
29886         results afterwards.
29887         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29888         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29889         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29890         * math/libm-test.inc (fma_test): Add more tests.
29891         (fma_test_towardzero): Likewise.
29892         (fma_test_downward): Likewise.
29893         (fma_test_upward): Likewise.
29894         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29895         function.
29896         (libc_fesetround): New macro.
29897         (libc_fesetroundf): Likewise.
29898         (libc_fesetroundl): Likewise.
29899         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29900         function.
29901         (libc_fesetround_387): Likewise.
29902         (libc_fesetroundf): New macro.
29903         (libc_fesetround): Likewise.
29904         (libc_fesetroundl): Likewise.
29905         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29906         function.
29907         (libc_fesetroundf): New macro.
29908         (libc_fesetround): Likewise.
29909         (libc_fesetroundl): Likewise.
29910         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29911         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29912         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29913         libm_hidden_ver.
29914         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29915         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29916         libm_hidden_def.
29917         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29918         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29919         libm_hidden_ver.
29920         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29921         libm_hidden_def.
29922
29923         [BZ #3439]
29924         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29925         integer constant usable in #if and use that to give value to enum
29926         constant.
29927         (FE_DIVBYZERO): Likewise.
29928         (FE_UNDERFLOW): Likewise.
29929         (FE_OVERFLOW): Likewise.
29930         (FE_INVALID): Likewise.
29931         (FE_INVALID_SNAN): Likewise.
29932         (FE_INVALID_ISI): Likewise.
29933         (FE_INVALID_IDI): Likewise.
29934         (FE_INVALID_ZDZ): Likewise.
29935         (FE_INVALID_IMZ): Likewise.
29936         (FE_INVALID_COMPARE): Likewise.
29937         (FE_INVALID_SOFTWARE): Likewise.
29938         (FE_INVALID_SQRT): Likewise.
29939         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29940         (FE_TONEAREST): Likewise.
29941         (FE_TOWARDZERO): Likewise.
29942         (FE_UPWARD): Likewise.
29943         (FE_DOWNWARD): Likewise.
29944         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29945         (FE_DIVBYZERO): Likewise.
29946         (FE_OVERFLOW): Likewise.
29947         (FE_UNDERFLOW): Likewise.
29948         (FE_INEXACT): Likewise.
29949         (FE_TONEAREST): Likewise.
29950         (FE_DOWNWARD): Likewise.
29951         (FE_UPWARD): Likewise.
29952         (FE_TOWARDZERO): Likewise.
29953         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29954         (FE_UNDERFLOW): Likewise.
29955         (FE_OVERFLOW): Likewise.
29956         (FE_DIVBYZERO): Likewise.
29957         (FE_INVALID): Likewise.
29958         (FE_TONEAREST): Likewise.
29959         (FE_TOWARDZERO): Likewise.
29960         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29961         (FE_OVERFLOW): Likewise.
29962         (FE_UNDERFLOW): Likewise.
29963         (FE_DIVBYZERO): Likewise.
29964         (FE_INEXACT): Likewise.
29965         (FE_TONEAREST): Likewise.
29966         (FE_TOWARDZERO): Likewise.
29967         (FE_UPWARD): Likewise.
29968         (FE_DOWNWARD): Likewise.
29969         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29970         (FE_DIVBYZERO): Likewise.
29971         (FE_OVERFLOW): Likewise.
29972         (FE_UNDERFLOW): Likewise.
29973         (FE_INEXACT): Likewise.
29974         (FE_TONEAREST): Likewise.
29975         (FE_DOWNWARD): Likewise.
29976         (FE_UPWARD): Likewise.
29977         (FE_TOWARDZERO): Likewise.
29978
29979 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29980
29981         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29982
29983 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29984
29985         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29986         commands.  Quote $PWD.
29987         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29988         -x" by "export".
29989         (remove_newlines): Remove.
29990
29991 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29992
29993         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29994         * stdlib/stdlib.h (atof): Moved to ...
29995         * include/bits/stdlib-float.h: Here.  New file.
29996         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29997         * stdlib/bits/stdlib-float.h: New file.
29998         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29999         -mno-sse -mno-mmx.
30000         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30001         <xmmintrin.h>.
30002
30003 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30004
30005         * conform/conformtest.pl (@headers): Add fenv.h.
30006         * conform/data/fenv.h-data: New file.
30007         * include/fenv.h [_ISOMAC]: Disable all contents of file except
30008         include of <math/fenv.h>.
30009
30010         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30011         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30012         && !UNIX98].  Enables tests for XOPEN2K8.
30013         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30014         POSIX2008]: Likewise.
30015
30016         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30017         (struct rusage): Do not expect type or its members.
30018
30019         [BZ #3439]
30020         * math/math.h (FP_NAN): Define macro to integer constant usable in
30021         #if and use that to give value to enum constant.
30022         (FP_INFINITE): Likewise.
30023         (FP_ZERO): Likewise.
30024         (FP_SUBNORMAL): Likewise.
30025         (FP_NORMAL): Likewise.
30026
30027 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
30028
30029         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30030         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30031         arguments.
30032
30033 2012-11-02  Roland McGrath  <roland@hack.frob.com>
30034
30035         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30036         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30037         autoconf-time if not.
30038         * configure.in: Remove AC_PREREQ.
30039
30040 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30041
30042         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30043         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30044         of the internal implementation.
30045
30046 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30047
30048         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30049         except include of <misc/sys/syslog.h>.
30050
30051 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30052
30053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30054         function returns with a NULL context exit with zero.
30055
30056 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30057
30058         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30059
30060 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
30061
30062         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30063         (run_program_cmd): This.
30064         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30065         (tst_langinfo): New variable.  Use it.
30066
30067 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
30068
30069         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30070         floating point opcodes.
30071
30072 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30073
30074         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30075         variable.
30076
30077         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30078
30079         * sysdeps/mach/hurd/powerpc: Remove directory.
30080         * sysdeps/mach/powerpc: Likewise.
30081
30082 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30083
30084         * scripts/check-local-headers.sh: Ignore c++ headers.
30085
30086 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30087
30088         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30089         __libc_cleanup_region_start argument.
30090
30091 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
30092
30093         [BZ #14784]
30094         [BZ #14785]
30095         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30096         x * y using scaling, not as x * y + z.
30097         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30098         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30099         * math/libm-test.inc (fma_test): Add more tests.
30100         (fma_test_towardzero): Likewise.
30101         (fma_test_downward): Likewise.
30102         (fma_test_upward): Likewise.
30103
30104 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30105
30106         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30107
30108 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30109
30110         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30111         New variable.
30112
30113 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
30114
30115         * rt/tst-shm.c (worker): Correct checking for mmap failure.
30116
30117 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30118
30119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30120         Fix sort order.
30121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30122         Likewise.
30123
30124 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30125
30126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30127         Fix the order of the list for glibc 2.17.
30128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30129         Likewise.
30130
30131 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30132
30133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30134
30135 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30136
30137         [BZ #14610]
30138         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30139         for low part of x being zero before using __atanl (y).
30140         * math/libm-test.inc (atan2_test): Add another test.
30141
30142         * manual/install.texi (Configuring and compiling): Document
30143         general use of test-wrapper and test-wrapper-env.
30144         * INSTALL: Regenerated.
30145
30146         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30147         (__fma): Do not extract and scale down low bits on after-rounding
30148         systems when result rounded to normal precision would have normal
30149         exponent.
30150         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30151         (__fmal): Do not extract and scale down low bits on after-rounding
30152         systems when result rounded to normal precision would have normal
30153         exponent.
30154         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30155         (__fmal): Do not extract and scale down low bits on after-rounding
30156         systems when result rounded to normal precision would have normal
30157         exponent.
30158         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30159         macro.
30160         (fma_test): Add more tests.
30161         (fma_test_towardzero): Likewise.
30162         (fma_test_downward): Likewise.
30163         (fma_test_upward): Likewise.
30164
30165 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
30166
30167         * sysdeps/i386/tininess.h: Renamed to ...
30168         * sysdeps/x86/tininess.h: This.
30169         * sysdeps/x86_64/tininess.h: Removed.
30170
30171 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30172
30173         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30174         input.  Use $(build-program-cmd).
30175         ($(objpfx)tst-array1-static.out): Likewise.
30176         ($(objpfx)tst-array2.out): Likewise.
30177         ($(objpfx)tst-array3.out): Likewise.
30178         ($(objpfx)tst-array4.out): Likewise.
30179         ($(objpfx)tst-array5.out): Likewise.
30180         ($(objpfx)tst-array5-static.out): Likewise.
30181
30182 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
30183
30184         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30185         if defined.
30186
30187         * nss/nsswitch.h (nss_interface_function): Provide new
30188         macro for use with NSS functions.
30189         * grp/initgroups.c: Use new macro.
30190         * nss/getXXbyYY.c: Likewise.
30191         * nss/getXXbyYY_r.c: Likewise.
30192         * nss/getXXent.c: Likewise.
30193         * nss/getXXent_r.c: Likewise.
30194         * sysdeps/posix/getaddrinfo.c: Likewise.
30195
30196 2012-10-30  Andreas Jaeger  <aj@suse.de>
30197
30198         * po/ru.po: Update Russion translation from translation project.
30199
30200 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30201
30202         [BZ #14152]
30203         [BZ #14783]
30204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30205         result and shift together with sticky bit instead of replicating
30206         round-to-nearest rounding.
30207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30208         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30209         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
30210         missing underflow exceptions.
30211         (fma_test_towardzero): Add more tests.
30212         (fma_test_downward): Likewise.
30213         (fma_test_upward): Likewise.
30214
30215         [BZ #14047]
30216         * sysdeps/generic/tininess.h: New file.
30217         * sysdeps/i386/tininess.h: Likewise.
30218         * sysdeps/sh/tininess.h: Likewise.
30219         * sysdeps/x86_64/tininess.h: Likewise.
30220         * stdlib/tst-strtod-underflow.c: Likewise.
30221         * stdlib/tst-tininess.c: Likewise.
30222         * stdlib/strtod_l.c: Include <tininess.h>.
30223         (round_and_return): Do not set errno for exact underflow cases.
30224         Force an underflow exception when setting errno for underflow.
30225         Determine underflow based on rounding to normal precision if
30226         TININESS_AFTER_ROUNDING.
30227         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30228         ERANGE for exact underflow cases.
30229         * stdlib/Makefile (tests): Add tst-tininess and
30230         tst-strtod-underflow.
30231         ($(objpfx)tst-tininess): Use $(link-libm).
30232         ($(objpfx)tst-strtod-underflow): Likewise.
30233
30234 2012-10-30  Andreas Jaeger  <aj@suse.de>
30235
30236         [BZ#14767]
30237         * elf/Makefile (tests): Remove conditional for have-initfini-array
30238         since this is now always required and the variable does not exist
30239         anymore.
30240         (tests-static): Likewise.
30241         (modules-names): Likewise.
30242
30243         * po/eo.po: Add Esperanto translation from translation project.
30244
30245         * elf/tst-array1.c (fini_array): Make writeable so that it can be
30246         merged with constructor/destructor.
30247         (init_array): Likewise.
30248         * elf/tst-array2dep.c (fini_array): Likewise.
30249         (init_array): Likewise.
30250
30251 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
30252
30253         * manual/message.texi: Delete @cartouche tags.
30254
30255 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
30256
30257         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30258         EOPNOTSUPP.
30259         * sysdeps/mach/hurd/fsync.c: Likewise.
30260
30261         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30262         [_POSIX_REALTIME_SIGNALS]: Change condition to
30263         [_POSIX_REALTIME_SIGNALS > 0].
30264
30265 2012-10-27  Andreas Jaeger  <aj@suse.de>
30266
30267         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30268         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30269         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30270         [__WORDSIZE != 64]: Likewise.
30271
30272 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
30273
30274         *  iconvdata/tst-table.sh: Remove ${SHELL}.
30275         *  iconvdata/tst-tables.sh: Likewise.
30276
30277 2012-10-25  David S. Miller  <davem@davemloft.net>
30278
30279         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30280         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30281         of strtoull.
30282
30283         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30284         ifunc-impl-list.c
30285         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30286         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30287         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30288         file.
30289
30290 2012-10-25  Roland McGrath  <roland@hack.frob.com>
30291
30292         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30293         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30294         __getdirentries.
30295
30296 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30297             Jim Blandy  <jimb@codesourcery.com>
30298
30299         * scripts/cross-test-ssh.sh: New file.
30300         * manual/install.texi (Configuring and compiling): Document use of
30301         cross-test-ssh.sh.
30302         * INSTALL: Regenerated.
30303
30304 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
30305
30306         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30307         EOPNOTSUPP.
30308
30309 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30310
30311         * Makeconfig (run-program-prefix): Fix comment.
30312
30313 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30314             Jim Blandy  <jimb@codesourcery.com>
30315
30316         * Makeconfig (test-wrapper): New variable,
30317         (test-wrapper-env): Likewise.
30318         [$(cross-compiling) = yes && $(test-wrapper) != ""]
30319         (run-built-tests): Define to yes.
30320         (run-program-prefix): Use $(test-wrapper).
30321         (built-program-cmd): Likewise.
30322         * Rules (make-test-out): Use $(test-wrapper-env) and
30323         $(host-built-program-cmd).
30324         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30325         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30326         tst-pathopt.sh.
30327         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30328         $(test-wrapper-env) to tst-rtld-load-self.sh.
30329         ($(objpfx)order2.out): Use $(test-wrapper).
30330         ($(objpfx)tst-initorder.out): Likewise.
30331         ($(objpfx)tst-initorder2.out): Likewise.
30332         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30333         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30334         (test_wrapper_env): New variable.  Use it to run ld.so.
30335         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30336         Use it to run ld.so.
30337         (test_wrapper_env): Likewise.
30338         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30339         $(test-wrapper) to run-iconv-test.sh.
30340         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30341         (ICONV): Use $test_wrapper.
30342         * posix/Makefile ($(objpfx)globtest.out): Pass
30343         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30344         globtest.sh, not $(run-program-prefix).
30345         * posix/globtest.sh (run_via_rtld_prefix): New variable.
30346         (test_wrapper): Likewise.
30347         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
30348         set together with run_via_rtld_prefix.
30349         (run_program_prefix): Define in terms of test_wrapper and
30350         run_via_rtld_prefix.
30351
30352 2012-10-24  Roland McGrath  <roland@hack.frob.com>
30353
30354         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30355         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30356         Targets removed.
30357
30358         [BZ #14743]
30359         * include/time.h: Remove librt_hidden_proto (clock_gettime).
30360         Declare __clock_getres, __clock_gettime, __clock_settime,
30361         __clock_nanosleep, and __clock_getcpuclockid.
30362         * rt/clock_gettime.c: Define __clock_gettime as an alias.
30363         Remove librt_hidden_def (clock_gettime).
30364         * sysdeps/unix/clock_gettime.c: Likewise.
30365         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30366         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30367         * rt/clock_getres.c: Define __clock_getres as an alias.
30368         * sysdeps/posix/clock_getres.c: Likewise.
30369         * rt/clock_settime.c: Define __clock_settime as an alias.
30370         * sysdeps/unix/clock_settime.c: Likewise.
30371         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30372         * sysdeps/unix/clock_nanosleep.c: Likewise.
30373         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30374         * rt/clock-compat.c: New file.
30375         * rt/Makefile (librt-routines): Add clock-compat and move
30376         $(clock-routines) to ...
30377         (routines): ... here, new variable.
30378         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30379         Don't add get_clockfreq here.
30380         * rt/Versions (libc: GLIBC_2.17): New version set.
30381         Add clock_* symbols here.
30382         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
30383         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30384         (GLIBC_2.17): Add clock_* symbols.
30385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30387         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30389         Likewise.
30390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30391         Likewise.
30392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30396         * NEWS: Mention the move.
30397
30398         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30399         Use __open, __read, __close rather than their public counterparts.
30400         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30401         (__get_clockfreq_via_cpuinfo): Likewise.
30402         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30403         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30404
30405         * config.h.in (HAVE_IFUNC): New #undef.
30406         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30407         was successful.
30408         * configure: Regenerated.
30409
30410 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30411
30412         * configure.in: Move READELF check to start of file.
30413         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30414         libc_cv_asm_gnu_indirect_function in the process.
30415         * configure: Regenerated.
30416
30417 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30418
30419         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30420         send the output to /dev/null.
30421         (libc_cv_cc_with_libunwind): Likewise.
30422         (libc_cv_as_noexecstack): Likewise.
30423         * configure: Regenerate.
30424
30425 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30426
30427         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30428
30429         * posix/globtest.sh (TMPDIR): Do not set.
30430         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30431         (testout): Likewise.
30432
30433 2012-10-24  Andreas Jaeger  <aj@suse.de>
30434
30435         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30436         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30437         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30438         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30439         posix_fadvise64, posix_fallocate64.
30440
30441         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30442         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30443         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30444         Likewise.
30445         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30446         Likewise.
30447         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30448
30449         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30450         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30451         <bits/fcntl-linux.h>.
30452         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30453
30454         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30455         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30456         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30457         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30458         [__WORDSIZE != 64]: Likewise.
30459
30460 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30461
30462         * Makeconfig (run-built-tests): New variable.
30463         * Rules [$(cross-compiling) = yes]: Change condition to
30464         [$(run-built-tests) = no].
30465         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30466         to [$(run-built-tests) = yes].
30467         * elf/Makefile [$(cross-compiling) = no]: Likewise
30468         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30469         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30470         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30471         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30472         * io/Makefile [$(cross-compiling) = no]: Likewise.
30473         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30474         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30475         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30476         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30477         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30478         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30479         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30480         * string/Makefile [$(cross-compiling) = no]: Likewise.
30481
30482         * posix/Makefile ($(objpfx)globtest.out): Pass
30483         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30484         $(rtld-installed-name).
30485         * posix/globtest.sh (elf_objpfx): Remove variable.
30486         (rtld_installed_name): Likewise.
30487         (library_path): Likewise.
30488         (run_program_prefix): New variable.  Use for running globtest
30489         binary.
30490
30491 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30492             Joseph Myers  <joseph@codesourcery.com>
30493
30494         * Makeconfig (host-built-program-cmd): New variable.
30495         * elf/Makefile (tst-stackguard1-ARGS): Use
30496         $(host-built-program-cmd).
30497         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30498         (tst-spawn-ARGS): Likewise.
30499         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30500
30501 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30502             Jim Blandy  <jimb@codesourcery.com>
30503
30504         * Makeconfig (run-via-rtld-prefix): New variable.
30505         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30506         (built-program-cmd): Likewise.
30507
30508 2012-10-22  Andreas Jaeger  <aj@suse.de>
30509
30510         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30511         __O_RSYNC if it exists, otherwise to O_SYNC.
30512
30513 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30514             Joseph Myers  <joseph@codesourcery.com>
30515
30516         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30517         /dev/null.
30518         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30519         from /dev/null
30520         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30521         /dev/null.
30522
30523 2012-10-22  Andreas Jaeger  <aj@suse.de>
30524
30525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30526         Define always.
30527         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30528
30529         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30530         bits/fcntl-linux.h.
30531
30532         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30533         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30534
30535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30536         to __O_LARGEFILE.
30537         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30538         to __O_LARGEFILE.
30539
30540 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30541             Joseph Myers  <joseph@codesourcery.com>
30542
30543         * config.make.in (NM): New variable.
30544
30545 2012-10-21  Andreas Jaeger  <aj@suse.de>
30546
30547         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30548         definitions and declarations that are provided by
30549         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30550
30551 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30552
30553         [BZ #14683]
30554         * elf/Makefile (tests-static): Add tst-leaks1-static.
30555         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30556         ($(objpfx)tst-leaks1-static): New rule.
30557         ($(objpfx)tst-leaks1-static-mem): Likewise.
30558         (tst-leaks1-static-ENV): New macro.
30559         * elf/dl-open.c (dl_open_worker): Check the main application
30560         only if SHARED is defined.
30561         * elf/tst-leaks1-static.c: New file.
30562
30563 2012-10-20  Andreas Jaeger  <aj@suse.de>
30564
30565         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30566         generic values for Linux.
30567         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30568         and declarations that are provided by <bits/fcntl-linux.h> and
30569         include <bits/fcntl-linux.h>.
30570         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30572
30573 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30574
30575         * io/fcntl.h: Move include of <bits/types.h> to the top and
30576         include it unconditionally.
30577
30578 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30579
30580         * wcsmbs/Makefile (tests-ifunc): New variable.
30581         (tests): Add $(tests-ifunc).
30582         * wcsmbs/test-wcschr-ifunc.c: New file.
30583         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30584         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30585         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30586         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30587         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30588
30589         * string/Makefile (tests-ifunc): New variable.
30590         (tests): Add $(tests-ifunc).
30591         * string/test-memccpy.c (TEST_NAME): New macro.
30592         * string/test-memchr.c (TEST_NAME): Likewise.
30593         * string/test-memcmp.c (TEST_NAME): Likewise.
30594         * string/test-memcpy.c (TEST_NAME): Likewise.
30595         * string/test-memmem.c (TEST_NAME): Likewise.
30596         * string/test-memmove.c (TEST_NAME): Likewise.
30597         * string/test-memset.c (TEST_NAME): Likewise.
30598         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30599         * string/test-stpcpy.c (TEST_NAME): Likewise.
30600         * string/test-stpncpy.c (TEST_NAME): Likewise.
30601         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30602         * string/test-strcasestr.c (TEST_NAME): Likewise.
30603         * string/test-strcat.c (TEST_NAME): Likewise.
30604         * string/test-strchr.c (TEST_NAME): Likewise.
30605         * string/test-strcmp.c(TEST_NAME): Likewise.
30606         * string/test-strcpy.c (TEST_NAME): Likewise.
30607         * string/test-strcspn.c (TEST_NAME): Likewise.
30608         * string/test-strlen.c (TEST_NAME): Likewise.
30609         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30610         * string/test-strncmp.c (TEST_NAME): Likewise.
30611         * string/test-strncpy.c (TEST_NAME): Likewise.
30612         * string/test-strnlen.c (TEST_NAME): Likewise.
30613         * string/test-strpbrk.c (TEST_NAME): Likewise.
30614         * string/test-strrchr.c (TEST_NAME): Likewise.
30615         * string/test-strspn.c (TEST_NAME): Likewise.
30616         * string/test-strstr.c (TEST_NAME): Likewise.
30617         * string/test-bcopy-ifunc.c: New file.
30618         * string/test-bzero-ifunc.c: Likewise.
30619         * string/test-memccpy-ifunc.c: Likewise.
30620         * string/test-memchr-ifunc.c: Likewise.
30621         * string/test-memcmp-ifunc.c: Likewise.
30622         * string/test-memcpy-ifunc.c: Likewise.
30623         * string/test-memmem-ifunc.c: Likewise.
30624         * string/test-memmove-ifunc.c: Likewise.
30625         * string/test-mempcpy-ifunc.c: Likewise.
30626         * string/test-memset-ifunc.c: Likewise.
30627         * string/test-rawmemchr-ifunc.c: Likewise.
30628         * string/test-stpcpy-ifunc.c: Likewise.
30629         * string/test-stpncpy-ifunc.c: Likewise.
30630         * string/test-strcasecmp-ifunc.c: Likewise.
30631         * string/test-strcasestr-ifunc.c: Likewise.
30632         * string/test-strcat-ifunc.c: Likewise.
30633         * string/test-strchr-ifunc.c: Likewise.
30634         * string/test-strchrnul-ifunc.c: Likewise.
30635         * string/test-strcmp-ifunc.c: Likewise.
30636         * string/test-strcpy-ifunc.c: Likewise.
30637         * string/test-strcspn-ifunc.c: Likewise.
30638         * string/test-strlen-ifunc.c: Likewise.
30639         * string/test-strncasecmp-ifunc.c: Likewise.
30640         * string/test-strncat-ifunc.c: Likewise.
30641         * string/test-strncmp-ifunc.c: Likewise.
30642         * string/test-strncpy-ifunc.c: Likewise.
30643         * string/test-strnlen-ifunc.c: Likewise.
30644         * string/test-strpbrk-ifunc.c: Likewise.
30645         * string/test-strrchr-ifunc.c: Likewise.
30646         * string/test-strspn-ifunc.c: Likewise.
30647         * string/test-strstr-ifunc.c: Likewise.
30648
30649         * debug/Makefile (tests-ifunc): New variable.
30650         (tests): Add $(tests-ifunc).
30651         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30652         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30653         * debug/test-stpcpy_chk-ifunc.c: New file.
30654         * debug/test-strcpy_chk-ifunc.c: Likewise.
30655
30656 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30657
30658         [BZ #13601]
30659         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30660         header is not read in.
30661
30662 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30663
30664         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30665         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30666         directly.  Pass built executable to script as
30667         $(built-program-cmd).
30668         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30669         $testprogram without using LD_LIBRARY_PATH and $ldso.
30670
30671         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30672         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30673         $(rtld-installed-name).
30674         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30675         (rtld_installed_name): Likewise.
30676         (library_path): Likewise.
30677         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30678         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30679         $(run-program-prefix) to tst-tables.sh.
30680         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30681         it to run tst-table-from and tst-table-to.
30682         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30683         Pass it to tst-table.sh.
30684         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30685         $(run-program-prefix) to tst-gettext.sh.
30686         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30687         tst-translit.sh.
30688         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30689         tst-gettext2.sh.
30690         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30691         to run tst-gettext.
30692         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30693         to run tst-gettext2.
30694         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30695         to run tst-translit.
30696         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30697         $(run-program-prefix) to tst-mtrace.sh.
30698         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30699         to run tst-mtrace.
30700         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30701         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30702         $(rtld-installed-name).
30703         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30704         (rtld_installed_name): Likewise.
30705         (run_program_prefix): New variable.  Use it to run wordexp-test.
30706
30707         * Makeconfig (ARCH): Remove all definitions.
30708         (machine): Likewise.
30709         [ARCH]: Remove conditional code.
30710         [!objdir]: Give error.
30711         [!objdir] (objpfx): Remove.
30712         [!objdir] (common-objpfx): Likewise.
30713         [!objdir] (common-objdir): Likewise.
30714         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30715         AC_CONFIG_FILES call.
30716         * configure: Regenerated.
30717
30718         [BZ #13888]
30719         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30720         or TMPDIR.
30721         (testout): Likewise.
30722
30723         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30724         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30725         $(rtld-installed-name).
30726         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30727         (rtld_installed_name): Likwise.
30728         (runit): Remove function.
30729         (run_getconf): New variable,  Use it for running getconf binary.
30730
30731 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30732
30733         [BZ #14716]
30734         * string/test-memmem.c (check_result): New function.
30735         (do_one_test): Use it.
30736         (check1): New function.
30737         (test_main): Use it.
30738
30739 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30740
30741         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30742
30743 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30744
30745         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30746         (_G_LSEEK64): Likewise.
30747         (_G_MMAP64): Likewise.
30748         (_G_FSTAT64): Likewise.
30749         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30750         (_G_LSEEK64): Likewise.
30751         (_G_MMAP64): Likewise.
30752         (_G_FSTAT64): Likewise.
30753         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30754         unconditional.  Call __mmap64 directly.
30755         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30756         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30757         __lseek64 directly.
30758         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30759         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30760         __mmap64 directly.
30761         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30762         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30763         __lseek64 directly.
30764         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30765         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30766         __lseek64 directly.
30767         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30768         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30769         __lseek64 directly.
30770         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30771         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30772         __fxstat64 directly.
30773         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30774         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30775         unconditional.
30776         (freopen64) [!_G_OPEN64]: Remove conditional code.
30777         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30778         unconditional.
30779         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30780         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30781         unconditional.
30782         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30783         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30784         unconditional.
30785         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30786         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30787         unconditional.
30788         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30789         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30790         unconditional.
30791         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30792         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30793         unconditional.
30794         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30795         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30796         unconditional.
30797         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30798
30799 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30800
30801         [BZ #12140]
30802         * manual/memory.texi (Malloc Tunable Parameters): Add note
30803         about free list pointers overwriting some perturb bytes.
30804         Wording suggested by Roland McGrath.
30805
30806 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30807
30808         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30809         (lgamma_test): Likewise.
30810         (tgamma_test): Likewise.
30811
30812 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30813
30814         [BZ #14700]
30815         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30816         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30817
30818 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30819
30820         * NEWS: Mention BZ #14716.
30821         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30822         when removing AVAILABLE1_USES_J macro.
30823
30824 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30825
30826         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30827         (__bswap_64): __uint64_t for unsigned 64-bit int.
30828
30829 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30830
30831         * include/string.h (memmem): Declare libc hidden alias.
30832         * string/memmem.c (memmem): Define libc hidden alias.
30833         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30834         __read, __close instead of open, read, close.
30835
30836 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30837
30838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30839         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30840         global and hidden.
30841         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30842         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30843         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30844         Likewise.
30845         (__rawmemchr_sse2): Likewise.
30846         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30847         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30848         (__strchr_sse2): Likewise.
30849         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30850         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30851         (__strcasecmp_sse2): Likewise.
30852         (__strncasecmp_sse2): Likewise.
30853         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30854         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30855         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30856         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30857         (__strrchr_sse2): Likewise.
30858         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30859         ifunc-impl-list.c.
30860         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30861         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30862         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30863         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30864         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30865         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30866         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30867         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30868         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30869         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30870         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30871         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30872         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30873         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30874         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30875         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30876         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30877         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30878         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30879         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30880         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30881         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30882         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30883         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30884         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30885         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30886         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30887         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30888         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30889         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30890
30891         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30892         global and hidden.
30893         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30894         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30895         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30896         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30897         Likewise.
30898         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30899         Likewise.
30900         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30901         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30902         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30903         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30904         ifunc-impl-list.c.
30905         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30906         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30907         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30908         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30909         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30910         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30911         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30912         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30913         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30914         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30915         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30916         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30917         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30918         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30919         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30920         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30921         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30922         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30923         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30924         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30925         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30926         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30927         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30928         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30929         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30930         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30931         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30932         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30933         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30934         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30935         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30936         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30937         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30938         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30939         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30940         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30941         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30942         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30943         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30944         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30945         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30946
30947         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30948         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30949         * include/ifunc-impl-list.h: New file.
30950         * misc/ifunc-impl-list.c: Likewise.
30951         * misc/Makefile (routines): Add ifunc-impl-list.
30952         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30953         * string/test-string.h: Include <ifunc-impl-list.h>.
30954         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30955         TEST_NAME]: New variables.
30956         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30957         are defined.
30958         (test_init): Call __libc_ifunc_impl_list to initialize
30959         func_list if TEST_IFUNC and TEST_NAME are defined.
30960
30961         * string/Makefile (strop-tests): Add bcopy and bzero.
30962         * string/test-bcopy.c: New file.
30963         * string/test-bzero.c: Likewise.
30964         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30965         defined.
30966         * string/test-memset.c: Support bzero test if TEST_BZERO is
30967         defined.
30968         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30969         __libc_memmove.
30970         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30971         __libc_memset.
30972         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30973         of memset.
30974
30975 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30976
30977         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30978         * configure: Regenerated.
30979
30980         * Makeconfig (+link-static-before-libc): Don't include
30981         $(link-static-libc).
30982
30983         * libio/libio.h (_IO_pos_t): Remove.
30984
30985 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30986
30987         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30988         McGrath.
30989
30990 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30991
30992         * crypt/crypt-entry.c: Include fips-private.h.
30993         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30994         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30995         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30996         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30997
30998 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30999
31000         * crypt/crypt-private.h: Include stdbool.h.
31001         (_ufc_setup_salt_r): Return bool.
31002         * crypt/crypt-entry.c: Include errno.h.
31003         (__crypt_r): Return NULL with EINVAL for bad salt.
31004         * crypt/crypt_util.c (bad_for_salt): New.
31005         (_ufc_setup_salt_r): Check that salt is long enough and within
31006         the specified alphabet.
31007         * crypt/badsalttest.c: New file.
31008         * crypt/Makefile (tests): Add it.
31009         ($(objpfx)badsalttest): New.
31010
31011 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
31012
31013         * NEWS: Add entry for BZ #14602.
31014
31015 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31016
31017         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31018         type-generic.
31019         * math/libm-test.inc: Update comment listing what functions and
31020         macros are tested.
31021         (isgreater_test): New function.
31022         (isgreaterequal_test): Likewise.
31023         (isless_test): Likewise.
31024         (islessequal_test): Likewise.
31025         (islessgreater_test): Likewise.
31026         (isunordered_test): Likewise.
31027         (main): Call the new functions.
31028
31029 2012-10-09  Roland McGrath  <roland@hack.frob.com>
31030
31031         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31032         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31033         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31034         * sysdeps/i386/configure: Regenerated.
31035         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31036         * sysdeps/mach/configure: Regenerated.
31037         * sysdeps/mach/hurd/configure: Regenerated.
31038         * sysdeps/powerpc/configure: Regenerated.
31039         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31040         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31041         * sysdeps/s390/s390-32/configure: Regenerated.
31042         * sysdeps/s390/s390-64/configure: Regenerated.
31043         * sysdeps/sh/configure: Regenerated.
31044         * sysdeps/sparc/configure: Regenerated.
31045         * sysdeps/unix/sysv/linux/configure: Regenerated.
31046         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31047         * sysdeps/x86_64/configure: Regenerated.
31048
31049         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31050         defined.  Don't check if MAP is NULL.
31051
31052 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31053
31054         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31055         (_G_stat64): Likewise.
31056         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31057         (_G_stat64): Likewise.
31058         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31059         instead of struct _G_stat64.
31060         * libio/fileops.c (mmap_remap_check): Likewise.
31061         (decide_maybe_mmap): Likewise.
31062         (_IO_new_file_seekoff): Likewise.
31063         (_IO_file_stat): Likewise.
31064         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31065         _G_off64_t.
31066         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31067         instead of struct _G_stat64.
31068         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31069
31070 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
31071
31072         [BZ #14602]
31073         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31074         Replace with ...
31075         (CHECK_EOL): New macro.
31076         (two_way_short_needle): Check beginning of haystack for EOL.  Use
31077         CHECK_EOL.
31078         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31079         Replace with CHECK_EOL.
31080         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31081         Replace with CHECK_EOL.
31082
31083 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
31084
31085         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31086         type-generic.
31087         * math/libm-test.inc: Update comment listing what functions and
31088         macros are tested.
31089         (finite_test): New function.
31090         (isinf_test): Likewise.
31091         (isnan_test): Likewise.
31092         (fpclassify_test): Test subnormal input.
31093         (isfinite_test): Likewise.
31094         (isnormal_test): Likewise.
31095         (main): Call the new functions.
31096
31097 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
31098
31099         [BZ #14660]
31100         * Makerules (%.dynsym): Force C locale when running
31101         $(OBJDUMP) --dynamic-syms.
31102
31103 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
31104
31105         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31106         <stdint.h>.
31107
31108 2012-10-06  David S. Miller  <davem@davemloft.net>
31109
31110         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31111         upper 32-bits of the length value in %o2 since we use branch-on-register
31112         tests which consider the entire 64-bit register.
31113
31114 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
31115
31116         * string/test-strstr.c (check2): Add a test for page boundary.
31117
31118 2012-10-05  David S. Miller  <davem@davemloft.net>
31119
31120         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31121         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31122         file.
31123         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31124         sysdep_routines.
31125         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31126         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31127         and bzero when HWCAP_SPARC_CRYPTO is present.
31128
31129 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
31130
31131         [BZ #14602]
31132         * string/test-strstr.c (check2): New function.
31133         (test_main): Call check2.
31134
31135         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31136         and bug-strchr1.
31137         * string/bug-strcasestr1.c (do_test): Moved to ...
31138         * string/test-strcasestr.c (check1): Here.  New function.
31139         (do_one_test): Break out result checking code into ...
31140         (check_result): This.  New function.
31141         (do_one_test): Call check_result.
31142         (test_main): Call check1.
31143         * string/bug-strchr1.c (do_test): Moved to ...
31144         * string/test-strchr.c (check1): Here.  New function.
31145         (do_one_test): Break out result checking code into ...
31146         (check_result): This.  New function.
31147         (do_one_test): Call check_result.
31148         (test_main): Call check1.
31149         * string/bug-strstr1.c (main): Moved to ...
31150         * string/test-strstr.c (check1): Here.  New function.
31151         (do_one_test): Break out result checking code into ...
31152         (check_result): This.  New function.
31153         (do_one_test): Call check_result.
31154         (test_main): Call check1.
31155         * string/bug-strcasestr1.c: Removed.
31156         * string/bug-strchr1.c: Likewise.
31157         * string/bug-strstr1.c: Likewise.
31158
31159         * elf/Makefile (dl-routines): Add hwcaps.
31160         * elf/dl-support.c (_dl_important_hwcaps): Removed.
31161         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31162         (_dl_important_hwcaps): Moved to ...
31163         * elf/dl-hwcaps.c: Here.  New file.
31164         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31165
31166         [BZ #14557]
31167         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31168         if IS_IN_rtld isn't defined.
31169
31170         * elf/dl-support.c (_dl_sysinfo_map): New.
31171         Include "get-dynamic-info.h" and "setup-vdso.h".
31172         (_dl_non_dynamic_init): Call setup_vdso.
31173         * elf/dynamic-link.h: Don't include <assert.h>.
31174         (elf_get_dynamic_info): Moved to ...
31175         * elf/get-dynamic-info.h: Here.  New file.
31176         * elf/dynamic-link.h: Include "get-dynamic-info.h".
31177         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31178         * elf/setup-vdso.h: Here.  New file.
31179         * elf/rtld.c: Include "setup-vdso.h".
31180         (dl_main): Call setup_vdso.
31181
31182 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
31183
31184         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31185         creal in comment listing functions tested.  List finite, isinf,
31186         isnan, isless, islessequal, isgreater, isgreaterequal,
31187         islessgreater, isunordered, lgamma_r and pow10 as functions and
31188         macros not tested.  Mention which functions not tested are aliases
31189         for other functions.  Fix typo.  Note that signs of NaNs are not
31190         tested.
31191
31192         * scripts/config.guess: Update from config.git.
31193         * scripts/config.sub: Likewise.
31194
31195 2012-10-04  Roland McGrath  <roland@hack.frob.com>
31196
31197         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31198         * misc/madvise.c (madvise): Renamed to __madvise.
31199         Make madvise a weak alias.
31200         * include/sys/mman.h: Declare __madvise.
31201         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31202         * sysdeps/unix/syscalls.list
31203         (madvise): Make __madvise the strong name, and madvise a weak alias.
31204         * sysdeps/unix/sysv/linux/syscalls.list
31205         (madvise, mmap): Remove redundant entries.
31206         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31207         * malloc/malloc.c (mtrim): Likewise.
31208         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31209
31210 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31211
31212         * sysdeps/mach/hurd/dl-cache.c: File removed.
31213         * config.h.in (USE_LDCONFIG): New #undef.
31214         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31215         * configure: Regenerated.
31216         * elf/Makefile (dl-routines): Add dl-cache only under
31217         [$(use-ldconfig) = yes].
31218         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31219         cache on [USE_LDCONFIG].
31220         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31221         [USE_LDCONFIG].
31222         * elf/rtld.c (dl_main): Likewise.
31223
31224 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
31225
31226         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31227         _SC_LEVEL4_CACHE_LINESIZE.
31228
31229 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31230
31231         * sysdeps/unix/bsd/confstr.h: File removed.
31232
31233 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
31234
31235         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31236         sys/sdt-config.h.
31237
31238 2012-10-02  Roland McGrath  <roland@hack.frob.com>
31239
31240         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31241         Make 'mapoff' field ElfW(Off) rather than off_t.
31242
31243 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
31244
31245         * nscd/Makefile: Remove nscd-cflags and all its users.
31246         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31247         (CFLAGS-nonlib): Add compiler flags for nscd modules.
31248
31249         [BZ #10631]
31250         * malloc.c (malloc_printerr): Clarify error message.
31251
31252 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
31253
31254         [BZ #14648]
31255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31256         Set bit_FMA_Usable if FMA is supported.
31257         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31258         macro.
31259         (bit_FMA4_Usable): Updated.
31260         (index_FMA_Usable): New macro.
31261         (CPUID_FMA): Likewise
31262         (HAS_FMA): Defined with bit_FMA_Usable.
31263
31264 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31265
31266         * bits/types.h (__swblk_t): Type removed.
31267         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31268         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31269         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31270         (__SWBLK_T_TYPE): Likewise.
31271         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31272         (__SWBLK_T_TYPE): Likewise.
31273         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31274         (__SWBLK_T_TYPE): Likewise.
31275         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31276         (__SWBLK_T_TYPE): Likewise.
31277
31278 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
31279             Honza Horak <hhorak@redhat.com>
31280
31281         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31282         (xdr_mapname): Use YPMAXMAP as maxsize.
31283         (xdr_peername): Use YPMAXPEER as maxsize.
31284         (xdr_keydat): Use YPAXRECORD as maxsize.
31285         (xdr_valdat): Use YPMAXRECORD as maxsize.
31286
31287 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31288
31289         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31290
31291         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31292         * csu/init-first.c: ... here.
31293         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31294         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31295         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31296         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31297         * sysdeps/i386/init-first.c: File removed.
31298         * sysdeps/sh/init-first.c: File removed.
31299
31300 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
31301
31302         [BZ #14645]
31303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31304         if x * y might underflow to zero and z is zero.
31305         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31306         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31307         * math/libm-test.inc (min_subnorm_value): New variable.
31308         (fma_test): Add more tests.
31309         (fma_test_towardzero): Likewise.
31310         (fma_test_downward): Likewise
31311         (fma_test_upward): Likewise.
31312         (initialize): Set min_subnorm_value.
31313
31314 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
31315
31316         [BZ #14638]
31317         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31318         0 + 0.
31319         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31320         mode for addition resulting in exact zero.
31321         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31323         exact 0 + 0.
31324         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31325         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31326         * math/libm-test.inc (fma_test): Add more tests.
31327         (fma_test_towardzero): New function.
31328         (fma_test_downward): Likewise.
31329         (fma_test_upward): Likewise.
31330         (main): Call the new functions.
31331
31332 2012-09-28  David S. Miller  <davem@davemloft.net>
31333
31334         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31335
31336 2012-09-28  Roland McGrath  <roland@hack.frob.com>
31337
31338         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31339         instead of SIGALRM.
31340
31341         * sysdeps/gnu/_G_config.h: Moved to ...
31342         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31343         * sysdeps/mach/hurd/_G_config.h: Moved to ...
31344         * sysdeps/generic/_G_config.h: ... here.
31345
31346         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
31347
31348         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31349
31350         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31351         Conditionalize target on [libnss_test1.so-version].
31352
31353         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31354
31355         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31356         (elfobjdir): Move out of conditionals.
31357
31358         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31359         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31360         (__nss_lookup_function): Conditionalize label remove_from_tree on
31361         [!DO_STATIC_NSS || SHARED], matching its only use.
31362
31363 2012-09-28  David S. Miller  <davem@davemloft.net>
31364
31365         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31366         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31367         file.
31368         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31369         sysdep_routines.
31370         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31371         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31372         when HWCAP_SPARC_CRYPTO is present.
31373
31374 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31375
31376         * io/tst-mknodat.c: Create a FIFO instead of a socket.
31377
31378 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
31379
31380         [BZ #6530]
31381         * stdio-common/vfprintf.c (process_string_arg): Revert
31382         2000-07-22 change.
31383
31384 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
31385
31386         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31387         for testcase.
31388         * stdio-common/tst-sprintf.c: Include <locale.h>
31389         (main): Test sprintf's handling of incomplete multibyte
31390         characters.
31391
31392 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
31393
31394         * elf/dl-runtime.c (VERSYMIDX): Removed.
31395         * elf/dl-version.c (VERSYMIDX): Likewise.
31396         * elf/do-rel.h (VERSYMIDX): Likewise.
31397         (VALIDX): Likewise.
31398         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31399         * elf/rtld.c (VALIDX): Likewise.
31400         (ADDRIDX): Likewise.
31401         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31402         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31403         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31404         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31405         (VALIDX): Likewise.
31406         (ADDRIDX): Likewise.
31407
31408 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31409
31410         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31411
31412 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31413
31414         [BZ #11438]
31415         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31416         to global scope.
31417         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31418         addresses are in the same scope as 192.0.2/24.
31419         * posix/gai.conf: Document new scope table defaults.
31420
31421 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31422
31423         [BZ #5298]
31424         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31425         for ftell.  Compute offsets from write pointers instead.
31426         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31427
31428 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31429
31430         [BZ #14543]
31431         * libio/Makefile (tests): New test case tst-fseek.
31432         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31433         combination works in wide mode.
31434         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31435         state when the external buffer state changes.
31436
31437 2012-09-27  David S. Miller  <davem@davemloft.net>
31438
31439         [BZ #14376]
31440         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31441         pass reloc->r_addend in as the 'high' argument to
31442         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31443
31444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31445
31446 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31447
31448         * rt/tst-aio2.c: Include <pthread.h>.
31449         * rt/tst-aio3.c: Likewise.
31450
31451 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31452
31453         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31454
31455 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31456
31457         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31458         contents on [SHARED].
31459
31460 2012-09-26  Marek Polacek  <polacek@redhat.com>
31461
31462         [BZ #14530]
31463         [BZ #13741]
31464         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31465         for C++ and GCC <4.3 as well as for non GCC compilers.
31466
31467 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31468
31469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31470
31471 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31472
31473         * Makefile.in (all, install): Declare with .PHONY.
31474         Reported by Michael Hope <michael.hope@linaro.org>.
31475
31476 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31477
31478         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31479         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31480         system header.
31481         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31482         Likewise.
31483         (sydep_routines): Add the new and the internal functions.
31484         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31485         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31487         (GLIBC_2.17): Add the new function.
31488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31489         (GLIBC_2.17): Likewise.
31490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31491         (GLIBC_2.17): Likewise.
31492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31493         (GLIBC_2.17): Likewise.
31494         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31495
31496 2012-09-25  Alan Modra  <amodra@gmail.com>
31497
31498         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31499         Add release barrier before setting once_control to say
31500         initialisation is done.  Add hints on lwarx.  Use macro in
31501         place of isync.
31502         (clear_once_control): Add release barrier.
31503
31504 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31505
31506         [BZ #13629]
31507         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31508         specially.
31509         * math/s_clog10.c (__clog10): Likewise.
31510         * math/s_clog10f.c (__clog10f): Likewise.
31511         * math/s_clog10l.c (__clog10l): Likewise.
31512         * math/s_clogf.c (__clogf): Likewise.
31513         * math/s_clogl.c (__clogl): Likewise.
31514         * math/Makefile (libm-calls): Add x2y2m1.
31515         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31516         (__x2y2m1): Likewise.
31517         (__x2y2m1l): Likewise.
31518         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31519         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31520         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31521         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31522         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31523         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31524         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31525         * sysdeps/i386/fpu/libm-test-ulps: Update.
31526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31527
31528         [BZ #14621]
31529         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31530         int as type of variable DEPTH.
31531         (glob): Use size_t instead of int as type of variables NEWCOUNT
31532         and OLD_PATHC.
31533
31534 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31535
31536         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31537         Add s_sincosf-sse2.
31538         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31539         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31540         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31541         macros for using routine as __sincosf_ia32.
31542         Use macro for function declaration and weak_alias.
31543         * sysdeps/i386/fpu/libm-test-ulps: Update.
31544
31545         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31547
31548         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31549         subnormal argument.
31550         * math/s_cexpf.c (__cexpf): Likewise.
31551         * math/s_csinf.c (__csinf): Likewise.
31552         * math/s_csinhf.c (__csinhf): Likewise.
31553         * math/s_ctanf.c (__ctanf): Likewise.
31554         * math/s_ctanhf.c (__ctanhf): Likewise.
31555         * math/s_ccosh.c (__ccoshf): Likewise.
31556         * math/s_cexp.c (__cexpl): Likewise.
31557         * math/s_csin.c (__csin): Likewise.
31558         * math/s_csinh.c (__csinh): Likewise.
31559         * math/s_ctan.c (__ctan): Likewise.
31560         * math/s_ctanh.c (ctanh): Likewise.
31561         * math/s_ccoshl.c (__ccoshl): Likewise.
31562         * math/s_cexpl.c (__cexpl): Likewise.
31563         * math/s_csinl.c (__csinl): Likewise.
31564         * math/s_csinhl.c (__csinhl): Likewise.
31565         * math/s_ctanl.c (__ctanl): Likewise.
31566         * math/s_ctanhl.c (__ctanhl): Likewise.
31567
31568 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31569
31570         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31571         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31572         (_IO_off_t): Define to __off_t, not _G_off_t.
31573         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31574         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31575         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31576         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31577         type of __dummy and __dummy2 fields.
31578         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31579         (_G_ssize_t): Likewise.
31580         (_G_off_t): Likewise.
31581         (_G_pid_t): Likewise.
31582         (_G_uid_t): Likewise.
31583         (_G_wchar_t): Likewise.
31584         (_G_wint_t): Likewise.
31585         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31586         (_G_ssize_t): Likewise.
31587         (_G_off_t): Likewise.
31588         (_G_pid_t): Likewise.
31589         (_G_uid_t): Likewise.
31590         (_G_wchar_t): Likewise.
31591         (_G_wint_t): Likewise.
31592         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31593         (_G_ssize_t): Likewise.
31594         (_G_off_t): Likewise.
31595         (_G_pid_t): Likewise.
31596         (_G_uid_t): Likewise.
31597         (_G_wchar_t): Likewise.
31598         (_G_wint_t): Likewise.
31599
31600 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31601
31602         * malloc/arena.c: Include malloc-sysdep.h.
31603         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31604         is sufficient to shrink the heap or an unmap is needed.
31605         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31606         new function check_may_shrink_heap.
31607         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31608         new function check_may_shrink_heap.
31609
31610 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31611
31612         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31613         comments.
31614
31615 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31616
31617         * catgets/test-gencat.sh: Add "set -e".
31618         * elf/tst-pathopt.sh: Likewise.
31619         * grp/tst_fgetgrent.sh: Likewise.
31620         * iconvdata/run-iconv-test.sh: Likewise.
31621         * intl/tst-gettext.sh: Likewise.
31622         * intl/tst-gettext2.sh: Likewise.
31623         * intl/tst-gettext4.sh: Likewise.
31624         * intl/tst-gettext6.sh: Likewise.
31625         * intl/tst-translit.sh: Likewise.
31626         * io/ftwtest-sh: Likewise.
31627         * libio/test-freopen.sh: Likewise.
31628         * malloc/tst-mtrace.sh: Likewise.
31629         * posix/globtest.sh: Likewise.
31630         * posix/tst-getconf.sh: Likewise.
31631         * posix/wordexp-tst.sh: Likewise.
31632         * stdio-common/tst-printf.sh: Likewise.
31633         * stdio-common/tst-unbputc.sh: Likewise.
31634         * stdlib/tst-fmtmsg.sh: Likewise.
31635         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31636         * catgets/Makefile: Do not specify -e option when running
31637         testsuite shell scripts.
31638         * elf/Makefile: Likewise.
31639         * grp/Makefile: Likewise.
31640         * iconvdata/Makefile: Likewise.
31641         * intl/Makefile: Likewise.
31642         * io/Makefile: Likewise.
31643         * libio/Makefile: Likewise.
31644         * malloc/Makefile: Likewise.
31645         * posix/Makefile: Likewise.
31646         * stdio-common/Makefile: Likewise.
31647         * stdlib/Makefile: Likewise.
31648         * sysdeps/x86_64/Makefile: Likewise.
31649
31650         * io/ftwtest-sh: Add copyright header.
31651         * posix/globtest.sh: Likewise.
31652         * posix/tst-getconf.sh: Likewise.
31653         * posix/wordexp-tst.sh: Likewise.
31654         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31655
31656 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31657
31658         [BZ #13679]
31659         * Makeconfig (+link): Defined as $(+link-static) if
31660         $(build-shared) isn't yes.
31661         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31662         isn't yes.
31663         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31664
31665         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31666
31667         [BZ #14562]
31668         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31669         new chunk size with MALLOC_ALIGN_MASK.
31670
31671 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31672
31673         [BZ #5044]
31674         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31675         <rounding-mode.h>.
31676         (__printf_fphex): Determine rounding using get_rounding_mode and
31677         round_away.
31678         * stdio-common/tst-printf-round.c (struct hex_test): New
31679         structure.
31680         (hex_tests): New variable.
31681         (test_hex_in_one_mode): New function.
31682         (do_test): Also run tests for hex float output.
31683
31684 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31685
31686         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31687         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31688         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31689         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31690         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31691         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31692         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31693         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31694
31695 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31696
31697         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31698         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31699         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31700         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31701
31702 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31703
31704         [BZ #14579]
31705         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31706         mode only.
31707         * elf/tst-rtld-load-self.sh: New test.
31708         * elf/Makefile: Run it.
31709
31710 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31711
31712         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31713         (tst-writev-ENV): Remove.
31714         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31715
31716 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31717
31718         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31719
31720 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31721
31722         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31723         unconditional.
31724         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31725         Likewise.
31726         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31727         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31728         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31729         Likewise.
31730
31731 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31732
31733         [BZ #14587]
31734         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31735         * config.make.in (have-cpp-asm-debuginfo): Removed.
31736         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31737         * configure: Regenerated.
31738
31739 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31740
31741         [BZ #5044]
31742         * stdio-common/printf_fp.c: Include <stdbool.h> and
31743         <rounding-mode.h>.
31744         (___printf_fp): Determine rounding using get_rounding_mode and
31745         round_away.
31746         * stdio-common/tst-printf-round.c: New file.
31747         * stdio-common/Makefile (tests): Add tst-printf-round.
31748         (link-libm): New variable.
31749         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31750
31751 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31752
31753         [BZ #14576]
31754         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31755         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31756         Likewise.
31757         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31758         Likewise.
31759
31760 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31761
31762         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31763         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31764         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31765         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31766
31767 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31768
31769         [BZ #14518]
31770         * include/rounding-mode.h: New file.
31771         * sysdeps/generic/get-rounding-mode.h: Likewise.
31772         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31773         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31774         (MAX_VALUE): New macro.
31775         (MIN_VALUE): Likewise.
31776         (overflow_value): New function.
31777         (underflow_value): Likewise.
31778         (round_and_return): Use overflow_value and underflow_value to
31779         determine return values in overflow and underflow cases.  Use
31780         round_away to determine rounding depending on rounding mode.
31781         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31782         determine return values in overflow and underflow cases.
31783         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31784         (struct test_results): New structure.
31785         (struct test): Use struct test_results to store expected results
31786         for all rounding modes.
31787         (TEST): Include expected results for all rounding modes.
31788         (test_in_one_mode): New function.
31789         (do_test): Use test_in_one_mode to compute and check results.
31790         Check results for all rounding modes.
31791         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31792         $(link-libm).
31793
31794 2012-12-09  Allan McRae  <allan@archlinux.org>
31795
31796         * sysdeps/i386/fpu/libm-test-ulps: Update
31797
31798 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31799
31800         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31801         (_G_int32_t): Likewise.
31802         (_G_uint16_t): Likewise.
31803         (_G_uint32_t): Likewise.
31804         (_G_HAVE_BOOL): Likewise.
31805         (_G_HAVE_ATEXIT): Likewise.
31806         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31807         (_G_HAVE_IO_FILE_OPEN): Likewise.
31808         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31809         (_G_int32_t): Likewise.
31810         (_G_uint16_t): Likewise.
31811         (_G_uint32_t): Likewise.
31812         (_G_HAVE_BOOL): Likewise.
31813         (_G_HAVE_ATEXIT): Likewise.
31814         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31815         (_G_HAVE_IO_FILE_OPEN): Likewise.
31816         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31817         (_G_int32_t): Likewise.
31818         (_G_uint16_t): Likewise.
31819         (_G_uint32_t): Likewise.
31820         (_G_HAVE_BOOL): Likewise.
31821         (_G_HAVE_ATEXIT): Likewise.
31822         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31823         (_G_HAVE_IO_FILE_OPEN): Likewise.
31824
31825 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31826
31827         * csu/libc-tls.c: Update copyright years.
31828
31829 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31830
31831         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31832         [!_G_USING_THUNKS]: Remove conditional code.
31833         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31834         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31835
31836         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31837         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31838         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31839         (_G_VTABLE_LABEL_PREFIX): Likewise.
31840         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31841         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31842         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31843         (_G_VTABLE_LABEL_PREFIX): Likewise.
31844         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31845         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31846         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31847         (_G_VTABLE_LABEL_PREFIX): Likewise.
31848         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31849
31850 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31851
31852         * libio/Makefile: Include ../Makeconfig before tests.
31853         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31854         only if $(build-shared) is yes.
31855
31856         * iconv/gconv_db.c: Update copyright years.
31857
31858 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31859
31860         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31861         unwind info if defined PIC. Fix special cases description.
31862         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31863
31864         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31865         DP_HI_MASK entry.
31866         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31867
31868 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31869
31870         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31871
31872         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31873         is NULL.
31874
31875         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31876         (LDLIBS-tst-chk4): This.
31877         (LDFLAGS-tst-chk5): Renamed to ...
31878         (LDLIBS-tst-chk5): This.
31879         (LDFLAGS-tst-chk6): Renamed to ...
31880         (LDLIBS-tst-chk6): This.
31881         (LDFLAGS-tst-lfschk4): Renamed to ...
31882         (LDLIBS-tst-lfschk4): This.
31883         (LDFLAGS-tst-lfschk5): Renamed to ...
31884         (LDLIBS-tst-lfschk5): This.
31885         (LDFLAGS-tst-lfschk6): Renamed to ...
31886         (LDLIBS-tst-lfschk6): This.
31887
31888         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31889         on $(common-objpfx)soversions.mk.
31890
31891 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31892
31893         [BZ #10014]
31894         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31895         example host name.
31896
31897 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31898
31899         * malloc/arena.c (arena_get_retry): New function that gets
31900         another arena for the caller to try its request on.
31901         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31902         current arena cannot fulfill the request.
31903         (__libc_memalign): Likewise.
31904         (__libc_memalign): Likewise.
31905         (__libc_pvalloc): Likewise.
31906         (__libc_calloc): Likewise.
31907
31908 2012-09-05  John Tobey  <john.tobey@gmail.com>
31909
31910         [BZ #13542]
31911         * manual/arith.texi (Operations on Complex): Fix description
31912         of carg branch cut.
31913
31914 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31915
31916         [BZ #10014]
31917         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31918         host name.
31919
31920         [BZ #10038]
31921         * manual/memory.texi (Memory): Make order of menu items match
31922         order of sections.
31923
31924 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31925
31926         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31927         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31928         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31929
31930 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31931
31932         * csu/libc-tls.c (static_dtv): Renamed to ...
31933         (_dl_static_dtv): This.  Make it global.
31934         (_dl_initial_dtv): Removed.
31935         (__libc_setup_tls): Updated.
31936         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31937         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31938         DL_INITIAL_DTV.
31939
31940 2012-09-06  Petr Machata  <pmachata@redhat.com>
31941
31942         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31943         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31944         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31945         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31946
31947 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31948
31949         [BZ #14545]
31950         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31951         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31952         freeing dtv[-1].
31953
31954 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31955
31956         [BZ #14544]
31957         * Makeconfig (link-static-before-libc): Replace $(+prector)
31958         with $(+prectorT).
31959         (link-static-after-libc): Replace $(+postctor) with
31960         $(+postctorT).
31961         (link-bounded): Replace $(+prector)/$(+postctor) with
31962         $(+prectorT)/$(+postctorT).
31963         (+prectorT): New macro.
31964         (+postctorT): Likewise.
31965
31966 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31967
31968         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31969         (round_str): Handle values above the maximum for IBM long double
31970         as inexact.
31971         * stdlib/tst-strtod-round.c (tests): Regenerated.
31972
31973 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31974
31975         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31976         assembler flag.
31977         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31978         zarch_nohighgprs around the zarch optimized routines.
31979         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31980         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31981         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31982         for zarch.
31983
31984 2012-09-05  David S. Miller  <davem@davemloft.net>
31985
31986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31987
31988         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31989         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31990         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31991         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31992         entries.
31993
31994 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31995
31996         * malloc/arena.c: Fold copyright years.
31997         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31998
31999 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32000
32001         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32002
32003 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32004
32005         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
32006
32007 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32008
32009         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32010         change internal state upon failure.
32011
32012 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
32013
32014         * malloc/mcheck.c (mcheck_check_all): Fix typo.
32015         * malloc/memusage.c (mmap): Likewise.
32016         (mmap64, mremap): Likewise.  Adjust name in comment.
32017
32018 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32019
32020         * libio/fileops.c: Fix typos in comments.
32021         * libio/oldfileops.c: Likewise.
32022         * libio/wfileops.c: Likewise.
32023
32024 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32025
32026         [BZ #1349]
32027         * malloc/Makefile (tests): Add tst-malloc-usable test case.
32028         (tst-malloc-usable-ENV): Set environment for test case.
32029         * malloc/hooks.c (malloc_check_get_size): New function to get
32030         requested size.
32031         * malloc/malloc.c (musable): Use malloc_check_get_size.
32032         * malloc/tst-malloc-usable.c: New test case.
32033
32034 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32035
32036         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32037
32038 2012-09-05  Allan McRae  <allan@archlinux.org>
32039
32040         [BZ #13966]
32041         * configure.in (CXX_SYSINCLUDES): Use compiler output to
32042         determine header location.
32043         * configure: Regenerated.
32044
32045 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32046
32047         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32048         float format.
32049         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32050         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32051         format.
32052         (test): Regenerate.
32053
32054 2012-09-04  David S. Miller  <davem@davemloft.net>
32055
32056         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32057         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32058         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32059
32060 2012-09-04  Florian Weimer  <fweimer@redhat.com>
32061
32062         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32063         failures.
32064
32065         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32066
32067 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
32068
32069         [BZ #9914]
32070         * libio/iogetdelim.c: Include <limits.h>.
32071         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32072         + len + 1 would overflow.
32073
32074 2012-09-03  Andreas Jaeger  <aj@suse.de>
32075
32076         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32077         * sysdeps/i386/fpu/libm-test-ulps: Update.
32078
32079 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32080
32081         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32082         Add s_sinf-sse2, s_conf-sse2.
32083
32084         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32085         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32086         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32087         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32088
32089         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32090         for using routine as __sinf_ia32.
32091         Use macro for function declaration and weak_alias.
32092         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32093         for using routine as __cosf_ia32.
32094         Use macro for function declaration and weak_alias.
32095
32096         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32097         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32098
32099         * sysdeps/x86_64/fpu/s_sinf.S: New file.
32100         * sysdeps/x86_64/fpu/s_cosf.S: New file.
32101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32102
32103         * math/libm-test.inc (cos_test): Add more test cases.
32104         (sin_test): Likewise.
32105         (sincos_test): Likewise.
32106
32107 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32108
32109         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32110         (IFUNC_RESOLVE): Make pointers to the specialized implementations
32111         hidden.
32112         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32113
32114 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
32115
32116         [BZ #14538]
32117         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32118         first element of the GOT.
32119         (elf_machine_load_address): Return the difference between
32120         the runtime address of _DYNAMIC and elf_machine_dynamic ().
32121
32122 2012-09-01  Allan McRae  <allan@archlinux.org>
32123
32124         [BZ #13412]
32125         * configure.in (AWK): Require gawk version 3.0 or later.
32126         * configure: Regenerated.
32127
32128 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
32129
32130         * sysdeps/unix/sysv/linux/kernel-features.h
32131         (__ASSUME_POSIX_CPU_TIMERS): Remove.
32132         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32133         [__NR_clock_getres]: Make code unconditional.
32134         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32135         (clock_getcpuclockid): Remove code left unreachable by removal of
32136         conditionals.
32137         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32138         code unconditional.
32139         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32140         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32141         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32142         Make code unconditional.
32143         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32144         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32145         * sysdeps/unix/sysv/linux/clock_settime.c
32146         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32147         conditional code.
32148         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32149         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32150
32151 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
32152
32153         [BZ #14476]
32154         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32155         scripts/test-installation.pl.
32156
32157         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32158         and $ld_so_version if it is set.
32159
32160 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32161
32162         [BZ #14516]
32163         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32164         failure if reading from procfs failed.
32165         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32166
32167 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32168
32169         * sysdeps/unix/sysv/linux/kernel-features.h
32170         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32171         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32172         Remove conditional code.
32173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32174         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32175         Remove conditional code.
32176         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32177         * sysdeps/unix/sysv/linux/i386/fxstat.c
32178         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32180         * sysdeps/unix/sysv/linux/i386/fxstatat.c
32181         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32182         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32183         * sysdeps/unix/sysv/linux/i386/lxstat.c
32184         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32185         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32186         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32187         Remove conditional code.
32188         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32189         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32190         Remove conditional code.
32191         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32192         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32193         <kernel-features.h>.
32194         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32195         Remove.
32196         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32197         Remove conditional code.
32198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32199         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32200         Remove conditional.
32201
32202 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
32203
32204         [BZ #5400]
32205         * NEWS: Add fixed bug number.
32206
32207 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32208
32209         [BZ #14519]
32210         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32211         underflowing exponent in case of negative sign.
32212         * stdlib/tst-strtod-round-data: Add more tests.
32213         * stdlib/tst-strtod-round.c (tests): Regenerated.
32214
32215         [BZ #3479]
32216         * stdlib/strtod_l.c (NDIG): Remove.
32217         (HEXNDIG): Likewise.
32218         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32219         smallest representable value.
32220         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32221         lie within an exact representation of 1/2 ulp of the result.
32222         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32223         unconditionally.
32224         (TENS_P9_IDX): Define unconditionally.
32225         (TENS_P9_SIZE): Likewise.
32226         (TENS_P10_IDX): Likewise.
32227         (TENS_P10_SIZE): Likewise.
32228         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32229         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32230         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32231         entries for 10^2^13 and 10^2^14.
32232         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32233         (TENS_P13_IDX): Define.
32234         (TENS_P13_SIZE): Likewise.
32235         (TENS_P14_IDX): Likewise.
32236         (TENS_P14_SIZE): Likewise.
32237         (_fpioconst_pow10): Change array size to
32238         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
32239         unconditional.
32240         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32241         1024]: Add entries for 10^2^13 and 10^2^14.
32242         [LAST_POW10 > _LAST_POW10]: Remove #error.
32243         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32244         (_fpioconst_pow10): Change array size to
32245         FPIOCONST_POW10_ARRAY_SIZE.
32246         * stdlib/gen-fpioconst.c: New file.
32247         * stdlib/gen-tst-strtod-round.c: Likewise.
32248         * stdlib/tst-strtod-round-data: Likewise.
32249         * stdlib/tst-strtod-round.c: Likewise.
32250         * stdlib/Makefile (tests): Add tst-strtod-round.
32251
32252         [BZ #14459]
32253         * stdlib/strtod_l.c: Include <stdint.h>.
32254         (NDEBUG): Do not define.
32255         (round_and_return): Change EXPONENT parameter to type intmax_t.
32256         Rearrange calculations to avoid internal overflow possibilities.
32257         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32258         Rearrange calculations to avoid internal overflow possibilities.
32259         Assert that number fits inside MPNSIZE limbs.
32260         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32261         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
32262         calculations and add assertions to avoid internal overflow
32263         possibilities.  Add casts to avoid signed/unsigned operations.
32264         * stdlib/tst-strtod-overflow.c: New file.
32265         * stdlib/Makefile (tests): Add tst-strtod-overflow.
32266
32267 2012-08-25  Marek Polacek  <polacek@redhat.com>
32268
32269         * time/time.h: Fix some typos in comments.
32270
32271 2012-08-23  Roland McGrath  <roland@hack.frob.com>
32272
32273         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32274         * posix/tst-rfc3484-2.c: Likewise.
32275         * posix/tst-rfc3484-3.c: Likewise.
32276
32277 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
32278
32279         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32280         (EF_ARM_ABI_FLOAT_HARD): Likewise.
32281
32282 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
32283
32284         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32285         #include of fxstatat64.c.
32286
32287 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32288
32289         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32290         * shadow/getspent_r.c: Likewise.
32291         * shadow/getspnam.c: Likewise.
32292         * shadow/getspnam_r.c: Likewise.
32293         * gshadow/getsgent.c: Likewise.
32294         * gshadow/getsgent_r.c: Likewise.
32295         * gshadow/getsgnam.c: Likewise.
32296         * gshadow/getsgnam_r.c: Likewise.
32297         * inet/getnetbyad.c: Likewise.
32298         * inet/getnetbyad_r.c: Likewise.
32299         * inet/getnetbynm.c: Likewise.
32300         * inet/getnetbynm_r.c: Likewise.
32301         * inet/getnetent.c: Likewise.
32302         * inet/getnetent_r.c: Likewise.
32303         * inet/getproto.c: Likewise.
32304         * inet/getproto_r.c: Likewise.
32305         * inet/getprtent.c: Likewise.
32306         * inet/getprtent_r.c: Likewise.
32307         * inet/getprtname.c: Likewise.
32308         * inet/getprtname_r.c: Likewise.
32309         * inet/getrpcbyname.c: Likewise.
32310         * inet/getrpcbyname_r.c: Likewise.
32311         * inet/getrpcbynumber.c: Likewise.
32312         * inet/getrpcbynumber_r.c: Likewise.
32313         * inet/getrpcent.c: Likewise.
32314         * inet/getrpcent_r.c: Likewise.
32315         * inet/getaliasent.c: Likewise.
32316         * inet/getaliasent_r.c: Likewise.
32317         * inet/getaliasname.c: Likewise.
32318         * inet/getaliasname_r.c: Likewise.
32319         * nscd/getgrgid_r.c: Likewise.
32320         * nscd/getgrnam_r.c: Likewise.
32321         * nscd/gethstbyad_r.c: Likewise.
32322         * nscd/gethstbynm3_r.c: Likewise.
32323         * nscd/getpwnam_r.c: Likewise.
32324         * nscd/getpwuid_r.c: Likewise.
32325         * nscd/getsrvbynm_r.c: Likewise.
32326         * nscd/getsrvbypt_r.c: Likewise.
32327         * nscd/gai.c: Likewise.
32328
32329         * configure.in (build_nscd): New substituted variable, set
32330         by --disable-build-nscd and defaults to $use_nscd.
32331         * configure: Regenerated.
32332         * config.make.in (build-nscd): New substituted variable.
32333         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32334         Change conditional to require [$(build-nscd) = yes] as well.
32335         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32336
32337         [BZ# 13696]
32338         * configure.in (use_nscd): New substituted variable, set by
32339         --disable-nscd.  If enabled, define USE_NSCD.
32340         * configure: Regenerated.
32341         * config.h.in: Add USE_NSCD.
32342         * config.make.in (use-nscd): New substituted variable.
32343         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32344         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32345         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32346         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32347         (CFLAGS-getgrnam_r.c): Likewise.
32348         (CFLAGS-initgroups.c): Likewise.
32349         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32350         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32351         Variables removed.
32352         * inet/getnetgrent_r.c
32353         (nscd_setnetgrent): New function, broken out of ...
32354         (setnetgrent): ... here.  Call it.
32355         (innetgr): Conditionalize nscd bits on [USE_NSCD].
32356         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32357         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32358         * nscd/Makefile (routines, aux): Move definitions after include of
32359         Makeconfig.  Conditionalize on [$(use-nscd) != no].
32360         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32361         Conditionalize on [USE_NSCD].
32362         (is_nscd, nscd_init_cb): Likewise.
32363         (nss_load_library): Conditionalize init callback on [USE_NSCD].
32364         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32365         * nss/nss_db/db-init.c: Likewise.
32366         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32367         [USE_NSCD].
32368         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32369         (make_request): Use it.
32370         (cache_valid_p): New function.
32371         (__check_pf): Use it.
32372         * NEWS: Add item for --disable-nscd.
32373
32374 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
32375
32376         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32377         to support sed >= 4.2.1-20-ga9bf076.
32378         * configure: Regenerated.
32379
32380 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32381
32382         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32383         Conditionalize whole body on [IREL].
32384
32385 2012-08-22  Jeff Law <law@redhat.com>
32386
32387         [BZ #14505]
32388         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32389         if the family is PF_UNSPEC.
32390
32391 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
32392
32393         * Makerules (lib-version): Rename from V.
32394         (install-lib-nosubdir): Change V to lib-version.
32395
32396 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32397
32398         [BZ #14252]
32399         * powerpc32/power6/wcschr.c: New file.
32400         * powerpc32/power6/wcscpy.c: New file.
32401         * powerpc32/power6/wcsrchr.c: New file.
32402         * powerpc64/power6/wcschr.c: New file.
32403         * powerpc64/power6/wcscpy.c: New file.
32404         * powerpc64/power6/wcsrchr.c: New file.
32405
32406 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32407
32408         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32409         (two_way_short_needle): Use it.
32410         * string/strstr.c (AVAILABLE1_USES_J): Define.
32411         * string/strcasestr.c: Likewise.
32412
32413         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32414         array references.
32415         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32416
32417         [BZ #11607]
32418         * NEWS: Add an entry.
32419         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32420         define their defaults.
32421         (two_way_short_needle): Detect end-of-string on-the-fly.
32422         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32423         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32424         * string/bug-strcasestr1.c: New test.
32425         * string/Makefile: Run it.
32426
32427 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32428
32429         [BZ #11607]
32430         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32431         the first character.
32432
32433 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32434
32435         * csu/elf-init.c (__libc_csu_irel): Function removed.
32436         * csu/libc-start.c (apply_irel): New function.
32437         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32438
32439 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32440
32441         * sysdeps/unix/sysv/linux/kernel-features.h
32442         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32443         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32444         <kernel-features.h>.
32445         [__NR_fadvise64_64]: Make code unconditional.
32446         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32447         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32448         !__NR_fadvise64_64)]: Likewise.
32449         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32450         !__NR_fadvise64_64))]: Likewise.
32451         [__NR_fadvise64]: Make code unconditional.
32452         [!__NR_fadvise64]: Remove conditional code.
32453         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32454         <kernel-features.h>.
32455         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32456         unconditional.
32457         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32458         conditional code.
32459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32460         not include <kernel-features.h>.
32461         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32462         unconditional.
32463         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32464         conditional code.
32465         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32466         include <kernel-features.h>.
32467         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32468         unconditional.
32469         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32470         conditional code.
32471
32472 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32473
32474         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32475         slight instruction rearrangements per scrollpipe analysis.
32476         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32477
32478 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32479
32480         * manual/syslog.texi (syslog; vsyslog, closelog):
32481         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32482         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32483
32484         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32485         DSOCAPS to match condition on defining it.
32486
32487 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32488
32489         * sysdeps/unix/sysv/linux/kernel-features.h
32490         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32492         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32493         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32495         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32496         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32498         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32499         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32500
32501         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32502         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32503
32504         * sysdeps/unix/sysv/linux/kernel-features.h
32505         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32506         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32507         unconditional.
32508         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32509         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32510         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32511         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32512         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32513         Make code unconditional.
32514         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32515         (__mmap64) [!__NR_mmap2]: Likewise.
32516         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32517         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32518         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32519         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32520         [__NR_mmap2]: Make code unconditional.
32521         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32522         (__mmap64) [!__NR_mmap2]: Likewise.
32523
32524 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32525
32526         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32527
32528 2012-08-18  Andreas Jaeger  <aj@suse.de>
32529
32530         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32531
32532 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32533
32534         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32535         * include/unistd.h (__have_sock_cloexec): Likewise.
32536         (__have_pipe2): Likewise.
32537         (__have_dup3): Likewise.
32538
32539 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32540
32541         [BZ #9685]
32542         * include/unistd.h (__have_pipe2): Change define into an extern int.
32543         (__have_dup3): Likewise.
32544         * socket/have_sock_cloexec.c: Include fcntl.h.
32545         (__have_pipe2): New variable.
32546         (__have_dup3): Likewise.
32547
32548 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32549
32550         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32551
32552 2012-08-17  Marek Polacek  <polacek@redhat.com>
32553
32554         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32555         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32556
32557 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32558
32559         * configure.in: Add AC_SUBST for sysheaders.
32560         * configure: Regenerated.
32561         * config.make.in (sysheaders): New substituted variable.
32562
32563         * sysdeps/unix/mkfifo.c: Moved ...
32564         * sysdeps/posix/mkfifo.c: ... here.
32565         * sysdeps/unix/mkfifoat.c: Moved ...
32566         * sysdeps/posix/mkfifoat.c: ... here.
32567
32568         * sysdeps/unix/utime.c: Moved ...
32569         * sysdeps/posix/utime.c: ... here.
32570
32571         * sysdeps/unix/time.c: Moved ...
32572         * sysdeps/posix/time.c: ... here.
32573         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32574         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32575
32576         * sysdeps/unix/nice.c: Moved ...
32577         * sysdeps/posix/nice.c: ... here.
32578
32579         * sysdeps/unix/alarm.c: Moved ...
32580         * sysdeps/posix/alarm.c: ... here.
32581
32582         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32583
32584 2012-08-17  Jeff Law <law@redhat.com>
32585
32586         * intl/Makefile (codeset_mo): New variable.
32587         ($(codeset_mo)): New target.
32588         (tst-codeset.out): Depend on that.  Remove explicit rule.
32589         (tst-gettext3.out, tst-gettext5.out): Likewise.
32590         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32591         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32592         * intl/tst-codeset.sh: Remove.
32593         * intl/tst-gettext3.sh: Likewise.
32594         * intl/tst-gettext5.sh: Likewise.
32595
32596 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32597
32598         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32599         * sysdeps/unix/syscalls.list: ... here.
32600
32601         * sysdeps/posix/getaddrinfo.c
32602         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32603         (gaiconf_init, gaiconf_reload): Use them.
32604         [!_STATBUF_ST_NSEC]
32605         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32606         Define using time_t rather than struct timespec.
32607
32608         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32609         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32610         Macros removed.
32611         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32612         [!NO_THREADS].
32613         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32614         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32615         Likewise.
32616
32617         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32618         __libc_cleanup_push argument.
32619
32620         * bits/param.h: New file.
32621         * misc/sys/param.h: New file.
32622         * include/sys/param.h: New file.
32623         * misc/Makefile (headers): Add bits/param.h.
32624         * sysdeps/generic/sys/param.h: File removed.
32625         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32626         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32627         * sysdeps/mach/hurd/bits/param.h: New file.
32628         * sysdeps/mach/hurd/sys/param.h: File removed.
32629
32630         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32631         last change.
32632
32633         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32634         [_IO_MTSAFE_IO].
32635         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32636         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32637         New macros.
32638
32639         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32640         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32641         rather than -D_IO_MTSAFE_IO conditionally.
32642         * stdio-common/Makefile (CPPFLAGS): Likewise.
32643         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32644         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32645         Use $(libio-mtsafe).
32646         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32647         of -D_IO_MTSAFE_IO.
32648         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32649         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32650         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32651         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32652         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32653         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32654         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32655         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32656         (CFLAGS-fread_u_chk.c): Likewise.
32657         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32658         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32659         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32660         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32661         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32662         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32663         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32664         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32665         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32666
32667         * libio/Makefile: Test [$(libc-reentrant) = yes]
32668         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32669
32670         * Makeconfig
32671         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32672         * sysdeps/pthread/configure: File removed.
32673         * sysdeps/pthread/Makeconfig: New file.
32674         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32675         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32676
32677 2012-08-16  Gary Benson  <gbenson@redhat.com>
32678
32679         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32680         unmapping the first object in a namespace.
32681
32682 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32683
32684         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32685         (__internal_setnetgrent): ... this.  Add internal_function to
32686         definition.  Add libc_hidden_def.
32687         (setnetgrent): Update caller.
32688         (internal_endnetgrent): Renamed to ...
32689         (__internal_endnetgrent): ... this.  Add internal_function to
32690         definition.  Add libc_hidden_def.
32691         (endnetgrent): Update caller.
32692         (internal_getnetgrent_r): Renamed to ...
32693         (__internal_getnetgrent_r): ... this.  Add internal_function to
32694         definition.  Add libc_hidden_def.
32695         (__getnetgrent_r): Update caller.
32696         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32697
32698 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32699
32700         * stdlib/longlong.h: Update from GCC.
32701
32702 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32703
32704         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32705         on _QL, which is set by umul_ppmm but never used.
32706         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32707         variables, which are set by GMP macros but never used.
32708         * stdio-common/_itowa.c (_itowa): Likewise.
32709         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32710         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32711
32712 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32713
32714         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32715         struct La_sh_regs is not constant.
32716         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32717         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32718         and struct La_sparc64_regs are not constant.
32719
32720 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32721
32722         * sysdeps/unix/sysv/linux/kernel-features.h
32723         (__ASSUME_POSIX_TIMERS): Remove.
32724         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32725         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32726         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32727         Make code unconditional.
32728         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32729         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32730         Make code unconditional.
32731         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32732         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32733         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32734         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32735         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32736         Make code unconditional.
32737         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32738         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32739         (__libc_missing_posix_timers): Remove.
32740
32741 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32742
32743         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32744         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32745
32746         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32747
32748         * elf/dl-sym.c: Include <stdlib.h>.
32749
32750         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32751         constants, which avoids warnings in 32-bit builds.
32752
32753         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32754         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32755
32756         * misc/lseek.c: File moved to ...
32757         * io/lseek.c: ... here.
32758
32759         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32760
32761         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32762         shifting LEN more than 31 bits at once.
32763
32764 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32765
32766         [BZ #14195]
32767         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32768         segmentation fault for a case of two empty input strings.
32769         * string/test-strncasecmp.c (check1): Renamed to...
32770         (bz12205): ...this.
32771         (bz14195): Add new testcase for two empty input strings and N > 0.
32772         (test_main): Call new testcase, adapt for renamed function.
32773
32774 2012-08-15  Andreas Jaeger  <aj@suse.de>
32775
32776         [BZ #14090]
32777         * crypt/md5test2.c: New test, based on test supplied by Serge
32778         Belyshev <belyshev@depni.sinp.msu.ru>.
32779         * crypt/Makefile (xtests): Add md5test-giant..
32780         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32781
32782 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32783
32784         [BZ #14090]
32785         * crypt/md5.c (md5_process_block): Don't assume the buffer
32786         length is less than 2**32.
32787         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32788         length is less than 2**64.
32789
32790 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32791
32792         * string/str-two-way.h: Include <sys/param.h>.
32793         (MAX): Macro removed.
32794
32795         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32796         Move #define and #undef of memmove to just before and after
32797         including <string.h>.
32798
32799         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32800         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32801         and after including <string.h>.  Move declarations of
32802         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32803         to before #include "string/memmove.c".
32804
32805         * include/dirent.h: Declare __getdirentries.
32806
32807         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32808         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32809
32810 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32811
32812         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32813         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32814         * sysdeps/i386/configure: Regenerated.
32815         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32816         STABS_CURRENT_FILE, and STABS_FUN.
32817         (END): Remove call to STABS_FUN_END.
32818         (STABS_CURRENT_FILE1): Delete.
32819         (STABS_CURRENT_FILE): Likewise.
32820         (STABS_FUN): Likewise.
32821         (STABS_FUN_END): Likewise.
32822         (STABS_FUN2): Likewise.
32823         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32824         * sysdeps/x86_64/configure: Regenerated.
32825
32826 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32827
32828         * elf/dl-open.c: Include <atomic.h>.
32829         * elf/dl-lookup.c: Likewise.
32830
32831 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32832
32833         * sysdeps/unix/sysv/linux/kernel-features.h
32834         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32835         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32836         unconditionally.
32837         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32838         unconditionally.
32839         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32840         condition on __ASSUME_CLONE_THREAD_FLAGS.
32841
32842 2012-08-14  Andreas Jaeger  <aj@suse.de>
32843
32844         * sysdeps/i386/fpu/libm-test-ulps: Update.
32845
32846 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32847
32848         * include/atomic.h (atomic_exchange_and_add): Split into ...
32849         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32850         New atomic macros.
32851
32852 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32853
32854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32855
32856 2012-08-13  Jeff Law <law@redhat.com>
32857
32858         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32859         null byte in the output string.
32860
32861 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32862
32863         * sysdeps/unix/sysv/linux/kernel-features.h
32864         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32865         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32866         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32867         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32868         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32869         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32870         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32871
32872 2012-08-09  Jeff Law <law@redhat.com>
32873
32874         [BZ #13939]
32875         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32876         When avoid_arena is set, don't retry in the that arena.  Pick the
32877         next one, whatever it might be.
32878         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32879         (arena_lock): Pass in new parameter to arena_get2.
32880         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32881         arena_get2.
32882         (__libc_malloc): Unify retrying after main arena failure with
32883         __libc_memalign version.
32884         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32885
32886 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32887
32888         [BZ #14166]
32889         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32890         to __redirect_strstr.
32891         (__strstr_sse42): Use typeof __redirect_strstr.
32892         (__strstr_ia32): Likewise.
32893         (__libc_strstr): New prototype.
32894         (strstr): Renamed to ...
32895         (__libc_strstr): This.
32896         (strstr): New strong alias of __libc_strstr.
32897         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32898         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32899         __redirect_time.
32900         Include <time.h>.
32901         (__libc_time): New prototype.
32902         (time_ifunc): Replace time with __libc_time.
32903         (time): New strong alias and hidden definition of __libc_time.
32904         (__GI_time): Remove strong alias.
32905         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32906         Include <stddef.h>.
32907         (memmove): Redefined to __redirect_memmove.
32908         (__memmove_sse2): Use typeof __redirect_memmove.
32909         (__memmove_ssse3): Likewise.
32910         (__memmove_ssse3_back): Likewise.
32911         (__libc_memmove): New prototype.
32912         (memmove): Renamed to ...
32913         (__libc_memmove): This.
32914         (memmove): New strong alias of __libc_memmove.
32915
32916 2012-08-08  Mark Salter  <msalter@redhat.com>
32917
32918         * elf/elf.h
32919         (R_MN10300_TLS_GD): Define.
32920         (R_MN10300_TLS_LD): Likewise.
32921         (R_MN10300_TLS_LDO): Likewise.
32922         (R_MN10300_TLS_GOTIE): Likewise.
32923         (R_MN10300_TLS_IE): Likewise.
32924         (R_MN10300_TLS_LE): Likewise.
32925         (R_MN10300_TLS_DTPMOD): Likewise.
32926         (R_MN10300_TLS_DTPOFF): Likewise.
32927         (R_MN10300_TLS_TPOFF): Likewise.
32928         (R_MN10300_SYM_DIFF): Likewise.
32929         (R_MN10300_ALIGN): Likewise.
32930         (R_MN10300_NUM): Update.
32931
32932 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32933
32934         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32935         Remove.
32936
32937 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32938
32939         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32940
32941         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32942         sysdeps/unix -> sysdeps/posix move.
32943         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32944
32945 2012-08-07      Allan McRae     <allan@archlinux.org>
32946
32947         [BZ #14303]
32948         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32949         (SUNOS_CPP): Likewise.
32950         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32951         not found.
32952         (open_input): Call CPP using execvp.
32953
32954 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32955
32956         * sysdeps/unix/sysv/linux/kernel-features.h
32957         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32958         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32959         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32960         (__ASSUME_WAITID_SYSCALL): Likewise.
32961         * sysdeps/unix/sysv/linux/dl-execstack.c
32962         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32963         code unconditional.
32964         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32965         conditional code.
32966         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32967         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32968         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32969         code.
32970         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32971         unconditional.
32972         [__ASSUME_WAITID_SYSCALL]: Likewise.
32973         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32974
32975 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32976
32977         * sysdeps/unix/closedir.c: Renamed to ...
32978         * sysdeps/posix/closedir.c: ... here.
32979         * sysdeps/unix/dirfd.c: Renamed to ...
32980         * sysdeps/posix/dirfd.c: ... here.
32981         * sysdeps/unix/dirstream.h: Renamed to ...
32982         * sysdeps/posix/dirstream.h: ... here.
32983         * sysdeps/unix/fdopendir.c: Renamed to ...
32984         * sysdeps/posix/fdopendir.c: ... here.
32985         * sysdeps/unix/opendir.c: Renamed to ...
32986         * sysdeps/posix/opendir.c: ... here.
32987         * sysdeps/unix/readdir.c: Renamed to ...
32988         * sysdeps/posix/readdir.c: ... here.
32989         * sysdeps/unix/readdir_r.c: Renamed to ...
32990         * sysdeps/posix/readdir_r.c: ... here.
32991         * sysdeps/unix/rewinddir.c: Renamed to ...
32992         * sysdeps/posix/rewinddir.c: ... here.
32993         * sysdeps/unix/seekdir.c: Renamed to ...
32994         * sysdeps/posix/seekdir.c: ... here.
32995         * sysdeps/unix/telldir.c: Renamed to ...
32996         * sysdeps/posix/telldir.c: ... here.
32997         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32998         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32999         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33000         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33001
33002         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33003         * bits/fcntl.h: ... here.
33004
33005         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33006         not 0.
33007         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33008         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33009         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33010         (struct flock): Move l_start, l_len to the beginning.
33011         Use __pid_t for l_pid.
33012         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33013         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33014         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33015         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33016         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33017         [__USE_LARGEFILE64] (struct flock64): New type.
33018         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33019
33020         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33021         * bits/dirent.h: ... here.
33022
33023         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33024         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33025
33026 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33027
33028         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33029         Change from 2.6.0 to 2.6.16.
33030         * sysdeps/unix/sysv/linux/configure: Regenerated.
33031         * sysdeps/unix/sysv/linux/kernel-features.h
33032         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33033         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33034         version.
33035         (__ASSUME_UTIMES): Likewise.
33036         (__ASSUME_CLONE_STOPPED): Remove.
33037         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33038         architectures, not kernel version.
33039         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33040         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33041         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33042         (__ASSUME_WAITID_SYSCALL): Likewise.
33043         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33044         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33045         * README: State 2.6.16 as minimum Linux kernel version.  Do not
33046         refer to older versions.
33047
33048 2012-08-06  Roland McGrath  <roland@hack.frob.com>
33049
33050         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33051         Define alphasort64 as an alias.
33052         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33053         Define versionsort64 as an alias.
33054         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33055         Define scandir64 as an alias.
33056         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33057         Define scandirat64 as an alias.
33058         * dirent/alphasort64.c (alphasort64):
33059         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33060         * dirent/versionsort64.c: Likewise.
33061         * dirent/scandir64.c: Likewise.
33062         * dirent/scandirat64.c: Likewise.
33063         * sysdeps/wordsize-64/alphasort.c: File removed.
33064         * sysdeps/wordsize-64/alphasort64.c: File removed.
33065         * sysdeps/wordsize-64/scandir.c: File removed.
33066         * sysdeps/wordsize-64/scandir64.c: File removed.
33067         * sysdeps/wordsize-64/scandirat.c: File removed.
33068         * sysdeps/wordsize-64/scandirat64.c: File removed.
33069         * sysdeps/wordsize-64/versionsort.c: File removed.
33070         * sysdeps/wordsize-64/versionsort64.c: File removed.
33071         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33072         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33073         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33074         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33075         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33076         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33077         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33078         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33079
33080         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33081         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33082         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33083         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33084         [defined __arch64__ || defined __sparcv9]
33085         (__INO_T_MATCHES_INO64_T): New macro.
33086         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33087         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33088         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33089         * sysdeps/unix/sysv/linux/bits/dirent.h
33090         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33091         (_DIRENT_MATCHES_DIRENT64): New macro.
33092
33093         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33094         Define lockf64 as an alias.
33095         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33096         Define fseeko64 as an alias.
33097         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33098         Define ftello64 as an alias.
33099         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33100         Define _IO_fgetpos64 and fgetpos64 as aliases.
33101         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33102         Define _IO_fsetpos64 and fsetpos64 as aliases.
33103         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33104         Conditionalize body on this.
33105         * libio/fseeko64.c: Likewise.
33106         * libio/ftello64.c: Likewise.
33107         * libio/iofgetpos64.c: Likewise.
33108         * libio/iofsetpos64.c: Likewise.
33109         * sysdeps/wordsize-64/lockf.c: File removed.
33110         * sysdeps/wordsize-64/lockf64.c: File removed.
33111         * sysdeps/wordsize-64/fseeko.c: File removed.
33112         * sysdeps/wordsize-64/fseeko64.c: File removed.
33113         * sysdeps/wordsize-64/ftello.c: File removed.
33114         * sysdeps/wordsize-64/ftello64.c: File removed.
33115         * sysdeps/wordsize-64/iofgetpos.c: File removed.
33116         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33117         * sysdeps/wordsize-64/iofsetpos.c: File removed.
33118         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33119         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33120         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33121         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33122         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33123         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33124         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33125         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33126         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33127         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33128         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33129
33130         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33131         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33132         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33133         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33134         [defined __arch64__ || defined __sparcv9]
33135         (__OFF_T_MATCHES_OFF64_T): New macro.
33136         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33137         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33138         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33139         (__OFF_T_MATCHES_OFF64_T): New macro.
33140
33141 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33142
33143         * stdlib/secure-getenv.c (__secure_getenv): Replace
33144         GLIBC_2_16 with GLIBC_2_17.
33145
33146 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33147
33148         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33149         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33150
33151 2012-08-03  David S. Miller  <davem@davemloft.net>
33152
33153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33154
33155 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33156
33157         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33158         Remove.
33159         (__ASSUME_CORRECT_SI_PID): Likewise.
33160         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33161         (__ASSUME_TMPFS_NAME): Likewise.
33162         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33163         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33164         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33165         (HAVE_AUX_SECURE): Make definition unconditional.
33166         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33167         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33168
33169 2012-08-03  Roland McGrath  <roland@hack.frob.com>
33170
33171         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33172         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33173         * sysdeps/mach/hurd/eloop-threshold.h: New file.
33174         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33175         __eloop_threshold instead of SYMLOOP_MAX.
33176
33177         * sysdeps/generic/eloop-threshold.h: New file.
33178         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33179         of MAXSYMLINKS.
33180         * elf/chroot_canon.c (chroot_canon): Likewise.
33181
33182 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33183
33184         [BZ #13717]
33185         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33186         Change to 2.6.0 everywhere.
33187         * sysdeps/unix/sysv/linux/configure: Regenerated.
33188         * sysdeps/unix/sysv/linux/kernel-features.h
33189         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33190         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33191         kernel versions.
33192         (__ASSUME_POSIX_TIMERS): Define unconditionally.
33193         (__ASSUME_FUTEX_REQUEUE): Remove.
33194         (__ASSUME_STATFS64): Define unconditionally.
33195         (__ASSUME_AT_SECURE): Likewise.
33196         (__ASSUME_CORRECT_SI_PID): Likewise.
33197         (__ASSUME_TGKILL): Define without depending on kernel version for
33198         i386.
33199         (__ASSUME_UTIMES): Likewise.
33200         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33201         kernel version.
33202         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33203         (__ASSUME_TMPFS_NAME): Likewise.
33204         * README: Update reference to Linux kernel versions.
33205
33206 2012-08-02  Marek Polacek  <polacek@redhat.com>
33207
33208         [BZ# 14150]
33209         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
33210         libc_cv_asm_type_prefix with %.
33211         * configure: Regenerated.
33212         * include/libc-symbols.h: Remove comment about
33213         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33214         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33215         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33216         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33217         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33218         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33219         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33220         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33221         * elf/tst-unique2mod1.c: Likewise.
33222         * elf/tst-unique1mod2.c: Likewise.
33223         * elf/tst-unique1mod1.c: Likewise.
33224         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33225         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33226         Replace ASM_TYPE_DIRECTIVE with .type.
33227         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33228         * sysdeps/i386/sysdep.h: Likewise.
33229         * sysdeps/x86_64/sysdep.h: Likewise.
33230         * sysdeps/sh/sysdep.h: Likewise.
33231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33232         Do not define ASM_TYPE_DIRECTIVE.
33233         * sysdeps/powerpc/sysdep.h: Likewise.
33234         * sysdeps/powerpc/powerpc32/sysdep.h:
33235         Replace ASM_TYPE_DIRECTIVE with .type.
33236         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33237         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33238         * sysdeps/i386/fpu/e_powf.S: Likewise.
33239         * sysdeps/i386/fpu/e_expl.S: Likewise.
33240         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33241         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33242         * sysdeps/i386/fpu/e_pow.S: Likewise.
33243         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33244         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33245         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33246         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33247         * sysdeps/i386/fpu/e_log2.S: Likewise.
33248         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33249         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33250         * sysdeps/i386/fpu/e_powl.S: Likewise.
33251         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33252         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33253         * sysdeps/i386/fpu/e_logl.S: Likewise.
33254         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33255         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33256         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33257         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33258         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33259         * sysdeps/i386/fpu/e_log.S: Likewise.
33260         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33261         * sysdeps/i386/fpu/e_logf.S: Likewise.
33262         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33263         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33264         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33265         * sysdeps/i386/fpu/e_log10.S: Likewise.
33266         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33267         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33268         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33269         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33270         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33271         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33272         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33273         * sysdeps/i386/i686/strtok.S: Likewise.
33274         * sysdeps/i386/i386-mcount.S: Likewise.
33275         * sysdeps/i386/strtok.S: Likewise.
33276         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33277         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33278         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33279         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33280         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33281         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33282         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33283         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33284         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33285         * sysdeps/x86_64/_mcount.S: Likewise.
33286         * sysdeps/x86_64/strtok.S: Likewise.
33287         * sysdeps/sh/_mcount.S: Likewise.
33288
33289 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33290
33291         * libio/iofopen.c: Include <fcntl.h>.
33292         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33293         (_IO_fopen64, fopen64): Define as aliases.
33294         * libio/iofopen64.c: Include <fcntl.h>.
33295         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33296         Conditionalize body on this.
33297         * sysdeps/wordsize-64/iofopen.c: File removed.
33298         * sysdeps/wordsize-64/iofopen64.c: File removed.
33299
33300 2012-08-01  Marek Polacek  <polacek@redhat.com>
33301
33302         * libc/Makeconfig: Use elf in place of binfmt-subdir.
33303         Use dlfcn directly instead of a variable.
33304         (binfmt-subdir): Do not define.
33305         (dlfcn): Likewise.
33306
33307 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
33308
33309         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33310         Remove all definitions.
33311         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33312         <kernel-features.h>.
33313         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33314         (miss_F_GETOWN_EX): Remove all definitions.
33315         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33316         macro definition.
33317         [!__ASSUME_FCNTL64]: Remove conditional code.
33318         [__ASSUME_FCNTL64]: Make code unconditional.
33319         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33320         <kernel-features.h>.
33321         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33322         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33323         (lockf64) [__NR_fcntl64]: Make code unconditional.
33324         (lockf64) [__ASSUME_FCNTL64]: Likewise.
33325
33326         * sysdeps/unix/sysv/linux/kernel-features.h
33327         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33328         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33329         Make code unconditional.
33330         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33331         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33333         [__NR_vfork]: Make code unconditional.
33334         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33335         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33337         [__NR_vfork]: Make code unconditional.
33338         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33339         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33340
33341 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33342
33343         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33344         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33345
33346         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33347         Define mkstemp64 as an alias.
33348         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33349         Define mkstemps64 as an alias.
33350         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33351         Define mkostemp64 as an alias.
33352         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33353         Define mkostemps64 as an alias.
33354         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33355         Conditionalize body on this.
33356         * misc/mkostemp64.c: Likewise.
33357         * misc/mkostemps64.c: Likewise.
33358         * misc/mkstemps64.c: Likewise.
33359         * sysdeps/wordsize-64/mkstemp64.c: File removed.
33360         * sysdeps/wordsize-64/mkostemp64.c: File removed.
33361         * sysdeps/wordsize-64/mkostemp.c: File removed.
33362         * sysdeps/wordsize-64/mkstemp.c: File removed.
33363         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33364         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33365         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33366         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33367
33368         [BZ #14138]
33369         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33370         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33371         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33372         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33373
33374         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33375         compat_symbol macros from <shlib-compat.h> rather than the underlying
33376         default_symbol_version and symbol_version macros, so that DEFAULT
33377         lines in shlib-versions are respected.
33378         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33379
33380 2012-08-01  Florian Weimer  <fweimer@redhat.com>
33381
33382         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33383         Declare with warn_unused_result.
33384         (setgid, setregid, setegid, setresgid): Likewise.
33385         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33386         Likewise.
33387         * WUR-REPORT: Remove set*id functions.
33388
33389 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
33390
33391         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33392
33393 2012-07-31  Roland McGrath  <roland@hack.frob.com>
33394
33395         [BZ #10191]
33396         * include/sys/socket.h (__libc_accept, __libc_accept4):
33397         Add attribute_hidden.
33398         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33399
33400         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33401         use of PTR_MANGLE.
33402         * inet/getnetgrent_r.c (setup): Likewise.
33403
33404         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33405
33406 2012-07-31  David S. Miller  <davem@davemloft.net>
33407
33408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33409
33410 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33411
33412         [BZ #13629]
33413         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33414         value between 1.0 and 2.0 and smaller part has absolute value less
33415         than 1.0.
33416         * math/s_clog10.c (__clog10): Likewise.
33417         * math/s_clog10f.c (__clog10f): Likewise.
33418         * math/s_clog10l.c (__clog10l): Likewise.
33419         * math/s_clogf.c (__clogf): Likewise.
33420         * math/s_clogl.c (__clogl): Likewise.
33421         * math/libm-test.inc (clog_test): Add more tests.
33422         (clog10_test): Likewise.
33423         * sysdeps/i386/fpu/libm-test-ulps: Update.
33424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33425
33426 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33427
33428         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33429         Exit with zero in case no suitable GID is found, and write a
33430         message to standard error.
33431
33432 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33433
33434         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33435         rather than to 1.
33436         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33437         (MAXPATHLEN): Removed.
33438         (NOGROUP, NODEV): New macros.
33439         (setbit, clrbit, isset, isclr): New macros.
33440         (howmany, roundup, powerof2): New macros.
33441         (DEV_BSIZE): New macro.
33442
33443         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33444         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33445
33446         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33447         definition on [!__NO_LONG_DOUBLE_MATH].
33448
33449         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33450         PTR_MANGLE and PTR_DEMANGLE.
33451
33452         * socket/accept4.c (accept4): Rename to __libc_accept4.
33453         Define accept4 as a weak alias.
33454
33455         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33456         on [_DIRENT_HAVE_D_TYPE].
33457         * io/ftw.c (ftw_dir): Likewise.
33458
33459         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33460
33461         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33462
33463         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33464         Use the BSD numbers rather than the arbitrary ones we had.
33465         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33466         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33467         (SIGXCPU, SIGXFSZ): New macros.
33468         (_NSIG): Now 32.
33469
33470         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33471         initializer on [_LIBC_REENTRANT].
33472
33473         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33474         definitions inside [_POSIX_MAPPED_FILES].
33475
33476         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33477
33478         * dirent/opendir.c: Include <fcntl.h>.
33479
33480         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33481         (__libc_getspecific): Likewise.
33482         (__libc_key_create): Likewise.
33483
33484         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33485         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33486         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33487         (tmpfile64): Define as alias.
33488         * sysdeps/wordsize-64/tmpfile.c: File removed.
33489         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33490         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33491         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33492
33493         * stdio-common/vfscanf.c: Include <stdbool.h>.
33494         * nss/makedb.c: Likewise.
33495         * stdio-common/_i18n_number.h: Likewise.
33496         * argp/argp-help.c: Likewise.
33497         * posix/wordexp.c: Likewise.
33498         * sysdeps/posix/spawni.c: Likewise.
33499         * nss/nss_files/files-initgroups.c: Likewise.
33500         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33501         * nss/nss_files/files-initgroups.c: Likewise.
33502         * nss/nss_db/db-netgrp.c: Likewise.
33503         * nss/nss_db/db-initgroups.c: Likewise.
33504         * io/fchmodat.c: Include <sys/stat.h>.
33505
33506         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33507         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33508
33509         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33510         [HAVE_MMAP].
33511
33512         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33513         Add multiple inclusion protection.
33514
33515 2012-07-27  David S. Miller  <davem@davemloft.net>
33516
33517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33518
33519 2012-07-27  Gary Benson  <gbenson@redhat.com>
33520
33521         [BZ #14298]
33522         * elf/rtld.c: Include <stap-probe.h>.
33523         (dl_main): Added static probes "init_start" and "init_complete".
33524         * elf/dl-load.c: Include <stap-probe.h>.
33525         (lose): Take new parameter "nsid".
33526         Added static probe "map_failed".
33527         (_dl_map_object_from_fd): Pass namespace id to lose.
33528         Added static probe "map_start".
33529         (open_verify): Pass namespace id to lose.
33530         * elf/dl-open.c: Include <stap-probe.h>.
33531         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33532         and "reloc_complete".
33533         * elf/dl-close.c: Include <stap-probe.h>.
33534         (_dl_close_worker): Added static probes "unmap_start" and
33535         "unmap_complete".
33536         * elf/rtld-debugger-interface.txt: New file documenting the above.
33537
33538 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33539
33540         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33541         rather than a string variable.
33542         * sunrpc/rpc_main.c (h_output): Likewise.
33543         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33544
33545 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33546
33547         * inet/check_native.c: New file.
33548
33549 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33550
33551         [BZ #13629]
33552         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33553         if larger part has absolute value 1.0.
33554         * math/s_clog10.c (__clog10): Likewise.
33555         * math/s_clog10f.c (__clog10f): Likewise.
33556         * math/s_clog10l.c (__clog10l): Likewise.
33557         * math/s_clogf.c (__clogf): Likewise.
33558         * math/s_clogl.c (__clogl): Likewise.
33559         * math/libm-test.inc (clog_test): Add more tests.
33560         (clog10_test): Likewise.
33561         * sysdeps/i386/fpu/libm-test-ulps: Update.
33562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33563
33564         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33565         (pltexit): Likewise.
33566         (La_regs): Likewise.
33567         (La_retval): Likewise.
33568         (int_retval): Likewise.
33569         Update #error for removed macros to refer only to definitions in
33570         tst-audit.h.
33571         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33572         macro.
33573         (pltexit): Likewise.
33574         (La_regs): Likewise.
33575         (La_retval): Likewise.
33576         (int_retval): Likewise.
33577         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33578         macro.
33579         (pltexit): Likewise.
33580         (La_regs): Likewise.
33581         (La_retval): Likewise.
33582         (int_retval): Likewise.
33583         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33584         macro.
33585         (pltexit): Likewise.
33586         (La_regs): Likewise.
33587         (La_retval): Likewise.
33588         (int_retval): Likewise.
33589         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33590         macro.
33591         (pltexit): Likewise.
33592         (La_regs): Likewise.
33593         (La_retval): Likewise.
33594         (int_retval): Likewise.
33595         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33596         macro.
33597         (pltexit): Likewise.
33598         (La_regs): Likewise.
33599         (La_retval): Likewise.
33600         (int_retval): Likewise.
33601         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33602         macro.
33603         (pltexit): Likewise.
33604         (La_regs): Likewise.
33605         (La_retval): Likewise.
33606         (int_retval): Likewise.
33607         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33608         macro definitions in tst-audit.h.
33609         * sysdeps/i386/tst-audit.h: New file.
33610         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33611         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33612         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33613         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33614         * sysdeps/sh/tst-audit.h: Likewise.
33615         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33616         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33617         * sysdeps/x86_64/tst-audit.h: Likewise.
33618
33619 2012-07-26  Andreas Jaeger  <aj@suse.de>
33620
33621         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33622         ptrace.
33623
33624         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33625         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33626         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33627         PTRACE_O_MASK.
33628         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33629         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33630         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33631
33632         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33633         value.
33634
33635         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33636         _sigsys.
33637         (si_call_addr, si_syscall, si_arch): Define new macro.
33638         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33639         _sigsys.
33640         (si_call_addr, si_syscall, si_arch): Define new marcro.
33641         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33642         _sigsys.
33643         (si_call_addr, si_syscall, si_arch): Define new macro.
33644         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33645         _sigsys.
33646         (si_call_addr, si_syscall, si_arch): Define new macro.
33647
33648 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33649
33650         [BZ #13717]
33651         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33652         Change to 2.4.21 where previously 2.4.1.
33653         * sysdeps/unix/sysv/linux/configure: Regenerated.
33654         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33655         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33656         Linux kernel version.
33657         (__ASSUME_STD_AUXV): Remove.
33658         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33659         kernel version.
33660         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33661         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33662         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33663         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33664         (__ASSUME_NETLINK_SUPPORT): Likewise.
33665         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33666         (__no_netlink_support): Remove conditional definition.
33667         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33668         Remove.
33669         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33670         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33671         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33672         (if_nameindex_ioctl): Remove.
33673         (if_nameindex_netlink): Do not handle __no_netlink_support.
33674         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33675         code.
33676         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33677         Remove conditional code.
33678         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33679         code.
33680         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33681         unconditional.
33682         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33683         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33684         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33685         Remove.
33686         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33687         [!__ASSUME_STD_AUXV]: Remove conditional code.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33689         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33690         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33692         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33693         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33694         code.
33695         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33697         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33698         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33699         conditional code.
33700         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33702         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33703         code.
33704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33705         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33706         conditional code.
33707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33708         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33709         code unconditional.
33710         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33711         conditional code.
33712         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33713         unconditional.
33714         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33715         conditional code.
33716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33717         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33718         unconditional.
33719         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33720         conditional code.
33721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33722         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33723         code unconditional.
33724         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33725         conditional code.
33726         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33727         unconditional.
33728         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33729         conditional code.
33730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33731         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33732         code unconditional.
33733         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33734         conditional code.
33735         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33736         unconditional.
33737         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33738         conditional code.
33739
33740 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33741
33742         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33743         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33744         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33745         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33746         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33747         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33748         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33749         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33750         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33751         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33752         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33753         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33754         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33755         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33756         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33757         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33758         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33759         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33760         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33761         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33762         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33763         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33764         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33765
33766 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33767
33768         * Versions.def: Add GLIBC_2.17.
33769         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33770         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33771         Introduce __libc_secure_getenv.
33772         * stdlib/Versions (2.17): Add secure_getenv
33773         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33774         * stdlib/secure-getenv.c: Rename __secure_getenv to
33775         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33776         symbol __secure_getenv for GLIBC_2.0.
33777         * stdlib/tst-secure-getenv.c: New.
33778         * stdlib/Makefile (tests): Add testcase.
33779         * manual/startup.texi (Environment Access): Document
33780         secure_getenv.
33781         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33782         __libc_secure_getenv.
33783         * inet/ruserpass.c (ruserpass): Likewise.
33784         * malloc/mtrace.c (mtrace): Likewise.
33785         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33786         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33787         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33788         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33789         HAVE_SECURE_GETENV.
33790         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33791         __secure_getenv to __libc_secure_getenv.
33792         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33794         Likewise.
33795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33796         Likewise.
33797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33799         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33804
33805 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33806
33807         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33808         (struct La_i86_retval): Likewise.
33809         (struct La_x86_64_regs): Likewise.
33810         (struct La_x86_64_retval): Likewise.
33811         (struct La_x32_regs): Likewise.
33812         (struct La_x32_retval): Likewise.
33813         (struct La_ppc32_regs): Likewise.
33814         (struct La_ppc32_retval): Likewise.
33815         (struct La_ppc64_regs): Likewise.
33816         (struct La_ppc64_retval): Likewise.
33817         (struct La_sh_regs): Likewise.
33818         (struct La_sh_retval): Likewise.
33819         (struct La_s390_32_regs): Likewise.
33820         (struct La_s390_32_retval): Likewise.
33821         (struct La_s390_64_regs): Likewise.
33822         (struct La_s390_64_retval): Likewise.
33823         (struct La_sparc32_regs): Likewise.
33824         (struct La_sparc32_retval): Likewise.
33825         (struct La_sparc64_regs): Likewise.
33826         (struct La_sparc64_retval): Likewise.
33827         (struct audit_ifaces): Remove architecture-specific pltenter and
33828         pltexit members.
33829         * sysdeps/i386/ldsodefs.h: New file.
33830         * sysdeps/powerpc/ldsodefs.h: Likewise.
33831         * sysdeps/s390/ldsodefs.h: Likewise.
33832         * sysdeps/sh/ldsodefs.h: Likewise.
33833         * sysdeps/sparc/ldsodefs.h: Likewise.
33834         * sysdeps/x86_64/ldsodefs.h: Likewise.
33835
33836 2012-07-25  Marek Polacek  <polacek@redhat.com>
33837
33838         [BZ #6808]
33839         * math/libm-test.inc (yn_test): Add another test.
33840         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33841         to ERANGE when the result is +-Inf.
33842         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33843         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33844         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33845         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33846
33847 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33848
33849         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33850         equal to 0.
33851         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33852         clock_t.
33853         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33854
33855 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33856
33857         * configure.in <sysdeps resolving>: Correct printing
33858         Implies_before.
33859         * configure: Regenerate.
33860
33861 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33862
33863         * math/w_ilogb.c: Include <limits.h>.
33864         * math/w_ilogbl.c: Likewise.
33865
33866 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33867
33868         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33869         va_copy.  Document allowing for unavailable va_copy only as
33870         pre-C99 compatibility.
33871         * manual/string.texi (Copying and Concatenation): Use va_copy
33872         instead of __va_copy in concat example.
33873
33874 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33875
33876         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33877         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33878         it if not null.
33879
33880         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33881         with O_NOLINK passed to __file_name_lookup.
33882
33883         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33884         with O_NOLINK passed to __file_name_lookup.
33885
33886         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33887         negative N or less than NGIDS.
33888
33889         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33890         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33891         enough.  Use memcpy instead of strncpy.
33892
33893 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33894
33895         * elf/Makefile (check-data): Remove.
33896         (localplt.data): New vpath directive.
33897         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33898         instead of $(check-data).
33899         * scripts/data/localplt-generic.data: Move to ...
33900         * sysdeps/generic/localplt.data: ... here.
33901         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33902         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33903         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33905         ... here.
33906         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33908         ... here.
33909         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33911         ... here.
33912         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33914         ... here.
33915         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33917         ... here.
33918         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33919         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33920         ... here.
33921
33922 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33923
33924         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33925         PPC32 and PPC64 files.
33926         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33927         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33928
33929 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33930
33931         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33932         __makecontext_ret to ...
33933         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33934         ... here and call exit if uc_link is NULL.  New file.
33935         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33936         __makecontext_ret.S.
33937         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33938         __makecontext_ret to ...
33939         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33940         ... here and call exit if uc_link is NULL.  New file.
33941         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33942         __makecontext_ret.S.
33943
33944 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33945
33946         * elf/elf.h (R_390_IRELATIVE): New definition.
33947         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33948         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33949         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33950         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33951         (elf_machine_lazy_rel): Likewise.
33952         * sysdeps/s390/dl-irel.h: New file.
33953         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33954         * sysdeps/s390/s390-64/memset.S: New asm code.
33955         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33956         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33957         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33958         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33959         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33960         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33961         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33962         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33963         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33964         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33965         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33966         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33967         * sysdeps/s390/s390-32/memset.S: New asm code.
33968         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33969
33970 2012-07-17  Marek Polacek  <polacek@redhat.com>
33971
33972         [BZ #14349]
33973         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33974         * sysdeps/s390/s390-64/configure.in: Likewise.
33975         * sysdeps/sparc/configure.in: Likewise.
33976         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33977         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33978         * sysdeps/i386/configure.in: Likewise.
33979         * sysdeps/x86_64/configure.in: Likewise.
33980         * sysdeps/sh/configure.in: Likewise.
33981         * sysdeps/s390/s390-32/configure: Regenerated.
33982         * sysdeps/s390/s390-64/configure: Likewise.
33983         * sysdeps/x86_64/configure: Likewise.
33984         * sysdeps/sh/configure: Likewise.
33985         * sysdeps/powerpc/powerpc64/configure: Likewise.
33986         * sysdeps/powerpc/powerpc32/configure: Likewise.
33987         * sysdeps/sparc/configure: Likwise.
33988         * sysdeps/i386/configure: Likewise.
33989
33990         * elf/dl-open.c: Comment fixes.
33991
33992 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33993
33994         * Makefile [CXX] (check-data): Remove.
33995         [CXX] (c++-types.data): New vpath directive.
33996         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33997         vpath.  Do not allow for C++ type data being missing.
33998         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33999         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34000         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34001         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34002         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34003         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34004         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34006         ... here.
34007         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34009         ... here.
34010         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34012         ... here.
34013         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34015         ... here.
34016         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34018         ... here.
34019         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34021         ... here.
34022         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34024         ... here.
34025         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34027
34028         * elf/tls-macros.h (TLS_LE): Move architecture-specific
34029         definitions to architecture-specific files.
34030         (TLS_IE): Likewise.
34031         (TLS_LD): Likewise.
34032         (TLS_GD): Likewise.
34033         * sysdeps/i386/tls-macros.h: New file.
34034         * sysdeps/powerpc/tls-macros.h: Likewise.
34035         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34036         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34037         * sysdeps/sh/tls-macros.h: Likewise.
34038         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34039         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34040         * sysdeps/x86_64/tls-macros.h: Likewise.
34041
34042 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34043
34044         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34045         zero value for regular exit case.
34046
34047         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34048         (__start_context): Preserve zero value for regular exit case.
34049
34050 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34051             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34052
34053         * manual/setjmp.texi (setcontext): Clarify normal process
34054         termination when uc_link is the null pointer.
34055         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34056         exit call.
34057
34058 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
34059
34060         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34061         preprocessor.  Test for each exception mask separately.
34062
34063 2012-07-16  Andreas Jaeger  <aj@suse.de>
34064
34065         * po/ru.po: Update from translation team.
34066
34067 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
34068
34069         * conform/data/string.h-data (NULL): Use macro-constant.  Require
34070         equal to 0.
34071         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34072         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34073         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34074         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34075         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34076
34077 2012-07-13  Andreas Jaeger  <aj@suse.de>
34078
34079         * po/fr.po: Update from translation team.
34080
34081 2012-07-12  Marek Polacek  <polacek@redhat.com>
34082
34083         [BZ #14173]
34084         * math/libm-test.inc (yn_test): Add test for BZ #14173.
34085         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34086         loop condition.
34087
34088 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
34089
34090         [BZ #13717]
34091         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34092         Change to 2.4.1 where previously 2.4.0.
34093         * sysdeps/unix/sysv/linux/configure: Regenerated.
34094         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34095         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34096         version.
34097         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34098         (__ASSUME_AT_CLKTCK): Remove.
34099         (__ASSUME_AT_PAGESIZE): Likewise.
34100         (__ASSUME_AT_XID): Likewise.
34101         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34102         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34103         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34104         unconditionally.
34105         (HAVE_AUX_PAGESIZE): Likewise.
34106         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34107         [__ASSUME_AT_CLKTCK]: Make code unconditional.
34108         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34109
34110 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
34111
34112         [BZ #14307]
34113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34114         the temporary buffer used to invoke __gethostbyname2_r,
34115         __gethostbyaddr_r and gethostbyname4_r to make room for struct
34116         host_data / struct gaih_addrtuple.
34117         * resolv/nss_dns/dns-host.c (global scope): Move definition of
34118         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34119         header file nss/nsswitch.h.
34120         * nss/nsswitch.h (global scope): Add definition of implementation
34121         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34122         resolv/nss_dns/dns-host.c).
34123
34124 2012-07-11  Andreas Jaeger  <aj@suse.de>
34125
34126         * po/fr.po: Update from translation team.
34127
34128         * po/sv.po: Update from translation team
34129         * po/fr.po: Another update from translation team.
34130
34131 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34132
34133         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34134         for subnormals or multiply small sinh result by itself.
34135         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34137
34138 2012-07-11  David S. Miller  <davem@davemloft.net>
34139
34140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34141
34142 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
34143
34144         [BZ #14347]
34145         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34146         (INTERNAL_MARK): Shift it here.
34147
34148 2012-07-10  Marek Polacek  <polacek@redhat.com>
34149
34150         [BZ #14151]
34151         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
34152         libc_cv_asm_global_directive with .globl.
34153         * configure: Regenerated.
34154         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34155         with .globl.
34156         * sysdeps/i386/configure: Regenerated.
34157         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34158         with .globl.
34159         * sysdeps/x86_64/configure: Regenerated.
34160         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34161         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34162         * elf/tst-unique2mod2.c: Likewise.
34163         * elf/tst-unique2mod1.c: Likewise.
34164         * elf/tst-unique1mod2.c: Likewise.
34165         * elf/tst-unique1mod1.c: Likewise.
34166         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34167         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34168         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34169         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34170         * sysdeps/mach/sysdep.h: Likewise.
34171         * sysdeps/i386/sysdep.h: Likewise.
34172         * sysdeps/i386/i386-mcount.S: Likewise.
34173         * sysdeps/x86_64/_mcount.S: Likewise.
34174         * sysdeps/x86_64/sysdep.h: Likewise.
34175         * sysdeps/sh/_mcount.S: Likewise.
34176         * sysdeps/sh/sysdep.h: Likewise.
34177         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34178         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34179         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34180         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34181         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34182         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34183         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34184         * locale/localeinfo.h: Likewise.
34185         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34186         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34187
34188 2012-07-09  Roland McGrath  <roland@hack.frob.com>
34189
34190         [BZ #14336]
34191         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34192         system".
34193         * manual/message.texi (The Uniforum approach): Likewise.
34194         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34195         (glibc iconv Implementation): Likewise.
34196
34197 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
34198
34199         [BZ #14337]
34200         * math/s_clog.c (__clog): Avoid scaling a value down where that
34201         could result in underflow.
34202         * math/s_clog10.c (__clog10): Likewise.
34203         * math/s_clog10f.c (__clog10f): Likewise.
34204         * math/s_clog10l.c (__clog10l): Likewise.
34205         * math/s_clogf.c (__clogf): Likewise.
34206         * math/s_clogl.c (__clogl): Likewise.
34207         * math/libm-test.inc (clog_test): Add more tests.
34208         (clog10_test): Likewise.
34209         * sysdeps/i386/fpu/libm-test-ulps: Update.
34210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34211
34212 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
34213
34214         [BZ #14283]
34215         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34216         by 7 not 8 to examine high bit of fractional part.
34217
34218         [BZ #14042]
34219         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34220         for call to __mcount_internal.
34221         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34222         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34223         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34224
34225 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
34226
34227         [BZ #14154]
34228         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34229         approximation for values within 0x1p-13f of an odd multiple of
34230         pi/4.
34231         * math/libm-test.inc (tan_test): Do not allow spurious underflow
34232         exception.  Add more tests.
34233         * sysdeps/i386/fpu/libm-test-ulps: Update.
34234
34235         [BZ #6778]
34236         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34237         inputs and return -1 for them.  Do not check for +Inf in case not
34238         reachable for +Inf.
34239         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34240         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34241         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34242         and return -1 for them.  Do not check for +Inf in case not
34243         reachable for +Inf.
34244         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34245         define.
34246         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34247         and return -1 for them.  Do not check for +Inf in case not
34248         reachable for +Inf.
34249         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
34250         spurious underflow.
34251         * sysdeps/i386/fpu/libm-test-ulps: Update.
34252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34253
34254 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
34255
34256         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34257
34258 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
34259
34260         [BZ #14157]
34261         [BZ #14331]
34262         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34263         could result in spurious underflow.  Scale down values above
34264         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34265         * math/s_csqrtf.c (__csqrtf): Likewise.
34266         * math/s_csqrtl.c (__csqrtl): Likewise.
34267         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
34268         spurious underflow.
34269         * sysdeps/i386/fpu/libm-test-ulps: Update.
34270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34271
34272 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
34273
34274         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34275         xopen-msg.sed.
34276         * catgets/xopen-msg.awk: New file.
34277         * catgets/xopen-msg.sed: Removed.
34278
34279         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34280         po2text.sed.
34281         * intl/po2test.awk: New file.
34282         * intl/po2test.sed: Removed.
34283
34284 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
34285
34286         [BZ #14328]
34287         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34288         or multiply small sinh result by itself.
34289         * math/s_ctanf.c (__ctanf): Likewise.
34290         * math/s_ctanh.c (__ctanh): Likewise.
34291         * math/s_ctanhf.c (__ctanhf): Likewise.
34292         * math/s_ctanhl.c (__ctanhl): Likewise.
34293         * math/s_ctanl.c (__ctanl): Likewise.
34294         * math/libm-test.inc (ctan_test_tonearest): New function.
34295         (ctan_test_towardzero): Likewise.
34296         (ctan_test_downward): Likewise.
34297         (ctan_test_upward): Likewise.
34298         (ctanh_test_tonearest): Likewise.
34299         (ctanh_test_towardzero): Likewise.
34300         (ctanh_test_downward): Likewise.
34301         (ctanh_test_upward): Likewise.
34302         (main): Call these new functions.
34303         * sysdeps/i386/fpu/libm-test-ulps: Update.
34304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34305
34306 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
34307
34308         * .gitignore: Delete /ports entry.
34309
34310 2012-07-03  Andreas Jaeger  <aj@suse.de>
34311
34312         * po/bg.po: Update from translation team.
34313         * po/cs.po: Likewise.
34314         * po/de.po: Likewise.
34315         * po/hr.po: Likewise.
34316         * po/nl.pl: Likewise.
34317         * po/pl.po: Likewise.
34318         * po/vi.po: Likewise.
34319
34320 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
34321
34322         * Makeconfig [!+link] (+link-before-libc): New variable.
34323         [!+link] (+link-after-libc): Likewise.
34324         [!+link] (+link-tests): Likewise.
34325         [!+link] (+link): Define in terms of $(+link-before-libc) and
34326         $(+link-after-libc).
34327         [!+link-static] (+link-static-before-libc): New variable.
34328         [!+link-static] (+link-static-after-libc): Likewise.
34329         [!+link-static] (+link-static-tests): Likewise.
34330         [!+link-static] (+link-static): Define in terms of
34331         $(+link-static-before-libc) and $(+link-static-after-libc).
34332         [build-shared] (link-libc-before-gnulib): New variable.
34333         [build-shared] (link-libc-tests): Likewise.
34334         [build-shared] (link-libc): Define in terms of
34335         $(link-libc-before-gnulib).
34336         [!build-shared] (link-libc-tests): New variable.
34337         (link-libc-static-tests): New variable.
34338         [!gnulib] (gnulib-arch): New variable.
34339         [!gnulib] (gnulib-tests): Likewise.
34340         [!gnulib] (static-gnulib-arch): Likewise.
34341         [!gnulib] (static-gnulib-tests): Likewise.
34342         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
34343         Define with "=" instead of ":=".
34344         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
34345         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
34346         * Rules (binaries-all-notests): New variable.
34347         (binaries-all-tests): Likewise.
34348         (binaries-static-notests): Likewise.
34349         (binaries-static-tests): Likewise.
34350         (binaries-all): Define using $(binaries-all-notests) and
34351         $(binaries-all-tests).
34352         (binaries-static): Define using $(binaries-static-notests) and
34353         $(binaries-static-tests).
34354         (binaries-shared-tests): New variable.
34355         (binaries-shared-notests): Likewise.
34356         (binaries-shared): Remove variable.
34357         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34358         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34359         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34360         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34361         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34362         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34363         * elf/Makefile (sln-modules): New variable.
34364         (extra-objs): Add $(sln-modules:=.o).
34365         (ldconfig-modules): Add static-stubs.
34366         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34367         * elf/static-stubs.c: New file.
34368
34369         [BZ #14283]
34370         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34371         by 7 not 8 to examine high bit of fractional part.  Use volatile
34372         variables when splitting into final array of floats if
34373         __FLT_EVAL_METHOD__ != 0.
34374         * math/libm-test.inc (cos_test): Add another test.
34375         (sin_test): Likewise.
34376         * sysdeps/i386/fpu/libm-test-ulps: Update.
34377
34378         [BZ #14273]
34379         * math/libm-test.inc (cosh_test): Add more tests.
34380
34381         * version.h (RELEASE): Set to "development".
34382         (VERSION): Set to "2.16.90".
34383
34384 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
34385
34386         * NEWS: Update copyright. Remove last-updated date.
34387         Mention math library bug fixes and timezone data changes.
34388         * README: Mention GNU/Hurd, x32, and HPPA support status.
34389
34390 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
34391
34392         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34393
34394 2012-06-27  Andreas Jaeger  <aj@suse.de>
34395
34396         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34397
34398 2012-06-25  Andreas Jaeger  <aj@suse.de>
34399
34400         * sysdeps/s390/fpu/libm-test-ulps: Update.
34401
34402 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34403             Thomas Schwinge  <thomas@codesourcery.com>
34404
34405         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34406         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34407         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34408         fanotify_mark.
34409
34410 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34411
34412         * sysdeps/mach/start.c: Remove file.
34413         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34414         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34415         * sysdeps/sh/init-first.c: Likewise.
34416
34417         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34418         registers for frame unwinding purposes, add CFI directives.
34419         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34420         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34421         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34422         Likewise.
34423
34424         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34425         __fortify_fail returning.
34426         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34427
34428         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34429         sysdeps/sh/____longjmp_chk.S.
34430         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34431         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34432         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34433         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34434
34435         * sysdeps/sh/abort-instr.h: New file.
34436         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34437         process in case exit returns.
34438
34439         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34440         initialize the GOT register before use.
34441
34442         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34443         calculation of ARGC > 4.
34444
34445         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34446         meaningful names to some local labels.
34447
34448 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34449             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34450
34451         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34452         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34453         (__arch_compare_and_exchange_val_16_acq): Likewise.
34454         (__arch_compare_and_exchange_val_32_acq): Likewise.
34455         (atomic_exchange_and_add): Fix gUSA sequence.
34456         (atomic_add): Likewise.
34457         (atomic_add_negative): Likewise.
34458         (atomic_add_zero): Likewise.
34459         (atomic_bit_test_set): Likewise.
34460
34461 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34462
34463         [BZ #13579]
34464         * include/link.h (struct link_map): Add l_free_initfini.
34465         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34466         l_initfini.
34467         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34468         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34469         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34470         set.
34471
34472 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34473
34474         * configure.in: Use AC_LANG_SOURCE.
34475         * configure: Regenerate.
34476
34477 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34478
34479         * configure.in (libc_cv_localstatedir): New substituted variable.
34480         * configure: Regenerated.
34481         * config.make.in (localstatedir): New variable, substituted from
34482         libc_cv_localstatedir.
34483         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34484         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34485         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34486         * sysdeps/gnu/configure: Regenerated.
34487
34488 2012-06-21  Jeff Law  <law@redhat.com>
34489
34490         [BZ #14277]
34491         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34492         free.  Simplify list management for _LIBC case.
34493
34494 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34495
34496         [BZ #14273]
34497         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34498         Clear sign bit of 64-bit integer value before comparing against
34499         overflow value.
34500
34501         * sysdeps/mach/configure: Regenerated.
34502
34503 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34504
34505         [BZ #14278]
34506         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34507
34508 2012-06-21  Jeff Law  <law@redhat.com>
34509
34510         [BZ #13882]
34511         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34512         uint16_t for elements in the "seen" array to avoid char overflows.
34513         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34514         * elf/dl-open.c (dl_open_worker): Likewise.
34515
34516 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34517
34518         * scripts/list-sources.sh: Scan PORTS for translations.
34519         * po/libc.pot: Regenerated.
34520
34521 2012-06-21  Andreas Jaeger  <aj@suse.de>
34522
34523         [BZ #12194]
34524         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34525         warning.
34526         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34527         * bits/byteswap-16.h (__bswap_16): Likewise.
34528         * bits/byteswap.h (__bswap_constant_16): Likewise.
34529
34530 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34531
34532         [BZ #14117]
34533         * sysdeps/i386/fpu_control.h: Removed.
34534         * sysdeps/x86_64/fpu_control.h: Moved to ...
34535         * sysdeps/x86/fpu_control.h: Here.
34536
34537         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34538         (_FPU_SETCW): Likewise.
34539
34540 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34541
34542         [BZ #14117]
34543         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34544         * sysdeps/x86/fpu/bits/mathinline.h: This.
34545         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34546
34547         [BZ #14050]
34548         [BZ #14117]
34549         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34550         functions if __x86_64__ is defined.
34551
34552 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34553
34554         * string/endian.h: Add !__ASSEMBLER__ condition for including
34555         conversion interfaces.
34556
34557 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34558
34559         [BZ #14241]
34560         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34561         of ABS(x) in calculating zero to negative powers other than odd
34562         integers.
34563         * math/libm-test.inc (pow_test): Add more tests.
34564
34565 2012-06-15  Andreas Jaeger  <aj@suse.de>
34566
34567         * manual/contrib.texi (Contributors): Update entry of Liubov
34568         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34569         Machado Filho.
34570
34571 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34572
34573         * string/string.h: Add __wur to GNU version of strerror_r.
34574
34575 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34576
34577         [BZ #14229]
34578         * string/Makefile (tests): Add tst-strtok_r.
34579         * string/tst-strtok_r.c: New file.
34580         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34581         RAX_LP/RDX_LP on SAVE_PTR.
34582
34583 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34584
34585         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34586
34587 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34588
34589         * libm_test.inc (csqrt_test): Allow more spurious underflow
34590         exceptions.
34591         (j0_test): Likewise.
34592         (j1_test): Likewise.
34593         (y0_test): Likewise.
34594         (y1_test): Likewise.
34595
34596 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34597
34598         * po/Makefile (libc.pot): Use UTF-8 charset.
34599
34600 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34601
34602         [BZ #14210]
34603         Suppress sign-conversion warning from FD_SET.
34604         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34605         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34606         not unsigned long int.
34607         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34608
34609 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34610
34611         [BZ #14050]
34612         [BZ #14117]
34613         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34614         __extern_always_inline instead of __extern_inline.
34615         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34616         (__signbit): Likewise.
34617         (__signbitl): Support C++ namespace.
34618         (lrintf): New inline function.
34619         (lrint): Likewise.
34620         (llrintf): Likewise.
34621         (llrint): Likewise.
34622         (fmaxf): Likewise.
34623         (fmax): Likewise.
34624         (fminf): Likewise.
34625         (fmin): Likewise.
34626         (rint): Likewise.
34627         (rintf): Likewise.
34628         (ceil): Likewise.
34629         (ceilf): Likewise.
34630         (floor): Likewise.
34631         (floorf): Likewise.
34632         (nearbyint): Likewise.
34633         (nearbyintf): Likewise.
34634
34635 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34636
34637         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34638         non-default versions.
34639
34640 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34641
34642         [BZ #14218]
34643         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34644
34645 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34646
34647         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34648         (FE_UPWARD, FE_DOWNWARD): Don't define.
34649         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34650         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34651
34652         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34653         reading it.
34654         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34655         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34656
34657 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34658
34659         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34660         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34661         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34662         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34663
34664 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34665
34666         [BZ #14117]
34667         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34668         * sysdeps/i386/fpu/Implies: New file.
34669         * sysdeps/x86_64/fpu/Implies: Likewise.
34670         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34671         * sysdeps/x86/fpu/bits/fenv.h: This.
34672
34673         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34674         __SSE_MATH__.
34675
34676 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34677
34678         [BZ #14134]
34679         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34680         character 0xffff that matches the last element of the
34681         conversion table.
34682
34683 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34684
34685         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34686         fmodl commit.
34687
34688 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34689
34690         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34691         values higher than 25.6283.
34692
34693 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34694
34695         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34696         subnormal exponent extraction and add some __builtin_expect.
34697         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34698         Fix for subnormal mantissa calculation.
34699
34700 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34701
34702         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34703         cpu2 is -1 and errno is not ENOSYS.
34704
34705 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34706
34707         [BZ #14117]
34708         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34709         * sysdeps/x86/bits/string.h: This.
34710         * sysdeps/x86_64/bits/string.h: Removed.
34711
34712         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34713         if not compiling for x86-64, but compiling for >= i486.
34714
34715         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34716         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34717
34718         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34719         New macro from Linux kernel 3.4.0.
34720         (FP_XSTATE_MAGIC2): Likewise.
34721         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34722         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34723         (struct _fpx_sw_bytes): New struct.
34724         (struct _xsave_hdr): Likewise.
34725         (struct _ymmh_state): Likewise.
34726         (struct _xstate): Likewise.
34727
34728         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34729         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34730         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34731         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34732         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34733         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34734
34735         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34736         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34737         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34738         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34739         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34740         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34741
34742 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34743
34744         [BZ #13743]
34745         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34746         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34747         (sysdep_headers): Include sys/platform/ppc.h.
34748         * sysdeps/powerpc/test-gettimebase.c: Test for
34749         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34750         * manual/Makefile (appendices): Include platform.texi.
34751         * manual/contrib.texi (Contributors): Update @node pointers.
34752         * manual/maint.texi (Maintenance): Likewise.
34753         (Platform): New node.
34754         * manual/platform.texi: New file.  Document the new features.
34755
34756 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34757             Jakub Jelinek  <jakub@redhat.com>
34758
34759         [BZ #14188]
34760         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34761         where __builtin_expect is unavailable.
34762
34763 2012-06-03  David S. Miller  <davem@davemloft.net>
34764
34765         * stdlib/longlong.h: Updated from GCC.
34766
34767 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34768
34769         [BZ #14042]
34770         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34771         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34772         __mcount_internal.
34773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34774         (GLIBC_2.16): Likewise.
34775
34776 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34777
34778         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34779
34780 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34781
34782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34783         (default-abi): New variable.
34784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34785         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34786         variable.
34787         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34788         Likewise.
34789         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34790         Likewise.
34791         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34792         Likewise.
34793
34794         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34795         definition.  Document in comment.
34796
34797 2012-06-01  David S. Miller  <davem@davemloft.net>
34798
34799         * stdlib/longlong.h: Updated from GCC.
34800
34801 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34802
34803         [BZ #14117]
34804         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34805         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34806         sys/debugreg.h sys/io.h here.
34807         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34808         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34809         sys/io.h.
34810         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34811         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34812         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34813         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34814         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34815         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34816
34817         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34818         Define only if __x86_64__ is defined.
34819
34820 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34821
34822         [BZ #14048]
34823         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34824         Use int64_t for variable i.
34825         * math/libm-test.inc (fmod_test): Add more tests.
34826
34827         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34828         z computation is not scheduled after fetestexcept.
34829         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34830         Use math_force_eval instead of asm to ensure calculation scheduled
34831         before exception test.
34832         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34833         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34834
34835 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34836
34837         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34838         computation is not scheduled after fetestexcept.
34839
34840 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34841
34842         [BZ #14117]
34843         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34844         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34845
34846 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34847
34848         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34849         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34850
34851 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34852
34853         [BZ #14117]
34854         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34855         <bits/wordsize.h>.
34856         (__WCHAR_MIN): Support __WORDSIZE == 64.
34857         (__WCHAR_MAX): Likewise.
34858
34859         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34860         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34861
34862         [BZ #14183]
34863         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34864         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34865
34866         [BZ #14117]
34867         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34868         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34869
34870         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34871         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34872
34873         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34874         Defined to 1 if __x86_64__ isn't defined.
34875         (_STAT_VER_LINUX_OLD): New.
34876         (st_atime): Remove duplicate.
34877         (st_mtime): Likewise.
34878         (st_ctime): Likewise.
34879
34880 2012-05-31  David S. Miller  <davem@davemloft.net>
34881
34882         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34883         entries.
34884
34885 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34886
34887         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34888         gen-libm-test.pl.
34889
34890         [BZ #14132]
34891         * elf/dl-reloc.c: Include <_itoa.h>.
34892         (_dl_reloc_bad_type): Remove use of INTUSE.
34893         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34894         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34895         * stdio-common/psiginfo.c (psiginfo): Likewise.
34896         * stdio-common/psignal.c (psignal): Likewise.
34897         * string/strsignal.c (strsignal): Likewise.
34898         * include/signal.h (_sys_siglist): Declare hidden proto.
34899         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34900         INTVARDEF with libc_hidden_data_def.
34901         * stdio-common/itoa-udigits.c: Likewise.
34902         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34903         (_itoa_lower_digits_internal): Remove declaration.
34904         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34905         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34906         (_sys_sigabbrev_internal): Remove aliases.
34907         (_sys_siglist): Define hidden alias.
34908
34909 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34910
34911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34912         bits/sysctl.h.
34913
34914 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34915
34916         [BZ #14117]
34917         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34918         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34919
34920         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34921         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34922         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34923         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34924         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34925         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34926
34927         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34928         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34929         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34930
34931         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34932         with __addr.
34933         (insw): Likewise.
34934         (insl): Likewise.
34935         (outsb): Likewise.
34936         (outsw): Likewise.
34937         (outsl): Likewise.
34938
34939         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34940         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34941         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34942
34943         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34944         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34945         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34946         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34947         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34948         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34949
34950         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34951         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34952
34953         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34954         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34955
34956         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34957         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34958         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34959
34960         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34961         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34962         to ...
34963         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34964
34965         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34966         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34967         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34968
34969         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34970         for x86-64.
34971         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34972
34973 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34974
34975         * math/math.h (M_El): Use two more decimal places.
34976         (M_LOG2El): Likewise.
34977         (M_LOG10El): Likewise.
34978         (M_LN2l): Likewise.
34979         (M_LN10l): Likewise.
34980         (M_PIl): Likewise.
34981         (M_PI_2l): Likewise.
34982         (M_PI_4l): Likewise.
34983         (M_1_PIl): Likewise.
34984         (M_2_PIl): Likewise.
34985         (M_2_SQRTPIl): Likewise.
34986         (M_SQRT2l): Likewise.
34987         (M_SQRT1_2l): Likewise.
34988
34989 2012-05-31  David S. Miller  <davem@davemloft.net>
34990
34991         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34992         values between float registers.
34993         * sysdeps/sparc/sparc64/memset.S: Likewise.
34994         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34995
34996 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34997
34998         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34999         -D_FORTIFY_SOURCE=1.
35000         (CPPFLAGS-tst-longjmp_chk.c): Define.
35001         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35002         (CPPFLAGS-tst-longjmp_chk2.c): Define.
35003         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35004         CFLAGS-tst-wchar-h.c.
35005
35006 2012-05-31  Marek Polacek  <polacek@redhat.com>
35007
35008         [BZ #14132]
35009         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35010         __endmntent_internal): Remove declaration.
35011         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35012         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35013         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35014
35015 2012-05-30  David S. Miller  <davem@davemloft.net>
35016
35017         * sysdeps/sparc/sparc32/soft-fp/q_util.c
35018         (___Q_simulate_exceptions): Use real FP ops rather than writing
35019         into the %fsr.
35020         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35021         Likewise.
35022
35023 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35024
35025         [BZ #14117]
35026         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35027         * sysdeps/x86/bits/xtitypes.h: This.
35028
35029         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35030         * sysdeps/x86/bits/wordsize.h: This.
35031
35032         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35033         * sysdeps/x86/bits/huge_vall.h: This.
35034
35035         * sysdeps/i386/bits/select.h: Removed.
35036         * sysdeps/x86_64/bits/select.h: Renamed to ...
35037         * sysdeps/x86/bits/select.h: This.
35038
35039         * sysdeps/i386/bits/setjmp.h: Removed.
35040         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35041         * sysdeps/x86/bits/setjmp.h: This.
35042
35043         * sysdeps/i386/bits/mathdef.h: Removed.
35044         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35045         * sysdeps/x86/bits/mathdef.h: This.
35046
35047 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
35048
35049         [BZ #14132]
35050         * include/sys/socket.h (__connect_internal)
35051         (__libc_sa_len_internal): Remove declaration.
35052         (__connect, __libc_sa_len): Declare hidden_proto.
35053         (SA_LEN): Remove use of INTUSE.
35054         * socket/connect.c: Add libc_hidden_def.
35055         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35056         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35057         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35058         alias.
35059         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35060         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35061         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35062         of adding _internal alias.
35063
35064 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35065
35066         [BZ #14117]
35067         * sysdeps/i386/bits/link.h: Removed.
35068         * sysdeps/i386/bits/linkmap.h: Likewise.
35069         * sysdeps/x86_64/bits/link.h: Renamed to ...
35070         * sysdeps/x86/bits/link.h: This.
35071         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35072         * sysdeps/x86/bits/linkmap.h: This.
35073
35074         * sysdeps/i386/bits/endian.h: Removed.
35075         * sysdeps/x86_64/bits/endian.h: Renamed to ...
35076         * sysdeps/x86/bits/endian.h: This.
35077
35078         * sysdeps/i386/bits/byteswap.h: Removed.
35079         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35080         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35081         * sysdeps/x86/bits/byteswap.h: This.
35082         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35083         * sysdeps/x86/bits/byteswap-16.h: This.
35084         * sysdeps/i386/Implies: Add x86.
35085         * sysdeps/x86_64/Implies: Likewise.
35086
35087 2012-05-30  David S. Miller  <davem@davemloft.net>
35088
35089         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35090         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35091         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35092         (FP_TRAPPING_EXCEPTIONS): Define.
35093         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35094         (FP_TRAPPING_EXCEPTIONS): Define.
35095         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35096         subnormals only when inexact has been signalled or underflow
35097         exceptions are enabled.
35098         (_FP_PACK_CANONICAL): Likewise.
35099
35100 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35101
35102         [BZ #14183]
35103         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35104         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35105
35106 2012-05-30  Richard Henderson  <rth@twiddle.net>
35107
35108         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35109         with #ifndef NOT_IN_libc.
35110
35111         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
35112         marked to avoid plt entry.
35113
35114 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35115
35116         [BZ #14112]
35117         * Makeconfig (default-abi): New macro.
35118         (abi-includes): Likewise.
35119         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
35120         $(abi-$(default-abi)-lib-soname) for soname if defined.
35121         ($(common-objpfx)gnu/lib-names.stmp): Generate from
35122         abi-variants.
35123         * Makefile (installed-stubs): Likewise.
35124         * include/stubs-biarch.h: Removed.
35125         * scripts/lib-names.awk: Only handle one library at a time.
35126         * scripts/soversions.awk: Remove WORDSIZE support.
35127         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35128         entries.
35129         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35130         Removed.
35131         (syscall-list-default-condition): Likewise.
35132         (syscall-list-default-condition): Likewise.
35133         (syscall-list-includes): Likewise.
35134         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35135         syscall-list-* with abi-*.  Handle undefined abi-variants.
35136         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35137         * sysdeps/unix/sysv/linux/i386/Implies: New file.
35138         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35139         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35140         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35141         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35142         Removed.
35143         (syscall-list-32-options): Likewise.
35144         (syscall-list-32-condition): Likewise.
35145         (syscall-list-64-options): Likewise.
35146         (syscall-list-64-condition): Likewise.
35147         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35148         macro.
35149         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35150         Renamed to ...
35151         (abi-*): This.
35152         (abi-64-ld-soname): New macro.
35153         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35154         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35155         Renamed to ...
35156         (abi-*): This.
35157         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35158         * sysdeps/x86_64/x32/shlib-versions: Likewise.
35159
35160 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
35161
35162         * sysdeps/unix/sysv/linux/kernel-features.h
35163         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35164         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35165         include <kernel-features.h>.
35166         [!__NR_ftruncate64]: Remove conditional code.
35167         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35168         [__NR_ftruncate64]: Make code unconditional.
35169         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35170         * sysdeps/unix/sysv/linux/truncate64.c: Do not
35171         include <kernel-features.h>.
35172         [!__NR_ftruncate64]: Remove conditional code.
35173         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35174         [__NR_ftruncate64]: Make code unconditional.
35175         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35177         include <kernel-features.h>.
35178         [!__NR_ftruncate64]: Remove conditional code.
35179         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35180         [__NR_ftruncate64]: Make code unconditional.
35181         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35183         include <kernel-features.h>.
35184         [!__NR_ftruncate64]: Remove conditional code.
35185         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35186         [__NR_ftruncate64]: Make code unconditional.
35187         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35188
35189         * configure.in (libc_cv_fpie): Weaken to a compile test using
35190         LIBC_TRY_CC_OPTION.
35191         * configure: Regenerated.
35192
35193 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35194
35195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35199         Refreshed.
35200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35206         Refreshed.
35207
35208 2012-05-27  David S. Miller  <davem@davemloft.net>
35209
35210         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35211         (___Q_zero): New.
35212         (__Q_simulate_exceptions): Return void.  Change to simulate
35213         exceptions by writing into the %fsr.
35214         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35215         (__Qp_handle_exceptions): Likewise.
35216         (numbers): Delete.
35217         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35218         __Qp_handle_exceptions.
35219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35220         __Qp_handle_exceptions.
35221         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35222         as unused and give dummy FP_RND_NEAREST initializer.
35223         (FP_INHIBIT_RESULTS): Define.
35224         (___Q_simulate_exceptions): Update declaration.
35225         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35226         formatting.
35227         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35228         as unused and give dummy FP_RND_NEAREST initializer.
35229         (__Qp_handle_exceptions): Update declaration.
35230         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35231         formatting.
35232
35233 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
35234
35235         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35236         the temporary FPU control word.
35237         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35238         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35239         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35240         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35241         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35242         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35243         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35244         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35245         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35246         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35247         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35248
35249 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35250
35251         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35252         fields.
35253
35254 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
35255
35256         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35257         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35258         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35259         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35260         Likewise.
35261         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35262         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35263         Likewise.
35264
35265 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
35266
35267         * po/h.po: Update from translation team.
35268
35269 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
35270
35271         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35272
35273         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35274         handling of denormals.
35275         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35276         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35277         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35278         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35279         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35280         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35281         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35282         Likewise.
35283
35284 2012-05-26  Marek Polacek  <polacek@redhat.com>
35285
35286         [BZ #14152]
35287         * math/libm-test.inc (fma_test): Don't always expect underflow
35288         exception.
35289
35290 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35291
35292         [BZ #12416]
35293         * elf/tst-execstack.c: Include stackinfo.h.
35294         (do_test): Adjust test case to ensure that pthread_getattr_np
35295         behaviour remains the same after marking stack executable.
35296
35297 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35298
35299         * sysdeps/unix/sysv/linux/kernel-features.h
35300         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35301         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35302         kernel-features.h.
35303         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35304         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35305         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35306         kernel-features.h.
35307         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35308         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35309
35310 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
35311
35312         * configure.in: Define the default includes to being none.
35313         * configure: Regenerated.
35314
35315 2012-05-25  Roland McGrath  <roland@hack.frob.com>
35316
35317         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35318         * sysdeps/x86_64/setjmp.S: Likewise.
35319         * sysdeps/i386/bsd-setjmp.S: Likewise.
35320         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35321         * sysdeps/i386/setjmp.S: Likewise.
35322         * sysdeps/i386/__longjmp.S: Likewise.
35323         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35324         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35325
35326         * include/stap-probe.h: New file.
35327         * configure.in: Handle --enable-systemtap.
35328         * configure: Regenerated.
35329         * config.h.in (USE_STAP_PROBE): New #undef.
35330         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35331         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35332         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35333
35334 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35335
35336         [BZ #13717]
35337         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35338         to 2.4.0 where earlier.
35339         * sysdeps/unix/sysv/linux/configure: Regenerated.
35340         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35341         <kernel-features.h>.
35342         [__ASSUME_32BITUIDS]: Make code unconditional.
35343         [!__ASSUME_32BITUIDS]: Remove conditional code.
35344         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35345         <kernel-features.h>.
35346         [__ASSUME_32BITUIDS]: Make code unconditional.
35347         [!__ASSUME_32BITUIDS]: Remove conditional code.
35348         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35349         [__ASSUME_32BITUIDS]: Make code unconditional.
35350         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35351         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35352         <kernel-features.h>.
35353         [__ASSUME_32BITUIDS]: Make code unconditional.
35354         [!__ASSUME_32BITUIDS]: Remove conditional code.
35355         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35356         <kernel-features.h>.
35357         [__ASSUME_32BITUIDS]: Make code unconditional.
35358         [!__ASSUME_32BITUIDS]: Remove conditional code.
35359         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35360         <kernel-features.h>.
35361         [__ASSUME_32BITUIDS]: Make code unconditional.
35362         [!__ASSUME_32BITUIDS]: Remove conditional code.
35363         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35364         <kernel-features.h>.
35365         [__ASSUME_32BITUIDS]: Make code unconditional.
35366         [!__ASSUME_32BITUIDS]: Remove conditional code.
35367         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35368         <kernel-features.h>.
35369         [__ASSUME_32BITUIDS]: Make code unconditional.
35370         [!__ASSUME_32BITUIDS]: Remove conditional code.
35371         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35372         <kernel-features.h>.
35373         [__ASSUME_32BITUIDS]: Make code unconditional.
35374         [!__ASSUME_32BITUIDS]: Remove conditional code.
35375         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35376         <kernel-features.h>.
35377         [__ASSUME_32BITUIDS]: Make code unconditional.
35378         [!__ASSUME_32BITUIDS]: Remove conditional code.
35379         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35380         <kernel-features.h>.
35381         [__ASSUME_32BITUIDS]: Make code unconditional.
35382         [!__ASSUME_32BITUIDS]: Remove conditional code.
35383         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35384         <kernel-features.h>.
35385         [__ASSUME_32BITUIDS]: Make code unconditional.
35386         [!__ASSUME_32BITUIDS]: Remove conditional code.
35387         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
35388         <kernel-features.h>.
35389         [__ASSUME_32BITUIDS]: Make code unconditional.
35390         [!__ASSUME_32BITUIDS]: Remove conditional code.
35391         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
35392         <kernel-features.h>.
35393         [__NR_setresgid] (__setresgid): Do not declare.
35394         [__ASSUME_32BITUIDS]: Make code unconditional.
35395         [!__ASSUME_32BITUIDS]: Remove conditional code.
35396         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35397         <kernel-features.h>.
35398         [__NR_setresuid] (__setresuid): Do not declare.
35399         [__ASSUME_32BITUIDS]: Make code unconditional.
35400         [!__ASSUME_32BITUIDS]: Remove conditional code.
35401         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35402         <kernel-features.h>.
35403         [__ASSUME_32BITUIDS]: Make code unconditional.
35404         [!__ASSUME_32BITUIDS]: Remove conditional code.
35405         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35406         <kernel-features.h>.
35407         [__ASSUME_32BITUIDS]: Make code unconditional.
35408         [!__ASSUME_32BITUIDS]: Remove conditional code.
35409         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35410         <kernel-features.h>.
35411         [__ASSUME_32BITUIDS]: Make code unconditional.
35412         [!__ASSUME_32BITUIDS]: Remove conditional code.
35413         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35414         <kernel-features.h>.
35415         [__ASSUME_32BITUIDS]: Make code unconditional.
35416         [!__ASSUME_32BITUIDS]: Remove conditional code.
35417         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35418         <kernel-features.h>.
35419         [__ASSUME_32BITUIDS]: Make code unconditional.
35420         [!__ASSUME_32BITUIDS]: Remove conditional code.
35421         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35422         <kernel-features.h>.
35423         [__ASSUME_32BITUIDS]: Make code unconditional.
35424         [!__ASSUME_32BITUIDS]: Remove conditional code.
35425         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35426         <kernel-features.h>.
35427         [__ASSUME_32BITUIDS]: Make code unconditional.
35428         [!__ASSUME_32BITUIDS]: Remove conditional code.
35429         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
35430         <kernel-features.h>.
35431         [__ASSUME_32BITUIDS]: Make code unconditional.
35432         [!__ASSUME_32BITUIDS]: Remove conditional code.
35433         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
35434         <kernel-features.h>.
35435         [__ASSUME_32BITUIDS]: Make code unconditional.
35436         [!__ASSUME_32BITUIDS]: Remove conditional code.
35437         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35438         <kernel-features.h>.
35439         [__ASSUME_32BITUIDS]: Make code unconditional.
35440         [!__ASSUME_32BITUIDS]: Remove conditional code.
35441         * sysdeps/unix/sysv/linux/kernel-features.h
35442         (__ASSUME_SETRESUID_SYSCALL): Remove.
35443         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35444         (__ASSUME_32BITUIDS): Likewise.
35445         (__ASSUME_LDT_WORKS): Likewise.
35446         (__ASSUME_O_DIRECTORY): Likewise.
35447         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35448         architecture but not kernel version.
35449         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35450         (__ASSUME_MMAP2_SYSCALL): Likewise.
35451         (__ASSUME_STAT64_SYSCALL): Likewise.
35452         (__ASSUME_IPC64): Likewise.
35453         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35454         <kernel-features.h>.
35455         [__ASSUME_32BITUIDS]: Make code unconditional.
35456         [!__ASSUME_32BITUIDS]: Remove conditional code.
35457         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35458         <kernel-features.h>.
35459         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35460         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35461         132096]: Remove conditional code.
35462         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35463         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35464         <kernel-features.h>.
35465         [__ASSUME_32BITUIDS]: Make code unconditional.
35466         [!__ASSUME_32BITUIDS]: Remove conditional code.
35467         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35468         <kernel-features.h>.
35469         [__ASSUME_32BITUIDS]: Make code unconditional.
35470         [!__ASSUME_32BITUIDS]: Remove conditional code.
35471         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35472         <kernel-features.h>.
35473         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35474         unconditional.
35475         (__setresgid): Do not declare.
35476         [__ASSUME_32BITUIDS]: Make code unconditional.
35477         [!__ASSUME_32BITUIDS]: Remove conditional code.
35478         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35479         <kernel-features.h>.
35480         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35481         unconditional.
35482         (__setresuid): Do not declare.
35483         [__ASSUME_32BITUIDS]: Make code unconditional.
35484         [!__ASSUME_32BITUIDS]: Remove conditional code.
35485         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35486         <kernel-features.h>.
35487         [__ASSUME_32BITUIDS]: Make code unconditional.
35488         [!__ASSUME_32BITUIDS]: Remove conditional code.
35489         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35490         <kernel-features.h>.
35491         [__ASSUME_32BITUIDS]: Make code unconditional.
35492         [!__ASSUME_32BITUIDS]: Remove conditional code.
35493
35494 2012-05-25  Richard Henderson  <rth@twiddle.net>
35495
35496         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35497         dl_hwcap to ifunc resolver.
35498         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35499         elf_ifunc_invoke.
35500         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35501         dl_hwcap to ifunc resolver.
35502         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35503
35504 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35505
35506         [BZ #14153]
35507         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35508         for |x| <= 2**-26, not 2**-57.
35509         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35510         exception.
35511
35512 2012-05-24  Jeff Law  <law@redhat.com>
35513
35514         * stdio-common/Makefile (tests): Add bug25.
35515         * stdio-common/bug25.c: New test.
35516
35517 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35518
35519         [BZ #13576]
35520         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35521         multiple of MALLOC_ALIGNMENT in size.
35522         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35523
35524 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35525
35526         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35527         Require >= 256.
35528         (FILENAME_MAX): Use macro-int-constant.
35529         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35530         (_IOFBF): Use macro-int-constant.
35531         (_IOLBF): Likewise.
35532         (_IONBF): Likewise.
35533         (SEEK_CUR): Likewise.
35534         (SEEK_END): Likewise.
35535         (SEEK_SET): Likewise.
35536         (TMP_MAX): Likewise.
35537         (EOF): Use macro-int-constant.  Require < 0.
35538         (NULL): Use macro-constant.  Require == 0.
35539         (stdin): Require type to be FILE *.
35540         (stdout): Likewise.
35541         (stderr): Likewise.
35542         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35543         macro-int-constant.
35544         (EXIT_SUCCESS): Likewise.
35545         (NULL): Use macro-constant.  Require == 0.
35546         (RAND_MAX): Use macro-int-constant.
35547         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35548         [C99-based standards] (strtof): Require function.
35549         [C99-based standards] (strtold): Likewise.
35550         [C99-based standards] (strtoll): Likewise.
35551         [C99-based standards] (strtoull): Likewise.
35552         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35553         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35554         [ISO || ISO99 || ISO11] (math.h): Likewise.
35555         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35556         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35557         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35558
35559 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35560
35561         [BZ #14132]
35562         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35563         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35564         * intl/dgettext.c (DCGETTEXT): Likewise.
35565         * intl/gettext.c (DCGETTEXT): Likewise.
35566         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35567         * posix/regex_internal.h (gettext): Likewise.
35568         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35569         Remove declaration.
35570         * include/argz.h (__argz_count_internal)
35571         (__argz_stringify_internal): Remove declaration.
35572         (__argz_count, __argz_stringify): Declare hidden proto.
35573         * intl/dcgettext.c: Remove use of INTDEF.
35574         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35575         * string/argz-stringify.c: Likewise.
35576         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35577         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35578         Declare hidden proto.
35579         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35580         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35581         Declare hidden proto.
35582         * include/stdio.h (__asprintf_internal): Don't declare.
35583         (__asprintf): Don't define as macro.  Declare hidden proto.
35584         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35585         (__fsetlocking): Declare hidden proto.
35586         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35587         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35588         hidden proto.
35589         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35590         (_IO_setlinebuf): Remove use of INTUSE.
35591         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35592         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35593         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35594         Remove declaration.
35595         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35596         (_IO_do_flush): Remove use of INTUSE.
35597         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35598         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35599         (_IO_adjust_column, _IO_least_wmarker)
35600         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35601         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35602         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35603         (_IO_default_doallocate, _IO_wdefault_doallocate)
35604         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35605         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35606         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35607         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35608         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35609         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35610         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35611         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35612         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35613         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35614         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35615         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35616         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35617         proto.
35618         (_IO_flush_all_internal, _IO_adjust_column_internal)
35619         (_IO_default_uflow_internal, _IO_default_finish_internal)
35620         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35621         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35622         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35623         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35624         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35625         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35626         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35627         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35628         (_IO_file_close_internal, _IO_file_close_it_internal)
35629         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35630         (_IO_file_init_internal, _IO_file_attach_internal)
35631         (_IO_file_fopen_internal, _IO_file_read_internal)
35632         (_IO_file_sync_internal, _IO_file_seek_internal)
35633         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35634         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35635         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35636         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35637         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35638         (_IO_list_all_internal, _IO_link_in_internal)
35639         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35640         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35641         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35642         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35643         (_IO_do_write_internal, _IO_padn_internal)
35644         (_IO_getline_info_internal, _IO_getline_internal)
35645         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35646         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35647         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35648         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35649         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35650         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35651         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35652         with libc_hidden_ver, remove use of INTUSE.
35653         * libio/genops.c: Likewise.
35654         * libio/freopen.c: Likewise.
35655         * libio/freopen64.c: Likewise.
35656         * libio/iofclose.c: Likewise.
35657         * libio/iofdopen.c: Likewise.
35658         * libio/iofflush.c: Likewise.
35659         * libio/iofflush_u.c: Likewise.
35660         * libio/iofgets.c: Likewise.
35661         * libio/iofgets_u.c: Likewise.
35662         * libio/iofopen.c: Likewise.
35663         * libio/iofopncook.c: Likewise.
35664         * libio/iofread.c: Likewise.
35665         * libio/iofread_u.c: Likewise.
35666         * libio/ioftell.c: Likewise.
35667         * libio/iofwrite.c: Likewise.
35668         * libio/iogetline.c: Likewise.
35669         * libio/iogets.c: Likewise.
35670         * libio/iogetwline.c: Likewise.
35671         * libio/iopadn.c: Likewise.
35672         * libio/iopopen.c: Likewise.
35673         * libio/ioseekoff.c: Likewise.
35674         * libio/ioseekpos.c: Likewise.
35675         * libio/iosetbuffer.c: Likewise.
35676         * libio/iosetvbuf.c: Likewise.
35677         * libio/ioungetc.c: Likewise.
35678         * libio/ioungetwc.c: Likewise.
35679         * libio/iovdprintf.c: Likewise.
35680         * libio/iovsprintf.c: Likewise.
35681         * libio/iovsscanf.c: Likewise.
35682         * libio/memstream.c: Likewise.
35683         * libio/obprintf.c: Likewise.
35684         * libio/oldfileops.c: Likewise.
35685         * libio/oldiofclose.c: Likewise.
35686         * libio/oldiofdopen.c: Likewise.
35687         * libio/oldiofopen.c: Likewise.
35688         * libio/oldiopopen.c: Likewise.
35689         * libio/oldstdfiles.c: Likewise.
35690         * libio/putc.c: Likewise.
35691         * libio/setbuf.c: Likewise.
35692         * libio/setlinebuf.c: Likewise.
35693         * libio/stdfiles.c: Likewise.
35694         * libio/strops.c: Likewise.
35695         * libio/vasprintf.c: Likewise.
35696         * libio/vscanf.c: Likewise.
35697         * libio/vsnprintf.c: Likewise.
35698         * libio/vswprintf.c: Likewise.
35699         * libio/wfiledoalloc.c: Likewise.
35700         * libio/wfileops.c: Likewise.
35701         * libio/wgenops.c: Likewise.
35702         * libio/wmemstream.c: Likewise.
35703         * libio/wstrops.c: Likewise.
35704         * libio/__fpurge.c: Likewise.
35705         * libio/__fsetlocking.c: Likewise.
35706         * assert/assert.c: Likewise.
35707         * debug/fgets_chk.c: Likewise.
35708         * debug/fgets_u_chk.c: Likewise.
35709         * debug/fread_chk.c: Likewise.
35710         * debug/fread_u_chk.c: Likewise.
35711         * debug/gets_chk.c: Likewise.
35712         * debug/obprintf_chk.c: Likewise.
35713         * debug/vasprintf_chk.c: Likewise.
35714         * debug/vdprintf_chk.c: Likewise.
35715         * debug/vsnprintf_chk.c: Likewise.
35716         * debug/vsprintf_chk.c: Likewise.
35717         * malloc/mtrace.c: Likewise.
35718         * misc/error.c: Likewise.
35719         * misc/syslog.c: Likewise.
35720         * stdio-common/asprintf.c: Likewise.
35721         * stdio-common/fxprintf.c: Likewise.
35722         * stdio-common/getw.c: Likewise.
35723         * stdio-common/isoc99_fscanf.c: Likewise.
35724         * stdio-common/isoc99_scanf.c: Likewise.
35725         * stdio-common/isoc99_vfscanf.c: Likewise.
35726         * stdio-common/isoc99_vscanf.c: Likewise.
35727         * stdio-common/isoc99_vsscanf.c: Likewise.
35728         * stdio-common/printf-prs.c: Likewise.
35729         * stdio-common/printf_fp.c: Likewise.
35730         * stdio-common/printf_fphex.c: Likewise.
35731         * stdio-common/printf_size.c: Likewise.
35732         * stdio-common/putw.c: Likewise.
35733         * stdio-common/scanf.c: Likewise.
35734         * stdio-common/sprintf.c: Likewise.
35735         * stdio-common/tmpfile.c: Likewise.
35736         * stdio-common/vfprintf.c: Likewise.
35737         * stdio-common/vfscanf.c: Likewise.
35738         * stdlib/strfmon_l.c: Likewise.
35739         * sunrpc/openchild.c: Likewise.
35740         * sunrpc/xdr_stdio.c: Likewise.
35741         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35742         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35743
35744 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35745
35746         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35747
35748         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35749         in the third column, to generate for the shared library an IFUNC
35750         that uses _dl_vdso_vsym.
35751         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35752         * Makeconfig (object-suffixes-noshared): New variable.
35753
35754         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35755         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35756         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35757         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35758
35759         [BZ #14132]
35760         * include/sys/time.h (__gettimeofday): Remove macro.
35761         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35762         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35763         Remove INTDEF.
35764         (__gettimeofday): Add libc_hidden_def.
35765         (gettimeofday): Add libc_hidden_weak.
35766         * sysdeps/mach/gettimeofday.c: Likewise.
35767         * sysdeps/posix/gettimeofday.c: Likewise.
35768         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35769         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35770         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35771         (__gettimeofday_internal): Remove strong_alias.
35772         (__gettimeofday): Add libc_hidden_def.
35773         (gettimeofday): Add libc_hidden_weak.
35774         * sysdeps/unix/syscalls.list (gettimeofday):
35775         Remove __gettimeofday_internal alias.
35776
35777 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35778             H.J. Lu  <hongjiu.lu@intel.com>
35779
35780         [BZ #12495]
35781         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35782         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35783         (largebin_index_32_big): New.
35784         (largebin_index): Use it for 16-byte alignment.
35785         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35786         correction with front_misalign.
35787
35788 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35789
35790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35792         Likewise.
35793         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35794         Likewise.
35795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35796         Likewise.
35797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35798         Likewise.
35799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35800         Likewise.
35801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35802         Likewise.
35803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35804         Likewise.
35805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35806         Likewise.
35807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35808         Likewise.
35809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35810         Likewise.
35811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35812         Likewise.
35813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35814         Likewise.
35815
35816         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35817         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35818
35819 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35820
35821         [BZ #10846]
35822         [BZ #14036]
35823         * math/libm-test.inc (exp_test): Add test from bug 14036.
35824         (pow_test): Add test from bug 10846.
35825
35826         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35827         and other flags.
35828         (special_function): Do not include flags in test name.
35829         (parse_args): Likewise.
35830         * sysdeps/i386/fpu/libm-test-ulps: Update.
35831         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35832         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35833         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35835
35836         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35837         exceptions.
35838         * math/libm-test.inc ("Philosophy"): Update comment about
35839         exception testing.
35840         (UNDERFLOW_EXCEPTION): New macro.
35841         (UNDERFLOW_EXCEPTION_OK): Likewise.
35842         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35843         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35844         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35845         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35846         (INVALID_EXCEPTION_OK): Update value.
35847         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35848         (OVERFLOW_EXCEPTION_OK): Likewise.
35849         (IGNORE_ZERO_INF_SIGN): Likewise.
35850         (test_exceptions): Handle underflow exceptions.
35851         (acos_test): Update for underflow exception expectations.
35852         (cexp_test): Likewise.
35853         (clog_test): Likewise.
35854         (clog10_test): Likewise.
35855         (csqrt_test): Likewise.
35856         (ctan_test): Likewise.
35857         (ctanh_test): Likewise.
35858         (exp_test): Likewise.
35859         (exp10_test): Likewise.
35860         (exp2_test): Likewise.
35861         (expm1_test): Likewise.
35862         (fma_test): Likewise.
35863         (j0_test): Likewise.
35864         (jn_test): Likewise.
35865         (nexttoward_test): Likewise.
35866         (pow_test): Likewise.
35867         (scalbn_test): Likewise.
35868         (scalbln_test): Likewise.
35869         (tan_test): Likewise.
35870         (y1_test): Likewise.
35871         * sysdeps/i386/fpu/libm-test-ulps: Update.
35872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35873
35874 2012-05-23  David S. Miller  <davem@davemloft.net>
35875
35876         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35877         (__libc_sigaction): Remove unused local variables.
35878
35879 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35880
35881         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35882
35883 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35884
35885         mktime: avoid signed integer overflow
35886         * time/mktime.c (__mktime_internal): Do not mishandle the case
35887         where diff == INT_MIN.
35888
35889         mktime: simplify computation of average
35890         * time/mktime.c (ranged_convert): Use new time_t_avg function
35891         instead of rolling our own (probably-slower) code.
35892
35893         mktime: do not assume signed right shift propagates sign bit
35894         * time/mktime.c (isdst_differ): New static function.
35895         (__mktime_internal): No need to normalize tm_isdst now.
35896         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35897         tm_isdst values.
35898
35899         mktime: merge another wrapv change from gnulib
35900         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35901         from some compilers.
35902
35903         mktime: remove incorrect attempt at unusual arithmetics
35904         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35905         The code didn't really work on such machines anyway.
35906         (TYPE_MINIMUM): Assume two's complement.
35907         (twos_complement_arithmetic): Verify that long_int and time_t
35908         are two's complement (or unsigned, in the latter case).
35909
35910         mktime: check signed shifts on long_int and time_t, too
35911         * time/mktime.c (SHR): Check that shifts work as desired
35912         on the types long_int and time_t too, as SHR is used on
35913         such types.
35914
35915         mktime: do not assume 'long' is wide enough
35916         * time/mktime.c (verify): Move decl up.
35917         (long_int): New type.
35918         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35919         to remove assumption in the code that 'long' is wide enough to
35920         store year values.  This assumption is not true on x32 and on
35921         some non-glibc platforms.
35922
35923         mktime: merge wrapv change from gnulib
35924         * time/mktime.c (WRAPV): New macro.
35925         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35926         (guess_time_tm, __mktime_internal): Do not assume that signed
35927         integer overflow wraps around; modern compilers generate code
35928         where this assumption is no longer valid.
35929
35930 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35931
35932         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35933         Replace "jmp L(pseudo_end)" with "ret".
35934         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35935         Likewise.
35936
35937 2012-05-23  Andreas Jaeger  <aj@suse.de>
35938
35939         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35940         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35941
35942 2012-05-23  Andreas Jaeger  <aj@suse.de>
35943             Maximilian Attems  <max@stro.at>
35944
35945         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35946         New macros.
35947
35948 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35949
35950         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35951         code so that pseudo_end is just ret and the stack pointer is
35952         correct also for static library in error case.
35953
35954 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35955
35956         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35957         move to syscalls.list.
35958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35962
35963         * manual/install.texi (Running make install): Do not mention Linux
35964         kernel version for which pt_chown is not needed.
35965         (Linux): Do not mention problems with nscd with 2.0 kernels.
35966         * INSTALL: Regenerated.
35967
35968 2012-05-23  Andreas Jaeger  <aj@suse.de>
35969
35970         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35971         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35972         macro.
35973         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35974         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35975         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35976         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35977         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35978         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35979         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35980         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35981         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35982         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35983         * sysdeps/unix/sysv/linux/bits/in.h
35984         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35985
35986 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35987
35988         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35989         (PREPARE_VERSION): Just use assert instead, it will be elided
35990         under [NDEBUG] anyway.
35991
35992 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35993
35994         * sysdeps/unix/sysv/linux/Makefile: Include
35995         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35996         (sysdep_routines): Remove sysctl.
35997         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35998         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35999         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36000         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36001         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36002
36003 2012-05-22  Andreas Jaeger  <aj@suse.de>
36004
36005         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36006         that pseudo_end is just ret and the stack pointer is correct also
36007         for static library in error case.
36008
36009 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36010
36011         [BZ #14122]
36012         * nss/nsswitch.c (defconfig_entries): New variable.
36013         (__nss_database_lookup): Don't leak defconfig entries.
36014         (nss_parse_service_list): Don't leak on error paths.
36015         (free_database_entries): New function.
36016         (free_defconfig): New function.
36017         (free_mem): Move common code to free_database_entries.
36018
36019 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36020
36021         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36022         Add arch_prctl.
36023         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36024
36025         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36026         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36028         New macro.
36029         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36030         (INTERNAL_SYSCALL_TYPES): Likewise.
36031         (LOAD_ARGS_TYPES_[1-6]): Likewise.
36032         (LOAD_REGS_TYPES_[1-6]): Likewise.
36033         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36034         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36035
36036 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36037
36038         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36039         copysignl for GLIBC_2_0.
36040         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36041         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36042         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36043         logbl for GLIBC_2_0.
36044         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36045         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36046
36047 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36048
36049         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36050         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36051
36052         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36053         Use "neg %eax".
36054
36055         * time/mktime.c: Update copyright years.
36056
36057 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36058
36059         mktime: merge comment-quoting-style change from gnulib
36060         * time/mktime.c: Quote 'like this' in comments.
36061         The GNU coding standards suggest that we no longer quote `like this',
36062         as "`" and "'" are typically rendered asymmetrically nowadays.
36063         The typical gnulib style is to quote 'like this' when quoting
36064         code, and "like this" when quoting English.
36065
36066         * time/mktime.c (compile-command): Add "-I.".
36067
36068         mktime: merge mktime-internal.h change from gnulib
36069         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36070
36071         mktime: merge time_r change from gnulib
36072         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36073
36074         mktime: merge DEBUG change from gnulib
36075         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36076         case system <time.h> has a #define.
36077
36078         mktime: merge <sys/types.h> change from gnulib
36079         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36080         since <time.t> is now guaranteed to define time_t.
36081
36082         mktime: merge HAVE_CONFIG_H change from gnulib
36083         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36084
36085 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36086
36087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36088         Use "neg %eax".
36089
36090         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36091         __rlim_t cast.
36092         (struct rusage): Use anonymous union to pad each field to
36093         __syscall_slong_t.
36094
36095 2012-05-21  David S. Miller  <davem@davemloft.net>
36096
36097         * Makefules (o-iterator): Remove .s cases.
36098         (compile-command.s): Delete.
36099         (COMPILE.s): Delete.
36100         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36101
36102 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
36103
36104         * configure.in (libc_cv_predef_stack_protector): Only consider
36105         "foobar" and "__stack_chk_fail" lines in libc_undefs.
36106         * configure: Regenerated.
36107
36108 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36109
36110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36111         New macro.  Use R*LP on int and pointer.
36112         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36113         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36114         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36115         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36116
36117         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36118         [__WORDSIZE_TIME64_COMPAT32] instead of
36119         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36120         (struct utmp): Likewise.
36121         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36122         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36123         Renamed to ...
36124         (__WORDSIZE_TIME64_COMPAT32): This.
36125         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36126         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36127         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36128         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36129         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36130         (__WORDSIZE_TIME64_COMPAT32): New macro.
36131
36132 2012-05-21  Andreas Jaeger  <aj@suse.de>
36133
36134         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36135         only if [SHARED]. Add prototype for __wcschr_ia32.
36136
36137 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36138
36139         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36140         of %rbp unmolested in the jmp_buf while mangling the low bits.
36141         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36142         unmolested high bits of %rbp while demangling the low bits.
36143         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36144
36145 2012-05-21  Andreas Jaeger  <aj@suse.de>
36146
36147         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36148         * sunrpc/svc_simple.c: Use it for registerrpc.
36149         * sunrpc/xcrypt.c: Use it for passwd2des.
36150
36151         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36152
36153 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36154
36155         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36156         Don't define if [__SYSCALL_WORDSIZE != 32].
36157         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36158         New macro.
36159
36160 2012-05-21  Bruno Haible  <bruno@clisp.org>
36161             Andreas Jaeger  <aj@suse.de>
36162
36163         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36164         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36165         inptr and inend for must_buffer_ch.
36166         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36167         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36168         * stdio-common/Makefile (tests): Remove bug15.
36169         (bug15-ENV): Remove macro.
36170         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36171         anymore.
36172
36173 2012-05-19  Andreas Jaeger  <aj@suse.de>
36174             Roland McGrath  <roland@hack.frob.com>
36175
36176         * manual/contrib.texi: Completely rewritten. It contains now an
36177         alphabetical list of contributors and their contributions.
36178
36179 2012-05-21  Richard Henderson  <rth@twiddle.net>
36180
36181         * misc/getauxval.c (__getauxval): Use unsigned long int.
36182         * misc/sys/auxv.h: Include <sys/cdefs.h>.
36183         (getauxval): Use unsigned long int.
36184
36185 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36186
36187         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36188
36189 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36190
36191         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36192         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36193         __alignof__ (long double).
36194
36195 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36196
36197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36198
36199 2012-05-20  Richard Henderson  <rth@twiddle.net>
36200
36201         * misc/getauxval.c: New file.
36202         * misc/sys/auxv.h: New file.
36203         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36204         (routines): Add getauxval.
36205         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36206         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36207         * elf/dl-sysdep.c (_dl_auxv): Remove.
36208         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36209         * elf/dl-support.c (_dl_auxv): New variable.
36210         (_dl_aux_init): Initialize it.
36211         * manual/startup.texi (Auxiliary Vector): New node.
36212         * sysdeps/generic/bits/hwcap.h: New file.
36213         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36214         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
36215         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36216         * sysdeps/sparc/sysdep.h: ... here.  Include it.
36217         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36218         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36220         Update.
36221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36224         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36229
36230 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36231
36232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36233
36234 2012-05-19  David S. Miller  <davem@davemloft.net>
36235
36236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36237
36238 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36239
36240         [BZ #14123]
36241         * math/s_ccosh.c: Include <float.h>
36242         (__ccosh): Avoid internal overflow calculating sinh and cosh
36243         values before multiplying by sin and cos values.
36244         * math/s_ccoshf.c: Likewise.
36245         * math/s_ccoshl.c: Likewise.
36246         * math/s_csin.c: Likewise.
36247         * math/s_csinf.c: Likewise.
36248         * math/s_csinl.c: Likewise.
36249         * math/s_csinh.c: Likewise.
36250         * math/s_csinhf.c: Likewise.
36251         * math/s_csinhl.c: Likewise.
36252         * math/libm-test.inc (ccos_test): Add more tests.
36253         (ccosh_test): Likewise.
36254         (csin_test): Likewise.
36255         (csinh_test): Likewise.
36256         * sysdeps/i386/fpu/libm-test-ulps: Update.
36257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36258
36259 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
36260
36261         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36262         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36263
36264         * sysdeps/x86_64/x32/_itoa.h: Add comment.
36265
36266 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36267
36268         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36269         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36270         * sysdeps/powerpc/soft-fp/Versions: Likewise.
36271         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36272         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36273         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36274         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36275         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36276         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36277         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36278         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36279         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36280         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36281         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36282         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36283         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36284         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36285         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36286         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36287         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36288         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36289         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36290         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36291         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36292         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36293         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36294         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36295         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36296         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36297         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36298         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36299
36300 2012-05-18  Andreas Jaeger  <aj@suse.de>
36301
36302         * csu/.gitignore: Delete.
36303
36304 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36305
36306         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36307         (timex): Use __syscall_slong_t.
36308
36309 2012-05-18  Andreas Jaeger  <aj@suse.de>
36310             Carlos O'Donell  <carlos_odonell@mentor.com>
36311
36312         * manual/install.texi (Configuring and compiling): Update
36313         description about files modified in the source directory.
36314         * INSTALL: Regenerated.
36315
36316 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36317
36318         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36319         value.  Use "or" to set return value to -1.
36320         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36321         negate return value.
36322
36323 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36324
36325         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36326         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36327         failure if the compiler has Graphite support disabled.
36328         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36329         Likewise.
36330         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36331         (CFLAGS-memmove.c): Likewise.
36332         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36333         Likewise.
36334
36335 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36336
36337         * sysdeps/x86_64/x32/_itoa.h: New file.
36338
36339         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36340         getdents system call only if kernel and user dirents have the
36341         same d_ino and d_off.
36342
36343         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36344         LLONG_MAX != LONG_MAX.
36345         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36346         (_fitoa_word): Likewise.
36347
36348         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36349         years.
36350         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36351         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36352         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36353
36354         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36355         include <bits/wordsize.h>.  Check __x86_64__ instead of
36356         __WORDSIZE.
36357         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36358         if __x86_64__ is defined.  Use anonymous union on fpstate.
36359
36360         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36361         anonymous union.
36362
36363 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
36364
36365         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36366         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36367         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36368         Refer to _rtld_local_ro instead of _rtld_global_ro.
36369         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36370         Likewise.
36371         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36372         Likewise.
36373         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36374         Likewise.
36375         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36376         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36377         of _rtld_global, and rtld_progname instead of _dl_argv[0].
36378
36379         * sysdeps/powerpc/powerpc32/dl-machine.c
36380         (__elf_machine_runtime_setup) [PROF]: Don't reference
36381         _dl_prof_resolve.
36382
36383 2012-05-18  Andreas Jaeger  <aj@suse.de>
36384
36385         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36386         function only available for GCCs before 3.4 since GCC 3.4
36387         introduced a builtin.
36388         (lrint): Likewise.
36389         (llrintf): Likewise.
36390         (llrint): Likewise.
36391         (fmaxf): Likewise.
36392         (fmax): Likewise.
36393         (fminf): Likewise.
36394         (fmin): Likewise.
36395         (rint): Likewise.
36396         (rintf): Likewise.
36397         (nearbyint): Likewise.
36398         (nearbyintf): Likewise.
36399         (ceil): Likewise.
36400         (ceilf): Likewise.
36401         (floor): Likewise.
36402         (floorf): Likewise.
36403
36404 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36405
36406         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36407         on both fields and cast pointer to __syscall_ulong_t.
36408
36409         * bits/types.h (__fsword_t): New type.
36410         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36411         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36413         (__FSWORD_T_TYPE): Likewise.
36414         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36415         (__FSWORD_T_TYPE): Likewise.
36416         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36417         (__FSWORD_T_TYPE): Likewise.
36418         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36419         (__FSWORD_T_TYPE): Likewise.
36420         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36421         __SWORD_TYPE with __fsword_t.
36422         (statfs64): Likewise.
36423
36424 2012-05-17  David S. Miller  <davem@davemloft.net>
36425
36426         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36427
36428 2012-05-17  Andreas Jaeger  <aj@suse.de>
36429
36430         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36431         warning.
36432
36433 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36434
36435         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36436
36437 2012-05-17  Andreas Jaeger  <aj@suse.de>
36438
36439         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36440         when it is used.
36441
36442 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36443
36444         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36445
36446 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36447
36448         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36449         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36450
36451 2012-05-17  Andreas Jaeger  <aj@suse.de>
36452             Carlos O'Donell  <carlos_odonell@mentor.com>
36453
36454         [BZ #14059]
36455         * sysdeps/x86_64/multiarch/init-arch.h
36456         (bit_YMM_Usable): Rename to...
36457         (bit_AVX_Usable): ... this.
36458         (bit_FMA4_Usable): New macro.
36459         (bit_XMM_state): New macro.
36460         (bit_YMM_state): New macro.
36461         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36462         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36463         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36464         (CPUID_OSXSAVE): New macro.
36465         (CPUID_AVX): New macro.
36466         (CPUID_FMA4): New macro.
36467         (index_YMM_Usable): Rename to...
36468         (index_AVX_Usable): ... this.
36469         (HAS_AVX): Use HAS_ARCH_FEATURE.
36470         (HAS_FMA4): Likewise.
36471         (HAS_YMM_USABLE): Remove.
36472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36473         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36474         are present.
36475         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36476         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36477         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36478         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36479         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36480
36481 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36482
36483         * math/libm-test.c: Support platforms without multiple rounding modes.
36484         * math/bug-nextafter.c: Support platforms without FP exceptions.
36485         * math/bug-nexttoward.c: Likewise.
36486         * math/test-fenv.c: Likewise.
36487         * math/test-misc.c: Likewise.
36488         * stdlib/bug-getcontext.c: Likewise.
36489
36490 2012-05-17  Andreas Jaeger  <aj@suse.de>
36491
36492         * manual/examples/search.c (critter_cmp): Change signature to
36493         avoid warnings.
36494         * manual/string.texi (Collation Functions): Likewise.
36495
36496 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36497
36498         * bits/types.h: Fold copyright years.
36499         * bits/typesizes.h: Likewise.
36500         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36501         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36502         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36503         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36504         * time/time.h: Likewise.
36505
36506 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36507
36508         [BZ #208]
36509         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36510         in instead of returning them.  Return void.
36511         (__libc_mallinfo): Accumulate over all arenas.
36512         (__malloc_stats): Adjust for change in int_mallinfo interface.
36513
36514 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36515
36516         [BZ #10375]
36517         * configure.in (NM): Add AC_CHECK_TOOL for it.
36518         (libc_extra_cflags): New substituted variable.
36519         Check for -fstack-protector being used implicitly.
36520         * configure: Regenerated.
36521         * config.make.in (config-extra-cflags): New variable,
36522         gets @libc_extra_cflags@.
36523         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36524
36525         [BZ #10375]
36526         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36527         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36528         * configure: Regenerated.
36529         * config.make.in (CPPUNDEFS): New substituted variable.
36530         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36531         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36532         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36533
36534 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36535
36536         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36537         (mq_attr): Use __syscall_slong_t.
36538
36539 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36540
36541         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36542         Check __x86_64__ instead of __WORDSIZE.
36543         (_STAT_VER_LINUX): Likewise.
36544         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36545         __syscall_ulong_t and __syscall_slong_t.
36546         (stat64): Likewise.
36547
36548 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36549
36550         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36551
36552 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36553
36554         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36555
36556 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36557
36558         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36559         __syscall_ulong_t.
36560
36561         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36562         include <bits/wordsize.h>.  Check __x86_64__ instead of
36563         __WORDSIZE.
36564         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36565         defined.
36566         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36567
36568         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36569         include <bits/wordsize.h>.  Check __x86_64__ instead of
36570         __WORDSIZE.
36571         (user_regs_struct): Use "__extension__ unsigned long long"
36572         instead of "unsigned long" if __x86_64__ is defined.
36573         (user): Likewise.  Pad after pointer field if __ILP32__ is
36574         defined.
36575
36576 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36577
36578         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36579         versions 5 to 9.
36580         * configure: Regenerated.
36581         * manual/install.texi (texinfo): Increase version requirement to
36582         4.5 or later.
36583         * INSTALL: Regenerated.
36584
36585         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36586
36587 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36588
36589         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36590
36591         * sysdeps/x86_64/x32/ffs.c: New file.
36592
36593         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36594         __syscall_ulong_t.
36595         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36596         defined.  Use __syscall_ulong_t.
36597         (shminfo): Use __syscall_ulong_t.
36598         (shm_info): Likewise.
36599
36600         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36601         __syscall_ulong_t.
36602
36603         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36604         <bits/wordsize.h>.
36605         (msgqnum_t): Use __syscall_ulong_t.
36606         (msglen_t): Likewise.
36607         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36608         __syscall_ulong_t.
36609
36610         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36611         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36612
36613         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36614
36615         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36616         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36617
36618         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36619         __syscall_slong_t.
36620
36621         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36622         include <bits/wordsize.h>.  Check __x86_64__ instead of
36623         __WORDSIZE.
36624
36625         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36626         "unsigned long long int" if __x86_64__ is defined.
36627         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36628
36629         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36630         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36631         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36632
36633         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36634         <stdint.h>.
36635         (GET_PC): Cast to uintptr_t first.
36636         (GET_FRAME): Likewise.
36637         (GET_STACK): Likewise.
36638
36639         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36640         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36641         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36642         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36643         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36644         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36645         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36646         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36647         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36648         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36649         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36650         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36651         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36652         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36653         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36654         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36655         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36656         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36657         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36658         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36659         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36660         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36661         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36662         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36663         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36664         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36665         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36666         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36667         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36668
36669 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36670
36671         * Makerules (+depfiles): Also collect depfiles from .oS in
36672         $(extra-objs).
36673         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36674         .oS, $(libnldbl-routines)).
36675
36676         * Makerules (native-compile-mkdep-flags): Define.
36677         * sunrpc/Makefile (extra-objs): Add $(addprefix
36678         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36679         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36680         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36681         calling $(make-target-directory).
36682
36683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36684
36685         * bits/types.h (__snseconds_t): Removed.
36686         * time/time.h (struct timespec): Replace __snseconds_t with
36687         __syscall_slong_t.
36688         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36689         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36690         Likewise.
36691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36692         (__SNSECONDS_T_TYPE): Likewise.
36693         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36694         (__SNSECONDS_T_TYPE): Likewise.
36695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36696         (__SNSECONDS_T_TYPE): Likewise.
36697
36698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36699
36700         * sysdeps/mach/hurd/bits/typesizes.h
36701         (__SYSCALL_SLONG_TYPE): New macro.
36702         (__SYSCALL_ULONG_TYPE): Likewise.
36703
36704 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36705
36706         * bits/types.h (__syscall_slong_t): New type.
36707         (__syscall_ulong_t): Likewise.
36708
36709         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36710         (__SYSCALL_ULONG_TYPE): Likewise.
36711         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36712         (__SYSCALL_SLONG_TYPE): Likewise.
36713         (__SYSCALL_ULONG_TYPE): Likewise.
36714         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36715         (__SYSCALL_SLONG_TYPE): Likewise.
36716         (__SYSCALL_ULONG_TYPE): Likewise.
36717         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36718         (__SYSCALL_SLONG_TYPE): Likewise.
36719         (__SYSCALL_ULONG_TYPE): Likewise.
36720
36721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36722
36723         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36724         Add sigaltstack-offsets.sym.
36725         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36726         <sigaltstack-offsets.h>.
36727         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36728         longjmp_msg pointer.
36729         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36730         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36731         signal stack.
36732         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36733
36734 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36735
36736         * elf/stackguard-macros.h: Remove file.
36737         * sysdeps/generic/stackguard-macros.h: New file.
36738         * sysdeps/i386/stackguard-macros.h: Likewise.
36739         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36740         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36741         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36742         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36743         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36744         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36745         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36746         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36747         <elf/stackguard-macros.h>.
36748
36749         [BZ #14109]
36750         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36751         __aligned__ in attribute.
36752         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36753         (gregset_t): Likewise.
36754
36755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36756
36757         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36758         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36759         * sysdeps/x86_64/x32/Implies-after: New file.
36760
36761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36762
36763         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36764         and access return value for _dl_profile_fixup.  Use R10_LP to
36765         load frame size.
36766
36767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36768
36769         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36770
36771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36772
36773         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36774         * sysdeps/x86_64/x32/sysdep.h: New file.
36775
36776 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36777
36778         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36779         * sysdeps/x86_64/setjmp.S: Likewise.
36780
36781 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36782
36783         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36784         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36785         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36786         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36787         remove unused global constant.
36788
36789 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36790
36791         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36792         include of <not-cancel.h>.
36793
36794 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36795
36796         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36797
36798 2012-05-15  Jeff Law  <law@redhat.com>
36799             Andreas Jaeger  <aj@suse.de>
36800
36801         [BZ #13594]
36802         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36803         out from...
36804         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36805         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36806         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36807         code changing __hst_map_handle.map.
36808
36809 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36810
36811         * configure.in (sysnames): Look for Implies-before and Implies-after
36812         files.
36813         * configure: Regenerated.
36814
36815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36816
36817         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36818         8-byte data alignment with LP_SIZE alignment.
36819
36820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36821
36822         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36823         into R10_LP.
36824
36825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36826
36827         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36828
36829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36830
36831         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36832         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36833         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36834         Likewise.
36835         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36836
36837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36838
36839         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36840         (stackinfo_sub_sp): Likewise.
36841
36842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36843
36844         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36845         RAX_LP.
36846
36847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36848
36849         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36850         into R*_LP.
36851
36852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36853
36854         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36855         sizes into R*_LP.
36856
36857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36858
36859         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36860
36861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36862
36863         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36864         into R11_LP and load __x86_64_shared_cache_size_half into
36865         R8_LP.
36866
36867 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36868
36869         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36870         R8_LP.
36871
36872 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36873
36874         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36875         logb for POWER7.
36876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36877         logbf for POWER7.
36878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36879         logbl for POWER7.
36880         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36881         powerpc32/power7/fpu/s_logb.c via #include.
36882         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36883         powerpc32/power7/fpu/s_logbf.c via #include.
36884         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36885         powerpc32/power7/fpu/s_logbl.c via #include.
36886
36887 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36888
36889         * README.libm: Remove file.
36890
36891 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36892
36893         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36894         count for x32.  Use R*_LP and omit operand-size suffix.
36895
36896 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36897
36898         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36899         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36900         * sysdeps/x86_64/x32/shlib-versions: New file.
36901
36902 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36903
36904         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36905         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36906         Use _dl_fatal_printf instead.
36907
36908 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36909
36910         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36911         set if not set by the user.  Do not allow for being unset.
36912         * sysdeps/unix/sysv/linux/configure: Regenerated.
36913
36914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36915
36916         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36917         the `q' suffix from lea and replace .quad with ASM_ADDR.
36918
36919 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36920
36921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36922         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36923         instead of $17.
36924         (PTR_DEMANGLE): Likewise.
36925
36926 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36927
36928         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36929         (LP_OP): Likewise.
36930         (ASM_ADDR): Likewise.
36931         (RAX_LP): Likewise.
36932         (RBP_LP): Likewise.
36933         (RBX_LP): Likewise.
36934         (RCX_LP): Likewise.
36935         (RDI_LP): Likewise.
36936         (RSI_LP): Likewise.
36937         (RSP_LP): Likewise.
36938         (R8_LP): Likewise.
36939         (R9_LP): Likewise.
36940         (R10_LP): Likewise.
36941         (R10_LP): Likewise.
36942         (R11_LP): Likewise.
36943         (R12_LP): Likewise.
36944         (R13_LP): Likewise.
36945         (R14_LP): Likewise.
36946         (R15_LP): Likewise.
36947
36948 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36949
36950         * sysdeps/x86_64/x32/dl-machine.h: New file.
36951
36952 2012-05-14  Andreas Jaeger  <aj@suse.de>
36953
36954         * manual/Makefile (subdir): Remove export of subdir.
36955         (all): Remove target.
36956         (.PHONY): Remove all from list.
36957         (mkinstalldirs): Remove.
36958         (.PHONY): Remove installdirs from list.
36959         ($(inst_infodir)/libc.info): Use make-target-directory.
36960         (installdirs): Remove.
36961         (subdir_%): Remove.
36962         (glibc-targets): Remove.
36963         (lib): Remove.
36964         (stubs): Remove.
36965         ($(objpfx)stubs ../po/manual.pot): Remove.
36966         ($(objpfx)stamp%): Remove.
36967         (make-target-directory): Remove.
36968         (subdir_install): Remove.
36969         (routines): Remove.
36970         (aux): Remove.
36971         (sources): Remove.
36972         (objects): Remove.
36973         (headers): Remove.
36974
36975         [BZ #13750]
36976         * manual/.gitignore: Remove, it's not needed anymore.
36977         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36978         all files in it.
36979         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36980         directory.
36981         (texis): Renamed to $(objpfx)texis.
36982         (texis-path): New, contains path to generated files.
36983         (chapters.%): Use texis-path for complete path, add extra argument
36984         libc-texinfo.sh.
36985         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36986         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36987         (summary,texi, stamp-summary): Use complete path of
36988         files. Generate files in build dir.
36989         (dir-add.texi): Build in build dir.
36990         (libm-err.texi,stamp-libm-err): Likewise.
36991         (version.texi, stamp-version): Likewise.
36992         (.%c.texi): Likewise.
36993         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36994         (mostlyclean): Remove target.
36995         (realclean): Remove target.
36996         (generated): Add new variable with contents from mostlyclean and
36997         realclean, remove entries duplicated in common-mostlyclean, add
36998         stamp-libm-err and stamp-version.
36999         (generated-dirs): Add libc directory.
37000         ($(inst_infodir)/libc.info): Install files from build dir.
37001
37002         * manual/install.texi (Configuring and compiling): Adjust since
37003         the info files are not part of the tar ball anymore.
37004
37005 2012-05-14  Andreas Jaeger  <aj@suse.de>
37006
37007         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37008         variable.
37009
37010 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
37011
37012         [BZ #13717]
37013         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37014         to 2.2.0 where earlier.
37015         * sysdeps/unix/sysv/linux/configure: Regenerated.
37016         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37017         Remove conditional code.
37018         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37019         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37020         Remove conditional code.
37021         [!__NR_lchown]: Likewise.
37022         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37023         [__NR_lchown]: Likewise.
37024         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37025         comment referencing __ASSUME_LCHOWN_SYSCALL.
37026         * sysdeps/unix/sysv/linux/i386/sigaction.c
37027         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37028         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37029         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37030         Remove conditional code.
37031         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37032         (__protocol_available): Remove #if 0 code.
37033         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37034         conditional code.
37035         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37036         * sysdeps/unix/sysv/linux/kernel-features.h
37037         (__ASSUME_GETCWD_SYSCALL): Don't define.
37038         (__ASSUME_REALTIME_SIGNALS): Likewise.
37039         (__ASSUME_PREAD_SYSCALL): Likewise.
37040         (__ASSUME_PWRITE_SYSCALL): Likewise.
37041         (__ASSUME_POLL_SYSCALL): Likewise.
37042         (__ASSUME_LCHOWN_SYSCALL): Likewise.
37043         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37044         non-SPARC.
37045         (__ASSUME_SIOCGIFNAME): Don't define.
37046         (__ASSUME_MSG_NOSIGNAL): Likewise.
37047         (__ASSUME_SENDFILE): Define unconditionally.
37048         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37049         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37050         conditional code.
37051         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37052         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37053         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37054         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37055         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37056         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37057         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37059         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37060         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37062         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37063         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37065         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37066         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37068         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37069         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37071         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37072         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37074         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37075         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37077         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37078         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37080         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37081         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37082         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37083         Remove conditional code.
37084         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37085         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37086         Remove conditional code.
37087         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37088         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37089         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37090         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37091         Remove conditional code.
37092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37093         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37094         Remove conditional code.
37095         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37096         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37097         Remove conditional code.
37098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37099         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37100         Remove conditional code.
37101         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37102         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37103         Remove conditional code.
37104         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37105         * sysdeps/unix/sysv/linux/sh/pwrite64.c
37106         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37107         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37108         * sysdeps/unix/sysv/linux/sigaction.c
37109         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37110         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37111         * sysdeps/unix/sysv/linux/sigpending.c
37112         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37113         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37114         * sysdeps/unix/sysv/linux/sigprocmask.c
37115         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37116         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37117         * sysdeps/unix/sysv/linux/sigsuspend.c
37118         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37119         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37120         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37121         (__libc_missing_rt_sigs): Remove.
37122         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37123         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37124         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37125         Remove conditional code.
37126         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37127         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37128         return 1.
37129         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37130         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37131         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37132         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37133
37134 2012-05-14  Andreas Jaeger  <aj@suse.de>
37135
37136         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37137         it's not used in glibc.
37138         (__coshm1): Likewise.
37139         (__acosh1p): Likewise.
37140         (__sgn): Likewise.
37141
37142         * manual/string.texi (Copying and Concatenation): Add missing
37143         variable in concat example.
37144         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37145
37146 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37147
37148         [BZ #14103]
37149         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37150         __builtin_clzl with __builtin_clzll.
37151
37152 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37153
37154         [BZ #14104]
37155         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37156         libc_freeres_ptr.
37157
37158 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37159
37160         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37161         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37162         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37163         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37164
37165 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
37166
37167         * NEWS: Update ia64 info.
37168
37169 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
37170
37171         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37172         used as bcopy.
37173
37174 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
37175
37176         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37177         * sysdeps/unix/syscalls.list (dup3): Likewise.
37178         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37179         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37180
37181 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37182
37183         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37184         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37185
37186 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37187
37188         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37189         thread pointer.
37190         (TLS_IE): Use mov/add instead of movq/addq to load thread
37191         pointer.
37192         (TLS_GD_PREFIX): New.
37193         (TLS_GD): Use it.
37194
37195 2012-05-11  David S. Miller  <davem@davemloft.net>
37196
37197         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37198         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37199         (_FPU_SETCW): Likewise.
37200
37201 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37202
37203         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37204         is 32-byte aligned.
37205
37206 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
37207
37208         [BZ #11837]
37209         * iconvdata/gb18030.c: Update tables.
37210         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
37211         characters specially.
37212         (BODY for TO_LOOP): Add encoding of missing ranges.
37213
37214 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
37215
37216         [BZ #13673]
37217         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37218         * sysdeps/mach/hurd/dup3.c: Likewise.
37219         * sysdeps/mach/hurd/readlinkat.c: Likewise.
37220         * sysdeps/powerpc/memmove.c:: Likewise.
37221
37222 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37223
37224         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37225         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37226
37227 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37228
37229         * elf/elf.h (R_X86_64_RELATIVE64): New.
37230         (R_X86_64_NUM): Updated.
37231         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37232         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
37233         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37234         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37235         tst-quad1pie tst-quad2pie
37236         (modules-names): Add tst-quadmod1 tst-quadmod2.
37237         ($(objpfx)tst-quad1): New dependency.
37238         ($(objpfx)tst-quad2): Likewise.
37239         ($(objpfx)tst-quad1pie): Likewise.
37240         ($(objpfx)tst-quad2pie): Likewise.
37241         * sysdeps/x86_64/tst-quad1.c: New file.
37242         * sysdeps/x86_64/tst-quad1pie.c: New file.
37243         * sysdeps/x86_64/tst-quad2.c: Likewise.
37244         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37245         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37246         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37247         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37248         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37249
37250 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37251
37252         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37253         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37254         * streams/stropts.h (t_scalar_t): Define type.
37255
37256         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37257         (_PATH_PRESERVE): Set to "/var/lib".
37258         (_PATH_RWHODIR): Set to "/var/spool/rwho".
37259
37260         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37261         instead of int.
37262
37263         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37264         if __dir_mkfile succeeded.
37265
37266         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37267         checking for _hurd_dtablesize.  Unlock it right after having
37268         finished _hurd_dtable allocation.
37269
37270 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37271
37272         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37273         * sysdeps/mach/hurd/configure: Regenerated.
37274         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37275         special-casing to...
37276         * sysdeps/gnu/configure.in: ... this new file.
37277         * sysdeps/unix/sysv/linux/configure: Regenerated.
37278         * sysdeps/gnu/configure: New generated file.
37279
37280         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37281         for Linux: use nsec instead of usec, as well as:
37282         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37283         members of type struct timespec.
37284         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37285         New macros.
37286         (struct stat64): Likewise.
37287         (_STATBUF_ST_NSEC): New macro.
37288         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37289
37290         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37291         __strtoul_internal rather than strtoul.
37292
37293 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37294
37295         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37296         and reject them.
37297
37298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37299
37300         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37301         which preserves existing values.
37302         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37303
37304 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37305
37306         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37307         TIMEOUT values.  Return EINVAL for NFDS values either negative or
37308         greater than FD_SETSIZE.
37309
37310 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37311
37312         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37313         allocated, call __vm_protect to finish enabling the existing space, and
37314         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37315         allocate the remainder.
37316
37317 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37318
37319         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37320         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
37321
37322 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37323
37324         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37325         sysdeps/mach/hurd/readlink.c.
37326
37327         * posix/tst-sysconf.c (posix_options): Only use
37328         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37329         _POSIX_SYNCHRONIZED_IO when they are defined
37330         * sysdeps/mach/hurd/bits/posix_opt.h:
37331         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37332         (_XOPEN_REALTIME): Undefine macro.
37333         (_XOPEN_REALTIME_THREADS): Undefine macro.
37334         (_XOPEN_SHM): Undefine macro.
37335         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37336         macro to -1.
37337         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37338         macro to -1.
37339         (_POSIX_ASYNC_IO): Undefine macro.
37340         (_POSIX_PRIORITIZED_IO): Undefine macro.
37341         (_POSIX_SPIN_LOCKS): Define macro to -1.
37342
37343         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37344         SA_NODEFER, SA_RESETHAND.
37345         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37346         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37347         F_DUPFD_CLOEXEC.
37348
37349 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37350
37351         * elf/Makefile (pldd-modules): Define unconditionally.
37352
37353 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37354
37355         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37356
37357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37358
37359         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37360         Return ENOENT when name is empty.
37361         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37362
37363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37364
37365         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37366
37367         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37368
37369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37370
37371         Fix mlock in all cases except non-readable pages.
37372         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37373         instead of VM_PROT_ALL as parameter to __vm_wire function.
37374
37375         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37376         (__mkdir): When path is `/', just fail with EEXIST.
37377         * sysdeps/mach/hurd/mkdirat.c: Likewise.
37378
37379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37380
37381         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37382         <sys/uio.h> (for writev).
37383         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37384         and <sys/param.h> (for MIN).
37385
37386 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37387
37388         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37389         REQUESTED_TIME.  Properly set the remaining time and return EINTR
37390         if interrupted.
37391
37392 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37393
37394         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37395         Depend on against $(link-rpcuserlibs).
37396
37397 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37398
37399         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37400         (__libc_stack_end): Do not use attribute_relro.
37401         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37402         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37403         to libthread-provided value.
37404         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37405         attribute_relro.
37406
37407 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37408
37409         [BZ #3748]
37410         * bits/libc-lock.h (__libc_once_get): New macro.
37411         * sysdeps/mach/bits/libc-lock.h: Likewise.
37412         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37413         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37414         instead of using implementation details.
37415
37416         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37417         * libio/freopen.c: Likewise.
37418         * libio/freopen64.c: Likewise.
37419         * misc/syslog.c: Likewise.
37420         * nscd/connections.c: Likewise.
37421         * nscd/netgroupcache.c: Likewise.
37422         * sysdeps/posix/getcwd.c: Likewise.
37423
37424 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37425
37426         * math/w_ilogbf.c: Add #include <limits.h>.
37427
37428 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37429
37430         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37431         path instead of returning without unlocking.
37432
37433         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37434         immediate-write ioctls.
37435         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37436
37437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37438
37439         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37440         __builtin_frame_address instead of making assumptions about the
37441         location of the return address relative to DATA.  Force early load of
37442         the return address.
37443         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37444         __builtin_frame_address.
37445
37446         dup3 for GNU Hurd.
37447         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37448         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37449         implement dup3 and do some further code clean-ups.
37450         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37451         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37452
37453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37454
37455         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37456
37457         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37458         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37459         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37460         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37461         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37462         d->port.lock.
37463
37464         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37465         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37466         when handler == SIG_ERR, not when handler != SIG_ERR.
37467
37468 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37469
37470         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37471         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37472         definitions.
37473
37474         accept4 for GNU Hurd.
37475         * include/sys/socket.h (__libc_accept4): New prototype.
37476         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37477         to implement __libc_accept4.
37478         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37479         __libc_accept4.
37480         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37481
37482         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37483         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37484         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37485         signal-defines.sym.
37486
37487 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37488
37489         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37490
37491 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37492
37493         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37494         assertion on O_CLOEXEC flag.
37495         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37496         * hurd/intern-fd.c: Likewise.
37497         * hurd/port2fd.c: Likewise.
37498
37499 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37500
37501         [BZ #3906]
37502         * bits/in.h (IPV6_PKTINFO): Define new macro.
37503         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37504
37505 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37506
37507         [BZ #13954]
37508         [BZ #13955]
37509         [BZ #13956]
37510         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37511         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37512         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37513         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37514         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37515         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37516         * math/libm-test.inc (logb_test) : Additional logb tests.
37517
37518 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37519             Andreas Jaeger  <aj@suse.de>
37520
37521         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37522         * configure: Regenerated.
37523         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37524         * config.make.in (link-obsolete-rpc): New substituted variable.
37525         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37526         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37527         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37528         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37529         so that libc.a contains the symbols.
37530         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37531         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37532         * sunrpc/auth_none.c: Likewise.
37533         * sunrpc/auth_unix.c: Likewise.
37534         * sunrpc/authdes_prot.c: Likewise.
37535         * sunrpc/authuxprot.c: Likewise.
37536         * sunrpc/clnt_gen.c: Likewise.
37537         * sunrpc/clnt_perr.c: Likewise.
37538         * sunrpc/clnt_raw.c: Likewise.
37539         * sunrpc/clnt_simp.c: Likewise.
37540         * sunrpc/clnt_tcp.c: Likewise.
37541         * sunrpc/clnt_udp.c: Likewise.
37542         * sunrpc/clnt_unix.c: Likewise.
37543         * sunrpc/des_crypt.c: Likewise.
37544         * sunrpc/des_soft.c: Likewise.
37545         * sunrpc/get_myaddr.c: Likewise.
37546         * sunrpc/key_call.c: Likewise.
37547         * sunrpc/key_prot.c: Likewise.
37548         * sunrpc/netname.c: Likewise.
37549         * sunrpc/pm_getmaps.c: Likewise.
37550         * sunrpc/pm_getport.c: Likewise.
37551         * sunrpc/pmap_clnt.c: Likewise.
37552         * sunrpc/pmap_prot.c: Likewise.
37553         * sunrpc/pmap_prot2.c: Likewise.
37554         * sunrpc/pmap_rmt.c: Likewise.
37555         * sunrpc/publickey.c: Likewise.
37556         * sunrpc/rpc_cmsg.c: Likewise.
37557         * sunrpc/rpc_common.c: Likewise.
37558         * sunrpc/rpc_dtable.c: Likewise.
37559         * sunrpc/rpc_prot.c: Likewise.
37560         * sunrpc/rpc_thread.c: Likewise.
37561         * sunrpc/rtime.c: Likewise.
37562         * sunrpc/svc.c: Likewise.
37563         * sunrpc/svc_auth.c: Likewise.
37564         * sunrpc/svc_raw.c: Likewise.
37565         * sunrpc/svc_run.c: Likewise.
37566         * sunrpc/svc_tcp.c: Likewise.
37567         * sunrpc/svc_udp.c: Likewise.
37568         * sunrpc/svc_unix.c: Likewise.
37569         * sunrpc/svcauth_des.c: Likewise.
37570         * sunrpc/xcrypt.c: Likewise.
37571         * sunrpc/xdr.c: Likewise.
37572         * sunrpc/xdr_array.c: Likewise.
37573         * sunrpc/xdr_float.c: Likewise.
37574         * sunrpc/xdr_intXX_t.c: Likewise.
37575         * sunrpc/xdr_mem.c: Likewise.
37576         * sunrpc/xdr_rec.c: Likewise.
37577         * sunrpc/xdr_ref.c: Likewise.
37578         * sunrpc/xdr_sizeof.c: Likewise.
37579         * sunrpc/xdr_stdio.c: Likewise.
37580
37581 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37582
37583         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37584         change.  Update copyright years.
37585
37586 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37587
37588         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37589
37590 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37591             Joseph Myers  <joseph@codesourcery.com>
37592             Paul Pluzhnikov  <ppluzhnikov@google.com>
37593
37594         [BZ #14012]
37595         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37596         requiring rpcgen.
37597         [cross-compiling] (extra-libs): Likewise.
37598         [cross-compiling] (extra-libs-others): Likewise.
37599         [cross-compiling] (librpcsvc-routines): Likewise.
37600         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37601         [cross-compiling] (omit-deps): Likewise.
37602         (sunrpc-CPPFLAGS): New variable.
37603         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37604         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37605         (cross-rpcgen-objs): New variable.
37606         (extra-objs): Append $(cross-rpcgen-objs).
37607         ($(cross-rpcgen-objs)): New rule.
37608         ($(objpfx)cross-rpcgen): Likewise.
37609         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37610         comment.
37611         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37612         ($(objpfx)x%.stmp): Likewise.
37613         * sunrpc/proto.h [IS_IN_build] (_): Define.
37614         [IS_IN_build] (_libc_intl_domainname): Likewise.
37615
37616 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37617
37618         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37619         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37620         and R_X86_64_TPOFF64.
37621
37622 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37623
37624         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37625         sysdeps/unix/sysv/syscalls.list.
37626         (stime): Likewise.
37627         (utime): Likewise.
37628         * sysdeps/unix/sysv/syscalls.list: Remove file.
37629
37630 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37631
37632         [BZ #3440]
37633         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37634         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37635         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37636         (__LC_IDENTIFICATION): Make these macros useful in #if
37637         expressions, as required by C99.
37638
37639 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37640
37641         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37642         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37643         after this.
37644
37645 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37646
37647         * stdlib/longlong.h: Updated from GCC.
37648
37649 2012-05-09  Andreas Jaeger  <aj@suse.de>
37650
37651         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37652         default is first entry.
37653         (run_mode): Set type.
37654         (main): Remove informal message about syslog.
37655         (options): Fix typo.
37656
37657         [BZ #14053]
37658         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37659         to asm.
37660         (lrint): Likewise.
37661         (llrintf): Likewise.
37662         (llrint): Likewise.
37663         (rint): Likewise.
37664         (rintf): Likewise.
37665         (nearbyint): Likewise.
37666         (nearbyintf): Likewise.
37667
37668 2012-05-09  Andreas Jaeger  <aj@suse.de>
37669             Pedro Alves  <palves@redhat.com>
37670
37671         * nscd/nscd.c (run_mode): Use enum.
37672         (main): Cleanup coding style issue.
37673
37674 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37675             Andreas Jaeger  <aj@suse.de>
37676
37677         * nscd/nscd.c (go_background): Replaced with...
37678         (run_mode): ... this.
37679         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37680         (options): Add -F --foreground.
37681         (main): Implement it.
37682         (parse_opt): Parse it.
37683
37684 2012-05-09  Andreas Jaeger  <aj@suse.de>
37685
37686         [BZ #14083]
37687         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37688         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37689         -Wconversion warning.
37690         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37691         Likewise.
37692
37693 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37694
37695         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37696         == 0.
37697         (LC_ALL): Use macro-int-constant.
37698         (LC_COLLATE): Likewise.
37699         (LC_CTYPE): Likewise.
37700         (LC_MESSAGES): Likewise.
37701         (LC_MONETARY): Likewise.
37702         (LC_NUMERIC): Likewise.
37703         (LC_TIME): Likewise.
37704         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37705         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37706         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37707         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37708         Specify type.
37709         [C99-based standards] (float_t): Expect type.
37710         [C99-based standards] (double_t): Expect type.
37711         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37712         type.
37713         [C99-based standards] (HUGE_VALL): Likewise.
37714         [C99-based standards] (INFINITY): Likewise.
37715         [C99-based standards] (NAN): Likewise.
37716         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37717         [C99-based standards] (FP_NAN): Likewise.
37718         [C99-based standards] (FP_NORMAL): Likewise.
37719         [C99-based standards] (FP_SUBNORMAL): Likewise.
37720         [C99-based standards] (FP_ZERO): Likewise.
37721         [C99-based standards] (FP_FAST_FMA): Use
37722         optional-macro-int-constant.  Specify type.  Require == 1.
37723         [C99-based standards] (FP_FAST_FMAF): Likewise.
37724         [C99-based standards] (FP_FAST_FMAL): Likewise.
37725         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37726         [C99-based standards] (FP_ILOGBNAN): Likewise.
37727         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37728         Specify type.
37729         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37730         [C99-based standards] (math_errhandling): Specify type.
37731         [ISO99 || ISO11] (signgam): Do not allow.
37732         [non-C99-based standards] (copysignf): Do not allow.
37733         [non-C99-based standards] (exp2f): Likewise.
37734         [non-C99-based standards] (log2f): Likewise.
37735         [non-C99-based standards] (modff): Allow.
37736         [non-C99-based standards] (erff): Do not allow.
37737         [non-C99-based standards] (erfcf): Likewise.
37738         [non-C99-based standards] (gammaf): Likewise.
37739         [non-C99-based standards] (hypotf): Likewise.
37740         [non-C99-based standards] (j0f): Likewise.
37741         [non-C99-based standards] (j1f): Likewise.
37742         [non-C99-based standards] (jnf): Likewise.
37743         [non-C99-based standards] (lgammaf): Likewise.
37744         [non-C99-based standards] (tgammaf): Likewise.
37745         [non-C99-based standards] (y0f): Likewise.
37746         [non-C99-based standards] (y1f): Likewise.
37747         [non-C99-based standards] (ynf): Likewise.
37748         [non-C99-based standards] (isnanf): Likewise.
37749         [non-C99-based standards] (acoshf): Likewise.
37750         [non-C99-based standards] (asinhf): Likewise.
37751         [non-C99-based standards] (atanhf): Likewise.
37752         [non-C99-based standards] (cbrtf): Likewise.
37753         [non-C99-based standards] (expm1f): Likewise.
37754         [non-C99-based standards] (ilogbf): Likewise.
37755         [non-C99-based standards] (log1pf): Likewise.
37756         [non-C99-based standards] (logbf): Likewise.
37757         [non-C99-based standards] (nextafterf): Likewise.
37758         [non-C99-based standards] (remainderf): Likewise.
37759         [non-C99-based standards] (rintf): Likewise.
37760         [non-C99-based standards] (scalbf): Likewise.
37761         [non-C99-based standards] (copysignl): Likewise.
37762         [non-C99-based standards] (exp2l): Likewise.
37763         [non-C99-based standards] (log2l): Likewise.
37764         [non-C99-based standards] (modfl): Allow.
37765         [non-C99-based standards] (erfl): Do not allow.
37766         [non-C99-based standards] (erfcl): Likewise.
37767         [non-C99-based standards] (gammal): Likewise.
37768         [non-C99-based standards] (hypotl): Likewise.
37769         [non-C99-based standards] (j0l): Likewise.
37770         [non-C99-based standards] (j1l): Likewise.
37771         [non-C99-based standards] (jnl): Likewise.
37772         [non-C99-based standards] (lgammal): Likewise.
37773         [non-C99-based standards] (tgammal): Likewise.
37774         [non-C99-based standards] (y0l): Likewise.
37775         [non-C99-based standards] (y1l): Likewise.
37776         [non-C99-based standards] (ynl): Likewise.
37777         [non-C99-based standards] (isnanl): Likewise.
37778         [non-C99-based standards] (acoshl): Likewise.
37779         [non-C99-based standards] (asinhl): Likewise.
37780         [non-C99-based standards] (atanhl): Likewise.
37781         [non-C99-based standards] (cbrtl): Likewise.
37782         [non-C99-based standards] (expm1l): Likewise.
37783         [non-C99-based standards] (ilogbl): Likewise.
37784         [non-C99-based standards] (log1pl): Likewise.
37785         [non-C99-based standards] (logbl): Likewise.
37786         [non-C99-based standards] (nextafterl): Likewise.
37787         [non-C99-based standards] (remainderl): Likewise.
37788         [non-C99-based standards] (rintl): Likewise.
37789         [non-C99-based standards] (scalbl): Likewise.
37790         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37791         [non-C99-based standards] (FP_*): Do not allow.
37792         [C99-based standards] (FP_*): Change to
37793         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37794         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37795         allow.
37796         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37797         (SIG_ERR): Likewise.
37798         [X/Open-based standards] (SIG_HOLD): Likewise.
37799         (SIG_IGN): Likewise.
37800         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37801         positive value.
37802         (SIGFPE): Likewise.
37803         (SIGILL): Likewise.
37804         (SIGINT): Likewise.
37805         (SIGSEGV): Likewise.
37806         (SIGTER): Likewise.
37807         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37808         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37809         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37810         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37811         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37812         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37813         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37814         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37815         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37816         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37817         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37818         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37819         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37820         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37821         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37822         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37823         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37824         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37825         [X/Open-based standards] (SIGTRAP): Likewise.
37826         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37827         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37828         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37829         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37830         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37831         allow.
37832
37833 2012-05-08  Ian Wienand  <ianw@vmware.com>
37834
37835         [BZ #14080]
37836         * time/tzset.c (__tzset_parse_tz): Update default rules for
37837         daylight time changes in the Energy Policy Act of 2005.
37838
37839 2012-05-09  Andreas Jaeger  <aj@suse.de>
37840
37841         [BZ #13983]
37842         * elf/ldconfig.c (parse_conf): Change string to make clear that
37843         ldconfig only issued a warning if ld.so.conf does not exist.
37844
37845 2012-05-08  David S. Miller  <davem@davemloft.net>
37846
37847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37848         movxtod instead of popping the value on the stack.
37849
37850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37851
37852 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37853
37854         * config.h.in: Add HAVE_ARM_PCS_VFP.
37855
37856 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37857
37858         [BZ #13979]
37859         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37860         checking but the checks are disabled for any reason.
37861
37862 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37863
37864         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37865         and ELF64_R_TYPE with ELFW(R_TYPE).
37866
37867 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37868
37869         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37870         (ulimit): Likewise.
37871
37872         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37873         (settimeofday): Likewise.
37874
37875 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37876
37877         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37878         a struct th_u2 inside the union, and move tu_block/tu_code into
37879         a new th_u3 union of tu_block/tu_code inside of that.  Move
37880         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37881         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37882         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37883         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37884         (th_stuff): Change to th_u1.tu_stuff.
37885         (th_data): Define.
37886         (th_msg): Change to th_u1.th_u2.tu_data.
37887
37888 2012-05-07  David S. Miller  <davem@davemloft.net>
37889
37890         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37891
37892         [BZ #14074]
37893         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37894         (SETUP_PIC_REG): Use it.
37895         (SETUP_PIC_REG_LEAF): Use it.
37896
37897 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37898
37899         [BZ #13885]
37900         [BZ #13923]
37901         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37902         USE_AS_EXPM1L.
37903         (EXPL_FINITE): Likewise.
37904         (FLDLOG): Likewise.
37905         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37906         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37907         e_expl.S.
37908         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37909         USE_AS_EXPM1L.
37910         (EXPL_FINITE): Likewise.
37911         (FLDLOG): Likewise.
37912         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37913         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37914         e_expl.S.
37915         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37916         test of -max_value argument for long double.
37917         * sysdeps/i386/fpu/libm-test-ulps: Update.
37918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37919
37920 2012-05-06  David S. Miller  <davem@davemloft.net>
37921
37922         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37923         quad soft-float symbols whose references which are compiler
37924         generated.
37925         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37926
37927 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37928
37929         [BZ #13884]
37930         [BZ #13914]
37931         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37932         USE_AS_EXP10L.
37933         (EXPL_FINITE): Likewise.
37934         (FLDLOG): Likewise.
37935         (c0): Likewise.
37936         (c1): Likewise.
37937         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37938         Adjust comments for base varying.
37939         (__expl_finite): Change alias to EXPL_FINITE.
37940         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37941         e_expl.S.
37942         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37943         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37944         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37945         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37946         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37947         USE_AS_EXP10L.
37948         (EXPL_FINITE): Likewise.
37949         (FLDLOG): Likewise.
37950         (c0): Likewise.
37951         (c1): Likewise.
37952         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37953         Adjust comments for base varying.
37954         (__expl_finite): Change alias to EXPL_FINITE.
37955         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37956         tests for bugs.
37957         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37958
37959         [BZ #14064]
37960         * math/libm-test.inc (check_float_internal): Correct ulp
37961         calculation for subnormal expected results.
37962
37963 2012-05-06  Andreas Jaeger  <aj@suse.de>
37964
37965         * Makeconfig (+math-flags): New, set to -frounding-math.
37966         (+cflags): Add +math-flags so that all of glibc gets compiled with
37967         it.
37968
37969         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37970
37971 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37972
37973         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37974         Disable one test.
37975
37976         [BZ #13787]
37977         [BZ #13922]
37978         [BZ #14036]
37979         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37980         (__ieee754_expl): Allow for and saturate large arguments.
37981         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37982         (u_threshold): Likewise.
37983         (__exp): Call __ieee754_exp before checking for overflow and
37984         underflow.
37985         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37986         (u_threshold): Likewise.
37987         (__expf): Call __ieee754_expf before checking for overflow and
37988         underflow.
37989         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37990         (u_threshold): Likewise.
37991         (__expl): Call __ieee754_expl before checking for overflow and
37992         underflow.
37993         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37994         (__ieee754_expl): Allow for and saturate large arguments.
37995         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37996         missing overflow exception on overflow.
37997         (expm1_test): Do not allow missing overflow exception on overflow.
37998
37999         * sysdeps/i386/fpu/e_expl.c: Move to ...
38000         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
38001         rather than using inline asm.
38002         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38003         * sysdeps/x86_64/fpu/e_expl.S: Copy from
38004         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38005
38006         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38007         (nice): Likewise.
38008         (poll): Likewise.
38009         (signal): Likewise.
38010         (time): Likewise.
38011         (times): Likewise.
38012
38013 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38014
38015         * sysdeps/unix/syscalls.list (adjtime): Add entry from
38016         sysdeps/unix/common/syscalls.list.
38017         (fchmod): Likewise.
38018         (fchown): Likewise.
38019         (ftruncate): Likewise.
38020         (getrusage): Likewise.
38021         (gettimeofday): Likewise.
38022         (setpgid): Likewise.
38023         (setregid): Likewise.
38024         (setreuid): Likewise.
38025         (sigaction): Likewise.
38026         (truncate): Likewise.
38027         (vhangup): Likewise.
38028         * sysdeps/unix/common/syscalls.list: Remove file.
38029         * sysdeps/unix/bsd/Implies: Don't include unix/common.
38030         * sysdeps/unix/sysv/linux/Implies: Likewise.
38031
38032 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
38033
38034         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38036         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38037         Moved to ...
38038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38039         Here.
38040         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38041         to ...
38042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38043         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38044         to ...
38045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38046         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38047         to ...
38048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38049         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38050         to ...
38051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38052         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38053         to ...
38054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38055         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38056         to ...
38057         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38058         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38059         to ...
38060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38061         Here.
38062         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38063         to ...
38064         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38065         Here.
38066         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38067         to ...
38068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38069         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38070         Moved to ...
38071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38072         Here.
38073         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38074         to ...
38075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38076
38077 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38078
38079         * sysdeps/unix/common/bits/dirent.h: Remove file.
38080         * sysdeps/unix/common/bits/fcntl.h: Likewise.
38081
38082         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38083         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38084         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38085         * sysdeps/unix/bsd/isatty.c: Likewise.
38086         * sysdeps/unix/bsd/tcdrain.c: Likewise.
38087         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38088         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38089
38090 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38091
38092         [BZ #13563]
38093         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38094         long double comparison inaccuracies.
38095         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38097
38098 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
38099
38100         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38101         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38102
38103 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38104
38105         [BZ #14049]
38106         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38107         nonzero digits before rounding a hex value.
38108         * stdlib/tst-strtod.c (tests): Add another test.
38109
38110 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38111
38112         * sysdeps/s390/fpu/libm-test-ulps: Update.
38113
38114 2012-05-03  Andreas Jaeger  <aj@suse.de>
38115
38116         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38117         does not get optimized out.
38118         (malloc_opt_barrier): New.
38119
38120 2012-05-03  Andreas Jaeger  <aj@suse.de>
38121             Roland McGrath  <roland@hack.frob.com>
38122
38123         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38124         intermediate file deletion.
38125         (generated): Add .symlist files.
38126
38127 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
38128
38129         [BZ #13775]
38130         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38131         Redirect under this condition.
38132         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38133         [__USE_GNU] (__dprintf_chk): Not under this condition.
38134         [__USE_GNU] (__vdprintf_chk): Likewise.
38135         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38136         under this condition.
38137         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38138         [__USE_XOPEN2K8] (dprintf): Define under this condition.
38139         [__USE_XOPEN2K8] (vdprintf): Likewise.
38140         [__USE_GNU] (__dprintf_chk): Not under this condition.
38141         [__USE_GNU] (__vdprintf_chk): Likewise.
38142         [__USE_GNU] (dprintf): Likewise.
38143         [__USE_GNU] (vdprintf): Likewise.
38144
38145 2012-05-03  Roland McGrath  <roland@hack.frob.com>
38146
38147         * elf/Makefile (common-generated): Set this instead of generated for
38148         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
38149         $(all-built-dso)-derived lists.
38150
38151 2012-05-03  Andreas Jaeger  <aj@suse.de>
38152
38153         * sysdeps/i386/fpu/libm-test-ulps: Update.
38154
38155         * FAQ: Removed.
38156         * FAQ.in: Likewise.
38157         * scripts/gen-FAQ.pl: Likewise.
38158         * manual/install.texi (Installation): Point to online location of
38159         FAQ.
38160         * Makefile (files-for-dist): Remove FAQ.
38161         (FAQ): Remove.
38162
38163 2012-05-02  Allan McRae  <allan@archlinux.org>
38164
38165         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38166         (LDFLAGS-reldepmod5.so): Likewise.
38167         (LDFLAGS-reldep6mod1.so): Likewise.
38168         (LDFLAGS-reldep6mod4.so): Likewise.
38169         (LDFLAGS-reldep8mod3.so): Likewise.
38170         (LDFLAGS-unload4mod1.so): Likewise.
38171         (LDFLAGS-unload4mod2.so): Likewise.
38172         (LDFLAGS-tst-initorder): Likewise.
38173         (LDFLAGS-tst-initordera2.so): Likewise.
38174         (LDFLAGS-tst-initordera3.so): Likewise.
38175         (LDFLAGS-tst-initordera4.so): Likewise.
38176         (LDFLAGS-tst-initorderb2.so): Likewise.
38177         (LDFLAGS-noload): Likewise.
38178         (LDFLAGS-next): Likewise.
38179         (LDFLAGS-order2mod1.so): Likewise.
38180         (LDFLAGS-order2mod2.so): Likewise.
38181         (LDFLAGS-tst-initorder2): Likewise.
38182         (LDFLAGS-tst-initorder2a.so): Likewise.
38183         (LDFLAGS-tst-initorder2b.so): Likewise.
38184         (LDFLAGS-tst-initorder2c.so): Likewise.
38185         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38186
38187 2012-05-02  David S. Miller  <davem@davemloft.net>
38188
38189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38190
38191 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38192
38193         [BZ #14055]
38194         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38195
38196 2012-05-02  Andreas Jaeger  <aj@suse.de>
38197
38198         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38199         since we manipulate rounding mode.
38200         (CPPFLAGS-test-idouble.c): Likewise.
38201         (CPPFLAGS-test-ifloat.c): Likewise.
38202         (CFLAGS-test-ldouble.c): Likewise.
38203         (CFLAGS-test-double.c): Likewise.
38204         (CFLAGS-test-float.c): Likewise.
38205         (CFLAGS-test-misc.c): Likewise.
38206         (CFLAGS-test-test-fenv.c): Likewise.
38207
38208 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38209
38210         [BZ #2550]
38211         [BZ #2570]
38212         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38213         comparisons to determine direction to adjust input.
38214
38215 2012-05-01  Roland McGrath  <roland@hack.frob.com>
38216
38217         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38218         output to the target.
38219
38220         * scripts/localplt.awk: New file.
38221         * elf/Makefile ($(objpfx)check-localplt): Target removed.
38222         (check-localplt-CFLAGS): Variable removed.
38223         ($(all-built-dso:=.jmprel)): New static pattern rule.
38224         (generated): Add those targets.
38225         (localplt-built-dso): New variable.
38226         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38227
38228         * elf/check-localplt.c: File removed.
38229
38230         * scripts/check-execstack.awk: New file.
38231         * elf/Makefile ($(objpfx)check-execstack): Target removed.
38232         (check-execstack-CFLAGS): Variable removed.
38233         ($(objpfx)check-execstack.h): Target removed.
38234         ($(objpfx)execstack-default): New target.
38235         (generated): Add that instead of check-execstack.h.
38236         ($(all-built-dso:=.phdr)): New static pattern rule.
38237         (generated): Add those targets.
38238         * elf/check-execstack.c: File removed.
38239
38240         * scripts/check-textrel.awk: New file.
38241         * elf/Makefile ($(objpfx)check-textrel): Target removed.
38242         (check-textrel-CFLAGS): Variable removed.
38243         (all-built-dso): Use := to define.o
38244         ($(all-built-dso:=.dyn)): New static pattern rule.
38245         (generated): Add those targets.
38246         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38247         * config.make.in (READELF): New substituted variable.
38248         * elf/check-textrel.c: File removed.
38249
38250 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38251
38252         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38253         allow.
38254         * conform/data/ctype.h-data [C99-based standards] (isblank):
38255         Expect function.
38256         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38257         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38258         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38259         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38260         Specify type.  Require positive value.
38261         (EILSEQ): Likewise.
38262         (ERANGE): Likewise.
38263         [ISO || POSIX] (EILSEQ): Do not expect.
38264         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38265         Specify type.  Require positive value.
38266         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38267         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38268         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38269         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38270         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38271         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38272         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38273         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38274         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38275         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38276         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38277         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38278         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38279         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38280         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38281         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38282         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38283         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38284         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38285         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38286         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38287         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38288         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38289         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38290         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38291         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38292         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38293         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38294         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38295         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38296         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38297         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38298         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38299         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38300         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38301         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38302         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38303         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38304         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38305         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38306         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38307         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38308         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38309         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38310         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38311         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38312         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38313         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38314         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38315         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38316         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38317         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38318         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38319         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38320         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38321         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38322         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38323         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38324         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38325         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38326         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38327         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38328         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38329         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38330         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38331         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38332         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38333         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38334         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38335         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38336         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38337         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38338         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38339         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38340         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38341         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38342         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38343         Require >= 2.
38344         (FLT_ROUNDS): Expect as macro, not constant.
38345         (FLT_MANT_DIG): Use macro-int-constant.
38346         (DBL_MANT_DIG): Likewise.
38347         (LDBL_MANT_DIG): Likewise.
38348         (FLT_DIG): Likewise.
38349         (DBL_DIG): Likewise.
38350         (LDBL_DIG): Likewise.
38351         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
38352         (DBL_MIN_EXP): Likewise.
38353         (LDBL_MIN_EXP): Likewise.
38354         (FLT_MAX_EXP): Use macro-int-constant.
38355         (DBL_MAX_EXP): Likewise.
38356         (LDBL_MAX_EXP): Likewise.
38357         (FLT_MAX_10_EXP): Likewise.
38358         (DBL_MAX_10_EXP): Likewise.
38359         (LDBL_MAX_10_EXP): Likewise.
38360         (FLT_MAX): Use macro-constant.
38361         (DBL_MAX): Likewise.
38362         (LDBL_MAX): Likewise.
38363         (FLT_EPSILON): Use macro-constant.  Give upper bound.
38364         (DBL_EPSILON): Likewise.
38365         (LDBL_EPSILON): Likewise.
38366         (FLT_MIN): Likewise.
38367         (DBL_MIN): Likewise.
38368         (LDBL_MIN): Likewise.
38369         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38370         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38371         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38372         [ISO11] (FLT_HAS_SUBNORM): Likewise.
38373         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38374         [ISO11] (DBL_DECIMAL_DIG): Likewise.
38375         [ISO11] (FLT_DECIMAL_DIG): Likewise.
38376         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38377         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38378         [ISO11] (FLT_TRUE_MIN): Likewise.
38379         [ISO11] (LDBL_TRUE_MIN): Likewise.
38380         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38381         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38382         (SCHAR_MIN): Use macro-int-constant.  Specify type.
38383         (SCHAR_MAX): Likewise.
38384         (UCHAR_MAX): Likewise.
38385         (CHAR_MIN): Likewise.
38386         (CHAR_MAX): Likewise.
38387         (MB_LEN_MAX): Use macro-int-constant.
38388         (SHRT_MIN): Use macro-int-constant.  Specify type.
38389         (SHRT_MAX): Likewise.
38390         (USHRT_MAX): Likewise.
38391         (INT_MAX): Likewise.
38392         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
38393         bound negative.
38394         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38395         bound with "U".
38396         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38397         bound with "L".
38398         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38399         bound negative.  Suffix upper bound with "L".
38400         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38401         bound with "UL".
38402         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38403         Specify type.
38404         [C99-based standards] (LLONG_MAX): Likewise.
38405         [C99-based standards] (ULLONG_MAX): Likewise.
38406         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38407         == 0.
38408         [ISO11] (max_align_t): Require type.
38409         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38410
38411         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38412         from $CFLAGS, without defining away __attribute__ calls.
38413         (checknamespace): Use $CFLAGS_namespace.
38414
38415         * conform/conformtest.pl (@keywords): Only include C99 keywords
38416         for standards based on C99 or C11.
38417
38418         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38419         Disable tests.
38420         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38421         UNIX98]: Likewise.
38422
38423         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38424         usability of symbols in #if.
38425
38426         * conform/conformtest.pl: If macro or constant types start
38427         "promoted:", expect the symbol to be of the following type
38428         promoted by the integer promotions.
38429
38430         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38431         in one place.  Also handle "macro-constant".
38432
38433         * conform/conformtest.pl: Only accept expected macro values with
38434         "==".  Parse all "macro" lines in one place.
38435         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38436
38437         * conform/conformtest.pl: Handle braced types on "constant" lines
38438         instead of handling "typed-constant".
38439         * conform/data/signal.h-data: Use "constant" instead of
38440         "typed-constant".
38441
38442         * conform/conformtest.pl: Handle "optional-" at start of lines in
38443         one place rather than duplicating several cases.  Handle each
38444         format of "macro" line with initial "optional-".
38445
38446         * conform/conformtest.pl: Only accept expected constant or
38447         optional-constant values with "==".  Parse all "constant" lines in
38448         one place.  Parse all "optional-constant" lines in one place.
38449         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38450         * conform/data/fmtmsg.h-data: Likewise.
38451         * conform/data/netinet/in.h-data: Likewise.
38452         * conform/data/tar.h-data: Likewise.
38453         * conform/data/limits.h-data: Use "==" form on "constant" and
38454         "optional-constant" lines.
38455
38456         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38457         Use -std=c99 for XOPEN2K.
38458         (@knownproblems): Remove.
38459         (newtoken): Don't check %isknown.
38460
38461         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38462         Do not expect macro.
38463         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38464         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38465         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38466         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38467         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38468         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38469         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38470         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38471         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38472         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38473         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38474         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38475         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38476         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38477         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38478         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38479         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38480         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38481         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38482         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38483         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38484         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38485         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38486         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38487         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38488         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38489         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38490         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38491         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38492         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38493         [XPG3] (acosh): Likewise.
38494         [XPG3] (asinh): Likewise.
38495         [XPG3] (atanh): Likewise.
38496         [XPG3] (cbrt): Likewise.
38497         [XPG3] (expm1): Likewise.
38498         [XPG3] (ilogb): Likewise.
38499         [XPG3] (log1p): Likewise.
38500         [XPG3] (logb): Likewise.
38501         [XPG3] (nextafter): Likewise.
38502         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38503         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38504         [XPG3] (remainder): Likewise.
38505         [XPG3] (rint): Likewise.
38506         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38507         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38508         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38509         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38510         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38511         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38512         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38513         [UNIX98 || XOPEN2K] (scalb): Expect.
38514         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38515         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38516         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38517         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38518         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38519         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38520         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38521         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38522         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38523         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38524         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38525         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38526         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38527         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38528         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38529         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38530         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38531         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38532         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38533         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38534         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38535         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38536         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38537         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38538         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38539         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38540         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38541         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38542         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38543         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38544         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38545         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38546         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38547         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38548         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38549         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38550         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38551         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38552         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38553         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38554         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38555         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38556         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38557         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38558         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38559         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38560         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38561         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38562         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38563         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38564         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38565         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38566         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38567         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38568         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38569         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38570         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38571         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38572         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38573         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38574         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38575         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38576         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38577         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38578         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38579         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38580         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38581         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38582         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38583         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38584         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38585         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38586         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38587         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38588         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38589         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38590         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38591         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38592         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38593         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38594         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38595         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38596         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38597         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38598         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38599         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38600         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38601         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38602         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38603         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38604         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38605         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38606         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38607         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38608         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38609         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38610         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38611         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38612         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38613         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38614         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38615         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38616         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38617         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38618         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38619         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38620         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38621         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38622         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38623         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38624         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38625         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38626         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38627         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38628         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38629         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38630         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38631         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38632         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38633         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38634         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38635         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38636         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38637         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38638         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38639         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38640         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38641         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38642         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38643         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38644         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38645         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38646         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38647         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38648         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38649         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38650         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38651
38652         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38653         _XOPEN_SOURCE_EXTENDED for XPG4.
38654
38655         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38656
38657         * Makeconfig (localtime): Remove variable.
38658         (inst_localtime-file): Likewise.
38659
38660 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38661
38662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38663         Update.
38664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38665         Update.
38666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38667         Update.
38668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38669         Update.
38670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38671         Update.
38672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38673         Update.
38674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38675         Update.
38676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38677         Update.
38678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38679         Update.
38680
38681 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38682
38683         [BZ #2550]
38684         [BZ #2570]
38685         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38686         comparisons to determine direction to adjust input.
38687         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38688         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38689         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38690         Likewise.
38691         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38692         Likewise.
38693         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38694         Likewise.
38695         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38696         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38697         Likewise.
38698         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38699         Likewise.
38700         * math/libm-test.inc (nexttoward_test): Add more tests.
38701
38702 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38703
38704         [BZ #14040]
38705         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38706         in version GLIBC_2.1, not GLIBC_2.0.
38707         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38708         Likewise.
38709
38710 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38711
38712         [BZ #13942]
38713         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38714         (1 - x) * (1 + x).
38715         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38716         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38717         * math/libm-test.inc (acos_test): Add more tests.
38718         (asin_test): Likewise.
38719         * sysdeps/i386/fpu/libm-test-ulps: Update.
38720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38721
38722         [BZ #14034]
38723         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38724         of square root.
38725         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38726         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38727         * math/libm-test.inc (acos_test_tonearest): New function.
38728         (acos_test_towardzero): Likewise.
38729         (acos_test_downward): Likewise.
38730         (acos_test_upward): Likewise.
38731         (asin_test_tonearest): Likewise.
38732         (asin_test_towardzero): Likewise.
38733         (asin_test_downward): Likewise.
38734         (asin_test_upward): Likewise.
38735         (main): Call the new functions.
38736         * sysdeps/i386/fpu/libm-test-ulps: Update.
38737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38738
38739         [BZ #13884]
38740         [BZ #13924]
38741         * math/e_exp10.c: Include <float.h>.
38742         (__ieee754_exp10): Handle underflow here rather than multiplying
38743         large negative argument by M_LN10.
38744         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38745         of __ieee754_expf.
38746         * math/e_exp10l.c: Include <float.h>.
38747         (__ieee754_exp10l): Handle underflow here rather than multiplying
38748         large negative argument by M_LN10l.
38749         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38750         spurious overflow exception on underflow.
38751
38752 2012-04-29  Marek Polacek  <polacek@redhat.com>
38753
38754         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38755         (__fortify_function): New macro.
38756         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38757         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38758         __extern_always_inline.
38759         * libio/bits/stdio2.h: Likewise.
38760         * libio/bits/stdio.h: Likewise.
38761         * string/string.h: Likewise.
38762         * string/bits/string3.h: Likewise.
38763         * include/stdio.h: Likewise.
38764         * stdlib/bits/stdlib.h: Likewise.
38765         * stdlib/stdlib.h: Likewise.
38766         * rt/bits/mqueue2.h: Likewise.
38767         * rt/mqueue.h: Likewise.
38768         * posix/bits/unistd.h: Likewise.
38769         * posix/unistd.h: Likewise.
38770         * io/bits/poll2.h: Likewise.
38771         * io/bits/fcntl2.h: Likewise.
38772         * io/fcntl.h: Likewise.
38773         * io/sys/poll.h: Likewise.
38774         * misc/bits/syslog.h: Likewise.
38775         * misc/bits/syslog-ldbl.h: Likewise.
38776         * misc/sys/syslog.h: Likewise.
38777         * socket/bits/socket2.h: Likewise.
38778         * socket/sys/socket.h: Likewise.
38779         * debug/tst-chk1.c: Likewise.
38780         * wcsmbs/bits/wchar2.h: Likewise.
38781         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38782         * wcsmbs/wchar.h: Likewise.
38783
38784 2012-04-29  Andreas Jaeger  <aj@suse.de>
38785
38786         * Makerules (tests): Remove enable-check-abi protection.
38787         (check-abi-warn): Remove.
38788         (check-abi-%): Remove check-abi-warn usage.
38789
38790         * configure.in: Remove check-abi configure option.
38791         * configure: Regenerated.
38792         * config.make.in (enable-check-abi): Remove.
38793
38794 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38795
38796         [BZ #14033]
38797         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38798         double functions to double *_finite functions.
38799
38800         [BZ #13941]
38801         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38802         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38803         LDBL_MIN_EXP.
38804         * stdio-common/Makefile (tests): Add tst-sprintf3.
38805         * stdio-common/tst-sprintf3.c: New file.
38806
38807         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38808         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38809
38810 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38811
38812         * conform/conformtest.pl: Remove duplicate typed-constant
38813         handling.
38814
38815 2012-04-28  David S. Miller  <davem@davemloft.net>
38816
38817         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38818         (check-abi-%): Remove AWK script prerequisite and explicit
38819         abilist directory.
38820         (check-abi): Rewrite to just diff the symlist with the abilist.
38821         (config-tls, config-abi-config): Delete, no longer used.
38822         (update-abi-%): Remove AWK script and explicit abilist directory.
38823         (update-abi): Rewrite to simply compare and conditionally copy the
38824         symlist and the sysdep abilist file.  Remove update-abi-config
38825         checks.
38826         * abilist/ld.abilist: Remove.
38827         * abilist/libBrokenLocale.abilist: Remove.
38828         * abilist/libanl.abilist: Remove.
38829         * abilist/libcrypt.abilist: Remove.
38830         * abilist/libdl.abilist: Remove.
38831         * abilist/librt.abilist: Remove.
38832         * abilist/libthread_db.abilist: Remove.
38833         * abilist/libutil.abilist: Remove.
38834         * scripts/extract-abilist.awk: Remove.
38835         * scripts/merge-abilist.awk: Remove.
38836         * sysdeps/generic/libcidn.abilist: New file.
38837         * sysdeps/generic/libnss_compat.abilist: New file.
38838         * sysdeps/generic/libnss_db.abilist: New file.
38839         * sysdeps/generic/libnss_dns.abilist: New file.
38840         * sysdeps/generic/libnss_files.abilist: New file.
38841         * sysdeps/generic/libnss_hesiod.abilist: New file.
38842         * sysdeps/generic/libnss_nis.abilist: New file.
38843         * sysdeps/generic/libnss_nisplus.abilist: New file.
38844         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38845         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38846         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38847         file.
38848         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38849         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38850         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38851         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38852         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38853         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38854         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38855         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38856         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38857         file.
38858         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38859         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38860         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38861         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38862         file.
38863         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38864         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38865         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38866         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38867         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38868         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38869         file.
38870         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38871         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38872         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38873         file.
38874         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38876         New file.
38877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38878         New file.
38879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38880         New file.
38881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38882         New file.
38883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38884         New file.
38885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38886         New file.
38887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38888         New file.
38889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38890         New file.
38891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38892         New file.
38893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38894         New file.
38895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38896         New file.
38897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38898         New file.
38899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38900         New file.
38901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38902         file.
38903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38904         New file.
38905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38906         New file.
38907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38908         file.
38909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38910         New file.
38911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38912         New file.
38913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38914         file.
38915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38916         New file.
38917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38918         New file.
38919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38920         New file.
38921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38922         New file.
38923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38924         New file.
38925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38926         New file.
38927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38929         file.
38930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38931         New file.
38932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38933         file.
38934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38935         file.
38936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38937         file.
38938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38939         file.
38940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38941         file.
38942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38943         New file.
38944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38945         file.
38946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38947         file.
38948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38949         New file.
38950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38951         file.
38952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38954         file.
38955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38956         New file.
38957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38958         file.
38959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38960         file.
38961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38962         file.
38963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38964         file.
38965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38966         file.
38967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38968         New file.
38969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38970         file.
38971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38972         file.
38973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38974         New file.
38975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38976         file.
38977         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38978         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38979         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38980         file.
38981         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38982         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38983         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38984         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38985         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38986         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38987         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38988         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38989         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38990         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38993         file.
38994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38995         New file.
38996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38997         file.
38998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38999         file.
39000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39001         file.
39002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39003         file.
39004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39005         file.
39006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39007         New file.
39008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39009         New file.
39010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39011         file.
39012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39013         New file.
39014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39015         file.
39016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39018         file.
39019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39020         New file.
39021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39022         file.
39023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39024         file.
39025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39026         file.
39027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39028         file.
39029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39030         file.
39031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39032         New file.
39033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39034         New file.
39035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39036         file.
39037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39038         New file.
39039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39040         file.
39041
39042 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39043
39044         * conform/conformtest.pl: Fix typo in handling typed-constant from
39045         allow-header.
39046
39047 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39048
39049         * README: Cut down references to pre-2.6 Linux kernels and
39050         Linuxthreads.  Update lists of configurations in libc and ports
39051         and sort alphabetically.  Say "or newer" with Linux kernel version
39052         requirements.
39053
39054         * config.h.in [IS_IN_build]: Allow compiling without optimization.
39055
39056 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39057
39058         [BZ #887]
39059         * math/libm-test.inc (logb_test_downward): New test to expose
39060         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39061         rounding mode.
39062
39063 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39064
39065         [BZ #14027]
39066         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39067         to be done.
39068         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39069         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39070
39071 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
39072
39073         * sysdeps/unix/i386/brk.S: Remove file.
39074         * sysdeps/unix/i386/dl-brk.S: Likewise.
39075         * sysdeps/unix/i386/pipe.S: Likewise.
39076         * sysdeps/unix/i386/sigreturn.S: Likewise.
39077         * sysdeps/unix/i386/syscall.S: Likewise.
39078         * sysdeps/unix/i386/vfork.S: Likewise.
39079         * sysdeps/unix/i386/wait.S: Likewise.
39080
39081         * sysdeps/unix/common/tcsendbrk.c: Move to ...
39082         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39083
39084         * configure.in (arm*-none*): Do not allow without
39085         --enable-hacker-mode.
39086         (netbsd*): Remove case setting base_os.
39087         (386bsd*): Likewise.
39088         (freebsd*): Likewise.
39089         (bsdi*): Likewise.
39090         (osf*): Likewise.
39091         (sunos*): Likewise.
39092         (ultrix*): Likewise.
39093         (newsos*): Likewise.
39094         (dynix*): Likewise.
39095         (*bsd*): Likewise.
39096         (sysv*): Likewise.
39097         (isc*): Likewise.
39098         (esix*): Likewise.
39099         (sco*): Likewise.
39100         (minix*): Likewise.
39101         (irix4*): Likewise.
39102         (irix6*): Likewise.
39103         (solaris[2-9]*): Likewise.
39104         (none): Likewise.
39105         * configure: Regenerated.
39106
39107 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39108
39109         [BZ #11521]
39110         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39111         overflow or cancellation in calculating denominator.
39112         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39113         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39114         down expression to avoid unexpected rounding in newer GCCs.
39115         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39116
39117 2012-04-26  David S. Miller  <davem@davemloft.net>
39118
39119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39120         long-double compat symbols.
39121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39134
39135 2012-04-25  David S. Miller  <davem@davemloft.net>
39136
39137         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39138         HWCAP_* values only after the memory barriers have been defined.
39139         (atomic_full_barrier): Define.
39140         (atomic_read_barrier): Define.
39141         (atomic_write_barrier): Define.
39142
39143 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39144
39145         * shlib-versions: Add libgcc_s version information.
39146         * sysdeps/generic/libgcc_s.h: Remove.
39147         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39148         libgcc_s.h.
39149         * sysdeps/gnu/unwind-resume.c: Likewise.
39150         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39151
39152 2012-04-25  David S. Miller  <davem@davemloft.net>
39153
39154         * sysdeps/unix/sparc/brk.S: Delete.
39155         * sysdeps/unix/sparc/dl-brk.S: Delete.
39156         * sysdeps/unix/sparc/pipe.S: Delete.
39157         * sysdeps/unix/sparc/sysdep.S: Delete.
39158         * sysdeps/unix/sparc/sysdep.h: Delete.
39159         * sysdeps/unix/sparc/vfork.S: Delete.
39160         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39161         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39162         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39163         (ret_ERRVAL, r0, r1, MOVE): Define.
39164         (JUMPTARGET): Remove.
39165         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39166         sysdeps/unix/sparc/sysdep.h
39167         (ENTRY, END): Remove.
39168         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39169
39170 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
39171
39172         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39173         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39174         -DIS_IN_build.
39175
39176         * timezone/README: Update upstream location and email address for
39177         tzcode and tzdata.
39178         * timezone/zdump.c: Update from tzcode 2012b.
39179         * timezone/zic.c: Likewise.
39180
39181         * configure.in (libc_cv_as_needed): Remove test.
39182         * configure: Regenerated.
39183         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39184         conditional definition.
39185         [$(have-as-needed) != yes] (no-as-needed): Likewise.
39186         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39187         * config.make.in (have-as-needed): Remove variable.
39188
39189 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39190             Paul Pluzhnikov  <ppluzhnikov@google.com>
39191
39192         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39193         strings correctly.
39194
39195 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
39196
39197         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39198         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39199         * sysdeps/sh/strlen.S: Likewise.
39200
39201 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39202
39203         * sysdeps/unix/fork.S: Remove file.
39204         * sysdeps/unix/i386/fork.S: Likewise.
39205         * sysdeps/unix/sparc/fork.S: Likewise.
39206
39207         * sysdeps/unix/system.c: Remove file.
39208         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39209
39210         * sysdeps/unix/getegid.S: Remove file.
39211         * sysdeps/unix/geteuid.S: Likewise.
39212
39213 2012-04-24  Roland McGrath  <roland@hack.frob.com>
39214
39215         * scripts/check-localplt.awk: New file.
39216         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39217         of diff.
39218         * scripts/data/localplt-generic.data: Add a comment.
39219
39220         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39221         NODE when __dir_mkfile failed.
39222         * sysdeps/mach/hurd/symlinkat.c: Likewise.
39223         Reported by Ludovic Courtès <ludo@gnu.org>.
39224
39225 2012-04-24  Andreas Jaeger  <aj@suse.de>
39226
39227         * Makerules (common-clean): Also remove gen-as-const-headers
39228         files.
39229
39230 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39231
39232         * Makerules (native-compile): Do not change working directory for
39233         build.  Use $(OUTPUT_OPTION) in command.
39234         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39235
39236 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39237
39238         [BZ #13886]
39239         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39240         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39241         * math/libm-test.inc (floor_test): Add more tests.
39242         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39243
39244 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39245
39246         * sysdeps/unix/getdents.c: Remove file.
39247         * sysdeps/unix/sysv/getdents.c: Likewise.
39248         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39249
39250         * sysdeps/unix/syscalls.list (madvise): Add syscall from
39251         sysdeps/unix/mman/syscalls.list.
39252         (mmap): Likewise.
39253         (mprotect): Likewise.
39254         (msync): Likewise.
39255         (munmap): Likewise.
39256         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39257         * sysdeps/unix/mman/syscalls.list: Remove.
39258         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39259
39260         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39261         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39262         * configure: Regenerated.
39263         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39264         $(libgcc_s_suffix).
39265         * config.make.in (libgcc_s_suffix): Remove variable.
39266
39267 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
39268
39269         * sysdeps/unix/sysv/gethostname.c: Move to ...
39270         * sysdeps/posix/gethostname.c: ... here.
39271
39272         * sysdeps/unix/execve.S: Remove file.
39273
39274         * sysdeps/unix/_exit.S: Remove file.
39275
39276 2012-04-23  Andreas Jaeger  <aj@suse.de>
39277
39278         [BZ #13739]
39279         * manual/Makefile: Remove make dist support, there's no
39280         need for a stand-alone documentation tar ball.
39281         (TEXI2DVI): Define always, it's not in Makeconfig.
39282         (dist): Removed.
39283         (tar-it): Removed.
39284         (edition): Removed.
39285         (glibc-doc-$(edition).tar): Removed
39286         (%.Z): Removed.
39287         (%.gz): Removed.
39288         (%.uu): Removed.
39289         (ETAGS): Remove, it's in Makeconfig.
39290         (move-if-change): Remove, it's in Makeconfig.
39291
39292 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
39293
39294         [BZ #13970]
39295         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39296         (strtod, strtof, strtold, strtol, strtoul, strtoq)
39297         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39298         (strtod_l, strtof_l, strtold_l): Remove __wur.
39299         It is not necessarily an error to ignore strtol's return value.
39300         One can reliably look at the stored endptr to decide whether
39301         the number had valid syntax.
39302
39303 2012-04-21  Andreas Jaeger  <aj@suse.de>
39304
39305         [BZ #13739]
39306         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39307
39308 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
39309
39310         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39311         * sysdeps/unix/sysv/Versions: Remove file.
39312
39313 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
39314
39315         [BZ #13927]
39316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39317
39318 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
39319
39320         [BZ #7064]
39321         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39322         version from __vm86.
39323
39324 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
39325
39326         * sysdeps/unix/common/lxstat.c: Remove file.
39327         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39328
39329         * sysdeps/unix/sysv/Makefile: Remove file.
39330
39331         * sysdeps/unix/sysv/direct.h: Remove file.
39332
39333         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39334         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39335         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39336         * sysdeps/unix/sysv/bits/signum.h: Likewise.
39337         * sysdeps/unix/sysv/bits/stat.h: Likewise.
39338         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39339         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39340
39341         * sysdeps/unix/sysv/setrlimit.c: Remove file.
39342
39343         * sysdeps/unix/xmknod.c: Remove file.
39344         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39345
39346         * sysdeps/unix/sysv/settimeofday.c: Remove file.
39347
39348         * sysdeps/unix/sysv/i386/time.S: Remove file.
39349
39350         * sysdeps/unix/fxstat.c: Remove file.
39351         * sysdeps/unix/xstat.c: Likewise.
39352         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39353
39354         * sysdeps/unix/sysv/sigaction.c: Remove file.
39355
39356         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39357         (sysdep_headers): Remove variable.
39358         [termio.h not in sysdep_headers] (generated): Likewise.
39359         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39360         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39361         * sysdeps/unix/sysv/tcdrain.c: Likewise.
39362         * sysdeps/unix/sysv/tcflow.c: Likewise.
39363         * sysdeps/unix/sysv/tcflush.c: Likewise.
39364         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39365         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39366         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39367         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39368         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39369
39370         * sysdeps/unix/siglist.c: Remove file.
39371
39372         * sysdeps/unix/getppid.S: Remove file.
39373
39374         * sysdeps/unix/mkdir.c: Remove file.
39375         * sysdeps/unix/rmdir.c: Likewise.
39376
39377 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
39378
39379         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39380         ERR_MAX value.
39381         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39382         errlist-compat value.
39383
39384 2012-04-18  David S. Miller  <davem@davemloft.net>
39385
39386         * sysdeps/generic/memcopy.h (reg_char): Delete.
39387         * debug/strcat_chk.c: Use char, not reg_char.
39388         * debug/strcpy_chk.c: Likewise.
39389         * debug/strncat_chk.c: Likewise.
39390         * debug/strncpy_chk.c: Likewise.
39391         * string/memchr.c: Likewise.
39392         * string/memrchr.c: Likewise.
39393         * string/rawmemchr.c: Likewise.
39394         * string/strcat.c: Likewise.
39395         * string/strchr.c: Likewise.
39396         * string/strchrnul.c: Likewise.
39397         * string/strcmp.c: Likewise.
39398         * string/strcpy.c: Likewise.
39399         * string/strncat.c: Likewise.
39400         * string/strncmp.c: Likewise.
39401         * string/strncpy.c: Likewise.
39402
39403 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39404
39405         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39406         __builtin_memcopy is called when src and dest ranges are known to not
39407         overlap.
39408
39409 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39410
39411         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39412         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39413         fwd_align_merge macro call.
39414         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39415         bwd_align_merge macro call.
39416         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39417
39418 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39419
39420         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39421         bwd_align_merge macros.
39422         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39423         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39424         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39425
39426 2012-04-18  David S. Miller  <davem@davemloft.net>
39427
39428         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39429
39430 2012-04-18  Andreas Jaeger  <aj@suse.de>
39431
39432         [BZ# 6794]
39433         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39434         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39435         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39436
39437         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39438         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39439         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39440
39441         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39442         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39443         Adjust for changed ldbl-128 files.
39444
39445         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39446         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39447         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39448
39449 2012-04-17  David S. Miller  <davem@davemloft.net>
39450
39451         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39452
39453 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39454
39455         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39456         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39457         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39458         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39459         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39460         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39461
39462 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39463
39464         [BZ #6794]
39465         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39466         * math/libm-test.inc: Add ilogb errno and exception tests.
39467         * math/w_ilogb.c: New file: ilogb wrapper.
39468         * math/w_ilogbf.c: New file: ilogbf wrapper.
39469         * math/w_ilogbl.c: New file: ilogbl wrapper.
39470         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39471         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39472         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39473         exception being thrown with 0.0 as argument.
39474         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39475         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39476         exception being thrown with 0.0 as argument.
39477         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39478         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39479         exception being thrown with 0.0 as argument.
39480         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39481         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39482         exception being thrown with 0.0 as argument.
39483         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39484         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39485         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39486         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39487         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39488         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39489         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39490         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39491         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39492
39493 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39494
39495         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39496         with altivec.
39497
39498 2012-04-16  Marek Polacek  <polacek@redhat.com>
39499
39500         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39501
39502 2012-04-16  Marek Polacek  <polacek@redhat.com>
39503
39504         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39505         operands of fdivp instruction.
39506
39507 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39508
39509         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39510         * elf/tst-auditmod3b.c: Likewise.
39511         * elf/tst-auditmod4b.c: Likewise.
39512         * elf/tst-auditmod5b.c: Likewise.
39513         * elf/tst-auditmod6b.c: Likewise.
39514         * elf/tst-auditmod6c.c: Likewise.
39515         * elf/tst-auditmod7b.c: Likewise.
39516         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39517         * sysdeps/x86_64/preconfigure.in: Likewise.
39518         * sysdeps/x86_64/preconfigure: Regenerated.
39519
39520 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39521
39522         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39523         __ILP32__.
39524
39525 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39526
39527         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39528         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39529
39530 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39531
39532         [BZ #13973]
39533         * locale/iso-639.def: Fix gl language name. Spotted by
39534         Yaron Shahrabani.
39535
39536 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39537
39538         [BZ #2074]
39539         * libio/libio.h (__io_write_fn): Update comment.
39540
39541 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39542
39543         [BZ #2074]
39544         * stdio.texi (Hook Functions): The user provided writer function
39545         is not allowed to return -1.
39546
39547 2012-04-11  David S. Miller  <davem@davemloft.net>
39548
39549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39550
39551 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39552
39553         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39554         Add a leading slash to rtkaio.
39555
39556 2012-04-11  Jim Meyering  <meyering@redhat.com>
39557
39558         [BZ #11959]
39559         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39560         It is not necessarily an error to ignore fwrite's return
39561         value.  One can reliably use ferror to test for errors after
39562         the fact.
39563
39564 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39565
39566         * bits/types.h (__snseconds_t): New type.
39567         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39568
39569         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39570         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39571         (__SNSECONDS_T_TYPE): Likewise.
39572         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39573         (__SNSECONDS_T_TYPE): Likewise.
39574         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39575         (__SNSECONDS_T_TYPE): Likewise.
39576
39577 2012-04-10  Andreas Jaeger  <aj@suse.de>
39578
39579         [BZ #2636]
39580         * manual/time.texi (Processor Time): Return type of times is
39581         elapsed real time since an arbitrary point in the past.
39582         (CPU Time): Move CLK_TCK from here...
39583         (Processor Time): ...to here.  Correct description.
39584         * manual/conf.texi (Constants for Sysconf): Correct description of
39585         _SC_CLK_TCK.
39586
39587 2012-04-10  David S. Miller  <davem@davemloft.net>
39588
39589         [BZ #13967]
39590         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39591         where the is a gap between DT_REL(A) and DT_JMPREL.
39592
39593 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39594
39595         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39596         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39597         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39598
39599 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39600
39601         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39602         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39603         (dl_main): Handle --inhibit-cache.
39604         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39605         _dl_inhibit_cache.
39606         * elf/dl-load.c (_dl_map_object): Use it.
39607         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39608
39609 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39610
39611         [BZ #13872]
39612         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39613         (__ieee754_powl): Saturate large exponents rather than testing for
39614         overflow of y*log2(x).
39615         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39616         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39617         exceptions.
39618
39619         [BZ #11521]
39620         * math/s_ctan.c: Include <float.h>.
39621         (__ctan): Avoid internal overflow or cancellation in calculating
39622         denominator.
39623         * math/s_ctanf.c: Likewise.
39624         * math/s_ctanl.c: Likewise.
39625         * math/s_ctanh.c: Likewise.
39626         * math/s_ctanhf.c: Likewise.
39627         * math/s_ctanhl.c: Likewise.
39628         * math/libm-test.inc (ctan_test): Add more tests.
39629         (ctanh_test): Likewise.
39630         * sysdeps/i386/fpu/libm-test-ulps: Update.
39631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39632
39633 2012-04-09  Andreas Jaeger  <aj@suse.de>
39634
39635         [BZ #6894]
39636         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39637         is an optional BSD extension.
39638
39639         [BZ #10254]
39640         * manual/stdio.texi (Opening Streams): Document additional fopen
39641         parameters.
39642
39643 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39644
39645         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39646         %eax without telling the compiler.
39647
39648 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39649
39650         [BZ # 13963]
39651         * manual/install.texi: Use sourceware.org.
39652
39653 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39654
39655         [BZ #13873]
39656         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39657         (__ieee754_pow): Generate overflow and underflow using huge*huge
39658         and tiny*tiny rather than just returning constant infinity or zero
39659         for large exponents.
39660         * math/libm-test.inc (pow_test): Require overflow exceptions for
39661         applicable cases of large exponents.
39662
39663         [BZ #706]
39664         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39665         (__ieee754_pow): Use iterative multiplication algorithm only for
39666         integer exponents with absolute value below 1024.  Check for odd
39667         integer exponents when using algorithm for real exponents.
39668         * math/libm-test.inc (pow_test): Add more tests.
39669         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39670
39671 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39672
39673         [BZ #13705]
39674         * math/libm-test.inc (exp_test): Do not allow overflow exception
39675         on underflow test.
39676
39677 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39678
39679         [BZ #13705]
39680         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39681         instead of __kernel_standard_f.
39682
39683 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39684
39685         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39686         * sysdeps/x86_64/memset_chk.S: Likewise.
39687
39688 2012-04-08  Andreas Jaeger  <aj@suse.de>
39689
39690         [BZ #10153]
39691         * manual/startup.texi (Environment Access): Describe return value
39692         for putenv and setenv.
39693
39694         [BZ #6895]
39695         * manual/filesys.texi (Directory Entries): Add description for
39696         DT_LNK.
39697
39698         [BZ #6890]
39699         * manual/filesys.texi (Directory Entries): Clarify that it's file
39700         system not operating system in the description of DT_UNKNOWN.
39701
39702         [BZ #6578]
39703         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39704
39705 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39706
39707         [BZ #6649]
39708         * manual/llio.texi (Opening and Closing Files): Add cross
39709         reference to explain mode argument.
39710
39711 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39712
39713         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39714         * sysdeps/x86_64/memset_chk.S: Likewise.
39715
39716 2012-04-07  David S. Miller  <davem@davemloft.net>
39717
39718         * elf/elf.h (R_SPARC_WDISP10): Define.
39719         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39720         R_SPARC_SIZE32.
39721         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39722         R_SPARC_SIZE64 and R_SPARC_H34.
39723
39724 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39725
39726         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39727         conditions and remove no longer applicable assertion.
39728
39729 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39730
39731         * bits/byteswap.h: Include <features.h>.
39732         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39733         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39734
39735 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39736
39737         * bits/byteswap.h (__bswap_16): Removed.
39738         Include <bits/byteswap-16.h> to get __bswap_16.
39739         * sysdeps/i386/bits/byteswap.h: Likewise.
39740         * sysdeps/s390/bits/byteswap.h: Likewise.
39741         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39742         * bits/byteswap-16.h: New file.
39743         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39744         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39745         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39746         * string/Makefile (headers): Add bits/byteswap-16.h.
39747
39748 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39749
39750         [BZ #13895]
39751         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39752         extra indirection.
39753         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39754         * nss/tst-nss-static.c: New.
39755
39756 2012-04-06  Robert Millan  <rmh@gnu.org>
39757
39758         [BZ #6486]
39759         * manual/llio.texi (File Position Primitive): lseek
39760         refers to WHENCE when it really means OFFSET.
39761
39762 2012-04-06  Andreas Jaeger  <aj@suse.de>
39763
39764         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39765         strncmp declarations.
39766
39767         * abilist/libc.abilist: Add __poll and __ppoll.
39768
39769 2012-04-05  David S. Miller  <davem@davemloft.net>
39770
39771         * scripts/check-local-headers.sh: Accept a host triplet in the
39772         path matched by the exclude regexp.
39773
39774         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39775         definition.
39776         * sysdeps/powerpc/powerpc32/dl-machine.h
39777         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39778         * sysdeps/s390/s390-32/dl-machine.h
39779         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39780         * sysdeps/sparc/sparc32/dl-machine.h
39781         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39782         * sysdeps/sparc/sparc64/dl-machine.h
39783         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39784
39785         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39786         lazy binding.
39787         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39788         undefined symbol errors.
39789
39790         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39791         DT_NEEDED entries.
39792
39793 2012-04-05  Michael Matz  <matz@suse.de>
39794
39795         [BZ #13592]
39796         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39797
39798 2012-04-05  Andreas Jaeger  <aj@suse.de>
39799
39800         [BZ #13908]
39801         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39802         comment.
39803
39804 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39805
39806         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39807         which ROUND is no valid rounding mode.
39808
39809 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39810
39811         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39812         read again.
39813         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39814
39815 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39816
39817         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39818         an exception using FPU order intentionally.
39819
39820 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39821
39822         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39823         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39824         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39825         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39826
39827 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39828
39829         [BZ #12340]
39830         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39831         EINVAL when BUFLEN is too smal.
39832
39833 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39834
39835         [BZ #13553]
39836         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39837         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39838
39839 2012-04-03  Andreas Jaeger  <aj@suse.de>
39840
39841         [BZ #13938]
39842         * manual/setjmp.texi (System V contexts): Fix sentence.
39843
39844         [BZ #13926]
39845         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39846         New macro for this case.
39847         [!__GNUC__] (__bswap_64): New inline function for this case.
39848         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39849         * bits/byteswap.h: Likewise.
39850         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39851         ull, guard with __GLIBC_HAVE_LONG_LONG.
39852
39853         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39854         __GLIBC_HAVE_LONG_LONG.
39855
39856         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39857         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39858
39859 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39860
39861         [BZ #13691]
39862         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39863         inptr and inend, rather than using last_ch.
39864
39865 2012-04-02  David S. Miller  <davem@davemloft.net>
39866
39867         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39868         * stdio-common/printf-parse.h (read_int): Change return type to
39869         'int', return -1 on INT_MAX overflow.
39870         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39871         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39872         overflows INT_MAX.  Check for overflow of in-format-string precision
39873         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39874         SIZE_MAX not INT_MAX for integer overflow test.
39875         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39876         skip the construct in the format string but do not record anything.
39877         * stdio-common/bug22.c: Adjust to test both width/prevision
39878         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39879         explicitly for proper errno values.
39880
39881 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39882
39883         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39884         CHAR_MAX.
39885         * string/test-strcmp.c [! WIDE]: Likewise.
39886         * time/tst-mktime2.c: Likewise for INT_MAX.
39887         * string/test-string.h: #include <sys/param.h> for MIN.
39888
39889         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39890         * sysdeps/i386/init-first.c (init): Likewise.
39891         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39892         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39893         * sysdeps/sh/init-first.c (init): Likewise.
39894
39895 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39896
39897         * po/ru.po: Update from translation team.
39898         * po/vi.po: Likewise.
39899
39900 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39901
39902         * resolv/nss_dns/dns-host.c: Merge copyright years.
39903
39904 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39905
39906         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39907         Optimize memcpy with prefetch if
39908         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39909         src, dst pointers have unequal 16 byte alignments.
39910
39911 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39912
39913         [BZ #13928]
39914         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39915         from a CNAME entry and return the minimum ttl for the query.
39916         (gaih_getanswer_slice): Likewise.
39917
39918 2012-03-30  Jeff Law  <law@redhat.com>
39919
39920         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39921         due to long keys.
39922         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39923         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39924
39925         * resolv/nss_dns/dns-host.c: Update copyright year.
39926
39927 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39928
39929         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39930         requests to save a system call.  Fix check that all bytes are sent.
39931
39932         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39933         comments for sendmmsg.
39934
39935 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39936
39937         [BZ #13691]
39938         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39939         with only 1 character between 0x0041 and 0x01b0.
39940         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39941         * wcsmbs/tst-mbsnrtowcs.c: New file.
39942
39943 2012-03-29  David S. Miller  <davem@davemloft.net>
39944
39945         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39946         small copies by hand.
39947
39948 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39949
39950         [BZ #13761]
39951         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39952         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39953         group memberships.
39954
39955 2012-03-28  David S. Miller  <davem@davemloft.net>
39956
39957         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39958         that branches into memcpy.
39959         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39960         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39961         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39962         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39963         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39964         bits.
39965         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39966         implementation too.
39967         * sysdeps/sparc/mempcpy.S: New file.
39968
39969         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39970         the IFUNC routine in the libc case.
39971         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39972
39973         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39974         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39975         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39976         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39977         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39978         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39979         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39980         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39981
39982         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39983         loop to 256 bytes instead of 64 bytes and fix test signedness.
39984
39985         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39986         * sysdeps/sparc/sparc32/Makefile: rather than here...
39987         * sysdeps/sparc/sparc64/Makefile: and here.
39988
39989 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39990
39991         * malloc/mallocbug.c: Avoid warnings about unused variables.
39992
39993 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39994
39995         [BZ #13760]
39996         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39997         in the right place. Discard and retry query if response is
39998         larger than input buffer size.
39999
40000 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
40001
40002         [BZ #369]
40003         [BZ #2678]
40004         [BZ #3866]
40005         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40006         x for large integer exponent.
40007         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40008         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
40009         sign of result as needed afterwards.
40010         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40011         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40012         result for underflowing pow the same as for overflow.
40013         (__kernel_standard_l): Handle powl overflow and underflow here
40014         rather than calling __kernel_standard.
40015         * math/libm-test.inc (pow_test): Add more tests.
40016
40017         [BZ #3868]
40018         [BZ #13879]
40019         [BZ #13910]
40020         [BZ #13911]
40021         [BZ #13912]
40022         [BZ #13913]
40023         [BZ #13915]
40024         [BZ #13916]
40025         [BZ #13917]
40026         [BZ #13918]
40027         [BZ #13919]
40028         [BZ #13920]
40029         [BZ #13921]
40030         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40031         * sysdeps/ieee754/k_standard.c: Include <float.h>.
40032         (__kernel_standard_l): New function.
40033         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40034         __kernel_standard.
40035         * math/w_acosl.c (__acosl): Likewise.
40036         * math/w_asinl.c (__asinl): Likewise.
40037         * math/w_atan2l.c (__atan2l): Likewise.
40038         * math/w_atanhl.c (__atanhl): Likewise.
40039         * math/w_coshl.c (__coshl): Likewise.
40040         * math/w_exp10l.c (__exp10l): Likewise.
40041         * math/w_exp2l.c (__exp2l): Likewise.
40042         * math/w_fmodl.c (__fmodl): Likewise.
40043         * math/w_hypotl.c (__hypotl): Likewise.
40044         * math/w_j0l.c (__j0l, __y0l): Likewise.
40045         * math/w_j1l.c (__j1l, __y1l): Likewise.
40046         * math/w_jnl.c (__jnl, __ynl): Likewise.
40047         * math/w_lgammal.c (__lgammal): Likewise.
40048         * math/w_log10l.c (__log10l): Likewise.
40049         * math/w_log2l.c (__log2l): Likewise.
40050         * math/w_logl.c (__logl): Likewise.
40051         * math/w_powl.c (__powl): Likewise.
40052         * math/w_remainderl.c (__remainderl): Likewise.
40053         * math/w_scalbl.c (sysv_scalbl): Likewise.
40054         * math/w_sinhl.c (__sinhl): Likewise.
40055         * math/w_sqrtl.c (__sqrtl): Likewise.
40056         * math/w_tgammal.c (__tgammal): Likewise.
40057         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40058         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40059         * math/libm-test.inc (acos_test): Add more tests.
40060         (acosh_test): Likewise.
40061         (asin_test): Likewise.
40062         (atanh_test): Likewise.
40063         (exp_test): Likewise.
40064         (exp10_test): Likewise.
40065         (exp2_test): Likewise.
40066         (expm1_test): Likewise.
40067         (lgamma_test): Likewise.
40068         (log_test): Likewise.
40069         (log10_test): Likewise.
40070         (log1p_test): Likewise.
40071         (log2_test): Likewise.
40072         (pow_test): Do not allow some spurious overflow exceptions.
40073         (sqrt_test): Add more tests.
40074         (tgamma_test): Likewise.
40075         (y0_test): Likewise.
40076         (y1_test): Likewise.
40077         (yn_test): Likewise.
40078
40079 2012-03-27  Anton Blanchard  <anton@samba.org>
40080
40081         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40082         MAP_HUGETLB.
40083         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40084         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40085         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40086
40087 2012-03-27  David S. Miller  <davem@davemloft.net>
40088
40089         * conform/Makefile: Run run-conformtest.sh using $(BASH).
40090
40091         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40092         have-as-vis3 check.
40093
40094 2012-03-27  Andreas Jaeger  <aj@suse.de>
40095
40096         * sysdeps/x86_64/elf/configure.in: Moved to ...
40097         * sysdeps/x86_64/configure.in: ... here.
40098         * sysdeps/x86_64/elf/start.S: Moved to ...
40099         * sysdeps/x86_64/start.S: ... here.
40100         * sysdeps/x86_64/elf/configure: Delete.
40101
40102         * sysdeps/x86_64/configure.in: Merge contents from
40103         sysdeps/i386/configure.in (without i686 check).
40104
40105         * sysdeps/i386/elf/Versions: Merge into ...
40106         * sysdeps/i386/Versions: ... this.
40107         * sysdeps/i386/elf/Versions: Delete file.
40108         * sysdeps/i386/elf/start.S: Moved to ...
40109         * sysdeps/i386/start.S: ...here.
40110         * sysdeps/i386/elf/configure.in: Merge into...
40111         * sysdeps/i386/configure.in: ...here.
40112         * sysdeps/i386/elf/configure.in: Delete file.
40113         * sysdeps/i386/elf/configure: Delete file.
40114
40115         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40116         * debug/backtracesyms.c: ... here.
40117         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40118         * debug/backtracesymsfd.c: ... here.
40119         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40120         * sysdeps/generic/ifunc-sel.h: ... here.
40121
40122         * sysdeps/unix/i386/start.c: Delete file.
40123         * sysdeps/unix/sparc/start.c: Delete file.
40124         * sysdeps/unix/start.c: Delete file.
40125
40126         * sysdeps/sh/elf/configure.in: Moved to ...
40127         * sysdeps/sh/configure.in: ... here.
40128         * sysdeps/sh/elf/start.S: Moved to ...
40129         * sysdeps/sh/start.S: ... here.
40130         * sysdeps/sh/elf/configure: Delete file.
40131
40132         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40133         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40134         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40135         * sysdeps/powerpc/powerpc64/entry.h: ... here.
40136         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40137         * sysdeps/powerpc/powerpc64/start.S: here.
40138         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40139         * sysdeps/powerpc/powerpc64/Makefile: ... this.
40140         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40141         * sysdeps/powerpc/powerpc64/configure.in: ... this.
40142         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40143
40144         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40145         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40146         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40147         * sysdeps/powerpc/powerpc32/start.S: ... here.
40148         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40149         * sysdeps/powerpc/powerpc32/configure.in: ... this.
40150         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40151
40152         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40153         * sysdeps/powerpc/ifunc-sel.h: ... here.
40154         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40155         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40156
40157         * sysdeps/sparc/elf/configure.in: Moved to ...
40158         * sysdeps/sparc/configure.in: ... here.
40159         * sysdeps/sparc/elf/configure: Delete file.
40160         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40161         * sysdeps/sparc/sparc32/start.S: ... here.
40162         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40163         * sysdeps/sparc/sparc64/start.S: ... here.
40164         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40165         * sysdeps/sparc/sparc32/Makefile: ... this.
40166         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40167         * sysdeps/sparc/sparc64/Makefile: ... this.
40168
40169         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40170         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40171         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40172         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40173         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40174         * sysdeps/s390/s390-32/setjmp.S: ... here.
40175         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40176         * sysdeps/s390/s390-32/configure.in: ... here.
40177         * sysdeps/s390/s390-32/elf/configure: Delete file.
40178         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40179         * sysdeps/s390/s390-32/start.S: ... here.
40180
40181         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40182         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40183         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40184         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40185         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40186         * sysdeps/s390/s390-64/setjmp.S: ... here.
40187         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40188         * sysdeps/s390/s390-64/configure.in: ... here
40189         * sysdeps/s390/s390-64/elf/configure: Delete file.
40190         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40191         * sysdeps/s390/s390-64/start.S: ... here.
40192         * sysdeps/s390/s390-64/elf/configure: Delete.
40193
40194         * configure.in: Remove support for elf directories in sysdeps.
40195
40196         * configure: Regenerated.
40197         * sysdeps/i386/configure: Regenerated.
40198         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40199         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40200         * sysdeps/s390/s390-32/configure: Regenerated.
40201         * sysdeps/s390/s390-64/configure: Regenerated.
40202         * sysdeps/sh/configure: Regenerated.
40203         * sysdeps/sparc/configure: Regenerated.
40204         * sysdeps/x86_64/configure: Regenerated.
40205
40206 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
40207
40208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40209
40210         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40211         denormal result into account.
40212
40213 2012-03-25  Roland McGrath  <roland@hack.frob.com>
40214
40215         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40216         Reported by Allan McRae <allan@archlinux.org>.
40217
40218 2012-03-23  Jeff Law  <law@redhat.com>
40219
40220         * nss/getnssent.c (__nss_getent): Fix typo.
40221
40222 2012-03-23  David S. Miller  <davem@davemloft.net>
40223
40224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40225
40226 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
40227
40228         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40229         to pad to uint64_t for each field.
40230         (dl_tls_index): Replace unsigned long with uint64_t.
40231
40232 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
40233         Paul Pluzhnikov  <ppluzhnikov@google.com>
40234
40235         [BZ #6528]
40236         * grp/Makefile (otherlibs): Don't set it.
40237         * inet/Makefile (otherlibs): Likewise.
40238         * login/Makefile (otherlibs): Likewise.
40239         * nscd/Makefile (otherlibs): Likewise.
40240         * posix/Makefile (otherlibs): Likewise.
40241         * pwd/Makefile (otherlibs): Likewise.
40242         * rt/Makefile (otherlibs): Likewise.
40243         * sunrpc/Makefile (otherlibs): Likewise.
40244         * nss/Makefile (otherlibs): Likewise.
40245         Add libnss_files to routines and static-only-routines.
40246         ($(objpfx)getent): Remove rule.
40247         * resolv/Makefile: Add libnss_dns and libresolv to routines and
40248         static-only-routines.
40249
40250 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40251
40252         [BZ #13892]
40253         * math/s_cexp.c: Include <float.h>.
40254         (__cexp): Handle exp result overflowing not necessarily
40255         overflowing both real and imaginary parts of result.
40256         * math/s_cexpf.c: Likewise.
40257         * math/s_cexpl.c: Likewise.
40258         * math/libm-test.inc (cexp_test): Add more tests.
40259         * sysdeps/i386/fpu/libm-test-ulps: Update.
40260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40261
40262 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40263
40264         * include/link.h (ELFW): New macro.
40265         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40266         Replace ELF64_R_TYPE with ELFW(R_TYPE).
40267
40268 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40269
40270         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40271         with uint64_t.
40272
40273 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40274
40275         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40276         declaration.
40277         (struct La_x32_retval): Likewise.
40278
40279 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40280
40281         * sysdeps/x86_64/preconfigure.in: New file.
40282         * sysdeps/x86_64/preconfigure: New generated file.
40283
40284 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40285
40286         [BZ #13824]
40287         * math/e_exp2l.c: Include <float.h>.
40288         (__ieee754_exp2l): Handle overflow and underflow cases
40289         separately.  Only pass fractional part of argument to
40290         __ieee754_expl.
40291         * math/libm-test.inc (exp2_test): Add more tests.
40292
40293         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40294         negating x to take absolute value.
40295         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40296         Likewise.
40297         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40298         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40299         Likewise.
40300         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40301         computing low part if x was negated.
40302         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40303
40304 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40305
40306         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40307         la_x32_gnu_pltexit.
40308         (pltexit): Cast int_retval to ptrdiff_t.
40309         * elf/tst-auditmod3b.c: Likewise.
40310         * elf/tst-auditmod4b.c: Likewise.
40311         * elf/tst-auditmod5b.c: Likewise.
40312         * elf/tst-auditmod6b.c: Likewise.
40313         * elf/tst-auditmod6c.c: Likewise.
40314         * elf/tst-auditmod7b.c: Likewise.
40315
40316         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40317         and x32_gnu_pltexit.
40318
40319         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40320         __ELF_NATIVE_CLASS.
40321         (La_x32_regs): New macro.
40322         (La_x32_retval): Likewise.
40323         (la_x32_gnu_pltenter): New function prototype.
40324         (la_x32_gnu_pltexit): Likewise.
40325
40326 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
40327
40328         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40329         exponent.
40330
40331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40332
40333         * configure.in (libc_cv_cc_nofma): Check for option to disable
40334         generation of FMA instructions.
40335         * configure: Regenerate.
40336         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40337         * sysdeps/ieee754/dbl-64/Makefile: New file.
40338         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40339         Remove brandred-fma4.
40340         (CFLAGS-brandred-fma4.c): Remove.
40341         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40342         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40343         define.
40344         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40345         define.
40346
40347 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40348
40349         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40350         LLONG_MAX != LONG_MAX.
40351         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40352         (_fitoa_word): Likewise.
40353         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40354         LLONG_MAX != LONG_MAX.
40355         * stdio-common/_itowa.h: Include <_itoa.h>.
40356         (_itowa_word): Use _ITOA_WORD_TYPE on value.
40357         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
40358         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
40359         only if not defined.
40360         (_ITOA_WORD_TYPE): Likewise.
40361         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40362         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40363
40364 2012-03-21  David S. Miller  <davem@davemloft.net>
40365
40366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40367
40368 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40369
40370         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40371         of x86_64 when setting libc_cv_slibdir, libdir and
40372         libc_cv_localedir.
40373         * sysdeps/unix/sysv/linux/configure: Regenerated.
40374
40375 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40376
40377         * manual/lang.texi (Old Varargs): Remove section.
40378         (How Variadic): Update menu.
40379         (va_start): Do not mention varargs.h.
40380
40381 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40382             Joseph Myers  <joseph@codesourcery.com>
40383
40384         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40385         link test.
40386         * configure: Regenerated.
40387
40388 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40389
40390         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40391         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40392         conformtest.pl
40393
40394 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40395
40396         * NOTES: Remove.
40397         * Makefile (files-for-dist): Remove NOTES.
40398         (NOTES): Remove rule.
40399         * README: Don't refer to NOTES.
40400         * manual/creature.texi: Don't include macros.texi.
40401         * manual/intro.texi (creature.texi): Remove comment referring to
40402         NOTES.
40403
40404         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40405         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40406         * configure: Regenerated.
40407         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40408         LIBC_TRY_CC_OPTION.
40409         (libc_cv_as_i686): Likewise.
40410         (libc_cv_cc_avx): Likewise.
40411         (libc_cv_cc_sse2avx): Likewise.
40412         (libc_cv_cc_fma4): Likewise.
40413         (libc_cv_cc_novzeroupper): Likewise.
40414         * sysdeps/i386/configure: Regenerated.
40415
40416         [BZ #13883]
40417         * sysdeps/i386/fpu/s_cexp.S: Remove.
40418         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40419         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40420         * math/libm-test.inc (cexp_test): Add more tests.
40421         * sysdeps/i386/fpu/libm-test-ulps: Update.
40422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40423
40424 2012-03-21  Allan McRae  <allan@archlinux.org>
40425
40426         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40427
40428 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40429
40430         [BZ #13871]
40431         * math/w_exp2.c: Do not include <float.h>.
40432         (o_threshold, u_threshold): Remove.
40433         (__exp2): Calculate result before checking finiteness and calling
40434         __kernel_standard.
40435         * math/w_exp2f.c: Likewise.
40436         * math/w_exp2l.c: Likewise.
40437         * math/libm-test.inc (exp2_test): Require overflow exception for
40438         1e6 input.
40439
40440         [BZ #3866]
40441         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40442         range of signed 64-bit integers before using fistpll.  Remove
40443         checks for whether integers fit in mantissa bits.
40444         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40445         the range of signed 32-bit integers before using fistpl.  Remove
40446         checks for whether integers fit in mantissa bits.
40447         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40448         (__ieee754_powl): Test for y outside the range of signed 64-bit
40449         integers before using fistpll.  Reduce 64-bit values to 63-bit
40450         ones as needed.
40451         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40452         divide-by-zero is raised for zero to large negative powers.
40453         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40454         (__ieee754_powl): Test for y outside the range of signed 64-bit
40455         integers before using fistpll.  Reduce 64-bit values to 63-bit
40456         ones as needed.
40457         * math/libm-test.inc (pow_test): Add more tests.
40458
40459 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40460
40461         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40462         <stdio-common/_itoa.h>.
40463         * debug/segfault.c: Likewise.
40464         * elf/dl-cache.c: Likewise.
40465         * elf/dl-minimal.c: Likewise.
40466         * elf/dl-misc.c: Likewise.
40467         * elf/dl-sysdep.c: Likewise.
40468         * elf/dl-version.c: Likewise.
40469         * elf/rtld.c: Likewise.
40470         * hurd/hurdsock.c: Likewise.
40471         * hurd/lookup-retry.c: Likewise.
40472         * malloc/malloc.c: Likewise.
40473         * malloc/mtrace.c: Likewise.
40474         * nscd/nscd_getgr_r.c: Likewise.
40475         * nscd/nscd_getpw_r.c: Likewise.
40476         * nscd/nscd_getserv_r.c: Likewise.
40477         * posix/getopt_init.c: Likewise.
40478         * posix/wordexp.c: Likewise.
40479         * stdio-common/_itoa.c: Likewise.
40480         * stdio-common/printf_fphex.c: Likewise.
40481         * stdio-common/vfprintf.c: Likewise.
40482         * string/_strerror.c: Likewise.
40483         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40484         * sysdeps/i386/i686/hp-timing.h: Likewise.
40485         * sysdeps/mach/_strerror.c: Likewise.
40486         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40487         * sysdeps/mach/hurd/sethostid.c: Likewise.
40488         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40489         * sysdeps/mach/xpg-strerror.c: Likewise.
40490         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40491         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40492         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40493         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40494         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40495         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40496         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40497         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40498         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40499         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40500         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40501         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40502         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40503         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40504         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40505         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40506         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40507         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40508         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40509         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40510         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40511
40512         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40513
40514         * stdio-common/_itoa.h: Moved to ...
40515         * sysdeps/generic/_itoa.h: Here.
40516
40517         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40518
40519         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40520         instead of "_itoa.h" and "_itowa.h".
40521         * stdio-common/vfprintf.: Likewise.
40522
40523 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40524
40525         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40526         <bits/wordsize.h>.
40527         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40528         (__signbit): Likwise.
40529         (llrintf): Likwise.
40530         (llrint): Likwise.
40531
40532 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40533
40534         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40535         __WORDSIZE != 64.
40536
40537 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40538
40539         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40540         OVERFLOW_EXCEPTION_OK.
40541         * math/libm-test.inc ("Philosophy"): Update comment about
40542         exception testing.
40543         (OVERFLOW_EXCEPTION): Define.
40544         (OVERFLOW_EXCEPTION_OK): Likewise.
40545         (INVALID_EXCEPTION_OK): Renumber.
40546         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40547         (IGNORE_ZERO_INF_SIGN): Likewise.
40548         (test_exceptions): Handle FE_OVERFLOW.
40549         (exp10_test): Expect overflow exceptions.
40550         (exp2_test): Likewise.
40551         (expm1_test): Likewise.
40552         (nextafter_test): Likewise.
40553         (pow_test): Likewise.
40554         (scalbn_test): Likewise.
40555         (scalbln_test): Likewise.
40556
40557 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40558
40559         * sysdeps/x86_64/bits/atomic.h
40560         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40561         64bit integer.
40562         (atomic_exchange_acq): Likewise.
40563         (__arch_exchange_and_add_body): Likewise.
40564         (__arch_add_body): Likewise.
40565         (atomic_add_negative): Likewise.
40566         (atomic_add_zero): Likewise.
40567
40568 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40569
40570         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40571         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40572
40573 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40574
40575         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40576         Check __x86_64__ instead of __WORDSIZE.
40577
40578 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40579
40580         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40581
40582 2012-03-19  David S. Miller  <davem@davemloft.net>
40583
40584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40585
40586         * sysdeps/sparc/fpu/fenv_private.h: New file.
40587         * sysdeps/sparc/fpu/math_private.h: Use it.
40588         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40589         Remove.
40590         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40591         (libc_feholdexcept_setroundl): Remove.
40592         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40593         Remove.
40594         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40595         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40596
40597 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40598
40599         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40600         int64_t instead of long int.
40601         (INSERT_WORDS64): Likwise.
40602
40603 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40604
40605         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40606         _Unwind_GetCFA return to _Unwind_Ptr first.
40607
40608 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40609
40610         [BZ #13629]
40611         * math/s_clog.c: Include <float.h>.
40612         (__clog): Scale large or subnormal inputs.
40613         * math/s_clogf.c: Likewise.
40614         * math/s_clogl.c: Likewise.
40615         * math/s_clog10.c: Include <float.h>.
40616         (M_LOG10_2): Define.
40617         (__clog10): Scale large or subnormal inputs.
40618         * math/s_clog10f.c: Likewise.
40619         * math/s_clog10l.c: Likewise.
40620         * math/libm-test.inc (clog_test): Add more tests.
40621         (clog10_test): Likewise.
40622         * sysdeps/i386/fpu/libm-test-ulps: Update.
40623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40624
40625         [BZ #11451]
40626         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40627         x and y.
40628         * math/libm-test.inc (atan2_test): Add another test.
40629
40630         * Makerules (common-objdir-compile): Remove.
40631         * sysdeps/unix/Makefile (config-generated): Do not add
40632         $(unix-generated) to variable.
40633         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40634         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40635         Remove rule.
40636         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40637         Likewise.
40638         [generic bits/local_lim.h] (before-compile): Do not append to
40639         variable.
40640         [generic bits/local_lim.h] (common-generated): Likewise.
40641         [generic sys/param.h] (before-compile): Do not append to variable.
40642         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40643         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40644         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40645         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40646         include.
40647         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40648         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40649         [generic sys/param.h] ($(addprefix
40650         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40651         [generic sys/param.h] (common-generated): Do not append to
40652         variable.
40653         [generic sys/param.h] (sysdep_headers): Likewise.
40654         [generic bits/errno.h] (before-compile): Do not append to
40655         variable.
40656         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40657         rule.
40658         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40659         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40660         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40661         [generic bits/errno.h] (common-generated): Do not append to
40662         variable.
40663         [generic bits/ioctls.h] (before-compile): Do not append to
40664         variable.
40665         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40666         rule.
40667         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40668         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40669         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40670         rule.
40671         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40672         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40673         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40674         [generic bits/ioctls.h] (common-generated): Do not append to
40675         variable.
40676         [generic sys/syscall.h] (syscall.h): Remove variable.
40677         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40678         rule.
40679         [generic sys/syscall.h] (before-compile): Do not append to
40680         variable.
40681         [generic sys/syscall.h] (common-generated): Likewise.
40682         * sysdeps/unix/errnos-tmpl.c: Remove file.
40683         * sysdeps/unix/errnos.awk: Likewise.
40684         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40685         * sysdeps/unix/ioctls.awk: Likewise.
40686         * sysdeps/unix/mk-local_lim.c: Likewise.
40687         * sysdeps/unix/snarf-ioctls: Likewise.
40688
40689 2012-03-19  Richard Henderson  <rth@twiddle.net>
40690
40691         * sysdeps/i386/fpu/fenv_private.h: New file.
40692         * sysdeps/i386/fpu/math_private.h: Use it.
40693         (math_opt_barrier, math_force_eval): Remove.
40694         (libc_feholdexcept_setround_53bit): Remove.
40695         (libc_feupdateenv_53bit): Remove.
40696         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40697         (math_opt_barrier, math_force_eval): Remove.
40698         (libc_feholdexcept): Remove.
40699         (libc_feholdexcept_setround): Remove.
40700         (libc_fetestexcept, libc_fesetenv): Remove.
40701         (libc_feupdateenv_test): Remove.
40702         (libc_feupdateenv, libc_feholdsetround): Remove.
40703         (libc_feresetround): Remove.
40704
40705         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40706         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40707
40708         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40709         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40710         (libc_feupdateenv_testl): New.
40711         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40712         (libc_feupdateenv_testf): New.
40713         (libc_feupdateenv): Use libc_feupdateenv_test.
40714         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40715         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40716
40717         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40718         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40719         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40720         (libc_feresetround_noex): New.
40721         (libc_feresetround_noexf): New.
40722         (libc_feresetround_noexl): New.
40723         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40724         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40725         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40726         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40727         SET_RESTORE_ROUND.
40728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40729         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40730         (__cos): Likewise.
40731         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40732         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40733         SET_RESTORE_ROUND_NOEX.
40734         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40735         SET_RESTORE_ROUND_NOEXF.
40736         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40737         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40738         (libc_feholdsetroundf): New.
40739         (libc_feresetround, libc_feresetroundf): New.
40740
40741         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40742         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40743         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40744
40745         * sysdeps/generic/math_private.h: Include <fenv.h>.
40746         (default_libc_feholdexcept): New.
40747         (default_libc_feholdexcept_setround): New.
40748         (default_libc_fesetenv, default_libc_feupdateenv): New.
40749         (libc_feholdexcept): Only define if undefined.
40750         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40751         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40752         (libc_feholdexcept_setroundl): Likewise.
40753         (libc_feholdexcept_setround_53bit): Likewise.
40754         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40755         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40756         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40757         (libc_feupdateenv_53bit): Likewise.
40758         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40759         (libc_feholdexcept): Convert from macro to inline function.
40760         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40761         (libc_fesetenv, libc_feupdateenv): Likewise.
40762
40763         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40764         not previously defined.
40765         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40766         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40767         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40768         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40769         * sysdeps/ieee754/flt-32/math_private.h: New file.
40770         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40771         math_private.h below SET_FLOAT_WORD.
40772         (__isnan, __isinf_ns, __finite): Remove.
40773         (__isnanf, __isinf_nsf, __finitef): Remove.
40774
40775 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40776
40777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40778
40779 2012-03-17  David S. Miller  <davem@davemloft.net>
40780
40781         [BZ #6471]
40782         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40783         for 2.16.
40784
40785 2012-03-16  David S. Miller  <davem@davemloft.net>
40786
40787         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40788         warnings.
40789
40790         [BZ #6471]
40791         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40792         properly.
40793         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40794         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40795         sysdep_routines when subdir is sysvipc.
40796         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40797         __getshmlba helper.
40798
40799         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40800
40801 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40802
40803         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40804         [__LP64__].
40805
40806 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40807
40808         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40809         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40810         (__lround): Renamed to ...
40811         (__llround): This.  Replace long int with long long int.
40812         Define lround functions as aliases of llround functions.
40813         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40814
40815 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40816
40817         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40818         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40819         adresses to uintptr_t.  Replace "long int" and "unsigned long
40820         int" with "greg_t" on va_arg.
40821
40822 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40823
40824         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40825         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40826
40827         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40828         Move e_machine check before EI_CLASS check.  Handle x32
40829         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40830         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40831         SKIP_EM_IA_64 and include
40832         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40833
40834         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40835         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40836         (add_system_dir): New macro.
40837
40838         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40839         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40840
40841 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40842
40843         [BZ #2551]
40844         [BZ #2552]
40845         [BZ #2553]
40846         [BZ #2554]
40847         [BZ #2562]
40848         [BZ #2563]
40849         [BZ #2565]
40850         [BZ #2566]
40851         [BZ #2576]
40852         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40853         (y0): Likewise.
40854         * math/w_j0f.c (j0f): Likewise.
40855         (y0f): Likewise.
40856         * math/w_j0l.c (__j0l): Likewise.
40857         (__y0l): Likewise.
40858         * math/w_j1.c (j1): Likewise.
40859         (y1): Likewise.
40860         * math/w_j1f.c (j1f): Likewise.
40861         (y1f): Likewise.
40862         * math/w_j1l.c (__j1l): Likewise.
40863         (__y1l): Likewise.
40864         * math/w_jn.c (jn): Likewise.
40865         (yn): Likewise.
40866         * math/w_jnf.c (jnf): Likewise.
40867         (ynf): Likewise.
40868         * math/w_jnl.c (__jnl): Likewise.
40869         (__ynl): Likewise.
40870         * math/libm-test.inc (j0_test): Add more tests.
40871         (j1_test): Likewise.
40872         (jn_test): Likewise.  Add trailing semicolon to existing test.
40873         (y0_test): Likewise.
40874         (y1_test): Likewise.
40875         * sysdeps/i386/fpu/libm-test-ulps: Update.
40876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40877
40878         [BZ #13851]
40879         [BZ #13854]
40880         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40881         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40882         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40883         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40884         (__tanl): Set errno for infinite argument.
40885         * sysdeps/i386/fpu/mptan.c: Remove.
40886         * sysdeps/i386/fpu/s_tan.S: Likewise.
40887         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40888         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40889         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40890         * math/libm-test.inc (tan_test): Add more tests and enable more
40891         tests for double and long double.
40892         * sysdeps/i386/fpu/libm-test-ulps: Update.
40893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40894
40895 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40896
40897         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40898         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40899
40900 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40901
40902         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40903         * configure.in: Use it for both main tree and add-ons.
40904         * configure: Regenerated.
40905
40906 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40907
40908         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40909
40910 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40911
40912         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40913         in comment.
40914
40915         [BZ #13851]
40916         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40917         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40918         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40919         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40920         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40921         infinite argument.
40922         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40923         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40924         != 0 for prec == 2.
40925         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40926         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40927         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40928         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40929         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40930         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40931         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40932         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40933         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40934         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40935         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40936         * math/libm-test.inc (cos_test): Add more tests and enable more
40937         tests for long double.
40938         (sin_test): Likewise.
40939         (sincos_test): Likewise.
40940         * sysdeps/i386/fpu/libm-test-ulps: Update.
40941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40942
40943 2012-03-16  David S. Miller  <davem@davemloft.net>
40944
40945         * sysdeps/sparc/fpu/math_private.h: New file.
40946
40947 2012-03-15  David S. Miller  <davem@davemloft.net>
40948
40949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40950         file.
40951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40953         file.
40954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40956         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40957         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40958         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40959         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40960         sysdep routines.
40961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40962
40963         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40964         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40965
40966         * sysdeps/sparc/sparc-ifunc.h: New file.
40967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40968         sparc-ifunc.h
40969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40971         Likewise.
40972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40973         Likewise.
40974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40978         Likewise.
40979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40984         Likewise.
40985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40986         Likewise.
40987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40993         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40994         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41001         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41002         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41003         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41004         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41005         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41006         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41007         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41008         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41009         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41010         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41011
41012 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41013
41014         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41015         scaling.
41016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41017
41018 2012-03-15  Andreas Jaeger  <aj@suse.de>
41019
41020         [BZ #13852]
41021         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41022         ieee754/flt-32 implementation for sin, cos and sincos.
41023         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41024         * sysdeps/i386/fpu/s_cosf.S: Likewise.
41025         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41026         * sysdeps/i386/fpu/s_sinf.S: Likewise.
41027         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41028         ieee754/flt-32 implementation for tan.
41029
41030         * math/libm-test.inc (cos_test): Enable some large input tests for
41031         float as well
41032         (sin_test): Likewise.
41033         (sincos_test): Likewise.
41034         (tan_test): Add tests for large input.
41035
41036         * sysdeps/i386/fpu/libm-test-ulps: Update.
41037
41038 2012-03-15  Andreas Jaeger  <aj@suse.de>
41039
41040         [BZ #13658]
41041         * math/libm-test.inc (cos_test): Add more test cases.
41042         (sin_test): Likewise.
41043         (sincos_test): Likewise.
41044
41045 2012-03-15  Andreas Jaeger  <aj@suse.de>
41046
41047         [BZ #13837]
41048         * math/libm-test.inc (cos_test): Add a test case for large input
41049         value.
41050         (sin_test): Likewise.
41051         (sincos_test): Likewise.
41052
41053 2012-03-15  Andreas Jaeger  <aj@suse.de>
41054             Joseph Myers  <joseph@codesourcery.com>
41055
41056         [BZ #13658]
41057         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41058         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41059         * sysdeps/i386/fpu/branred.c: Likewise.
41060         * sysdeps/i386/fpu/dosincos.c: Likewise.
41061         * sysdeps/i386/fpu/mpa.c: Likewise.
41062         * sysdeps/i386/fpu/s_cos.S: Likewise.
41063         * sysdeps/i386/fpu/s_sin.S: Likewise.
41064         * sysdeps/i386/fpu/s_sincos.S: Likewise.
41065         * sysdeps/i386/fpu/sincos32.c: Likewise.
41066
41067         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41068         Define.
41069         (libc_feupdateenv_53bit): Define.
41070         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41071         Define.
41072         (libc_feupdateenv_53bit): Define.
41073
41074         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41075         53 bit (without extend i386 double precision).
41076
41077         * math/libm-test.inc (sincos_test): Add tests for large input.
41078         (sin): Likewise.
41079         (cos): Likewise.
41080
41081         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41082
41083 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41084
41085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41086
41087 2012-03-15  David S. Miller  <davem@davemloft.net>
41088
41089         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41090         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41091         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41092         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41097         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41103         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41105         file.
41106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41108         file.
41109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41111         file.
41112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41114         file.
41115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41116         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41117         fmin/fmax sysdep routines.
41118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41119
41120 2012-03-14  David S. Miller  <davem@davemloft.net>
41121
41122         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41123         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41126         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41127         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41128         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41129         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41133         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41138         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41139         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41140         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41141         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41142         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41143         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41144         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41145         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41146         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41147         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41148         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41149         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41150         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41151         routines.
41152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41153         file.
41154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41156         file.
41157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41159         file.
41160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41162         file.
41163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41165         file.
41166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41168         file.
41169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41170         file.
41171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41172         file.
41173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41174         file.
41175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41176         New file.
41177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41178         file.
41179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41180         file.
41181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41183         file.
41184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41186         file.
41187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41189         file.
41190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41192         VIS3 routines.
41193
41194         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41195         New file.
41196
41197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41198
41199         * sysdeps/sparc/configure.in: New file.
41200         * sysdeps/sparc/configure: Generate.
41201         * configure.in (libc_cv_sparc_as_vis3): Substitute.
41202         * configure: Regenerate.
41203         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41204         * config.make.in (have-as-vis3): New.
41205         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41206         available use -Av9d instead of -Av9a.
41207         * sysdeps/sparc/sparc64/Makefile: Likewise.
41208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41210         New file.
41211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41212         file.
41213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41214         New file.
41215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41216         file.
41217         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41218         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41219         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41220         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41221         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41222
41223         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41224         fzeros/fnegs to load 0x80000000 into a float register instead of
41225         using the stack.
41226         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41227
41228 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41229
41230         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41231         bits/syscall.h.
41232         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41233         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41234         ($(inst_includedir)/bits/syscall.h): Remove rule.
41235         ($(objpfx)bits/syscall.d): Include instead of
41236         $(objpfx)syscall-list.d.
41237         (generated): Change syscall-list.h and syscall-list.d to
41238         bits/syscall.h and bits/syscall.d.
41239
41240 2012-03-14  Roland McGrath  <roland@hack.frob.com>
41241
41242         [BZ #13846]
41243         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41244
41245 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41246
41247         [BZ #13841]
41248         * math/s_csqrt.c: Include <float.h>.
41249         (__csqrt): Scale large or subnormal inputs.
41250         * math/s_csqrtf.c: Likewise.
41251         * math/s_csqrtl.c: Likewise.
41252         * math/libm-test.inc (csqrt_test): Add more tests.
41253         * sysdeps/i386/fpu/libm-test-ulps: Update.
41254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41255
41256         [BZ #13840]
41257         * math/libm-test.inc (hypot_test): Add more tests.
41258
41259 2012-03-13  David S. Miller  <davem@davemloft.net>
41260
41261         [BZ #13840]
41262         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41263         double-precision for the calculation instead of scaling.
41264
41265 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
41266
41267         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41268         manipulate bits before adding and subtracting TWO52[sx].
41269         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41270         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41271         Likewise.
41272         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41273
41274 2012-03-13  David S. Miller  <davem@davemloft.net>
41275
41276         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41277         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41278         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41279         rtld-global-offsets.h
41280         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41281
41282         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41283         large parameters.
41284
41285         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41286
41287         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41288         'err' in the ifdef scope in which it is actually used.
41289
41290         * nss/nss_db/db-init.c: Include string.h
41291
41292 2012-03-12  David S. Miller  <davem@davemloft.net>
41293
41294         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41295         masking out of the most significant byte of random value used.
41296         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41297         Fix coding style in previous change.
41298
41299         * sysdeps/unix/sysv/linux/kernel-features.h
41300         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41301         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41302         expression.
41303         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41304         later.
41305
41306 2012-03-11  David S. Miller  <davem@davemloft.net>
41307
41308         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41309         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41310         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41311         for 'resultvar' otherwise things get truncated on 64-bit.
41312
41313         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41314         Fix masking out of the most significant byte of random value used.
41315
41316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41317
41318 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
41319
41320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41321
41322 2012-03-09  David S. Miller  <davem@davemloft.net>
41323
41324         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41325         variables with appropriate CPP guards.
41326         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41327         from the frame pointer, not the stack pointer.  Correct layout
41328         comments.  Fix test on resulting framesize and the management of
41329         the outregs buffer for pltexit.  Preserve floating point return
41330         values across _dl_call_pltexit call.
41331         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41332         framesize and the management of the outregs buffer for pltexit.
41333         Preserve floating point return values across _dl_call_pltexit
41334         call.
41335         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41336         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41337         (la_sparc64_gnu_pltexit): New functions.
41338         (print_exit): Fix format string for return register value.
41339
41340 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
41341
41342         * sunrpc/Makefile (others): Add rpcgen.
41343         ($(objpfx)rpcgen): Remove special build rule and dependency on
41344         libc.
41345         * sunrpc/rpcgen.c: New file.
41346
41347 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
41348
41349         [BZ #13673]
41350         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41351         * stdio-common/bug-vfprintf-nargs.c: Likewise.
41352         * sysdeps/i386/crti.S: Likewise.
41353         * sysdeps/i386/crtn.S: Likewise.
41354         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41355         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41356         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41357         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41358         * sysdeps/sh/crti.S: Likewise.
41359         * sysdeps/sh/crtn.S: Likewise.
41360         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41361
41362         [BZ #13673]
41363         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41364         with URL.
41365         * locale/programs/locfile-kw.gperf: Likewise.
41366         * locale/programs/charmap-kw.h: Regenerated.
41367         * locale/programs/locfile-kw.h: Likewise.
41368
41369         [BZ #13673]
41370         * intl/plural.y: Replace FSF snail mail address with URL.
41371         * intl/plural.c: Regenerated.
41372
41373 2012-03-09  Richard Henderson  <rth@twiddle.net>
41374
41375         * include/math_private.h: Remove file.
41376         * math/math_private.h: Move file ...
41377         * sysdeps/generic/math_private.h: ... here.
41378
41379         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41380         * sysdeps/powerpc/fpu/math_private.h: Likewise.
41381         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41382
41383         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41384         and <math_private.h>.
41385         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41386         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41387         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41388         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41389         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41390         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41391         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41392         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41393         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41394         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41395         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41396         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41397         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41398         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41399         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41400         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41401         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41402         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41403         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41404         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41405         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41406         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41407         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41409         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41410         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41411         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41412         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41413         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41414         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41415         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41416         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41417         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41418         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41419         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41420         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41421         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41422         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41423         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41424         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41425         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41426         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41427         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41428         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41429         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41430         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41431         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41432         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41433         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41434         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41435         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41436         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41437         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41438         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41439         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41440         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41441         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41442         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41443         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41444         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41445         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41446         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41447         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41448         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41449         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41450         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41451         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41452         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41453         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41454         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41455         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41456         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41457         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41458         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41459         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41460         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41461         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41462         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41463         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41464         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41465         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41466         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41467         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41468         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41469         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41470         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41471         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41472         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41473         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41474         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41475         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41476         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41477         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41478         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41479         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41480         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41481         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41482         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41483         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41484         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41485         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41486         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41487         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41488         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41489         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41490         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41491         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41492         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41493         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41494         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41495         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41496         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41497         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41498         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41499         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41500         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41501         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41502         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41503         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41504         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41505         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41506         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41507         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41508         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41509         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41510         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41511         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41512         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41513         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41514         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41515         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41516         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41517         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41518         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41519         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41520         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41521         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41522         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41523         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41524         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41525         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41526         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41527         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41528         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41529         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41530         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41531         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41532         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41533         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41534         * sysdeps/ieee754/k_standard.c: Likewise.
41535         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41536         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41537         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41538         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41539         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41540         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41541         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41542         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41543         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41544         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41545         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41546         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41547         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41548         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41549         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41550         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41551         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41552         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41553         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41554         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41555         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41556         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41557         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41558         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41559         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41560         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41561         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41562         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41563         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41564         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41565         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41566         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41567         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41568         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41569         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41570         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41571         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41572         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41573         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41574         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41575         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41576         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41577         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41578         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41579         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41580         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41581         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41582         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41583         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41584         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41585         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41586         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41587         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41588         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41589         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41590         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41591         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41592         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41593         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41594         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41595         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41596         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41597         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41598         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41599         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41600         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41601         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41602         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41603         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41604         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41605         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41606         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41607         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41608         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41609         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41610         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41611         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41612         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41613         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41614         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41615         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41616         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41617         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41618         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41619         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41620         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41621         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41622         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41623         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41624         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41625         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41626         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41627         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41628         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41629         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41630         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41631         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41632         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41633         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41634         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41635         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41636         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41637         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41638         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41639         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41640         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41641         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41642         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41643         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41644         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41645         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41646         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41647         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41648         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41649         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41650         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41651         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41652         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41653         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41654         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41655         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41656         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41657         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41658         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41659         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41660         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41661         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41662         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41663         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41664         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41665         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41666         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41667         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41668         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41669         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41670         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41671         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41672         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41673         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41674         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41675         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41676         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41677         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41678         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41679         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41680         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41681         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41682         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41683         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41684         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41685         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41686         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41687         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41688         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41689         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41690         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41691         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41692         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41693         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41694         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41695         * sysdeps/ieee754/s_lib_version.c: Likewise.
41696         * sysdeps/ieee754/s_matherr.c: Likewise.
41697         * sysdeps/ieee754/s_signgam.c: Likewise.
41698         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41699         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41700         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41701         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41702         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41703         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41704         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41705         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41706         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41707         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41708         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41709         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41710         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41711         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41712         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41713         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41714         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41715         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41716         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41717         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41718         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41719
41720 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41721
41722         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41723         * sunrpc/rpc_main.c: Likewise.
41724         * sunrpc/rpc_svcout.c: Likewise.
41725
41726 2012-03-09  David S. Miller  <davem@davemloft.net>
41727
41728         * include/math_private.h: New file.
41729
41730 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41731
41732         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41733         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41734         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41735         from <bits/socket_type.h>.
41736         (enum __socket_type): Don't define here.
41737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41738         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41739         bits/socket_type.h.
41740
41741         [BZ #13566]
41742         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41743         checking __USE_GNU.
41744
41745         * Makerules ($(inst_includedir)/%.h): New rule.
41746         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41747         (install-others): Remove variable setting.
41748         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41749
41750 2012-03-08  Richard Henderson  <rth@twiddle.net>
41751
41752         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41753         from macro to inline function; merge with the
41754         !__LIBC_INTERNAL_MATH_INLINES version.
41755         (__ieee754_sqrtf): Likewise.
41756
41757         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41758         to inline function.
41759         (__rintf, __floor, __floorf): Likewise.
41760
41761         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41762         macro to inline function.
41763         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41764
41765         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41766         not <math/math_private.h>.
41767
41768 2012-03-08  David S. Miller  <davem@davemloft.net>
41769
41770         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41771         copyright year.
41772         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41773
41774 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41775
41776         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41777         normalization.
41778         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41779         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41780
41781 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41782
41783         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41784         be defined individually, they must be defined as a block.  Define
41785         S for printing a string instead of hidint the different by using a
41786         macro for adding the 'l'.
41787         * stdio-common/tst-fphex-wide.c: Adjust.
41788
41789 2012-03-07  Marek Polacek  <polacek@redhat.com>
41790
41791         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41792
41793 2012-03-08  Marek Polacek  <polacek@redhat.com>
41794
41795         [BZ #13806]
41796         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41797         * stdio-common/tst-fphex.c: Define a few macros to make the
41798         test reusable.  Use them.
41799         * stdio-common/tst-fphex-wide.c: New file.
41800
41801 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41802
41803         [BZ #6911]
41804         * manual/macros.texi (gnusystems): New macro.
41805         (nongnusystems): Likewise.
41806         (gnulinuxhurdsystems): Likewise.
41807         (gnuhurdsystems): Likewise..
41808         (gnulinuxsystems): Likewise.
41809         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41810         variants of the GNU system, not "GNU system".
41811         * manual/conf.texi: Likewise.
41812         * manual/errno.texi: Likewise.  Update example of errno macro
41813         expansion.
41814         * manual/filesys.texi: Likewise.
41815         (getumask): Document as specific to GNU/Hurd.
41816         * manual/install.texi: Likewise.  Reword some references to
41817         GNU/Linux.
41818         * manual/intro.texi: Likewise.
41819         * manual/io.texi: Likewise.
41820         (File Name Portability): Detail which constraints are inapplicable
41821         to all GNU systems and which are only inapplicable to GNU/Hurd.
41822         * manual/job.texi: Likewise.
41823         * manual/llio.texi: Likewise.
41824         (O_NOCTTY): Document as present on GNU/Linux.
41825         * manual/maint.texi: Likewise.
41826         * manual/memory.texi: Likewise.
41827         * manual/pattern.texi: Likewise.
41828         * manual/pipe.texi: Likewise.
41829         * manual/process.texi: Likewise.
41830         * manual/resource.texi: Likewise.
41831         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41832         child on GNU/Hurd.
41833         * manual/setjmp.texi: Likewise.
41834         * manual/signal.texi: Likewise.
41835         * manual/startup.texi: Likewise.
41836         * manual/stdio.texi: Likewise.
41837         * manual/terminal.texi: Likewise.
41838         (ONLCR): Document as POSIX.
41839         (OXTABS): Document availability on GNU/Linux as XTABS.
41840         (ONOEOT): Document availability separately from other bits.
41841         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41842         * manual/time.texi: Likewise.
41843         * manual/users.texi: Likewise.
41844         * INSTALL: Regenerated.
41845         * sysdeps/gnu/errlist.c: Regenerated.
41846
41847         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41848         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41849         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41850         puts.
41851         * configure: Regenerated.
41852
41853 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41854
41855         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41856         default includes instead of AC_HEADER_CHECK.
41857         * sysdeps/i386/configure: Regenerated.
41858
41859         [BZ #10716]
41860         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41861         * math/s_cacoshf.c (__cacoshf): Likewise.
41862         * math/s_cacoshl.c (__cacoshl): Likewise.
41863         * math/s_casinh.c (__casinh): Set signs of result from argument.
41864         * math/s_casinhf.c (__casinhf): Likewise.
41865         * math/s_casinhl.c (__casinhl): Likewise.
41866         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41867         (casinh_test): Add more tests.
41868         * sysdeps/i386/fpu/libm-test-ulps: Update.
41869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41870
41871 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41872
41873         * po/zh_TW.po: Update from translation team.
41874
41875         * login/Makefile (distribute): Remove variable.
41876         * catgets/Makefile: Likewise.
41877         * mach/Makefile: Likewise.
41878         * malloc/Makefile: Likewise.
41879         * misc/Makefile: Likewise.
41880         * iconv/Makefile: Likewise.
41881         * nscd/Makefile: Likewise.
41882         * hurd/Makefile: Likewise.
41883         * manual/Makefile: Likewise.
41884         * locale/Makefile: Likewise.
41885         * intl/Makefile: Likewise.
41886         * conform/Makefile: Likewise.
41887         * nss/Makefile: Likewise.
41888         * time/Makefile: Likewise.
41889         * soft-fp/Makefile: Likewise.
41890         * dirent/Makefile: Likewise.
41891         * gmon/Makefile: Likewise.
41892         * po/Makefile: Likewise.
41893         * rt/Makefile: Likewise.
41894         * socket/Makefile: Likewise.
41895         * math/Makefile: Likewise.
41896         * signal/Makefile: Likewise.
41897         * debug/Makefile: Likewise.
41898         * elf/Makefile: Likewise.
41899         * timezone/Makefile: Likewise.
41900         * stdlib/Makefile: Likewise.
41901         * iconvdata/Makefile: Likewise.
41902         * sunrpc/Makefile: Likewise.
41903         * io/Makefile: Likewise.
41904         * argp/Makefile: Likewise.
41905         * inet/Makefile: Likewise.
41906         * hesiod/Makefile: Likewise.
41907         * grp/Makefile: Likewise.
41908         * csu/Makefile: Likewise.
41909         * wctype/Makefile: Likewise.
41910         * crypt/Makefile: Likewise.
41911         * libio/Makefile: Likewise.
41912         * string/Makefile: Likewise.
41913         * nis/Makefile: Likewise.
41914         * resolv/Makefile: Likewise.
41915         * stdio-common/Makefile: Likewise.
41916         * wcsmbs/Makefile: Likewise.
41917         * dlfcn/Makefile: Likewise.
41918         * posix/Makefile: Likewise.
41919
41920         [BZ #6959]
41921         * timezone/Makefile: Don't install timezone files, just the programs
41922         and scripts.
41923
41924 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41925
41926         * nss/databases.def: Add missing gshadow entry.
41927
41928         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41929
41930 2012-03-06  Marek Polacek  <polacek@redhat.com>
41931
41932         [BZ #13726]
41933         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41934         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41935         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41936         * stdio-common/tst-long-dbl-fphex.c: New file.
41937
41938 2012-03-06  David S. Miller  <davem@davemloft.net>
41939
41940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41941         (set_obp_int): New function.
41942         (get_obp_int): New function.
41943         (__get_clockfreq_via_dev_openprom): Likewise.
41944         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41945         Avoid unused variable warnings on 'val' and use builtin_expect.
41946         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41947         __builtin_expect.
41948         (INLINE_CLONE_SYSCALL): Likewise.
41949
41950 2012-03-05  David S. Miller  <davem@davemloft.net>
41951
41952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41953
41954 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41955
41956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41957
41958         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41959         only for |x| >= 40.
41960         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41961
41962 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41963
41964         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41965         Replace gettimeofday with __vdso_gettimeofday.
41966
41967         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41968         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41969         __vdso_clock_gettime and __vdso_getcpu.
41970
41971         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41972         time with __vdso_time.
41973
41974 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41975
41976         * manual/lang.texi (size_t): Note types to which size_t may be
41977         equivalent with the GNU C Library, but do not describe when
41978         differences between them are significant.
41979
41980 2012-03-05  Andreas Jaeger  <aj@suse.de>
41981
41982         * sysdeps/i386/fpu/libm-test-ulps: Update.
41983
41984 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41985
41986         [BZ #3976]
41987         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41988         (__ieee754_pow): Save and restore rounding mode and use
41989         round-to-nearest for main computations.
41990         * math/libm-test.inc (pow_test_tonearest): New function.
41991         (pow_test_towardzero): Likewise.
41992         (pow_test_downward): Likewise.
41993         (pow_test_upward): Likewise.
41994         (main): Call the new functions.
41995         * sysdeps/i386/fpu/libm-test-ulps: Update.
41996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41997
41998         [BZ #3976]
41999         * math/libm-test.inc (cosh_test_tonearest): New function.
42000         (cosh_test_towardzero): Likewise.
42001         (cosh_test_downward): Likewise.
42002         (cosh_test_upward): Likewise.
42003         (sinh_test_tonearest): Likewise.
42004         (sinh_test_towardzero): Likewise.
42005         (sinh_test_downward): Likewise.
42006         (sinh_test_upward): Likewise.
42007         (main): Call the new functions.
42008         * sysdeps/i386/fpu/libm-test-ulps: Update.
42009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42010
42011 2012-03-05  Tom de Vries  <tom@codesourcery.com>
42012
42013         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42014         default stack guard is set in last bytes.
42015         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42016
42017 2012-03-05  Kees Cook  <keescook@chromium.org>
42018
42019         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42020
42021         [BZ #13656]
42022         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42023         possibly allocate from heap instead of stack.
42024         * stdio-common/bug-vfprintf-nargs.c: New file.
42025         * stdio-common/Makefile (tests): Add nargs overflow test.
42026
42027 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
42028
42029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42030
42031 2012-03-03  Marek Polacek  <polacek@redhat.com>
42032
42033         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42034         * math/math_private.h: Likewise.
42035         * stdlib/tst-strtod.c: Likewise.
42036         * sysdeps/i386/i486/bits/atomic.h: Likewise.
42037         * sysdeps/x86_64/bits/atomic.h: Likewise.
42038
42039 2012-03-02  David S. Miller  <davem@davemloft.net>
42040
42041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42045         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42046         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42047         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42048         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42049
42050 2012-03-02  Roland McGrath  <roland@hack.frob.com>
42051
42052         [BZ #13792]
42053         * manual/examples/README: New file, says the example source files
42054         can be used under GPL>=2.
42055         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42056         line containing just "*/".
42057         * manual/examples/add.c: Add copyright header (GPL>=2).
42058         * manual/examples/argp-ex1.c: Likewise.
42059         * manual/examples/argp-ex2.c: Likewise.
42060         * manual/examples/argp-ex3.c: Likewise.
42061         * manual/examples/argp-ex4.c: Likewise.
42062         * manual/examples/atexit.c: Likewise.
42063         * manual/examples/db.c: Likewise.
42064         * manual/examples/dir.c: Likewise.
42065         * manual/examples/dir2.c: Likewise.
42066         * manual/examples/execinfo.c: Likewise.
42067         * manual/examples/filecli.c: Likewise.
42068         * manual/examples/filesrv.c: Likewise.
42069         * manual/examples/fmtmsgexpl.c: Likewise.
42070         * manual/examples/genpass.c: Likewise.
42071         * manual/examples/inetcli.c: Likewise.
42072         * manual/examples/inetsrv.c: Likewise.
42073         * manual/examples/isockad.c: Likewise.
42074         * manual/examples/longopt.c: Likewise.
42075         * manual/examples/memopen.c: Likewise.
42076         * manual/examples/memstrm.c: Likewise.
42077         * manual/examples/mkfsock.c: Likewise.
42078         * manual/examples/mkisock.c: Likewise.
42079         * manual/examples/mygetpass.c: Likewise.
42080         * manual/examples/pipe.c: Likewise.
42081         * manual/examples/popen.c: Likewise.
42082         * manual/examples/rprintf.c: Likewise.
42083         * manual/examples/search.c: Likewise.
42084         * manual/examples/select.c: Likewise.
42085         * manual/examples/setjmp.c: Likewise.
42086         * manual/examples/sigh1.c: Likewise.
42087         * manual/examples/sigusr.c: Likewise.
42088         * manual/examples/stpcpy.c: Likewise.
42089         * manual/examples/strdupa.c: Likewise.
42090         * manual/examples/strftim.c: Likewise.
42091         * manual/examples/strncat.c: Likewise.
42092         * manual/examples/subopt.c: Likewise.
42093         * manual/examples/swapcontext.c: Likewise.
42094         * manual/examples/termios.c: Likewise.
42095         * manual/examples/testopt.c: Likewise.
42096         * manual/examples/testpass.c: Likewise.
42097         * manual/examples/timeval_subtract.c: Likewise.
42098
42099         [BZ #13792]
42100         * manual/time.texi (Elapsed Time): Move timeval_subtract example
42101         function to ...
42102         * manual/timeval_subtract.c.texi: ... here, new file.
42103
42104 2012-03-02  David S. Miller  <davem@davemloft.net>
42105
42106         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42107
42108 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
42109
42110         [BZ #3976]
42111         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42112         (__sin): Save and restore rounding mode and use round-to-nearest
42113         for all computations.
42114         (__cos): Save and restore rounding mode and use round-to-nearest
42115         for all computations.
42116         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42117         <fenv.h>.
42118         (tan): Save and restore rounding mode and use round-to-nearest for
42119         all computations.
42120         * math/libm-test.inc (cos_test_tonearest): New function.
42121         (cos_test_towardzero): Likewise.
42122         (cos_test_downward): Likewise.
42123         (cos_test_upward): Likewise.
42124         (sin_test_tonearest): Likewise.
42125         (sin_test_towardzero): Likewise.
42126         (sin_test_downward): Likewise.
42127         (sin_test_upward): Likewise.
42128         (tan_test_tonearest): Likewise.
42129         (tan_test_towardzero): Likewise.
42130         (tan_test_downward): Likewise.
42131         (tan_test_upward): Likewise.
42132         (main): Call the new functions.
42133         * sysdeps/i386/fpu/libm-test-ulps: Update.
42134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42135
42136         [BZ #10135]
42137         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42138         small n, then large n, before computing and testing k+n.
42139         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42140         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42141         Likewise.
42142         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42143         Likewise.
42144         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42145         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42146         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42147         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42148         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42149         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42150         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42151         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42152         * math/libm-test.inc (scalbn_test): Add more tests.
42153         (scalbln_test): Likewise.
42154
42155         * manual/filesys.texi (mode_t): Describe constraints on size and
42156         signedness, not exact equivalence to a particular type.
42157         (ino_t): Likewise.
42158         (ino64_t): Likewise.
42159         (dev_t): Likewise.
42160         (nlink_t): Likewise.
42161         (blkcnt_t): Likewise.
42162         (blkcnt64_t): Likewise.
42163         * manual/llio.texi (off_t): Likewise.
42164
42165         [BZ #3976]
42166         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42167         (__ieee754_exp): Save and restore rounding mode and use
42168         round-to-nearest for all computations.
42169         * math/libm-test.inc (exp_test_tonearest): New function.
42170         (exp_test_towardzero): Likewise.
42171         (exp_test_downward): Likewise.
42172         (exp_test_upward): Likewise.
42173         (main): Call the new functions.
42174         * sysdeps/i386/fpu/libm-test-ulps: Update.
42175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42176
42177 2012-03-01  Chris Demetriou  <cgd@google.com>
42178
42179         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42180         have predictable order.
42181
42182 2012-03-01  David S. Miller  <davem@davemloft.net>
42183
42184         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42185
42186         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42187         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42188         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42189         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42190
42191         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42192         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42193         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42195         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42196         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42197         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42198         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42199         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42200
42201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42202
42203         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42204         * sysdeps/sparc/fpu/libm-test-ulps: to here.
42205         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42206
42207         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42208         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42209         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42210         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42211         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42212         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42213         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42214         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42215         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42216         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42217         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42218         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42219         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42220         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42221         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42222         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42223         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42224         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42225         * sysdeps/sparc/elf/configure: Regenerated.
42226
42227 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
42228
42229         * configure.in (AS, LD): Require binutils 2.20 or later.
42230         * configure: Regenerated.
42231         * manual/install.texi (Tools for Compilation): Give binutils 2.20
42232         as required minimum version.
42233         * INSTALL: Regenerated.
42234
42235         [BZ #2541]
42236         [BZ #4108]
42237         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42238         before squaring exponent.
42239         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42240         bottom long double and 27 bits of top long double before squaring
42241         exponent.
42242         * math/libm-test.inc (erfc_test): Add more tests.
42243         * sysdeps/i386/fpu/libm-test-ulps: Update.
42244         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42246
42247 2012-03-01  Kai Tietz  <ktietz@redhat.com>
42248
42249         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42250         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42251         containing bit-fields.
42252         * soft-fp/extended.h (_FP_UNION_E): Likewise.
42253         * soft-fp/single.h (_FP_UNION_S): Likewise.
42254         * soft-fp/double.h (_FP_UNION_D): Likewise.
42255
42256 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42257
42258         [BZ #13786]
42259         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42260         not include ../strcmp.S.
42261         [USE_AS_STRNCASECMP_L]: Likewise.
42262         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42263         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42264         * sysdeps/i386/i686/multiarch/strncase_l-c.c
42265         (__strncasecmp_l_ia32): Define as alias to
42266         __strncasecmp_l_nonascii.
42267
42268         [BZ #5794]
42269         * math/libm-test.inc (expm1_test): Add test for bug 5794.
42270         * sysdeps/i386/fpu/libm-test-ulps: Update.
42271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42272
42273         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42275
42276 2012-02-29  Jeff Law  <law@redhat.com>
42277
42278         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42279         out of bounds read.
42280
42281 2012-02-29  Marek Polacek  <polacek@redhat.com>
42282
42283         [BZ #13706]
42284         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42285         * elf/Makefile: Add rules to run tst-unused-dep.out.
42286
42287 2012-02-28  David S. Miller  <davem@davemloft.net>
42288
42289         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42290         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42291         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42292         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42293         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42294         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42295
42296 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42297
42298         * math/libm-test.inc (llround_test): Move one test from
42299         lround_test.  Use TEST_f_L in moved test.
42300         (lround_test): Move misplaced test to llround_test.  Add testcase
42301         from bug 2561.
42302
42303 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
42304
42305         * sysdeps/x86_64/fpu/e_expf.S: New file.
42306         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42307
42308 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
42309
42310         [BZ #13637]
42311         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42312         of remain_len that may cause incomplete multi-byte character and
42313         false match.
42314         * posix/bug-regex33.c: New file.
42315         * posix/Makefile (tests): Add bug-regex33.
42316
42317 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
42318
42319         * manual/macros.texi: New file.
42320         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42321         * manual/libc.texinfo: Include macros.texi.
42322         * manual/creatute.texi: Likewise.
42323         * manual/install.texi: Likewise.
42324         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42325         @glibcadj{} in references to the GNU C Library.
42326         * manual/charset.texi: Likewise.
42327         * manual/conf.texi: Likewise.
42328         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
42329         when not using those macros.
42330         * manual/creature.texi: Likewise.
42331         * manual/crypt.texi: Likewise.
42332         * manual/errno.texi: Likewise.
42333         * manual/filesys.texi: Likewise.
42334         * manual/header.texi: Likewise.
42335         * manual/install.texi: Likewise.
42336         * manual/intro.texi: Likewise.
42337         * manual/io.texi: Likewise.
42338         * manual/job.texi: Likewise.
42339         * manual/lang.texi: Likewise.
42340         * manual/libc.texiinfo: Likewise.
42341         * manual/llio.texi: Likewise.
42342         * manual/locale.texi: Likewise.
42343         * manual/maint.texi: Likewise.
42344         * manual/math.texi: Likewise.
42345         * manual/memory.texi: Likewise.
42346         * manual/message.texi: Likewise.
42347         * manual/nss.texi: Likewise.
42348         * manual/pattern.texi: Likewise.
42349         * manual/process.texi: Likewise.
42350         * manual/resource.texi: Likewise.
42351         * manual/search.texi: Likewise.
42352         * manual/setjmp.texi: Likewise.
42353         * manual/signal.texi: Likewise.
42354         * manual/socket.texi: Likewise.
42355         * manual/startup.texi: Likewise.
42356         * manual/stdio.texi: Likewise.
42357         * manual/string.texi: Likewise.
42358         * manual/sysinfo.texi: Likewise.
42359         * manual/syslog.texi: Likewise.
42360         * manual/terminal.texi: Likewise.
42361         * manual/time.texi: Likewise.
42362         * manual/users.texi: Likewise.
42363         * INSTALL: Regenerated.
42364         * NOTES: Regenerated.
42365         * sysdeps/gnu/errlist.c: Regenerated.
42366
42367 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
42368
42369         * include/dirent.h: Include <dirstream.h> before
42370         <dirent/dirent.h>.
42371
42372 2012-02-28  David S. Miller  <davem@davemloft.net>
42373
42374         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42375         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42376         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42377         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42378
42379 2012-02-27  David S. Miller  <davem@davemloft.net>
42380
42381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42383         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42384         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42385
42386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42387         frame pointer instead of stack pointer relative arg slot.
42388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42389         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42390         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42391
42392 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
42393
42394         [BZ #3992]
42395         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42396
42397 2012-02-27  David S. Miller  <davem@davemloft.net>
42398
42399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42403         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42404         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42405         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42406         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42407
42408 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42409
42410         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42411         later.  Allow versions 5-9.
42412         * configure: Regenerated.
42413         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42414         required minimum version and 4.6 as recommended version.  Do not
42415         mention bugs in GCC 2.7 and 2.8.
42416         * INSTALL: Regenerated.
42417
42418 2012-02-27  David S. Miller  <davem@davemloft.net>
42419
42420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42424         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42425         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42426         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42427         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42428
42429         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42430         manipulate bits before adding and subtracting TWO112[sx].
42431         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42432
42433 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42434
42435         [BZ #13775]
42436         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42437         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42438         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42439         being in POSIX, because they are in 1003.1-2008.
42440
42441         * rt/tst-aio.c: Include <fcntl.h>.
42442         * rt/tst-aio7.c: Likewise.
42443         * rt/tst-aio64.c: Likewise.
42444
42445         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42446
42447 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42448
42449         * manual/install.texi (--with-headers): Describe headers as
42450         interface headers, not private headers.
42451         (Specific advice for GNU/Linux systems): Describe use of headers
42452         from "make headers_install", not private headers from older
42453         kernels.
42454         * INSTALL: Regenerated.
42455         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42456         Change to 2.6.19.
42457         * sysdeps/unix/sysv/linux/configure: Regenerated.
42458
42459         * manual/llio.texi (fclean): Remove documentation.
42460
42461         * manual/Makefile (libc-texi-generated): New variable.  Include
42462         version.texi.
42463         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42464         $(libc-texi-generated), not duplicated list of files.
42465         (version.texi, stamp-version): New rules.
42466         (realclean): Remove $(libc-texi-generated), not individual files
42467         from that list.  Do not remove dir-add.texinfo.
42468         * manual/libc.texinfo: Comment out uses of edition numbers and
42469         references to printed manual.  Remove last-updated dates.
42470         (EDITION): Comment out.
42471         (ISBN): Likewise.
42472         (VERSION, UPDATED): Remove.
42473         (version.texi): Include.
42474
42475 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42476
42477         * sysdeps/posix/spawni.c: Include <signal.h>.
42478         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42479         * sysdeps/pthread/aio_fsync.c: Likewise.
42480
42481 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42482
42483         * conform/Makefile (tests): Run only when not cross-compiling and
42484         when fast-check is not defined.
42485
42486         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42487         * conform/data/limits.h-data: Fixes for POSIX2008.
42488         * conform/run-conformtest.sh: Run all tests.
42489         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42490         headers.
42491         * include/bits/dlfcn.h: Likewise.
42492         * include/langinfo.h: Likewise.
42493         * include/monetary.h: Likewise.
42494         * include/sys/poll.h: Likewise.
42495
42496         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42497         for __USE_GNU.
42498         * posix/spawn.h: Define __need_sigset_t.
42499         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42500         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42501         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42502         to get sigevent_t only.
42503         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42504         only for __USE_GNU.
42505         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42506         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42507         process_vm_writev only for __USE_GNU.
42508         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42509
42510         * conform/Makefile: For now ignore errors from run-conformtest.
42511         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42512         POSIX to avoid namespace pollution.  Don't prepend headers.
42513         * conform/data/aio.h-data: Fixes for POSIX testing.
42514         * conform/data/fcntl.h-data: Likewise.
42515         * conform/data/glob.h-data: Likewise.
42516         * conform/data/grp.h-data: Likewise.
42517         * conform/data/pthread.h-data: Likewise.
42518         * conform/data/pwd.h-data: Likewise.
42519         * conform/data/signal.h-data: Likewise.
42520         * conform/data/spawn.h-data: Likewise.
42521         * conform/data/stdio.h-data: Likewise.
42522         * conform/data/stdlib.h-data: Likewise.
42523         * conform/data/stropts.h-data: Likewise.
42524         * conform/data/sys/mman.h-data: Likewise.
42525         * conform/data/sys/stat.h-data: Likewise.
42526         * conform/data/sys/types.h-data: Likewise.
42527         * conform/data/sys/wait.h-data: Likewise.
42528         * conform/data/time.h-data: Likewise.
42529         * conform/data/unistd.h-data: Likewise.
42530         * conform/data/utime.h-data: Likewise.
42531
42532         * io/sys/stat.h: fchmod was always in POSIX.
42533         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42534         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42535         * rt/aio.h: Define __need_timespec before including <time.h>.
42536         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42537         struct.  Add forward declaration of pthread_attr_t and use it in
42538         sigevent.
42539         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42540         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42541         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42542         always remove CLK_TCK definition.
42543
42544 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42545
42546         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42547
42548 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42549
42550         * conform/run-conformtest.sh: New file.
42551         * conform/Makefile: Run run-conformtest for tests.
42552         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42553         support.
42554
42555         * conform/data/uchar.h-data: New file.
42556         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42557         * conform/data/arpa/inet.h-data: Likewise.
42558         * conform/data/assert.h-data: Likewise.
42559         * conform/data/complex.h-data: Likewise.
42560         * conform/data/cpio.h-data: Likewise.
42561         * conform/data/ctype.h-data: Likewise.
42562         * conform/data/dirent.h-data: Likewise.
42563         * conform/data/dlfcn.h-data: Likewise.
42564         * conform/data/errno.h-data: Likewise.
42565         * conform/data/fcntl.h-data: Likewise.
42566         * conform/data/float.h-data: Likewise.
42567         * conform/data/fmtmsg.h-data: Likewise.
42568         * conform/data/fnmatch.h-data: Likewise.
42569         * conform/data/ftw.h-data: Likewise.
42570         * conform/data/glob.h-data: Likewise.
42571         * conform/data/grp.h-data: Likewise.
42572         * conform/data/iconv.h-data: Likewise.
42573         * conform/data/inttypes.h-data: Likewise.
42574         * conform/data/langinfo.h-data: Likewise.
42575         * conform/data/libgen.h-data: Likewise.
42576         * conform/data/limits.h-data: Likewise.
42577         * conform/data/locale.h-data: Likewise.
42578         * conform/data/math.h-data: Likewise.
42579         * conform/data/monetary.h-data: Likewise.
42580         * conform/data/mqueue.h-data: Likewise.
42581         * conform/data/ndbm.h-data: Likewise.
42582         * conform/data/net/if.h-data: Likewise.
42583         * conform/data/netdb.h-data: Likewise.
42584         * conform/data/netinet/in.h-data: Likewise.
42585         * conform/data/nl_types.h-data: Likewise.
42586         * conform/data/poll.h-data: Likewise.
42587         * conform/data/pthread.h-data: Likewise.
42588         * conform/data/pwd.h-data: Likewise.
42589         * conform/data/regex.h-data: Likewise.
42590         * conform/data/sched.h-data: Likewise.
42591         * conform/data/search.h-data: Likewise.
42592         * conform/data/semaphore.h-data: Likewise.
42593         * conform/data/setjmp.h-data: Likewise.
42594         * conform/data/signal.h-data: Likewise.
42595         * conform/data/spawn.h-data: Likewise.
42596         * conform/data/stdarg.h-data: Likewise.
42597         * conform/data/stdio.h-data: Likewise.
42598         * conform/data/stdlib.h-data: Likewise.
42599         * conform/data/string.h-data: Likewise.
42600         * conform/data/strings.h-data: Likewise.
42601         * conform/data/stropts.h-data: Likewise.
42602         * conform/data/sys/ipc.h-data: Likewise.
42603         * conform/data/sys/mman.h-data: Likewise.
42604         * conform/data/sys/msg.h-data: Likewise.
42605         * conform/data/sys/resource.h-data: Likewise.
42606         * conform/data/sys/select.h-data: Likewise.
42607         * conform/data/sys/sem.h-data: Likewise.
42608         * conform/data/sys/shm.h-data: Likewise.
42609         * conform/data/sys/socket.h-data: Likewise.
42610         * conform/data/sys/stat.h-data: Likewise.
42611         * conform/data/sys/statvfs.h-data: Likewise.
42612         * conform/data/sys/time.h-data: Likewise.
42613         * conform/data/sys/timeb.h-data: Likewise.
42614         * conform/data/sys/times.h-data: Likewise.
42615         * conform/data/sys/types.h-data: Likewise.
42616         * conform/data/sys/uio.h-data: Likewise.
42617         * conform/data/sys/un.h-data: Likewise.
42618         * conform/data/sys/utsname.h-data: Likewise.
42619         * conform/data/sys/wait.h-data: Likewise.
42620         * conform/data/syslog.h-data: Likewise.
42621         * conform/data/tar.h-data: Likewise.
42622         * conform/data/termios.h-data: Likewise.
42623         * conform/data/utime.h-data: Likewise.
42624         * conform/data/utmpx.h-data: Likewise.
42625         * conform/data/varargs.h-data: Likewise.
42626         * conform/data/wchar.h-data: Likewise.
42627         * conform/data/wctype.h-data: Likewise.
42628         * conform/data/wordexp.h-data: Likewise.
42629
42630         * include/stropts.h: New file.
42631         * include/uchar.h: New file.
42632         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42633         * include/assert.h: Likewise.
42634         * include/ctype.h: Likewise.
42635         * include/dirent.h: Likewise.
42636         * include/dlfcn.h: Likewise.
42637         * include/fcntl.h: Likewise.
42638         * include/fnmatch.h: Likewise.
42639         * include/glob.h: Likewise.
42640         * include/grp.h: Likewise.
42641         * include/libio.h: Likewise.
42642         * include/locale.h: Likewise.
42643         * include/math.h: Likewise.
42644         * include/net/if.h: Likewise.
42645         * include/netdb.h: Likewise.
42646         * include/netinet/in.h: Likewise.
42647         * include/pthread.h: Likewise.
42648         * include/pwd.h: Likewise.
42649         * include/regex.h: Likewise.
42650         * include/sched.h: Likewise.
42651         * include/search.h: Likewise.
42652         * include/setjmp.h: Likewise.
42653         * include/signal.h: Likewise.
42654         * include/stdio.h: Likewise.
42655         * include/stdlib.h: Likewise.
42656         * include/string.h: Likewise.
42657         * include/sys/cdefs.h: Likewise.
42658         * include/sys/mman.h: Likewise.
42659         * include/sys/msg.h: Likewise.
42660         * include/sys/resource.h: Likewise.
42661         * include/sys/select.h: Likewise.
42662         * include/sys/socket.h: Likewise.
42663         * include/sys/stat.h: Likewise.
42664         * include/sys/statvfs.h: Likewise.
42665         * include/sys/time.h: Likewise.
42666         * include/sys/times.h: Likewise.
42667         * include/sys/uio.h: Likewise.
42668         * include/sys/utsname.h: Likewise.
42669         * include/sys/wait.h: Likewise.
42670         * include/termios.h: Likewise.
42671         * include/time.h: Likewise.
42672         * include/ulimit.h: Likewise.
42673         * include/unistd.h: Likewise.
42674         * include/utime.h: Likewise.
42675         * include/wchar.h: Likewise.
42676         * include/wctype.h: Likewise.
42677         * include/wordexp.h: Likewise.
42678
42679         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42680
42681         * time/time.h: TIME_UTC must be a macro.
42682         Make timespec_get available for ISO C11 only as well.
42683
42684 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42685
42686         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42687         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42688
42689 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42690
42691         * configure.in: Use -o not -a in test for unsupported multi-arch.
42692
42693 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42694
42695         * manual/texinfo.tex: Update to version 2012-01-19.16.
42696
42697 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42698
42699         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42700
42701 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42702
42703         [BZ #13738]
42704         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42705         * manual/fdl-1.3.texi: New file.
42706         * manual/fdl-1.1.texi: File removed.
42707
42708         [BZ #13738]
42709         * manual/libc.texinfo (FDL_VERSION): New @set.
42710         Use it for mention of FDL in cover text.
42711         (Documentation License): Use it in @include file name.
42712
42713 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42714             Roland McGrath  <roland@hack.frob.com>
42715
42716         [BZ #5461]
42717         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42718         (not LONG_LONG_MAX and LONG_LONG_MIN.
42719         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42720         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42721         name.
42722         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42723
42724 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42725
42726         [BZ #2547]
42727         [BZ #11365]
42728         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42729         manipulate bits before adding and subtracting TWO23[sx].
42730         * math/libm-test.inc (nearbyint_test): Add more tests.
42731
42732 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42733
42734         [BZ #2548]
42735         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42736         bits before adding and subtracting TWO23[sx].
42737         * math/libm-test.inc (rint_test): Add more tests.
42738         (rint_test_tonearest): Likewise.
42739         (rint_test_towardzero): Likewise.
42740         (rint_test_downward): Likewise.
42741         (rint_test_upward: Likewise.
42742
42743 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42744
42745         [BZ #10110]
42746         * include/stdc-predef.h: New file.  Extracted from features.h.
42747         * include/features.h: Include stdc-predef.h.
42748         * Makefile (headers): Add stdc-predef.h.
42749         * CONFORMANCE (Compiler limitations): Update.
42750
42751 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42752
42753         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42754
42755 2012-02-21  David S. Miller  <davem@davemloft.net>
42756
42757         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42758         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42759
42760 2012-02-20  David S. Miller  <davem@davemloft.net>
42761
42762         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42763         using a normal save/restore sequence, rather than allocating a
42764         dummy stack frame just to store a frame pointer and restore.
42765         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42766
42767 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42768
42769         * manual/install.texi: Fix stray word in line-wrapped comment.
42770
42771 2012-02-20  David S. Miller  <davem@davemloft.net>
42772
42773         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42774         both binutils and gcc support GOTDATA.
42775
42776         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42777         "rd %pc" in the PIC register setup sequences.
42778
42779         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42780         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42781         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42782         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42783         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42784         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42785         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42786         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42787         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42788         (SYSCALL_ERROR_HANDLER): Likewise.
42789         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42790         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42791         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42792         (SYSCALL_ERROR_HANDLER): Likewise.
42793
42794         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42795         (HAVE_GCC_GOTDATA): New.
42796         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42797         relocation support in both binutils and gcc.
42798         * sysdeps/sparc/elf/configure: Regenerate.
42799
42800         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42801         * sysdeps/sparc/sparc32/elf/configure: Delete.
42802         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42803         * sysdeps/sparc/sparc64/elf/configure: Delete.
42804         * sysdeps/sparc/elf/configure.in: New file.
42805         * sysdeps/sparc/elf/configure: Generate.
42806
42807         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42808         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42809         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42810         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42811         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42812
42813 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42814
42815         * manual/install.texi: Do not mention specific glibc version
42816         numbers.
42817         * manual/libc.texinfo (VERSION, UPDATED): Update.
42818         (@copying): Use @copyright{} and range of years.
42819
42820 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42821
42822         [BZ #13695]
42823         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42824         [crti.S not in sysdirs] (generated): Do not append.
42825         [crti.S not in sysdirs] (omit-deps): Likewise.
42826         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42827         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42828         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42829         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42830         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42831         Likewise.
42832         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42833         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42834         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42835         * csu/defs.awk: Remove file.
42836         * sysdeps/generic/initfini.c: Likewise.
42837         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42838         variable.
42839         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42840         Likewise.
42841
42842 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42843
42844         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42845         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42846         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42847         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42848         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42849         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42850         <bits/epoll.h>.
42851         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42852         (__EPOLL_PACKED): Define to empty if not defined by
42853         <bits/epoll.h>.
42854         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42855         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42856         bits/epoll.h.
42857
42858 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42859
42860         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42861         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42862         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42863         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42864         <bits/timerfd.h>.
42865         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42866         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42867         bits/timerfd.h.
42868
42869 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42870
42871         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42872         in C locale.
42873         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42874         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42875         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42877
42878 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42879
42880         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42881         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42882
42883 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42884
42885         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42886         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42887         defined.
42888         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42889         Likewise.
42890         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42891         entry for 2.16.
42892
42893 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42894
42895         * math/w_acos.c: Use non-signaling floating-point comparisons.
42896         * math/w_acosf.c: Likewise.
42897         * math/w_acosh.c: Likewise.
42898         * math/w_acoshf.c: Likewise.
42899         * math/w_acoshl.c: Likewise.
42900         * math/w_acosl.c: Likewise.
42901         * math/w_asin.c: Likewise.
42902         * math/w_asinf.c: Likewise.
42903         * math/w_asinl.c: Likewise.
42904         * math/w_atanh.c: Likewise.
42905         * math/w_atanhf.c: Likewise.
42906         * math/w_atanhl.c: Likewise.
42907         * math/w_exp2.c: Likewise.
42908         * math/w_exp2f.c: Likewise.
42909         * math/w_exp2l.c: Likewise.
42910         * math/w_j0.c: Likewise.
42911         * math/w_j0f.c: Likewise.
42912         * math/w_j0l.c: Likewise.
42913         * math/w_j1.c: Likewise.
42914         * math/w_j1f.c: Likewise.
42915         * math/w_j1l.c: Likewise.
42916         * math/w_jn.c: Likewise.
42917         * math/w_jnf.c: Likewise.
42918         * math/w_log.c: Likewise.
42919         * math/w_log10.c: Likewise.
42920         * math/w_log10f.c: Likewise.
42921         * math/w_log10l.c: Likewise.
42922         * math/w_log2.c: Likewise.
42923         * math/w_log2f.c: Likewise.
42924         * math/w_log2l.c: Likewise.
42925         * math/w_logf.c: Likewise.
42926         * math/w_logl.c: Likewise.
42927         * math/w_sqrt.c: Likewise.
42928         * math/w_sqrtf.c: Likewise.
42929         * math/w_sqrtl.c: Likewise.
42930         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42931         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42932         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42933         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42934         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42935
42936 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42937
42938         [BZ #9739]
42939         * manual/string.texi (strnlen): Use correct parameter name in
42940         equivalent expression.
42941
42942 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42943
42944         [BZ #11174]
42945         * manual/users.texi (seteuid): Consistently use neweuid for
42946         argument name.
42947
42948 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42949
42950         [BZ #13704]
42951         * manual/nss.texi (Services in the NSS configuration): Correct
42952         list of services in example configuration file.
42953
42954 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42955
42956         [BZ #11322]
42957         * manual/arith.texi: Remove statements about negative zero
42958         behaving identically to zero.
42959
42960 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42961
42962         [BZ #5993]
42963         * manual/install.texi: Do not document upgrading from libc5.
42964
42965 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42966
42967         [BZ #4596]
42968         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42969
42970 2012-02-18  David S. Miller  <davem@davemloft.net>
42971
42972         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42973         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42974         %o7 across the call.
42975         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42976         instead.
42977         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42978         SETUP_PIC_REG_LEAF.
42979         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42980         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42981         * sysdeps/sparc/crtn.S: Likewise.
42982
42983 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42984
42985         * aout/Makefile: Remove.
42986
42987 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42988
42989         [BZ #13058]
42990         * manual/examples/argp-ex1.c (main): Format definition in GNU
42991         style.
42992         * manual/examples/argp-ex2.c (main): Likewise.
42993         * manual/examples/argp-ex3.c (main): Likewise.
42994         * manual/examples/argp-ex4.c (main): Likewise.
42995         * manual/examples/longopt.c (main): Use new-style prototype
42996         definition.
42997         * manual/examples/strncat.c (main): Specify return type and use
42998         (void) for arguments.
42999         * manual/examples/subopt.c (main): Use char **argv argument.
43000
43001 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43002
43003         [BZ #5077]
43004         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43005         rounding modes.
43006
43007 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
43008
43009         [BZ #6907]
43010         * manual/string.texi (strchr): Change when strchrnul is
43011         recommended.
43012
43013 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
43014
43015         [BZ #174]
43016         * manual/locale.texi (setlocale): Document LOCPATH.
43017
43018 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43019
43020         [BZ #10210]
43021         * manual/process.texi (execle): Move @dots{} before last argument.
43022
43023 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
43024
43025         [BZ #12047]
43026         * manual/charset.texi (Generic Charset Conversion): Fix typo
43027         (LC_TYPE -> LC_CTYPE).
43028
43029 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
43030
43031         [BZ #5805]
43032         * manual/arith.texi (scalbn): Use @var{} on parameter names.
43033         (scalbnf): Likewise.
43034         (scalbnl): Likewise.
43035         (scalbln): Likewise.
43036         (scalblnf): Likewise.
43037         (scalblnl): Likewise.
43038         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43039         (vwarnx): Likewise.
43040         (verr): Likewise.
43041         (verrx): Likewise.
43042         * manual/filesys.texi (telldir): Use braces around return type.
43043         * manual/llio.texi (mmap): Add space after comma.
43044         (mmap64): Likewise.
43045         * manual/math.texi (jn): Use @var{} on parameter names.
43046         (jnf): Likewise.
43047         (jnl): Likewise.
43048         (yn): Likewise.
43049         (ynf): Likewise.
43050         (ynl): Likewise.
43051         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43052         line.
43053         * manual/resource.texi (ulimit): Use @dots{} instead of literal
43054         "...".
43055         (sched_get_priority_min): Remove semicolon on @deftypefun line.
43056         (sched_get_priority_max): Likewise.
43057         * manual/signal.texi (sigvec): Add space after comma.
43058         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43059         names.
43060         (if_indextoname): Likewise.
43061         (if_freenameindex): Likewise.
43062         (sendto): Use ',' instead of '.' in prototype.
43063         * manual/startup.texi (syscall): Use @dots{} instead of literal
43064         "...".
43065         * manual/stdio.texi (__fpending): Separate initial words of
43066         paragraph from @deftypefun line.
43067         * manual/syslog.texi (syslog): Use @dots{} instead of literal
43068         "...".
43069         (vsyslog): Use @var{} on parameter names.
43070         * manual/terminal.texi (stty): Use @var{} on parameter names.
43071         * manual/users.texi (getutmp): Use @var{} on parameter names.
43072         (getutmpx): Likewise.
43073
43074 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43075
43076         [BZ #6884]
43077         * manual/stdio.texi (fopen): Fix typos in description of
43078         ",ccs=STRING".
43079
43080 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
43081
43082         [BZ #4026]
43083         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43084         get clock_id definition.
43085
43086 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
43087
43088         [BZ #4822]
43089         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43090         (madvise): Cast every argument to void on its own.
43091
43092 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43093
43094         [BZ #9902]
43095         * manual/startup.texi (Exit Status): Fix typo.
43096
43097 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43098
43099         [BZ #10140]
43100         * manual/examples/argp-ex1.c: Include <stdlib.h>.
43101         * manual/examples/argp-ex2.c: Likewise.
43102         * manual/examples/argp-ex3.c: Likewise.
43103
43104 2012-02-16  Richard Henderson  <rth@redhat.com>
43105
43106         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43107         * sysdeps/s390/s390-32/initfini.c: Remove.
43108         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43109         * sysdeps/s390/s390-64/initfini.c: Remove.
43110
43111 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43112
43113         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43114         compiler output for sysdeps/generic/initfini.c.
43115         * sysdeps/sh/elf/initfini.c: Remove file.
43116
43117 2012-02-16  David S. Miller  <davem@davemloft.net>
43118
43119         [BZ #11494]
43120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43121
43122         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43123         * sysdeps/sparc/crti.S: New file.
43124         * sysdeps/sparc/crtn.S: New file.
43125         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43126         * sysdeps/sparc/sparc64/Makefile: Likewise.
43127
43128 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
43129
43130         [BZ #3335]
43131         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43132
43133 2012-02-15  Roland McGrath  <roland@hack.frob.com>
43134
43135         [BZ #4822]
43136         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43137
43138         * mach/devstream.c (cookie_io_functions_t): Macro removed.
43139         (write, read, close): Likewise.
43140         Patch by Aurelien Jarno <aurelien@aurel32.net>.
43141
43142 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
43143
43144         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43145         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43146         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43147         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43148         <bits/signalfd.h>.
43149         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43151         bits/signalfd.h.
43152
43153 2012-02-14  Marek Polacek  <polacek@redhat.com>
43154
43155         * sysdeps/x86_64/crti.S: New file.
43156         * sysdeps/x86_64/crtn.S: New file.
43157         * sysdeps/x86_64/elf/initfini.c: Remove file.
43158
43159 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43160
43161         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43162         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43163         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43164         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43165         <bits/inotify.h>.
43166         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43168         bits/inotify.h.
43169
43170 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43171
43172         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43173         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43174         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43175         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43176         <bits/eventfd.h>.
43177         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43179         bits/eventfd.h.
43180
43181 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
43182
43183         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43184         __feraiseexcept instead of feraiseexcept.
43185
43186         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43187         nanosleep invocations.
43188         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43189         strings, and add error checking for a nanosleep invocations.
43190
43191 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
43192
43193         Replace FSF snail mail address with URLs, as per GNU coding standards.
43194         Most of the snail mail addresses were wrong anyway, and omitting
43195         them makes the source code easier to maintain.  Almost all of the
43196         changes are to license notices and to locale LC_IDENTIFICATION
43197         addresses, except for this one:
43198         * manual/libc.texinfo: In "Published by", give the FSF's URL,
43199         not its snail mail address.
43200
43201 2012-02-09  Richard Henderson  <rth@twiddle.net>
43202
43203         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43204         of kernel-features.h.
43205
43206         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43207
43208 2012-02-08  Marek Polacek  <polacek@redhat.com>
43209
43210         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43211         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43212         * sysdeps/gnu/_G_config.h: Likewise.
43213         * sysdeps/generic/_G_config.h: Likewise.
43214
43215 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
43216
43217         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43218         tests.
43219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43220
43221         * sysdeps/powerpc/powerpc32/crti.S: New file.
43222         * sysdeps/powerpc/powerpc32/crtn.S: New file.
43223         * sysdeps/powerpc/powerpc64/crti.S: New file.
43224         * sysdeps/powerpc/powerpc64/crtn.S: New file.
43225
43226         * Makeconfig (have-initfini): Don't set.
43227         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43228         * configure.in (nopic_initfini): Don't substitute.
43229         * config.h.in (HAVE_INITFINI): Don't #undef.
43230         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43231         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43232
43233 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
43234
43235         Support crti.S and crtn.S provided directly by architectures.
43236         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43237         [crti.S in sysdirs] (omit-deps): Likewise.
43238         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43239         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43240         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43241         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43242         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43243         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43244         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43245         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43246         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43247         compiler output for sysdeps/generic/initfini.c.
43248         * sysdeps/i386/elf/Makefile: Remove file.
43249         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43250
43251 2012-02-07  Marek Polacek  <polacek@redhat.com>
43252
43253         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43254         * sysdeps/gnu/_G_config.h: Likewise.
43255         * sysdeps/mach/hurd/_G_config.h: Likewise.
43256
43257 2012-02-07  Marek Polacek  <polacek@redhat.com>
43258
43259         * math/Makefile (tests): Add tst-CMPLX2.
43260         * math/tst-CMPLX2.c: New file.
43261
43262 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
43263
43264         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43265
43266         * math/libm-test.inc (jn_test): Add missing L suffix.
43267
43268 2012-02-06  Marek Polacek  <polacek@redhat.com>
43269
43270         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43271         * sysdeps/i386/fpu/e_powf.S: Likewise.
43272         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43273         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43274         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43275         * sysdeps/i386/fpu/e_pow.S: Likewise.
43276         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43277         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43278         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43279         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43280         * sysdeps/i386/fpu/e_log2.S: Likewise.
43281         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43282         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43283         * sysdeps/i386/fpu/e_powl.S: Likewise.
43284         * sysdeps/i386/fpu/s_log1p.S: Likewise.
43285         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43286         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43287         * sysdeps/i386/fpu/e_logl.S: Likewise.
43288         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43289         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43290         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43291         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43292         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43293         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43294         * sysdeps/i386/fpu/e_log.S: Likewise.
43295         * sysdeps/i386/fpu/s_cexp.S: Likewise.
43296         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43297         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43298         * sysdeps/i386/fpu/e_logf.S: Likewise.
43299         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43300         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43301         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43302         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43303         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43304         * sysdeps/i386/fpu/e_log10.S: Likewise.
43305         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43306         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43307         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43308         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43309         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43310         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43311         * sysdeps/i386/asm-syntax.h: Likewise.
43312         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43313         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43314         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43315         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43316         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43317         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43318         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43319         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43320         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43321         * sysdeps/powerpc/sysdep.h: Likewise.
43322         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43323         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43324
43325 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43326
43327         [BZ #411]
43328         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43329
43330 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43331
43332         * sysdeps/i386/sysdep.h: Include <features.h>.
43333         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43334         version.
43335
43336 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
43337
43338         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43339         Define.
43340         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43341         LOAD_PIC_REG_STR.
43342
43343 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43344
43345         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43346         (SETUP_PIC_REG): Use GET_PC_THUNK.
43347         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43348         macro.
43349
43350 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43351
43352         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43353         for non-PIC compilation.
43354         (SETUP_PIC_REG): Add .p2align directive.
43355         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43356         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43357         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43358         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43359         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43360         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43361         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43362         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43363         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43364         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43365         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43366         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43367         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43368         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43369         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43370         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43371         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43372         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43373         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43374         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43375         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43376         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43377         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43378         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43379         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43380         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43381         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43382         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43383         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43384         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43385         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43386         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43387         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43388         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43389         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43390         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43391         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43392         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43393         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43394         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43395         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43396
43397 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43398
43399         * math/tst-CMPLX.c: Include <stdio.h>.
43400
43401 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43402
43403         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43404         float.
43405         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43406         * sysdeps/sparc/bits/mathdef.h: Likewise.
43407
43408 2012-01-31  Marek Polacek  <polacek@redhat.com>
43409
43410         * libio/libio.h: Don't define _PARAMS.
43411         * locale/programs/config.h: Don't define PARAMS.
43412         * stdlib/strtol_l.c: Likewise.
43413         (__strtol_l): Remove PARAMS from the prototype.
43414
43415 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43416
43417         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43418         names.  Just use the correct names.  Remove unnecessary wrapper
43419         functions.
43420         * malloc/arena.c: Likewise.
43421         * malloc/hooks.c: Likewise.
43422
43423         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43424         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43425         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43426
43427 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43428
43429         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43430         into tail calls.
43431         (update_get_addr): New function.
43432         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43433         GET_ADDR_MODULE parameter.
43434
43435 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43436
43437         * crypt/cert.c: Remove __STDC__ conditionals.
43438         * crypt/crypt-entry.c: Likewise.
43439         * crypt/crypt_util.c: Likewise.
43440         * libio/filedoalloc.c: Likewise.
43441         * libio/fileops.c: Likewise.
43442         * libio/genops.c: Likewise.
43443         * libio/iofclose.c: Likewise.
43444         * libio/iofdopen.c: Likewise.
43445         * libio/iofopen.c: Likewise.
43446         * libio/iofopen64.c: Likewise.
43447         * libio/iogetdelim.c: Likewise.
43448         * libio/iopopen.c: Likewise.
43449         * libio/obprintf.c: Likewise.
43450         * libio/oldfileops.c: Likewise.
43451         * libio/oldiofclose.c: Likewise.
43452         * libio/oldiofdopen.c: Likewise.
43453         * libio/oldiofopen.c: Likewise.
43454         * libio/oldiopopen.c: Likewise.
43455         * libio/wfiledoalloc.c: Likewise.
43456         * libio/wgenops.c: Likewise.
43457         * locale/programs/xmalloc.c: Likewise.
43458         * misc/syslog.c: Likewise.
43459         * stdio-common/xbug.c: Likewise.
43460         * string/memchr.c: Likewise.
43461         * string/memcmp.c: Likewise.
43462         * string/memrchr.c: Likewise.
43463         * string/rawmemchr.c: Likewise.
43464         * sysdeps/posix/getcwd.c: Likewise.
43465         * time/strftime_l.c: Likewise.
43466
43467 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43468
43469         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43470         * config.make.in (config-cflags-sse2avx): Define.
43471         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43472         Fix typo.
43473
43474 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43475
43476         * scripts/config.guess: Update from upstream config git repository.
43477         * scripts/config.sub: Likewise.
43478
43479 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43480
43481         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43482         (EM_NUM): Update.
43483         (R_TILEPRO_*, R_TILEGX_*): New macros.
43484
43485         * scripts/firstversions.awk: Fix bug in version range handling.
43486
43487         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43488
43489         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43490
43491         * include/sys/epoll.h: New file.
43492         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43493         libc_hidden_def.
43494
43495 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43496
43497         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43498         Avoid unnecessary __WORDSIZE == 64 test.
43499         (fmaxf): Use VEX format if possible.
43500         (fmax): Likewise.
43501         (fminf): Likewise.
43502         (fmin): Likewise.
43503
43504         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43505         * math/math_private.h: Remove libc_fegetround* and
43506         libc_fesetround*.
43507         * sysdeps/i386/configure.in: Check for -msse2avx.
43508         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43509         also if SSE2AVX is defined.
43510         Remove libc_fegetround* and libc_fesetround*.
43511         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43512         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43513         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43514         of HAS_YMM_USABLE.
43515         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43516         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43517         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43518         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43519         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43520
43521         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43522
43523 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43524
43525         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43526         size is not set.
43527         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43528
43529 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43530
43531         [BZ #13618]
43532         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43533         relocation.
43534         * Makeconfig (libm): Define.
43535         * elf/Makefile: Add rules to build and run tst-relsort1.
43536         * elf/tst-relsort1.c: New file.
43537         * elf/tst-relsort1mod1.c: New file.
43538         * elf/tst-relsort1mod2.c: New file.
43539
43540 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43541
43542         * math/s_ldexp.c: Remove __STDC__ conditionals.
43543         * math/s_ldexpf.c: Likewise.
43544         * math/s_ldexpl.c: Likewise.
43545         * math/s_nextafter.c: Likewise.
43546         * math/s_nexttowardf.c: Likewise.
43547         * math/s_significand.c: Likewise.
43548         * math/s_significandf.c: Likewise.
43549         * math/s_significandl.c: Likewise.
43550         * math/w_jnl.c: Likewise.
43551         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43552         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43553         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43554         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43555         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43556         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43557         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43558         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43559         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43560         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43561         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43562         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43563         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43564         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43565         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43566         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43567         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43568         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43569         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43570         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43571         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43572         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43573         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43574         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43575         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43576         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43577         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43578         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43579         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43580         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43581         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43582         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43583         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43584         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43585         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43586         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43587         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43588         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43589         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43590         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43591         * sysdeps/ieee754/k_standard.c: Likewise.
43592         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43593         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43594         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43595         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43596         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43597         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43598         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43599         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43600         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43601         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43602         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43603         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43604         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43605         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43606         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43607         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43608         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43609         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43610         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43611         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43612         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43613         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43614         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43615         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43616         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43617         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43618         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43619         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43620         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43621         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43622         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43623         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43624         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43625         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43627         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43628         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43629         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43630         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43631         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43632         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43633         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43634         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43635         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43636         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43637         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43638         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43639         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43640         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43641         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43642         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43643         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43644         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43645         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43646         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43647         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43648         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43649         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43650         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43651         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43652         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43653         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43654         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43655         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43656         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43657         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43658         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43659         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43660         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43661         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43662         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43663         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43664         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43665         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43666         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43667         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43668         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43669         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43670         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43671         * sysdeps/ieee754/s_matherr.c: Likewise.
43672         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43673         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43674         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43675         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43676
43677 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43678
43679         * crypt/md5.h: Remove __STDC__ conditionals.
43680         * libio/libioP.h: Likewise.
43681         * locale/programs/config.h: Likewise.
43682         * sysdeps/generic/sysdep.h: Likewise.
43683         * sysdeps/i386/asm-syntax.h: Likewise.
43684         * sysdeps/s390/asm-syntax.h: Likewise.
43685         * sysdeps/unix/sysdep.h: Likewise.
43686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43688
43689 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43690
43691         * libio/libio.h: Remove __STDC__ conditionals.
43692         * malloc/obstack.h: Likewise.
43693         * math/complex.h: Likewise.
43694         * math/math.h: Likewise.
43695         * sysdeps/generic/_G_config.h: Likewise.
43696         * sysdeps/gnu/_G_config.h: Likewise.
43697         * sysdeps/mach/hurd/_G_config.h: Likewise.
43698         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43699         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43700         * sysdeps/sparc/bits/mathdef.h: Likewise.
43701
43702 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43703
43704         [BZ #13583]
43705         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43706         Clean up HAS_* macros.
43707         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43708         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43709         possible.
43710         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43711         HAS_AVX.
43712         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43713         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43714         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43715         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43716         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43717
43718 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43719
43720         * elf/tst-unique3.cc (gets): Remove declaration.
43721         * elf/tst-unique3lib.cc (gets): Likewise.
43722         * elf/tst-unique3lib2.cc (gets): Likewise.
43723         * elf/tst-unique4.cc (gets): Likewise.
43724
43725 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43726
43727         * include/stdio.h: Add C++ protection.  Add gets declarations and
43728         definitions.
43729         * debug/tst-chk1.c: Don't declare gets here.
43730         * stdio-common/tst-gets.c: Likewise.
43731
43732 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43733
43734         * posix/glob: Remove directory.
43735
43736 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43737
43738         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43739
43740 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43741
43742         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43743         of the non-standard EPFNOSUPPORT.
43744
43745 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43746
43747         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43748         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43749         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43750
43751 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43752
43753         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43754
43755 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43756
43757         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43758         transient errors.
43759         * nscd/grpcache.c (cache_addgr): Likewise.
43760         * nscd/hstcache.c (cache_addhst): Likewise.
43761         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43762         * nscd/pwdcache.c (cache_addpw): Likewise.
43763         * nscd/servicescache.c (cache_addserv): Likewise.
43764
43765 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43766
43767         * malloc/malloc.c: Various cleanups.
43768         * malloc/hooks.c: Likewise.
43769
43770         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43771         * stdlib/bug-fmtmsg1.c: New file.
43772
43773         * stdlib/fmtmsg.c (init): Add missing unlock.
43774         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43775
43776 2012-01-12  Marek Polacek  <polacek@redhat.com>
43777
43778         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43779         and _GNU_SOURCE.
43780
43781 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43782
43783         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43784         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43785         macro to ensure uniqueness of label name.
43786         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43787         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43788
43789 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43790
43791         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43792
43793         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43794         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43795         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43796         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43797
43798 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43799
43800         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43801
43802         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43803         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43804         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43805
43806         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43807
43808         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43809         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43810         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43811         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43812
43813         * math/bits/math-finite.h: Add ldexp support.
43814
43815 2012-01-10  Marek Polacek  <polacek@redhat.com>
43816
43817         * locale/programs/localedef.h (show_archive_content): Add noreturn
43818         attribute.
43819
43820 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43821
43822         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43823
43824 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43825
43826         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43827
43828         * io/Makefile (headers): Add bits/poll2.h.
43829
43830 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43831
43832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43833         typo #include statement.
43834
43835 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43836
43837         * include/sys/cdefs.h: Define __attribute_alloc_size.
43838         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43839         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43840         * elf/pldd.c: Likewise.
43841         * iconv/iconv_charmap.c: Likewise.
43842         * iconv/iconvconfig.c: Likewise.
43843         * iconv/strtab.c: Likewise.
43844         * locale/programs/locale.c: Likewise.
43845         * locale/programs/localedef.h: Likewise.
43846         * locale/programs/simple-hash.c: Likewise.
43847         * nscd/nscd.h: Likewise.
43848         * nss/makedb.c: Likewise.
43849         * sysdeps/generic/ldconfig.h: Likewise.
43850         * locale/programs/localedef.c: Remove xmalloc prototype.
43851         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43852
43853 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43854
43855         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43856         appropriate.
43857
43858 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43859
43860         * math/Makefile (tests): Add tst-CMPLX.
43861         * math/tst-CMPLX.c: New file.
43862
43863         * math/complex.h (CMPLXL): Fix typo.
43864
43865         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43866         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43867         GLIBC_2.16.
43868         * debug/tst-chk1.c: Add poll and ppoll tests.
43869         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43870         * include/sys/poll.h: Add hidden proto for ppoll.
43871         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43872         * sysdeps/mach/hurd/ppoll.c: Likewise.
43873         * io/ppoll.c: Likewise.
43874         * debug/poll_chk.c: New file.
43875         * debug/ppoll_chk.c: New file.
43876         * include/bits/poll2.h: New file.
43877         * io/bits/poll2.h: New file.
43878
43879         [BZ #1350]
43880         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43881
43882         * configure.in: static is always set to yes.  Remove.
43883         * config.make.in: Don't set build-static.
43884         * Makeconfig: Remove use of build-static.
43885         * dlfcn/Makefile: Likewise.
43886         * elf/Makefile: Likewise.
43887         * math/Makefile: Likewise.
43888         * misc/Makefile: Likewise.
43889         * nptl/Makefile: Likewise.
43890         * sysdeps/mach/hurd/Makefile: Likewise.
43891
43892         * configure.in: PWD_P is not used anymore.
43893         * config.make.in: Remove PWD_P entry.
43894
43895         * configure.in: Remove last remnants of RANLIB.
43896         No need to check for signed size_t anymore.
43897         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43898         and IA-64.
43899         Remove __builtin_expect test because we require at least gcc 3.4.
43900         * aclocal.m4: Likewise.
43901
43902         * wcsmbs/mbrtoc16.c: Implement using towc function.
43903         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43904         * wcsmbs/wcsmbsload.c: Likewise.
43905         * iconv/gconv_simple.c: Likewise.
43906         * iconv/gconv_int.h: Likewise.
43907         * iconv/gconv_builtin.h: Likewise.
43908         * iconv/iconv_prog.c: Remove CHAR16 handling.
43909
43910         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43911
43912         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43913
43914         * configure.in: Remove --with-elf and --enable-bounded options.
43915         Dont set base_machine for ia64.  More non-ELF conditions removed.
43916         Remove testing and setting of leading underscore information.
43917         * config.make.in (build-bounded): Set to no.
43918         * config.h.in: Remove NO_UNDERSCORES entry.
43919         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43920         them.
43921         * csu/start.c: Remove !NO_UNDERSCORE code.
43922         * locale/localeinfo.h: Likewise.
43923         * sysdeps/generic/machine-gmon.h: Likewise.
43924         * sysdeps/generic/sysdep.h: Likewise.
43925         * sysdeps/i386/sysdep.h: Likewise.
43926         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43927         * sysdeps/mach/sysdep.h: Likewise.
43928         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43929         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43930         * sysdeps/sh/sysdep.h: Likewise.
43931         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43932         * sysdeps/unix/i386/sysdep.S: Likewise.
43933         * sysdeps/unix/sparc/start.c: Likewise.
43934         * sysdeps/unix/sparc/sysdep.S: Likewise.
43935         * sysdeps/unix/sparc/sysdep.h: Likewise.
43936         * sysdeps/unix/start.c: Likewise.
43937         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43938         * sysdeps/x86_64/sysdep.h: Likewise.
43939
43940 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43941
43942         [BZ #13553]
43943         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43944         for non-gcc.
43945         * argp/argp-fmtstream.h: Use const instead __const.
43946         * argp/argp.h: Likewise.
43947         * assert/assert.h: Likewise.
43948         * bits/fenv.h: Likewise.
43949         * bits/sched.h: Likewise.
43950         * bits/sigset.h: Likewise.
43951         * bits/sigthread.h: Likewise.
43952         * catgets/nl_types.h: Likewise.
43953         * conform/data/pthread.h-data: Likewise.
43954         * crypt/crypt-private.h: Likewise.
43955         * crypt/crypt.h: Likewise.
43956         * crypt/crypt_util.c: Likewise.
43957         * ctype/ctype.h: Likewise.
43958         * debug/execinfo.h: Likewise.
43959         * debug/mbsnrtowcs_chk.c: Likewise.
43960         * debug/mbsrtowcs_chk.c: Likewise.
43961         * debug/wcsnrtombs_chk.c: Likewise.
43962         * debug/wcsrtombs_chk.c: Likewise.
43963         * debug/wcstombs_chk.c: Likewise.
43964         * dirent/dirent.h: Likewise.
43965         * dlfcn/dlfcn.h: Likewise.
43966         * elf/neededtest4.c: Likewise.
43967         * grp/grp.h: Likewise.
43968         * gshadow/gshadow.h: Likewise.
43969         * iconv/gconv.h: Likewise.
43970         * iconv/gconv_int.h: Likewise.
43971         * iconv/gconv_simple.c: Likewise.
43972         * iconv/iconv.h: Likewise.
43973         * iconv/loop.c: Likewise.
43974         * iconv/skeleton.c: Likewise.
43975         * include/aio.h: Likewise.
43976         * include/aliases.h: Likewise.
43977         * include/argz.h: Likewise.
43978         * include/arpa/inet.h: Likewise.
43979         * include/assert.h: Likewise.
43980         * include/dirent.h: Likewise.
43981         * include/dlfcn.h: Likewise.
43982         * include/execinfo.h: Likewise.
43983         * include/fcntl.h: Likewise.
43984         * include/fenv.h: Likewise.
43985         * include/glob.h: Likewise.
43986         * include/grp.h: Likewise.
43987         * include/libintl.h: Likewise.
43988         * include/mntent.h: Likewise.
43989         * include/netdb.h: Likewise.
43990         * include/pwd.h: Likewise.
43991         * include/rpc/netdb.h: Likewise.
43992         * include/sched.h: Likewise.
43993         * include/search.h: Likewise.
43994         * include/shadow.h: Likewise.
43995         * include/signal.h: Likewise.
43996         * include/stdio.h: Likewise.
43997         * include/stdlib.h: Likewise.
43998         * include/string.h: Likewise.
43999         * include/sys/socket.h: Likewise.
44000         * include/sys/stat.h: Likewise.
44001         * include/sys/statfs.h: Likewise.
44002         * include/sys/statvfs.h: Likewise.
44003         * include/sys/syslog.h: Likewise.
44004         * include/sys/time.h: Likewise.
44005         * include/sys/uio.h: Likewise.
44006         * include/time.h: Likewise.
44007         * include/unistd.h: Likewise.
44008         * include/utmp.h: Likewise.
44009         * include/wchar.h: Likewise.
44010         * include/wctype.h: Likewise.
44011         * inet/aliases.h: Likewise.
44012         * inet/arpa/inet.h: Likewise.
44013         * inet/netinet/ether.h: Likewise.
44014         * inet/netinet/in.h: Likewise.
44015         * intl/libintl.h: Likewise.
44016         * io/bits/fcntl2.h: Likewise.
44017         * io/fcntl.h: Likewise.
44018         * io/ftw.h: Likewise.
44019         * io/sys/poll.h: Likewise.
44020         * io/sys/stat.h: Likewise.
44021         * io/sys/statfs.h: Likewise.
44022         * io/sys/statvfs.h: Likewise.
44023         * io/utime.h: Likewise.
44024         * libio/bits/stdio.h: Likewise.
44025         * libio/bits/stdio2.h: Likewise.
44026         * libio/libio.h: Likewise.
44027         * libio/libioP.h: Likewise.
44028         * libio/stdio.h: Likewise.
44029         * locale/lc-ctype.c: Likewise.
44030         * locale/locale.h: Likewise.
44031         * login/utmp.h: Likewise.
44032         * malloc/arena.c: Likewise.
44033         * malloc/malloc.c: Likewise.
44034         * malloc/malloc.h: Likewise.
44035         * malloc/mcheck.c: Likewise.
44036         * malloc/mtrace.c: Likewise.
44037         * math/bits/mathcalls.h: Likewise.
44038         * math/fenv.h: Likewise.
44039         * math/math_private.h: Likewise.
44040         * misc/bits/error.h: Likewise.
44041         * misc/bits/syslog.h: Likewise.
44042         * misc/err.h: Likewise.
44043         * misc/error.h: Likewise.
44044         * misc/fstab.h: Likewise.
44045         * misc/mntent.h: Likewise.
44046         * misc/regexp.h: Likewise.
44047         * misc/search.h: Likewise.
44048         * misc/sgtty.h: Likewise.
44049         * misc/sys/mman.h: Likewise.
44050         * misc/sys/syslog.h: Likewise.
44051         * misc/sys/uio.h: Likewise.
44052         * misc/sys/xattr.h: Likewise.
44053         * misc/ttyent.h: Likewise.
44054         * nis/rpcsvc/ypclnt.h: Likewise.
44055         * nss/nss.h: Likewise.
44056         * posix/bits/unistd.h: Likewise.
44057         * posix/fnmatch.h: Likewise.
44058         * posix/glob.h: Likewise.
44059         * posix/sched.h: Likewise.
44060         * posix/spawn.h: Likewise.
44061         * posix/sys/wait.h: Likewise.
44062         * posix/unistd.h: Likewise.
44063         * posix/wordexp.h: Likewise.
44064         * pwd/pwd.h: Likewise.
44065         * resolv/netdb.h: Likewise.
44066         * resource/sys/resource.h: Likewise.
44067         * rt/aio.h: Likewise.
44068         * rt/bits/mqueue2.h: Likewise.
44069         * rt/mqueue.h: Likewise.
44070         * shadow/shadow.h: Likewise.
44071         * signal/signal.h: Likewise.
44072         * socket/send.c: Likewise.
44073         * socket/sendto.c: Likewise.
44074         * socket/sys/socket.h: Likewise.
44075         * stdio-common/printf.h: Likewise.
44076         * stdlib/bits/stdlib.h: Likewise.
44077         * stdlib/fmtmsg.h: Likewise.
44078         * stdlib/monetary.h: Likewise.
44079         * stdlib/stdlib.h: Likewise.
44080         * stdlib/ucontext.h: Likewise.
44081         * streams/stropts.h: Likewise.
44082         * string/argz.h: Likewise.
44083         * string/bits/string2.h: Likewise.
44084         * string/string.h: Likewise.
44085         * string/strings.h: Likewise.
44086         * sunrpc/rpc/auth.h: Likewise.
44087         * sunrpc/rpc/auth_des.h: Likewise.
44088         * sunrpc/rpc/clnt.h: Likewise.
44089         * sunrpc/rpc/netdb.h: Likewise.
44090         * sunrpc/rpc/pmap_clnt.h: Likewise.
44091         * sunrpc/rpc/xdr.h: Likewise.
44092         * sysdeps/generic/inttypes.h: Likewise.
44093         * sysdeps/generic/net/if.h: Likewise.
44094         * sysdeps/generic/sys/swap.h: Likewise.
44095         * sysdeps/gnu/net/if.h: Likewise.
44096         * sysdeps/gnu/utmpx.h: Likewise.
44097         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44098         * sysdeps/i386/i486/bits/string.h: Likewise.
44099         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44100         * sysdeps/s390/bits/string.h: Likewise.
44101         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44102         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44103         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44104         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44105         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44106         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44107         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44108         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44109         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44110         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44111         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44112         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44113         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44114         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44115         * sysdeps/unix/sysv/linux/readv.c: Likewise.
44116         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44117         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44118         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44119         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44120         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44121         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44122         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44123         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44124         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44125         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44126         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44127         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44128         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44129         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44130         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44131         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44132         * sysvipc/sys/ipc.h: Likewise.
44133         * sysvipc/sys/msg.h: Likewise.
44134         * sysvipc/sys/sem.h: Likewise.
44135         * sysvipc/sys/shm.h: Likewise.
44136         * termios/termios.h: Likewise.
44137         * time/sys/time.h: Likewise.
44138         * time/time.h: Likewise.
44139         * wcsmbs/bits/wchar2.h: Likewise.
44140         * wcsmbs/uchar.h: Likewise.
44141         * wcsmbs/wchar.h: Likewise.
44142         * wctype/wctype.h: Likewise.
44143
44144         [BZ #13551]
44145         * Makeconfig: Remove all but ELF support including AIX support.
44146         * Makerules: Likewise.
44147         * config.h.in: Likewise.
44148         * config.make.in: Likewise.
44149         * configure: Likewise.
44150         * configure.in: Likewise.
44151         * csu/Makefile: Likewise.
44152         * csu/version.c: Likewise.
44153         * debug/Makefile: Likewise.
44154         * dlfcn/Makefile: Likewise.
44155         * elf/Makefile: Likewise.
44156         * extra-lib.mk: Likewise.
44157         * iconv/Makefile: Likewise.
44158         * include/libc-symbols.h: Likewise.
44159         * include/shlib-compat.h: Likewise.
44160         * resolv/Makefile: Likewise.
44161         * resolv/res_libc.c: Likewise.
44162         * rt/Makefile: Likewise.
44163         * sysdeps/i386/asm-syntax.h: Likewise.
44164         * sysdeps/i386/sysdep.h: Likewise.
44165         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44166         * sysdeps/mach/sysdep.h: Likewise.
44167         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44168         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44169         * sysdeps/s390/asm-syntax.h: Likewise.
44170         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44171         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44172         * sysdeps/sh/sysdep.h: Likewise.
44173         * sysdeps/unix/sparc/sysdep.h: Likewise.
44174         * sysdeps/wordsize-32/divdi3.c: Likewise.
44175         * sysdeps/x86_64/sysdep.h: Likewise.
44176
44177         * argp/Versions: Remove _argp_unlock_xxx.
44178
44179         [BZ #13559]
44180         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
44181         * abilist/libBrokenLocale.abilist: Likewise.
44182         * abilist/libanl.abilist: Likewise.
44183         * abilist/libc.abilist: Likewise.
44184         * abilist/libcrypt.abilist: Likewise.
44185         * abilist/libdl.abilist: Likewise.
44186         * abilist/libm.abilist: Likewise.
44187         * abilist/libnsl.abilist: Likewise.
44188         * abilist/libpthread.abilist: Likewise.
44189         * abilist/libresolv.abilist: Likewise.
44190         * abilist/librt.abilist: Likewise.
44191         * abilist/libthread_db.abilist: Likewise.
44192         * abilist/libutil.abilist: Likewise.
44193         * abilist/libnss_db.abilist: New file.
44194
44195         * scripts/abilist.awk: Add support for indirect functions.
44196
44197         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44198
44199         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44200
44201         * shlib-versions: Remove entries for ports architectures.
44202
44203         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
44204         files in ports.
44205         * elf/stackguard-macros.h: Remove support for IA-64.
44206         * elf/tst-auditmod1.c: Likewise.
44207         * sysdeps/generic/ldsodefs.h: Likewise.
44208
44209         * sysdeps/unix/sysv/linux/configure.in: Ports should define
44210         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44211         configure files.
44212
44213         [BZ #13552]
44214         * configure.in: Remove --enable-omitfp support.
44215         * FAQ.in: Adjust.
44216         * config.make.in: Likewise.
44217         * Makeconfig: Likewise.
44218         * manual/install.texi: Likewise.
44219
44220         In case anyone cares, the IA-64 architecture could move to ports.
44221         * sysdeps/ia64/*: Removed.
44222         * sysdeps/unix/sysv/linux/ia64/*: Removed.
44223         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44224
44225         [BZ #13555]
44226         * configure.in: Remove entries for unsupported architectures.
44227
44228         [BZ #13533]
44229         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44230         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
44231         routines.
44232         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44233         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44234         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
44235         fall back to using wcrtomb.
44236         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44237         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
44238         renaming.
44239         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44240         * wcsmbs/tst-c16c32-1.c: New file.
44241
44242         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44243         local variable.
44244
44245         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44246
44247         * elf/tst-unique3.cc: Add explicit declaration of gets.
44248         * elf/tst-unique3lib.cc: Likewise.
44249         * elf/tst-unique3lib2.cc: Likewise.
44250         * elf/tst-unique4.cc: Likewise.
44251
44252         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44253
44254 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
44255
44256         [BZ #13566]
44257         * assert/assert.h (static_assert): Don't define for C++.
44258         * libio/stdio.h (gets): Do declare for C++ <= C++11.
44259         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44260
44261 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
44262
44263         * iconv/loop.c (single loop): Fix assertion in storing of
44264         remaining bytes.
44265
44266         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44267
44268 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
44269
44270         * posix/getconf.c: Update copyright year.
44271         * nss/getent.c: Likewise.
44272         * nss/makedb.c: Likewise.
44273         * iconv/iconvconfig.c: Likewise.
44274         * iconv/iconv_prog.c: Likewise.
44275         * elf/ldconfig.c: Likewise.
44276         * elf/pldd.c: Likewise.
44277         * elf/sotruss.ksh: Likewise.
44278         * catgets/gencat.c: Likewise.
44279         * csu/version.c: Likewise.
44280         * elf/ldd.bash.in: Likewise.
44281         * elf/sprof.c (print_version): Likewise.
44282         * locale/programs/locale.c: Likewise.
44283         * locale/programs/localedef.c: Likewise.
44284         * login/programs/pt_chown.c: Likewise.
44285         * nscd/nscd.c (print_version): Likewise.
44286         * debug/xtrace.sh: Likewise.
44287         * malloc/memusage.sh: Likewise.
44288         * malloc/mtrace.pl: Likewise.
44289         * debug/catchsegv.sh: Likewise.
44290
44291 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
44292
44293         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44294         pure attribute.
44295
44296 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
44297
44298         [BZ #13533]
44299         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44300         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44301         transformations.
44302         * iconv/gconv_int.h: Likewise.
44303         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44304         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44305         from libc for GLIBC_2.16.
44306         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44307         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44308         * wcsmbs/uchar.h: Really define mbstate_t.
44309         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44310         * wcsmbs/c16rtomb.c: New file.
44311         * wcsmbs/mbrtoc16.c: New file.
44312         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44313         for C/POSIX locale.
44314         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44315         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44316
44317         * wcsmbs/wchar.h: Add missing __restrict.
44318
44319 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44320
44321         [BZ #13532]
44322         * time/Makefile (routines): Add timespec_get.
44323         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44324         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
44325         timespec for ISO C11.
44326         * time/timespec_get.c: New file.
44327         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44328         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44329
44330         [BZ #13531]
44331         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44332         * stdlib/stdlib.h: Declare aligned_alloc.
44333         * Versions.def: Add GLIBC_2.16 for libc.
44334         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44335
44336         [BZ 13527]
44337         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44338         ISO C11.
44339
44340         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44341         code.
44342
44343         [BZ #13528]
44344         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44345
44346         [BZ #13529]
44347         * assert/assert.h (static_assert): Define.
44348
44349         * version.h: Update for 2.16 development version.
44350
44351         [BZ #13526]
44352         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44353         _ISOC11_SOURCE.
44354
44355         * version.h (RELEASE): Bump for 2.15 release.
44356         * include/features.h (__GLIBC_MINOR__): Bump to 15.
44357
44358         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44359         Patch by Marek Polacek <mpolacek@redhat.com>.
44360
44361         * bits/byteswap.h: Protect long long constants with __extension__.
44362         * sysdeps/i386/bits/byteswap.h: Likewise.
44363         * sysdeps/ia64/bits/byteswap.h: Likewise.
44364         * sysdeps/s390/bits/byteswap.h: Likewise.
44365         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44366
44367 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44368
44369         [BZ #13540]
44370         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44371         destination buffer.
44372         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44373
44374 2011-12-23  Marek Polacek  <polacek@redhat.com>
44375
44376         * elf/dl-addr.c (determine_info): Add inline keyword.
44377         * elf/tst-auditmod4b.c (check_avx): Likewise.
44378         * elf/tst-auditmod6b.c (check_avx): Likewise.
44379         * elf/tst-auditmod6c.c (check_avx): Likewise.
44380         * elf/tst-auditmod7b.c (check_avx): Likewise.
44381
44382 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44383
44384         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44385         !__SSE_MATH__.
44386
44387 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44388
44389         [BZ #13540]
44390         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44391         processing for last bytes.
44392
44393 2011-08-06  Bruno Haible  <bruno@clisp.org>
44394
44395         [BZ #13061]
44396         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44397         U+0385, not to U+1FEE.
44398
44399         [BZ #13062]
44400         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44401         entry for U+00A5 U+0301.
44402
44403 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44404
44405         [BZ #13166]
44406         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44407         buffer for the output is too small.
44408
44409         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44410         optimization.
44411
44412         [BZ #13185]
44413         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44414         SSE flags if possible.
44415
44416 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44417
44418         [BZ #13540]
44419         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44420         processing for last bytes.
44421
44422 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44423
44424         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44425         (syscall-list-default-options, syscall-list-default-condition)
44426         (syscall-list-includes): Define.
44427         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44428         list of ABIs and options and #if conditions for each ABI.  Do not
44429         handle common syscalls between ABIs specially.
44430         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44431         Remove.
44432         (syscall-list-variants, syscall-list-32bit-options)
44433         (syscall-list-32bit-condition, syscall-list-64bit-options)
44434         (syscall-list-64bit-condition): Define.
44435         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44436         (syscall-list-variants, syscall-list-32bit-options)
44437         (syscall-list-32bit-condition, syscall-list-64bit-options)
44438         (syscall-list-64bit-condition): Define.
44439         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44440         Remove.
44441         (syscall-list-variants, syscall-list-32bit-options)
44442         (syscall-list-32bit-condition, syscall-list-64bit-options)
44443         (syscall-list-64bit-condition): Define.
44444         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44445         Remove.
44446         (syscall-list-variants, syscall-list-32bit-options)
44447         (syscall-list-32bit-condition, syscall-list-64bit-options)
44448         (syscall-list-64bit-condition): Define.
44449
44450 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44451
44452         * locale/iso-639.def: Add brx entry.
44453
44454         [BZ #13328]
44455         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44456         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44457
44458         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44459         __feraiseexcept_renamed.
44460
44461 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44462
44463         [BZ #13538]
44464         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44465         EPOLLET with unsigned values.
44466         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44467         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44468
44469         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44470         to large cancellation.
44471         * math/s_cacoshf.c: Likewise.
44472         * math/s_cacoshl.c: Likewise.
44473
44474 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44475
44476         [BZ #13305]
44477         [BZ #12786]
44478         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44479         * math/s_cacoshf.c: Likewise.
44480         * math/s_cacoshl.c: Likewise.
44481
44482 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44483
44484         [BZ #13439]
44485         * iconv/gconv.h: Define __GCONV_SWAP.
44486         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44487         * iconvdata/utf-16.c: Likewise.
44488         * iconvdata/utf-32.c: Likewise.
44489
44490 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44491
44492         [BZ #13524]
44493         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44494         numerator after shifting it by one limb.
44495
44496 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44497
44498         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44499         under [__USE_EXTERN_INLINES].
44500
44501 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44502
44503         [BZ #13446]
44504         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44505
44506 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44507
44508         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44509         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44510         optimized code.
44511         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44512         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44513         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44514         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44515         for strncasecmp/strncasecmp_l compilation.
44516         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44517         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44518
44519 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44520
44521         [BZ #13484]
44522         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44523         of __asm__.
44524
44525 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44526
44527         [BZ #13506]
44528         * time/tzfile.c (__tzfile_read): Check values from file header.
44529
44530 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44531
44532         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44533         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44534         * powerpc/powerpc32/dl-start.S: Likewise.
44535         * powerpc/powerpc32/elf/start.S: Likewise.
44536         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44537         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44538         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44539         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44540         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44541         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44542         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44543         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44544         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44545         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44546         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44547         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44548         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44549         * powerpc/powerpc32/memset.S: Likewise.
44550         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44551         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44552         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44553         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44554         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44555         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44556         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44557         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44558         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44559         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44560         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44561         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44562         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44563
44564 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44565
44566         * math/libm-test.inc: Added more nearbyint tests.
44567         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44568         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44569         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44570         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44571
44572 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44573
44574         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44575         FD_CLOEXEC.
44576
44577 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44578
44579         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44580         Add wcscpy-ssse3 wcscpy-c.
44581         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44582         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44583         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44584         * sysdeps/x86_64/wcschr.S: New file.
44585         * sysdeps/x86_64/wcsrchr.S: New file.
44586         * string/test-strcmp.c: Remove checking of wcscmp function for
44587         wrong alignments.
44588         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44589         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44590         wcsrchr-sse2 wcsrchr-c.
44591         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44592         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44593         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44594         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44595         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44596         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44597         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44598         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44599         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44600         * wcsmbc/wcschr.c (WCSCHR): New macro.
44601
44602 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44603
44604         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44605         * wcsmbs/test-wcsrchr.c: New file.
44606         * string/test-strrchr.c: Add wcsrchr support.
44607         (WIDE): New macro.
44608         * wcsmbs/test-wcscpy.c: New file.
44609         * string/test-strcpy.c: Add wcscpy support.
44610         (WIDE): New macro.
44611
44612 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44613
44614         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44615         the inner loop.
44616
44617 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44618
44619         [BZ #13472]
44620         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44621
44622 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44623
44624         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44625         Minor optimizations.
44626
44627         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44628         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44629         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44630
44631 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44632
44633         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44634         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44635         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44636         for gcc to avoid warnings.
44637         * inet/Makefile (tests): Add tst-checks.
44638         * inet/tst-checks.c: New file.
44639
44640         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44641         warning.
44642
44643         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44644         __wmemcmp_sse2.
44645
44646         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44647         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44648
44649         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44650
44651 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44652
44653         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44654         problem.
44655
44656         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44657
44658 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44659
44660         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44661         conditional on GCC version.
44662         (__arch_compare_and_exchange_val_8_acq)
44663         (__arch_compare_and_exchange_val_16_acq)
44664         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44665         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44666         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44667
44668 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44669
44670         * sysdeps/sh/backtrace.c: New file.
44671
44672 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44673
44674         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44675         parenthesis.
44676
44677 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44678
44679         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44680         falling back to utime.
44681
44682 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44683
44684         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44685         expectations for float.
44686
44687 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44688
44689         * locale/weight.h (findidx): Add parameter len.
44690         * locale/weightwc.h (findidx): Likewise.
44691         * posix/fnmatch_loop.c (FCT): Adjust caller.
44692         * posix/regcomp.c (build_equiv_class): Likewise.
44693         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44694         * posix/regexec.c (check_node_accept_bytes): Likewise.
44695         * string/strcoll_l.c (STRCOLL): Likewise.
44696         * string/strxfrm_l.c (STRXFRM): Likewise.
44697
44698 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44699
44700         * Makefile.in: Remove CVSOPT handling.
44701         * configure.in: Remove use of AC_REVISION.
44702         * iconvdata/Makefile (distribute): No need to filter out CVS.
44703         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44704         handling.
44705
44706 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44707
44708         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44709         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44710         [USE_AS_STRNCASECMP_L]: Likewise.
44711         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44712         NO_TLS_DIRECT_SEG_REFS.
44713         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44714         Fix argument offsets for non-PIC.
44715         [USE_AS_STRNCASECMP_L]: Likewise.
44716         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44717         NO_TLS_DIRECT_SEG_REFS.
44718
44719 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44720
44721         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44722         O_CLOEXEC.
44723         * locale/loadlocale.c (_nl_load_locale): Likewise.
44724
44725 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44726
44727         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44728         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44729         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44730         (SYSCALL_GETTIME): Set errno on error.
44731
44732         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44733         count references to noai6ai_cached.
44734
44735 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44736
44737         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44738
44739         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44740         FD_CLOEXEC for /proc/self/maps.
44741
44742         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44743         FD_CLOEXEC for /proc/meminfo.
44744
44745         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44746         gai.conf.
44747
44748         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44749         FD_CLOEXEC for given file.
44750
44751         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44752
44753         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44754         FD_CLOEXEC for /etc/hosts.
44755         (_gethtent): Likewise.
44756
44757         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44758
44759         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44760         cancellation and set FD_CLOEXEC for /etc/netgroup.
44761
44762         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44763         reading /etc/publickey.
44764
44765         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44766         allow cancellation when reading /etc/group.
44767
44768         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44769         cancellation.
44770         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44771
44772         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44773         when using data file.
44774
44775         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44776
44777         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44778         (write_nis_obj): Use "c" and "e" in fopen.
44779
44780         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44781
44782         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44783
44784         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44785
44786         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44787
44788         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44789         locale.alias.
44790
44791         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44792
44793         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44794
44795         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44796
44797         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44798         file parsing and set FD_CLOEXEC.
44799
44800 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44801
44802         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44803
44804 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44805
44806         * malloc/arena.c (arena_get2): Don't call reused_arena when
44807         _int_new_arena failed.
44808
44809 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44810
44811         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44812         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44813         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44814         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44815         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44816         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44817         to compile strcasecmp and strncasecmp.
44818         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44819         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44820
44821         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44822
44823 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44824
44825         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44826         locale-defines.sym to gen-as-const-headers.
44827         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44828         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44829         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44830         to compile strcasecmp and strncasecmp.
44831         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44832         strcasecmp_l and strncasecmp_l.
44833         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44834         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44835         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44836         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44837         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44838         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44839         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44840         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44841         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44842         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44843         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44844
44845 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44846
44847         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44848         result of SYSDEP_GETTIME_CPU to retval.
44849         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44850         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44851
44852         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44853         variable.
44854
44855         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44856         mantissa words.
44857         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44858
44859         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44860         from unused variable.
44861
44862         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44863         DWARF definitions.
44864         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44865         for assembling.
44866
44867         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44868         over namespaces.
44869
44870         * sunrpc/rpc_prot.c (rejected): Fix case value.
44871
44872         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44873         unsigned long long int to avoid warnings in shift.
44874
44875         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44876         of use of trans.
44877         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44878         variable tmp.
44879
44880         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44881         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44882         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44883
44884         * nis/nis_table.c (nis_list): Use variable of correct type for
44885         result of __follow_path call.
44886
44887 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44888
44889         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44890         of math functions ceil, trunc, floor, round, and sqrt, when
44891         avaliable on the platform.
44892         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44893         name clash.
44894         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44895         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44896         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44897
44898 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44899
44900         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44901         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44902
44903 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44904
44905         * include/unistd.h: Fix __readlink return type.
44906         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44907
44908 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44909
44910         * stdlib/ucontext.h: Undo last change for makecontext.
44911
44912 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44913
44914         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44915
44916         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44917         * setjmp/setjmp.h: Mark functions as non-leaf.
44918         * setjmp/bits/setjmp2.h: Likewise.
44919         * stdlib/ucontext.h: Likewise.
44920
44921 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44922
44923         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44924         (reused_arena): Don't check arena limit.
44925         (arena_get2): Atomically check arena limit.
44926
44927 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44928
44929         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44930         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44931
44932         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44933         instructions.
44934
44935 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44936
44937         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44938         handler when locking.
44939
44940         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44941         Fix size of allocated buffer.
44942
44943 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44944
44945         [BZ #10103]
44946         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44947         declarations for long double functions.
44948         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44949
44950         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44951
44952 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44953
44954         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44955         installed.
44956
44957         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44958         is disabled.
44959
44960 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44961
44962         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44963
44964 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44965
44966         * include/alloca.h (stackinfo_alloca_round): Define.
44967         (extend_alloca): Use it.
44968         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44969         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44970         here.
44971
44972         * scripts/check-local-headers.sh: Ignore libaudit.h.
44973
44974         * nscd/Makefile (extra-objs): Make recursively expanded.
44975
44976 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44977
44978         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44979         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44980
44981         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44982         * posix/tst-rfc3484-2.c: Likewise.
44983         * posix/tst-rfc3484-3.c: Likewise.
44984
44985         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44986         process_vm_writev.
44987         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44988         process_vm_writev.
44989         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44990         process_vm_writev from libc using GLIBC_2.15 version.
44991
44992         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44993
44994 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44995
44996         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44997         stack usage.
44998
44999 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
45000
45001         [BZ #13367]
45002         * nss/getent.c (initgroups_keys): Show error message in case no group
45003         names are given.
45004
45005         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45006         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45007         __bump_nl_timestamp.
45008         * nscd/connections (nscd_init): When host database is served open
45009         netlink socket and request notification about configuration changes.
45010         (main_loop_poll): Track netlink file descriptor and bump timestamp
45011         in case data becomes available.
45012         (main_loop_epoll): Likewise.
45013         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45014         (database_pers_head): Add extra_data fileds.
45015         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45016         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45017         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45018         Adjust caller.
45019         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45020         in6ai data, call __free_in6ai.
45021         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45022         Add -DHAVE_NETLINK.
45023         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
45024         interface information.  Reuse previous data if netlink timestamp
45025         is not changed.
45026         (__bump_nl_timestamp): New function.
45027         (__free_in6ai): New function.
45028
45029 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
45030
45031         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45032         close_not_cancel_no_status here.
45033         (__check_pf): Reorganize code a bit to not call close twice if OOM.
45034
45035 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45036
45037         [BZ #13276]
45038         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45039         return value.
45040
45041         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45042         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45043         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45044
45045 2011-07-03  Andreas Jaeger  <aj@suse.de>
45046
45047         [BZ #10709]
45048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45049         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45050         * math/libm-test.inc (sin_test): Add test case.
45051
45052 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45053
45054         [BZ #13337]
45055         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45056         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45057
45058         * elf/chroot_canon.c (chroot_canon): Cleanups.
45059
45060         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45061
45062         [BZ #13335]
45063         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45064         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45065
45066         * string/test-strchr.c: Make usable for strchrnul testing.
45067         * string/test-strchrnul.c: New file.
45068         * string/Makefile (strop-tests): Add strchrnul.
45069
45070         * po/it.po: Update from translation team.
45071         * po/es.po: Likewise.
45072
45073 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
45074
45075         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45076         the three constants needed as parameters.  Drop the others.
45077         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45078         __m128i_strloadu_tolower.
45079         Create and initialize variable zero and use it in all the places
45080         where _mm_setzero_si128 was used.
45081
45082         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45083         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45084         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45085         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45086         anymore.
45087         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45088         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45089         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45090         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45091         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45092         __mpranred, __mptan.
45093         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45094         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45095         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45096         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45097         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45098         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45099         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45100         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45101         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45102
45103 2011-10-28  Andreas Schwab  <schwab@redhat.com>
45104
45105         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45106         redefine if SHARED.
45107         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45108
45109         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45110         wide char related routines to wcsmbs subdir.
45111
45112 2011-10-27  Andreas Schwab  <schwab@redhat.com>
45113
45114         [BZ #13344]
45115         * misc/sys/cdefs.h (__THROWNL): Define.
45116         * posix/unistd.h: Use __THREADNL instead of __THREAD
45117         for memory synchronization functions.
45118
45119 2011-10-26  Roland McGrath  <roland@hack.frob.com>
45120
45121         [BZ #13349]
45122         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45123         doesn't exist.
45124         * manual/stdio.texi (Obstack Streams): Node removed.
45125
45126 2011-10-26  Andreas Schwab  <schwab@redhat.com>
45127
45128         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45129         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45130         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45131
45132         * math/math_private.h (math_force_eval): Allow non-addressable
45133         arguments.
45134         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45135
45136 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45137
45138         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45139         file is not needed.
45140
45141         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45142         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45143         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45144         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45145         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45146         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45147         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45148         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45149         Add AVX variants.
45150         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45151         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45152         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45153         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45154         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45155         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45156         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45157         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45158         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45159         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45160         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45161         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45162         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45163         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45164         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45165         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45166         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45167         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45168         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45169
45170         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45171         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
45172
45173         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45174         place.  Use VEX encoding when compiling for AVX.
45175
45176 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45177
45178         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45179         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45180
45181         * string/test-strchr.c (do_test): Don't generate NUL bytes.
45182
45183 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45184
45185         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45186         useless if() expression.
45187         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45188         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45189         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45190         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45191         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45192         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45193         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45194         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45195         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45196         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45197         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45198         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45199         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45200         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45201         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45202         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45203         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45204         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45205         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45206
45207         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45208
45209 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45210
45211         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45212         condition.
45213         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45214
45215 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45216
45217         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45218         .text section.  Avoid duplicate constants.
45219         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45220         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45221         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45222         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45223         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45224         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45225         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45226         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45227         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45228         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45229         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45230         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45231         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45232         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45233         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45234         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45235         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45236         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45237         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45238         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45239         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45240         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45241         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45242         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45243         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45244         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45245         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45246         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45247         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45248         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45249         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45250         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45251         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45252         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45253         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45254         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45255         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45256         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45257         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45258         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45259         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45260         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45261         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45262         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45263         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45264
45265 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
45266
45267         * sysdeps/x86_64/dla.h: Move to ...
45268         * sysdeps/x86_64/fpu/dla.h: ...here.
45269         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45270         situations.  Use __builtin_fma only for gcc 4.6 and up.
45271
45272         * config.make.in: Add have-mfma4 entry.
45273         * configure.in: Substitute libc_cv_cc_fma4.
45274         * math/Makefile (dbl-only-routines): Add sincostab.
45275         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45276         Use __sincostab not sincos.
45277         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45278         name is a macro.
45279         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45280         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45282         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
45283         using __copysign.
45284         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
45285         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
45286         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45287         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45288         and __inv.
45289         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45290         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45291         __copysign.
45292         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
45293         define aliases when function name is a macro.
45294         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45295         sysdeps/ieee754/dbl-64/sincos.tbl.
45296         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45297         fma4-enabled routines.
45298         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45299         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45300         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45301         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45302         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45303         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45304         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45305         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45306         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45307         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45308         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45309         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45310         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45311         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45312         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45313         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45314         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45315         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45316         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45317         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45318         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45319         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45320         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45321         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45322         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45323         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45324         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45325         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45326         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45327         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45328
45329         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45330         rename.
45331         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45332         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45333         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45334         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45335         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45336         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45337         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45338         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45339
45340 2011-10-24  Andreas Schwab  <schwab@redhat.com>
45341
45342         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45343
45344 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45345
45346         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45347
45348         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45349         prediction.
45350         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45351
45352         * string/strnlen.c: Don't define STRNLEN, reverse logic.
45353         Remove unused variable magic_bits.
45354         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45355
45356         * string/strnlen.c: Define and use STRNLEN macro.
45357         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45358         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45359         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45360         * wcsmbs/wcslen.c: Define and use WCSLEN.
45361         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45362         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45363         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45364         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45365         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45366         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45367         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45368
45369 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45370
45371         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45372         strnlen-sse2-no-bsf.
45373         Rename strlen-no-bsf to strlen-sse2-no-bsf.
45374         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45375         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45376         Add strnlen support.
45377         (USE_AS_STRNLEN): New macro.
45378         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45379         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45380         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45381         * sysdeps/x86_64/wcslen.S: New file.
45382
45383 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
45384
45385         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45386         XMM-moves are used for copying on small sizes.
45387
45388 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45389
45390         * wcsmbs/Makefile (strop-tests): Add wcschr.
45391         * wcsmbs/test-wcschr.c: New file.
45392         * string/test-strchr.c: Update.
45393         Add wcschr support.
45394         (WIDE): New macro.
45395
45396 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45397
45398         * wcsmbs/Makefile (strop-tests): Add wcslen.
45399         * wcsmbs/test-wcslen.c: New file.
45400         * string/test-strlen.c: Update.
45401         Add wcslen support.
45402         (WIDE): New macro.
45403
45404 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45405
45406         * po/it.po: Update from translation team.
45407
45408 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45409
45410         * sysdeps/x86_64/wcscmp.S: Update.
45411         Fix wrong comparison semantics.
45412         wcscmp shall use signed comparison not unsigned.
45413         Don't use substraction to avoid overflow bug.
45414         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45415         * wcsmbc/wcscmp.c: Likewise.
45416         * string/test-strcmp.c: Likewise.
45417         Add new tests to check cases with negative values.
45418
45419 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45420
45421         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45422         * sysdeps/x86_64/dla.h: ...here.  New file.
45423         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45424         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45426         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45427         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45428         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45429         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45430         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45431         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45432
45433 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
45434
45435         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45436         __ynl_finite aliases.
45437
45438 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45439
45440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45441
45442         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45443         define DLA_FMA.
45444         [DLA_FMA] (EMULV): Use DLA_FMA.
45445         [DLA_FMA] (MUL12): Use EMULV.
45446         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45447         that are not needed.
45448         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45449         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45450         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45451         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45453         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45454         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45455
45456 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45457
45458         * math/s_nan.c: Undef __nan.
45459         * math/s_nanf.c: Undef __nanf.
45460         * math/s_nanl.c: Undef __nanl.
45461         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45462         "math_private.h".
45463
45464 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45465
45466         * math/s_catan.c: Add branch predictions.
45467         * math/s_catanf.c: Likewise.
45468         * math/s_catanh.c: Likewise.
45469         * math/s_catanhf.c: Likewise.
45470         * math/s_catanhl.c: Likewise.
45471         * math/s_catanl.c: Likewise.
45472         * math/s_cexp.c: Likewise.
45473         * math/s_cexpf.c: Likewise.
45474         * math/s_cexpl.c: Likewise.
45475         * math/s_clog.c: Likewise.
45476         * math/s_clog10.c: Likewise.
45477         * math/s_clog10f.c: Likewise.
45478         * math/s_clog10l.c: Likewise.
45479         * math/s_clogf.c: Likewise.
45480         * math/s_clogl.c: Likewise.
45481         * math/s_csqrt.c: Likewise.
45482         * math/s_csqrtf.c: Likewise.
45483         * math/s_csqrtl.c: Likewise.
45484         * math/s_ctanf.c: Likewise.
45485         * math/s_ctanh.c: Likewise.
45486         * math/s_ctanhf.c: Likewise.
45487         * math/s_ctanhl.c: Likewise.
45488         * math/s_ctanl.c: Likewise.
45489
45490         * math/math_private.h: Define __nan, __nanf, __nanl.
45491         * math/s_cacosh.c: Include <math_private.h>.
45492         * math/s_cacoshl.c: Likewise.
45493         * math/s_casinh.c: Likewise.
45494         * math/s_casinhf.c: Likewise.
45495         * math/s_casinhl.c: Likewise.
45496         * math/s_ccos.c: Rely entire on ccosh.
45497         * math/s_ccosf.c: Rely entire on ccoshf.
45498         * math/s_ccosl.c: Rely entirely on ccoshl.
45499         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45500         Remove tests for FE_INVALID.
45501         * math/s_ccoshf.c: Likewise.
45502         * math/s_ccoshl.c: Likewise.
45503         * math/s_csin.c: Likewise.
45504         * math/s_csinf.c: Likewise.
45505         * math/s_csinh.c Likewise.
45506         * math/s_csinhf.c: Likewise.
45507         * math/s_csinhl.c: Likewise.
45508         * math/s_csinl.c: Likewise.
45509         * math/s_ctan.c: Likewise.
45510         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45511         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45512         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45513
45514 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45515
45516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45517         compilation problems.
45518
45519         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45520         __builtin_expect.
45521
45522 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45523
45524         * sysdeps/i386/configure.in: Test for -mfma4 option.
45525         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45526         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45527         COMMON_CPUID_INDEX_80000001.
45528         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45529         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45530         use it if FMA3 is not supported.
45531         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45532
45533         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45534         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45535
45536 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45537
45538         [BZ #12892]
45539         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45540         it would create a cycle with a link time dependency.
45541
45542 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45543
45544         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45545         instruction.
45546         * string/Makefile (strop-tests): Add rawmemchr.
45547         * string/test-rawmemchr.c: New file.
45548
45549         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45550         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45551         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45552         when compiling str{,n}casecmp and when AVX is available.  Hook up
45553         new optimized code in initializers.
45554
45555 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45556
45557         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45558         __feraiseexcept instead of feraiseexcept.
45559
45560 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45561
45562         * math/math_private.h: Define defaults for libc_fetestexcept and
45563         libc_feupdateenv.
45564         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45565         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45566         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45567         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45568         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45569         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45570         libc_fetestexcept and libc_feupdateenv.
45571
45572         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45573         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45574         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45575         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45576         libc_feholdexcept_setround.
45577
45578         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45579         Add s_nearbyint-c and s_nearbyintf-c.
45580         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45581         nearbyintf inlines.
45582         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45583         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45584         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45585         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45586
45587         * math/math_private.h: Define defaults for libc_fegetround,
45588         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45589         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45590         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45591         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45592         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45593         standard functions.
45594         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45595         Remove comments and hacks for old compiler versions.
45596         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45597         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45598         libc_feholdexceptl.
45599
45600 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45601
45602         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45603         (__feraiseexcept_renamed): Add __NTH.
45604         (feraiseexcept): Add __NTH.  Rename local variables to fix
45605         namespace violations.
45606
45607 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45608
45609         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45610
45611         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45612
45613         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45614         recently added interfaces.
45615         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45616
45617         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45618         about macro parameter expansion.
45619
45620         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45621         __NO_MATH_INLINES is defined.  Cleanups.
45622
45623         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45624         and __floorf is target has SSE4.1.
45625         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45626         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45627         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45628         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45629
45630         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45631         name.
45632         (floorf): Likewise.
45633
45634         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45635
45636 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45637
45638         * misc/sys/cdefs.h: Fix last change.
45639
45640         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45641         database lookup.
45642
45643 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45644
45645         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45646
45647         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45648         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45649         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45650         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45651         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45652         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45653         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45654         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45655         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45656         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45657         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45658         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45659         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45660         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45661         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45662         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45663         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45664         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45665         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45666         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45667         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45668         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45669
45670         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45671         ceil, ceilf, floor, floorf.
45672
45673         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45674         Perform IRELATIVE relocations last.
45675
45676         * elf/do-rel.h: Add another parameter nrelative, replacing the
45677         local variable with the same name.  Change name of the function
45678         to end in Rel or Rela (uppercase).
45679         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45680         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45681         elf_dynamic_do_##reloc function.
45682
45683 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45684
45685         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45686         is sufficient, at least on modern CPUs.
45687
45688         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45689
45690         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45691         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45692
45693         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45694         __expl_finite.
45695         * math/bits/math-finite.h: Add entries for exp.
45696         * math/e_expl.c: Add __*_finite alias.
45697         * sysdeps/i386/fpu/e_exp.S: Likewise.
45698         * sysdeps/i386/fpu/e_expf.S: Likewise.
45699         * sysdeps/i386/fpu/e_expl.c: Likewise.
45700         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45701         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45702         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45703         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45704         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45705         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45706         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45707
45708         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45709         is sufficient, at least on modern CPUs.
45710
45711         * ctype/ctype-info.c (__ctype_init): Define.
45712         * include/ctype.h (__ctype_init): Declare.
45713         (__ctype_b_loc): The variable is always initialized.
45714         (__ctype_toupper_loc): Likewise.
45715         (__ctype_tolower_loc): Likewise.
45716         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45717         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45718
45719 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45720
45721         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45722
45723         * configure.in: Also look in $cxxmachine/include for C++ system
45724         headers.
45725
45726 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45727
45728         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45729         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45730         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45731         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45732         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45733         (USE_AS_WMEMCMP): New macro.
45734         Fixing indents.
45735         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45736         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45737         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45738         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45739         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45740         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45741         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45742         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45743         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45744         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45745         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45746         (USE_AS_WMEMCMP): New macro.
45747         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45748         * sysdeps/string/test-memcmp.c: Update.
45749         Fix simple_wmemcmp.
45750         Add new tests.
45751         * wcsmbs/wmemcmp.c: Update.
45752         (WMEMCMP): New macro.
45753         Fix overflow bug.
45754
45755 2011-10-12  Andreas Jaeger  <aj@suse.de>
45756
45757         [BZ #13268]
45758         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45759
45760 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45761
45762         * libio/iofwide.c (do_length): Avoid warning.
45763
45764         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45765
45766 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45767
45768         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45769
45770         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45771         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45772         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45773         * sysdeps/i386/i686/fpu/e_log.S: New file.
45774         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45775         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45776
45777         * ctype/ctype.h: Add support for inlined isXXX functions when
45778         compiling C++ code.
45779
45780 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45781
45782         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45783
45784         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45785
45786 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45787
45788         [BZ #13291]
45789         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45790
45791 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45792
45793         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45794         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45795         feraiseexcept.
45796
45797         * sysdeps/x86_64/memrchr.S: Check for zero size.
45798
45799         * string/stratcliff.c: Add memrchr tests.
45800
45801 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45802
45803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45804         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45805         rawmemchr-sse2 rawmemchr-sse2-bsf.
45806         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45807         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45808         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45809         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45810         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45811         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45812         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45813         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45814         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45815         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45816         * string/memrchr.c (MEMRCHR): New macro.
45817
45818 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45819
45820         Add integration with gcc's -ffinite-math-only and optimize wrapper
45821         functions in libm.
45822         * Versions.def: Define GLIBC_2.15 version for libm.
45823         * math/Makefile (headers): Add bits/math-finite.h.
45824         * math/bits/math-finite.h: New file.
45825         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45826         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45827         * math/e_acoshl.c: Add __*_finite alias.
45828         * math/e_acosl.c: Likewise.
45829         * math/e_asinl.c: Likewise.
45830         * math/e_atan2l.c: Likewise.
45831         * math/e_atanhl.c: Likewise.
45832         * math/e_coshl.c: Likewise.
45833         * math/e_exp10.c: Likewise.
45834         * math/e_exp10f.c: Likewise.
45835         * math/e_exp10l.c: Likewise.
45836         * math/e_exp2l.c: Likewise.
45837         * math/e_fmodl.c: Likewise.
45838         * math/e_gammal_r.c: Likewise.
45839         * math/e_hypotl.c: Likewise.
45840         * math/e_j0l.c: Likewise.
45841         * math/e_j1l.c: Likewise.
45842         * math/e_jnl.c: Likewise.
45843         * math/e_lgammal_r.c: Likewise.
45844         * math/e_log10l.c: Likewise.
45845         * math/e_log2l.c: Likewise.
45846         * math/e_logl.c: Likewise.
45847         * math/e_powl.c: Likewise.
45848         * math/e_sinhl.c: Likewise.
45849         * math/e_sqrtl.c: Likewise.
45850         * math/e_scalb.c: Completely rewritten and optimized.
45851         * math/e_scalbf.c: Likewise.
45852         * math/e_scalbl.c: Likewise.
45853         * math/w_acos.c: Likewise.
45854         * math/w_acosf.c: Likewise.
45855         * math/w_acosl.c: Likewise.
45856         * math/w_acosh.c: Likewise.
45857         * math/w_acoshf.c: Likewise.
45858         * math/w_acoshl.c: Likewise.
45859         * math/w_asin.c: Likewise.
45860         * math/w_asinf.c: Likewise.
45861         * math/w_asinl.c: Likewise.
45862         * math/w_atan2.c: Likewise.
45863         * math/w_atan2f.c: Likewise.
45864         * math/w_atan2l.c: Likewise.
45865         * math/w_atanh.c: Likewise.
45866         * math/w_atanhf.c: Likewise.
45867         * math/w_atanhl.c: Likewise.
45868         * math/w_exp10.c: Likewise.
45869         * math/w_exp10f.c: Likewise.
45870         * math/w_exp10l.c: Likewise.
45871         * math/w_fmod.c: Likewise.
45872         * math/w_fmodf.c: Likewise.
45873         * math/w_fmodl.c: Likewise.
45874         * math/w_j0.c: Likewise.
45875         * math/w_j0f.c: Likewise.
45876         * math/w_j0l.c: Likewise.
45877         * math/w_j1.c: Likewise.
45878         * math/w_j1f.c: Likewise.
45879         * math/w_j1l.c: Likewise.
45880         * math/w_jn.c: Likewise.
45881         * math/w_jnf.c: Likewise.
45882         * math/w_log.c: Likewise.
45883         * math/w_logf.c: Likewise.
45884         * math/w_logl.c: Likewise.
45885         * math/w_log10.c: Likewise.
45886         * math/w_log10f.c: Likewise.
45887         * math/w_log10l.c: Likewise.
45888         * math/w_log2.c: Likewise.
45889         * math/w_log2f.c: Likewise.
45890         * math/w_log2l.c: Likewise.
45891         * math/w_pow.c: Likewise.
45892         * math/w_powf.c: Likewise.
45893         * math/w_powl.c: Likewise.
45894         * math/w_remainder.c: Likewise.
45895         * math/w_remainderf.c: Likewise.
45896         * math/w_remainderl.c: Likewise.
45897         * math/w_scalb.c: Likewise.
45898         * math/w_scalbf.c: Likewise.
45899         * math/w_scalbl.c: Likewise.
45900         * math/w_sqrt.c: Likewise.
45901         * math/w_sqrtf.c: Likewise.
45902         * math/w_sqrtl.c: Likewise.
45903         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45904         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45905         used.
45906         * math/math_private.h: Declare __kernel_standard_f.
45907         * math/w_cosh.c: Remove cruft and optimize a bit.
45908         * math/w_coshf.c: Likewise.
45909         * math/w_coshl.c: Likewise.
45910         * math/w_exp2.c: Likewise.
45911         * math/w_exp2f.c: Likewise.
45912         * math/w_exp2l.c: Likewise.
45913         * math/w_hypot.c: Likewise.
45914         * math/w_hypotf.c: Likewise.
45915         * math/w_hypotl.c: Likewise.
45916         * math/w_lgamma.c: Likewise.
45917         * math/w_lgamma_r.c: Likewise.
45918         * math/w_lgammaf.c: Likewise.
45919         * math/w_lgammaf_r.c: Likewise.
45920         * math/w_lgammal.c: Likewise.
45921         * math/w_lgammal_r.c: Likewise.
45922         * math/w_sinh.c: Likewise.
45923         * math/w_sinhf.c: Likewise.
45924         * math/w_sinhl.c: Likewise.
45925         * math/w_tgamma.c: Likewise.
45926         * math/w_tgammaf.c: Likewise.
45927         * math/w_tgammal.c: Likewise.
45928         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45929         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45930         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45931         Minor optimizations.  Pretty printing.  Remove cruft.
45932         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45933         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45934         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45935         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45936         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45937         * sysdeps/i386/fpu/e_asin.S: Likewise.
45938         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45939         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45940         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45941         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45942         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45943         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45944         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45945         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45946         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45947         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45948         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45949         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45950         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45951         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45952         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45953         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45954         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45955         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45956         * sysdeps/i386/fpu/e_log.S: Likewise.
45957         * sysdeps/i386/fpu/e_log10.S: Likewise.
45958         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45959         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45960         * sysdeps/i386/fpu/e_log2.S: Likewise.
45961         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45962         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45963         * sysdeps/i386/fpu/e_logf.S: Likewise.
45964         * sysdeps/i386/fpu/e_logl.S: Likewise.
45965         * sysdeps/i386/fpu/e_pow.S: Likewise.
45966         * sysdeps/i386/fpu/e_powf.S: Likewise.
45967         * sysdeps/i386/fpu/e_powl.S: Likewise.
45968         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45969         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45970         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45971         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45972         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45973         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45974         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45975         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45976         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45977         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45978         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45979         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45980         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45981         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45982         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45983         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45984         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45985         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45986         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45987         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45988         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45989         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45990         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45991         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45992         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45993         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45994         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45995         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45996         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45997         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45998         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45999         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46000         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46001         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46002         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46003         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46004         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46005         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46006         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46007         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46008         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46009         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46010         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46011         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46012         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46013         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46014         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46015         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46016         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46017         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46018         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46019         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46020         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46021         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46022         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46023         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46024         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46025         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46026         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46027         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46028         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46029         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46030         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46031         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46032         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46033         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46034         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46035         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46036         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46037         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46038         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46039         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46040         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46041         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46042         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46043         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46044         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46045         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46046         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46047         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46048         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46049         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46050         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46051         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46052         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46053         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46054         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46055         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46056         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46057         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46058         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46059         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46060         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46061         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46062         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46063         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46064         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46065         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46066         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46067         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46068         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46069         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46070         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46071         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46072         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46073         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46074         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46075         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46076         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46077         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46078         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46079         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46080         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46081         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46082         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46083         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46084         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46085         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46086         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46087         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
46088         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46089         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46090         (__isnanf): Likewise.
46091         (__isinf_ns): Likewise.
46092         (__isinf_nsf): Likewise.
46093         (__finite): Likewise.
46094         (__finitef): Likewise.
46095         (__ieee754_sqrt): Define as macro.
46096         (__ieee754_sqrtf): Define as macro.
46097         (__ieee754_sqrtl): Define as macro.
46098         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46099         inlined copy.
46100         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46101         __FINITE_MATH_ONLY__ consistent.
46102         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46103
46104 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
46105
46106         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46107         of rawmemchr.
46108
46109         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46110
46111 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
46112
46113         * po/ja.po: Update from translation team.
46114
46115 2011-10-08  Roland McGrath  <roland@hack.frob.com>
46116
46117         * locale/programs/locarchive.c (prepare_address_space): New function.
46118         (create_archive, enlarge_archive, open_archive): Use it.
46119
46120         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46121         inside [SHARED], where it is used.
46122
46123         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46124
46125         * nss/getent.c (netgroup_keys): Remove unused variable.
46126         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46127
46128 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
46129
46130         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46131         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46132         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46133         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46134         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46135         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46136         * math/Makefile (libm-calls): Add s_isinf_ns.
46137         * math/divtc3.c: Use __isinf_nsl instead of isinf.
46138         * math/multc3.c: Likewise.
46139         * math/s_casin.c: Likewise.
46140         * math/s_casinf.c: Likewise.
46141         * math/s_casinl.c: Likewise.
46142         * math/s_ccos.c: Likewise.
46143         * math/s_ccosf.c: Likewise.
46144         * math/s_ccosl.c: Likewise.
46145         * math/s_ctan.c: Likewise.
46146         * math/s_ctanf.c: Likewise.
46147         * math/s_ctanh.c: Likewise.
46148         * math/s_ctanhf.c: Likewise.
46149         * math/s_ctanhl.c: Likewise.
46150         * math/s_ctanl.c: Likewise.
46151         * math/w_fmod.c: Likewise.
46152         * math/w_fmodf.c: Likewise.
46153         * math/w_fmodl.c: Likewise.
46154         * math/w_remainder.c: Likewise.
46155         * math/w_remainderf.c: Likewise.
46156         * math/w_remainderl.c: Likewise.
46157         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46158         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46159         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46160         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46161         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46162         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46163         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46164         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46165
46166         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46167         of the number.
46168         * stdio-common/printf_fphex.c: Likewise.
46169         * stdio-common/printf_size.c: Likewise.
46170
46171         * math/e_exp10.c: Include math_private.h using <...> not "...".
46172         * math/e_exp10f.c: Likewise.
46173         * math/e_exp10l.c: Likewise.
46174         * math/e_exp2l.c: Likewise.
46175         * math/e_j0l.c: Likewise.
46176         * math/e_j1l.c: Likewise.
46177         * math/e_jnl.c: Likewise.
46178         * math/e_lgammal_r.c: Likewise.
46179         * math/e_rem_pio2l.c: Likewise.
46180         * math/e_scalb.c: Likewise.
46181         * math/e_scalbf.c: Likewise.
46182         * math/e_scalbl.c: Likewise.
46183         * math/k_cosl.c: Likewise.
46184         * math/k_sinl.c: Likewise.
46185         * math/k_tanl.c: Likewise.
46186         * math/s_cacoshf.c: Likewise.
46187         * math/s_catan.c: Likewise.
46188         * math/s_catanf.c: Likewise.
46189         * math/s_catanh.c: Likewise.
46190         * math/s_catanhf.c: Likewise.
46191         * math/s_catanhl.c: Likewise.
46192         * math/s_catanl.c: Likewise.
46193         * math/s_ccosh.c: Likewise.
46194         * math/s_ccoshf.c: Likewise.
46195         * math/s_ccoshl.c: Likewise.
46196         * math/s_cexp.c: Likewise.
46197         * math/s_cexpf.c: Likewise.
46198         * math/s_cexpl.c: Likewise.
46199         * math/s_clog.c: Likewise.
46200         * math/s_clog10.c: Likewise.
46201         * math/s_clog10f.c: Likewise.
46202         * math/s_clog10l.c: Likewise.
46203         * math/s_clogf.c: Likewise.
46204         * math/s_clogl.c: Likewise.
46205         * math/s_csin.c: Likewise.
46206         * math/s_csinf.c: Likewise.
46207         * math/s_csinh.c: Likewise.
46208         * math/s_csinhf.c: Likewise.
46209         * math/s_csinhl.c: Likewise.
46210         * math/s_csinl.c: Likewise.
46211         * math/s_csqrt.c: Likewise.
46212         * math/s_csqrtf.c: Likewise.
46213         * math/s_csqrtl.c: Likewise.
46214         * math/s_ctan.c: Likewise.
46215         * math/s_ctanf.c: Likewise.
46216         * math/s_ctanh.c: Likewise.
46217         * math/s_ctanhf.c: Likewise.
46218         * math/s_ctanhl.c: Likewise.
46219         * math/s_ctanl.c: Likewise.
46220         * math/s_ldexp.c: Likewise.
46221         * math/s_ldexpf.c: Likewise.
46222         * math/s_ldexpl.c: Likewise.
46223         * math/s_significand.c: Likewise.
46224         * math/s_significandf.c: Likewise.
46225         * math/s_significandl.c: Likewise.
46226         * math/w_acos.c: Likewise.
46227         * math/w_acosf.c: Likewise.
46228         * math/w_acosh.c: Likewise.
46229         * math/w_acoshf.c: Likewise.
46230         * math/w_acoshl.c: Likewise.
46231         * math/w_acosl.c: Likewise.
46232         * math/w_asin.c: Likewise.
46233         * math/w_asinf.c: Likewise.
46234         * math/w_asinl.c: Likewise.
46235         * math/w_atan2.c: Likewise.
46236         * math/w_atan2f.c: Likewise.
46237         * math/w_atan2l.c: Likewise.
46238         * math/w_atanh.c: Likewise.
46239         * math/w_atanhf.c: Likewise.
46240         * math/w_atanhl.c: Likewise.
46241         * math/w_cosh.c: Likewise.
46242         * math/w_coshf.c: Likewise.
46243         * math/w_coshl.c: Likewise.
46244         * math/w_dremf.c: Likewise.
46245         * math/w_exp10.c: Likewise.
46246         * math/w_exp10f.c: Likewise.
46247         * math/w_exp10l.c: Likewise.
46248         * math/w_exp2.c: Likewise.
46249         * math/w_exp2f.c: Likewise.
46250         * math/w_fmod.c: Likewise.
46251         * math/w_fmodf.c: Likewise.
46252         * math/w_fmodl.c: Likewise.
46253         * math/w_hypot.c: Likewise.
46254         * math/w_hypotf.c: Likewise.
46255         * math/w_hypotl.c: Likewise.
46256         * math/w_j0.c: Likewise.
46257         * math/w_j0f.c: Likewise.
46258         * math/w_j0l.c: Likewise.
46259         * math/w_j1.c: Likewise.
46260         * math/w_j1f.c: Likewise.
46261         * math/w_j1l.c: Likewise.
46262         * math/w_jn.c: Likewise.
46263         * math/w_jnf.c: Likewise.
46264         * math/w_jnl.c: Likewise.
46265         * math/w_lgamma.c: Likewise.
46266         * math/w_lgamma_r.c: Likewise.
46267         * math/w_lgammaf.c: Likewise.
46268         * math/w_lgammaf_r.c: Likewise.
46269         * math/w_lgammal.c: Likewise.
46270         * math/w_lgammal_r.c: Likewise.
46271         * math/w_log.c: Likewise.
46272         * math/w_log10.c: Likewise.
46273         * math/w_log10f.c: Likewise.
46274         * math/w_log10l.c: Likewise.
46275         * math/w_log2.c: Likewise.
46276         * math/w_log2f.c: Likewise.
46277         * math/w_log2l.c: Likewise.
46278         * math/w_logf.c: Likewise.
46279         * math/w_logl.c: Likewise.
46280         * math/w_pow.c: Likewise.
46281         * math/w_powf.c: Likewise.
46282         * math/w_powl.c: Likewise.
46283         * math/w_remainder.c: Likewise.
46284         * math/w_remainderf.c: Likewise.
46285         * math/w_remainderl.c: Likewise.
46286         * math/w_scalb.c: Likewise.
46287         * math/w_scalbf.c: Likewise.
46288         * math/w_scalbl.c: Likewise.
46289         * math/w_sinh.c: Likewise.
46290         * math/w_sinhf.c: Likewise.
46291         * math/w_sinhl.c: Likewise.
46292         * math/w_sqrt.c: Likewise.
46293         * math/w_sqrtf.c: Likewise.
46294         * math/w_sqrtl.c: Likewise.
46295         * math/w_tgamma.c: Likewise.
46296         * math/w_tgammaf.c: Likewise.
46297         * math/w_tgammal.c: Likewise.
46298
46299         * po/ja.po: Update from translation team.
46300
46301 2011-09-29  Andreas Jaeger  <aj@suse.de>
46302
46303         [BZ #13179]
46304         * sunrpc/netname.c (netname2host): Fix logic.
46305
46306         [BZ #6779]
46307         [BZ #6783]
46308         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46309         correctly.
46310         * math/w_remainder.c (__remainder): Likewise.
46311         * math/w_remainderf.c (__remainderf): Likewise.
46312         * math/libm-test.inc (remainder_test): Add test cases.
46313
46314 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46315
46316         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
46317         sdiv_qrnnd.
46318
46319 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46320
46321         * string/test-memcmp.c: Avoid unncessary #defines.
46322         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46323
46324 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46325
46326         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46327         Use new sse2 version for core i3 - i7 as it's faster
46328         than sse42 version.
46329         (bit_Prefer_PMINUB_for_stringop): New.
46330         * sysdeps/x86_64/rawmemchr.S: Update.
46331         Replace with faster SSE2 version.
46332         * sysdeps/x86_64/memrchr.S: New file.
46333         * sysdeps/x86_64/memchr.S: Update.
46334         Replace with faster SSE2 version.
46335
46336 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
46337
46338         * elf/dl-load.c (lose): Add cast to avoid warning.
46339
46340 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46341
46342         * po/ca.po: Update from translation team.
46343
46344         * inet/getnetgrent_r.c: Hook up nscd.
46345         * nscd/Makefile (routines): Add nscd_netgroup.
46346         (nscd-modules): Add netgroupcache.
46347         (CFLAGS-netgroupcache.c): Define.
46348         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46349         (cache_search): Add const to second parameter.
46350         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46351         INNETGR.
46352         (dbs): Add netgrdb entry.
46353         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46354         (verify_persistent_db): Handle netgrdb.
46355         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46356         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46357         GETFDNETGR.
46358         (netgroup_response_header): Define.
46359         (innetgroup_response_header): Define.
46360         (datahead): Add netgroup_response_header and innetgroup_response_header
46361         elements.
46362         * nscd/nscd.conf: Add entries for netgroup cache.
46363         * nscd/nscd.h (dbtype): Add netgrdb.
46364         (_PATH_NSCD_NETGROUP_DB): Define.
46365         (netgroup_iov_disabled): Declare.
46366         (xmalloc, xcalloc, xrealloc): Move declarations here.
46367         (cache_search): Adjust prototype.
46368         Add netgroup-related prototypes.
46369         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46370         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46371         (__nscd_innetgr): Declare.
46372         * nscd/selinux.c (perms): Use access_vector_t as element type and
46373         add netgroup-related initializers.
46374         * nscd/netgroupcache.c: New file.
46375         * nscd/nscd_netgroup.c: New file.
46376         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46377         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46378         For four parameters use innetgr.
46379         * nss/nss_files/files-init.c: Add definition and callback for netgr.
46380         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46381         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46382         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46383
46384         * nscd/connections.c (register_traced_file): Don't register file
46385         for disabled databases.
46386
46387 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
46388
46389         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46390
46391         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46392         from tree and freeing node.
46393
46394 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46395
46396         * nss/nsswitch.c (__nss_database_lookup): Handle
46397         nss_parse_service_list out of memory case.
46398
46399 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46400
46401         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46402         out of memory case.
46403
46404 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46405
46406         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46407         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46408         pass it down.
46409         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46410         elf_machine_rela, elf_machine_lazy_rel.
46411         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46412         (ELF_DYNAMIC_DO_REL): Likewise.
46413         (ELF_DYNAMIC_DO_RELA): Likewise.
46414         (ELF_DYNAMIC_RELOCATE): Likewise.
46415         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46416         to ELF_DYNAMIC_DO_REL.
46417         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46418         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46419         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46420         elf_machine_rela.
46421         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46422         skip_ifunc, don't call ifunc function if non-zero.
46423         (elf_machine_rela): Likewise.
46424         (elf_machine_lazy_rel): Likewise.
46425         (elf_machine_lazy_rela): Likewise.
46426         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46427         (elf_machine_lazy_rel): Likewise.
46428         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46429         Likewise.
46430         (elf_machine_lazy_rel): Likewise.
46431         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46432         Likewise.
46433         (elf_machine_lazy_rel): Likewise.
46434         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46435         (elf_machine_lazy_rel): Likewise.
46436         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46437         (elf_machine_lazy_rel): Likewise.
46438         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46439         (elf_machine_lazy_rel): Likewise.
46440         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46441         (elf_machine_lazy_rel): Likewise.
46442         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46443         (elf_machine_lazy_rel): Likewise.
46444         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46445         (elf_machine_lazy_rel): Likewise.
46446
46447 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46448
46449         * nss/nss_files/files-init.c (_nss_files_init): Use static
46450         initialization for all the *_traced_file variables.
46451
46452 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46453
46454         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46455
46456 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46457
46458         [BZ #13226]
46459         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46460
46461 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46462
46463         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46464         Reread the line before reparsing it.
46465
46466 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46467
46468         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46469
46470 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46471             Maxim Kuvyrkov  <maxim@codesourcery.com>
46472             Joseph Myers  <joseph@codesourcery.com>
46473
46474         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46475         if needed for __stack_chk_guard.
46476
46477 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46478
46479         * sysdeps/posix/spawni.c (script_execute): Always define it.
46480         It will be optimized away if unused.
46481         (maybe_script_execute): New function.
46482         (__spawni): Call it.
46483
46484         * Makerules: Don't include tls.make.
46485         (config-tls): Always set to thread.
46486         * tls.make.c: File removed.
46487
46488 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46489
46490         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46491         * config.make.in (CPPFLAGS-config): New substituted variable.
46492
46493 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46494
46495         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46496
46497         [BZ #13192]
46498         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46499         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46500
46501 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46502
46503         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46504         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46505         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46506         (CALL_FAIL): Likewise.
46507         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46508         (CALL_FAIL): Macro removed.
46509         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46510
46511 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46512
46513         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46514         for __FINITE_MATH_ONLY__ == 1.
46515
46516 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46517
46518         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46519         __ieee754_sqrt instead of sqrt.
46520         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46521         __ieee754_sqrtf instead of sqrtf.
46522         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46523         __floorf instead of floorf.
46524         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46525         __floorf, __truncf instead of floorf, truncf.
46526
46527 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46528
46529         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46530
46531         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46532         __extern_always_inline.
46533         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46534         32-bit.
46535
46536 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46537
46538         * elf/rtld.c (dl_main): Also relocate in dependency order when
46539         doing symbol dependency testing.
46540
46541 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46542
46543         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46544         Always define `refsym'.
46545
46546 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46547
46548         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46549         (__FD_ELT): Renamed from __FDELT.
46550         * misc/bits/select2.h (__FD_ELT): Likewise.
46551         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46552         __FD_MASK instead of __FDELT, __FDMASK.
46553         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46554         Likewise.
46555         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46556         Likewise.
46557
46558         * elf/Makefile (gen-ldd): Fix pattern.
46559
46560         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46561         (init_tls): Likewise.
46562
46563 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46564
46565         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46566
46567 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46568
46569         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46570         `struct cmsghdr *' instead of `void *'.
46571         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46572         Likewise.
46573
46574 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46575
46576         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46577         if non-absolute.
46578         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46579         ldd_rewrite_script.
46580
46581 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46582
46583         * configure.in: Remove --with-tls option.
46584         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46585         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46586         out in case it is missing.
46587         * sysdeps/ia64/elf/configure.in: Likewise.
46588         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46589         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46590         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46591         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46592         * sysdeps/sh/elf/configure.in: Likewise.
46593         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46594         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46595         * sysdeps/x86_64/elf/configure.in: Likewise.
46596         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46597         * sysdeps/mach/hurd/tls.h: Likewise.
46598
46599         [BZ #13067]
46600         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46601
46602         [BZ #13090]
46603         * configure.in: Fix use of AC_INIT.
46604
46605         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46606
46607 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46608
46609         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46610         __set_errno.
46611         * malloc/hooks.c: Likewise.
46612
46613         [BZ #11929]
46614         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46615         variables statically.
46616         (narenas): Initialize.
46617         (list_lock): Initialize.
46618         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46619         initializtion of main_arena and list_lock.  Small cleanups.
46620         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46621         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46622         Add initializers to main_arena and mp_.
46623         (malloc_state): Remove pagesize member.  Change all users to use
46624         GLRO(dl_pagesize).
46625
46626         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46627         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46628         is always initialized.
46629
46630         * malloc/malloc.c: Removed unused configurations and dead code.
46631         * malloc/arena.c: Likewise.
46632         * malloc/hooks.c: Likewise.
46633         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46634
46635         * include/tls.h: Removed.  USE___THREAD must always be defined.
46636         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46637         * elf/dl-libc.c: Likewise.
46638         * elf/dl-tsd.c: Likewise.
46639         * include/errno.h: Likewise.
46640         * include/netdb.h: Likewise.
46641         * include/resolv.h: Likewise.
46642         * inet/herrno-loc.c: Likewise.
46643         * inet/herrno.c: Likewise.
46644         * malloc/arena.c: Likewise.
46645         * malloc/hooks.c: Likewise.
46646         * malloc/malloc.c: Likewise.
46647         * resolv/res-state.c: Likewise.
46648         * resolv/res_libc.c: Likewise.
46649         * sysdeps/i386/dl-machine.h: Likewise.
46650         * sysdeps/ia64/dl-machine.h: Likewise.
46651         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46652         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46653         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46654         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46655         * sysdeps/sh/dl-machine.h: Likewise.
46656         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46657         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46658         * sysdeps/unix/i386/sysdep.S: Likewise.
46659         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46660         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46661         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46662         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46663         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46664         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46665         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46667         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46669         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46670         * sysdeps/x86_64/dl-machine.h: Likewise.
46671         * tls.make.c: Likewise.
46672
46673         * configure.in: Remove --with-__thread option.  Make tests for
46674         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46675         tls_model attribute fail if no support is available.  Remove
46676         USE_IN_LIBIO.
46677         * Makeconfig: Adjust for dropped configure option.  All features are
46678         now mandatory.
46679         * Makerules: Likewise.
46680         * Versions.def: Likewise.
46681         * argp/argp-fmtstream.c: Likewise.
46682         * argp/argp-fmtstream.h: Likewise.
46683         * argp/argp-help.c: Likewise.
46684         * assert/assert.c: Likewise.
46685         * config.h.in: Likewise.
46686         * config.make.in: Likewise.
46687         * configure: Likewise.
46688         * configure.in: Likewise.
46689         * csu/Versions: Likewise.
46690         * csu/init.c: Likewise.
46691         * elf/tst-audit2.c: Likewise.
46692         * elf/tst-tls10.c: Likewise.
46693         * elf/tst-tls10.h: Likewise.
46694         * elf/tst-tls11.c: Likewise.
46695         * elf/tst-tls12.c: Likewise.
46696         * elf/tst-tls14.c: Likewise.
46697         * elf/tst-tlsmod11.c: Likewise.
46698         * elf/tst-tlsmod12.c: Likewise.
46699         * elf/tst-tlsmod13.c: Likewise.
46700         * elf/tst-tlsmod13a.c: Likewise.
46701         * elf/tst-tlsmod14a.c: Likewise.
46702         * elf/tst-tlsmod15b.c: Likewise.
46703         * elf/tst-tlsmod16a.c: Likewise.
46704         * elf/tst-tlsmod16b.c: Likewise.
46705         * elf/tst-tlsmod7.c: Likewise.
46706         * elf/tst-tlsmod8.c: Likewise.
46707         * elf/tst-tlsmod9.c: Likewise.
46708         * gmon/gmon.c: Likewise.
46709         * grp/fgetgrent_r.c: Likewise.
46710         * grp/putgrent.c: Likewise.
46711         * hurd/fopenport.c: Likewise.
46712         * include/libc-symbols.h: Likewise.
46713         * include/tls.h: Likewise.
46714         * intl/gettextP.h: Likewise.
46715         * intl/loadinfo.h: Likewise.
46716         * locale/global-locale.c: Likewise.
46717         * locale/localeinfo.h: Likewise.
46718         * mach/devstream.c: Likewise.
46719         * malloc/arena.c: Likewise.
46720         * malloc/set-freeres.c: Likewise.
46721         * misc/err.c: Likewise.
46722         * misc/getttyent.c: Likewise.
46723         * misc/mntent_r.c: Likewise.
46724         * posix/getopt.c: Likewise.
46725         * posix/wordexp.c: Likewise.
46726         * pwd/fgetpwent_r.c: Likewise.
46727         * resolv/Versions: Likewise.
46728         * resolv/res_hconf.c: Likewise.
46729         * shadow/fgetspent_r.c: Likewise.
46730         * shadow/putspent.c: Likewise.
46731         * stdio-common/printf_fphex.c: Likewise.
46732         * stdio-common/tmpfile.c: Likewise.
46733         * stdlib/abort.c: Likewise.
46734         * stdlib/fmtmsg.c: Likewise.
46735         * sunrpc/auth_unix.c: Likewise.
46736         * sunrpc/clnt_perr.c: Likewise.
46737         * sunrpc/clnt_tcp.c: Likewise.
46738         * sunrpc/clnt_udp.c: Likewise.
46739         * sunrpc/clnt_unix.c: Likewise.
46740         * sunrpc/openchild.c: Likewise.
46741         * sunrpc/svc_simple.c: Likewise.
46742         * sunrpc/svc_tcp.c: Likewise.
46743         * sunrpc/svc_udp.c: Likewise.
46744         * sunrpc/svc_unix.c: Likewise.
46745         * sunrpc/xdr.c: Likewise.
46746         * sunrpc/xdr_array.c: Likewise.
46747         * sunrpc/xdr_rec.c: Likewise.
46748         * sunrpc/xdr_ref.c: Likewise.
46749         * sunrpc/xdr_stdio.c: Likewise.
46750
46751 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46752
46753         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46754
46755 2011-07-03  Andreas Jaeger  <aj@suse.de>
46756
46757         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46758         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46759         regenerate with gen-libm-tests.pl.
46760
46761 2010-05-12  Petr Baudis  <pasky@suse.cz>
46762
46763         [BZ #11589]
46764         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46765         around j0() zero points by switching to j1().
46766         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46767         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46768         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46769         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46770
46771 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46772
46773         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46774         instead of 0.
46775         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46776         instead of 0.
46777         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46778         Patch in part by Pavel Roskin <proski@gnu.org>.
46779
46780         [BZ #13138]
46781         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46782         realloc.
46783         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46784         Free memory block if necessary.
46785
46786         [BZ #12847]
46787         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46788         be NULL.  Don't lock in this case.
46789
46790 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46791
46792         * elf/elf.h (ELFOSABI_GNU): New macro.
46793         (ELFOSABI_LINUX): Define to that.
46794
46795 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46796
46797         * string/strncat.c (strncat): Undef the symbol in case it has been
46798         defined in bits/string.h.
46799
46800 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46801
46802         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46803
46804         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46805         link map.
46806
46807 2011-08-17  Andreas Jaeger  <aj@suse.de>
46808
46809         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46810
46811 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46812             Ian Lance Taylor  <iant@google.com>
46813
46814         * math/libm-test.inc (lround_test): New testcase.
46815         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46816
46817 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46818
46819         * Makefile: Remove support for automatic cvs check-ins.
46820         * Makerules: Likewise.
46821         * config.make.in: Likewise.
46822         * configure.in: Likewise.
46823         * intl/Makefile: Likewise.
46824         * locale/Makefile: Likewise.
46825         * po/Makefile: Likewise.
46826         * posix/Makefile: Likewise.
46827         * sysdeps/gnu/Makefile: Likewise.
46828         * sysdeps/mach/hurd/Makefile: Likewise.
46829         * sysdeps/sparc/sparc32/Makefile: Likewise.
46830
46831         [BZ #13118]
46832         * posix/Makefile (bug-regex32-ENV): Define.
46833         Patch by John Stanley <jpsinthemix@verizon.net>.
46834
46835         * misc/Makefile (headers): Add bits/select2.h.
46836         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46837         * misc/bits/select2.h: New file.
46838         * include/bits/select2.h: New file.
46839         * debug/Makefile (routines): Add fdelt_chk.
46840         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46841         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46842         FD_ISSET.
46843         * debug/fdelt_chk.c: New file.
46844
46845         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46846         * wcsmbs/test-wmemcmp.c: Likewise.
46847         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46848         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46849
46850 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46851
46852         * string/Makefile (strop-tests): Add memcmp.
46853         * string/test-wmemcmp.c: New file.
46854         * string/test-memcmp.c: Add wmemcmp support.
46855
46856 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46857
46858         [BZ #13153]
46859         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46860         2011-07-19 change.
46861
46862         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46863         garbage value in a __mach_port_mod_refs call in the cases of the
46864         task-self and thread-self ports.
46865
46866 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46867
46868         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46869
46870 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46871
46872         * elf/dl-load.c (lose): Check for non-null L.
46873
46874 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46875
46876         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46877
46878         * elf/dl-libc.c (dlerror_run): Pass back error code from
46879         dl_catch_error.
46880
46881         [BZ #13123]
46882         * elf/dl-load.c (lose): Free l_origin if it is valid.
46883
46884         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46885         names.
46886         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46887         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46888         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46889         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46890         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46891         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46892
46893 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46894
46895         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46896         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46897         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46898         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46899         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46900         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46901         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46902         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46903         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46904         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46905
46906 2011-08-15  Alan Modra  <amodra@gmail.com>
46907
46908         [BZ #13092]
46909         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46910         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46911         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46912         ppc_mcount to static-only-routines.
46913         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46914         __mcount_internal.
46915         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46916         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46917
46918 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46919
46920         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46921         for finite and infinity parameters.
46922
46923 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46924
46925         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46926         and add nop instructions for throughput optimization.
46927         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46928
46929 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46930
46931         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46932         aligned copy for power7 with vector-scalar instructions.
46933         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46934
46935 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46936
46937         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46938         AVX check.
46939
46940 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46941
46942         [BZ #13144]
46943         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46944         last change.
46945
46946 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46947
46948         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46949         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46950         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46951         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46952         clock_gettime.
46953
46954 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46955
46956         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46957         Forgot to demangle the pointer.
46958
46959         * sysdeps/i386/sysdep.h: Define atom_text_section.
46960         * sysdeps/x86_64/sysdep.h: Likewise.
46961         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46962         section with atom_text_section.
46963         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46964         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46965         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46966         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46967         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46968
46969         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46970         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46971         already be defined.  Change to take two parameters and don't assign
46972         result to variable.  Adjust all users.
46973         Define INTERNAL_GETTIME if not already defined.
46974         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46975         call.
46976         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46977         HAVE_CLOCK_GETTIME_VSYSCALL.
46978         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46979
46980         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46981         gettimeofday vsyscall, just use time.
46982
46983 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46984
46985         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46986         <errno.h>.
46987
46988 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46989
46990         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46991         syscall on x86-64.
46992         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46993         syscall.
46994         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46995         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46996         syscall if possible.
46997
46998 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46999
47000         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47001         e_ident.  Don't pass to find_mapsXX.
47002         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47003
47004 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47005
47006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47007         strchr-sse2-no-bsf strrchr-sse2-no-bsf
47008         * sysdeps/x86_64/multiarch/strchr.S: Update.
47009         Check bit_slow_BSF bit.
47010         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47011         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47012         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47013
47014 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47015
47016         [BZ #13134]
47017         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47018         before glibc 2.15.
47019         (tryshell): Define.
47020         (__spawni): Change last parameter to be flag.  Test
47021         SPAWN_XFLAGS_USE_PATH flag to use path or not.
47022         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47023         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47024         * posix/spawni.c: Likewise.
47025         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47026         * posix/spawnp.c: Likewise.  Change normal version to use
47027         SPAWN_XFLAGS_USE_PATH.
47028         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47029         SPAWN_XFLAGS_TRY_SHELL.
47030
47031         [BZ #13150]
47032         * posix/glob.h: Remove gcc 1.x support.
47033
47034         [BZ #13068]
47035         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47036
47037 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47038
47039         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47040         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47041         strrchr-sse2-bsf
47042         * sysdeps/i386/i686/multiarch/strchr.S: New file.
47043         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47044         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47045         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47046         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47047         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47048
47049 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47050
47051         * sysdeps/x86_64/wcscmp.S: New file.
47052
47053         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47054         wcscmp-c wcscmp-sse2
47055         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47056         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47057         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47058         * wcsmbs/wcscmp.c: Allow renaming.
47059
47060 2011-09-05  David S. Miller  <davem@davemloft.net>
47061
47062         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47063         stack slot, rather than the struct return pointer slot.
47064         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47065         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47067         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47068
47069 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47070
47071         * po/ja.po: Update from translation team.
47072
47073         [BZ #13144]
47074         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47075         kernel in 64-bit binaries.
47076
47077 2011-09-01  David S. Miller  <davem@davemloft.net>
47078
47079         * elf/elf.h (HWCAP_SPARC_*): Move to..
47080         * sysdeps/sparc/sysdep.h: this new file and add new values.
47081         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47082         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47083         _DL_HWCAP_COUNT to 24.
47084         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47085         entries.
47086         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47087         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47088         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47089         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47090         instead of magic constants.
47091         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47092
47093 2011-08-31  David S. Miller  <davem@davemloft.net>
47094
47095         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47096         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47097         Reimplement to do errno handling inline.
47098         (SYSCALL_ERROR_HANDLER): New macro.
47099         (__SYSCALL_STRING): Do not do errno handling in asm.
47100         (__CLONE_SYSCALL_STRING): Delete.
47101         (__INTERNAL_SYSCALL_STRING): Delete.
47102         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47103         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47104         (PSEUDO): Reimplement to do errno handling inline.
47105         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47106         (SYSCALL_ERROR_HANDLER): New macro.
47107         (__SYSCALL_STRING): Do not do errno handling in asm.
47108         (__CLONE_SYSCALL_STRING): Delete.
47109         (__INTERNAL_SYSCALL_STRING): Delete.
47110         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47111         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47112         i386.
47113         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47114         (inline_syscall*): Add 'err' argument.
47115         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47116         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47117         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47118         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47119
47120         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47121         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47122
47123 2011-08-30  Andreas Schwab  <schwab@redhat.com>
47124
47125         * elf/rtld.c (dl_main): Relocate objects in dependency order.
47126
47127 2011-08-29  Jiri Olsa <jolsa@redhat.com>
47128
47129         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47130         directive.
47131
47132 2011-08-24  David S. Miller  <davem@davemloft.net>
47133
47134         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47135
47136 2011-08-24  Andreas Schwab  <schwab@redhat.com>
47137
47138         * elf/Makefile: Add rules to build and run unload8 test.
47139         * elf/unload8.c: New file.
47140         * elf/unload8mod1.c: New file.
47141         * elf/unload8mod1x.c: New file.
47142         * elf/unload8mod2.c: New file.
47143         * elf/unload8mod3.c: New file.
47144
47145         * elf/dl-close.c (_dl_close_worker): Reset private search list if
47146         it wasn't used.
47147
47148 2011-08-23  David S. Miller  <davem@davemloft.net>
47149
47150         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47151         subtract stack bias.
47152         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47153         %sp not %fp in calculations.
47154         (_JMPBUF_UNWINDS_ADJ): Likewise.
47155
47156         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47157         (aio_suspend): Call it to force an exception region around the
47158         AIO_MISC_WAIT() invocation.
47159
47160 2011-08-23  Andreas Schwab  <schwab@redhat.com>
47161
47162         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47163         backslash.
47164
47165 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
47166
47167         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47168         protection macro.
47169         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47170         and <dl-machine.h>.
47171         (Elf64_FuncDesc): Remove.
47172
47173 2011-08-22  David S. Miller  <davem@davemloft.net>
47174
47175         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47176         sigaltstack check, add missing cfi directives.
47177         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47178         missing cfi directives, and sigaltstack handling.
47179
47180 2011-08-16  Andreas Schwab  <schwab@redhat.com>
47181
47182         [BZ #11724]
47183         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47184         object is seen twice.
47185         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47186
47187         * elf/Makefile (distribute): Add tst-initorder2.c.
47188         (tests): Add tst-initorder2.
47189         (modules-names): Add tst-initorder2a tst-initorder2b
47190         tst-initorder2c tst-initorder2d.  Add rules to build them.
47191         ($(objpfx)tst-initorder2.out): New rule.
47192         * elf/tst-initorder2.c: New file.
47193         * elf/tst-initorder2.exp: New file.
47194
47195 2011-08-22  Andreas Schwab  <schwab@redhat.com>
47196
47197         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47198
47199         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47200         dependencies back to end of function.
47201
47202         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47203         $(elfobjdir)/ld.so.
47204
47205 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
47206
47207         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47208         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47209         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47210         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47211         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47212         of __vdso_gettimeofday.
47213         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47214         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
47215         attribute_hidden.
47216         (_libc_vdso_platform_setup): Remove initialization of
47217         __vdso_gettimeofday and __vdso_time.
47218
47219 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47220
47221         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47222         and fgetc_unlocked.
47223         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47224         getc_unlocked.
47225
47226         * elf/dl-open.c (add_to_global): Report additions to the global scope
47227         for LD_DEBUG=scopes.
47228         (dl_open_worker): Also print scope of newly loaded dependencies.
47229         (_dl_show_scope): Indicate if there is no scope.
47230
47231         [BZ #13114]
47232         * stdio-common/Makefile (tests): Add bug24.
47233         * stdio-common/bug24.c: New file.
47234
47235 2011-08-19  Andreas Jaeger  <aj@suse.de>
47236
47237         [BZ #13114]
47238         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47239         non-existant file when using close-on-exec mode.
47240
47241 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47242
47243         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47244         the very first instruction.
47245
47246         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47247         the CFI state in the end.
47248         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47249         inclusion of dl-trampoline.h.
47250         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47251
47252 2011-08-19  Andreas Schwab  <schwab@redhat.com>
47253
47254         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47255         expectations for long double.
47256
47257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47258         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47259
47260 2011-08-14  David S. Miller  <davem@davemloft.net>
47261
47262         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47263         artificual limit depends upon the system page size.
47264
47265 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47266
47267         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47268         * resolv/Makefile: Define CFLAGS-libresolv.
47269
47270 2011-08-17  Andreas Schwab  <schwab@redhat.com>
47271
47272         * nss/makedb.c (compute_tables): Make variables used in nested
47273         function static.
47274
47275 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47276
47277         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47278         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47279         if buffer was too small.
47280
47281         * elf/pldd.c (main): Attach to all threads in the process.
47282         Rewrite /proc handling to use *at functions.
47283
47284 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
47285
47286         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47287         specifies first scope to show.
47288         (dl_open_worker): Update callers.  Move printing scope of new
47289         object to before the relocation.
47290         * elf/rtld.c (dl_main): Update _dl_show_scope call.
47291         * sysdeps/generic/ldsodefs.h: Update declaration.
47292
47293         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47294         string for the scope number.
47295
47296 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
47297
47298         * nscd/servicescache.c (cache_addserv): Make sure written is always
47299         initialized.
47300
47301 2011-08-14  Roland McGrath  <roland@hack.frob.com>
47302
47303         * sysdeps/i386/i486/bits/atomic.h
47304         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47305         statement expression, so as to suppress "set but not used" warning.
47306         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47307
47308         * string/strncat.c (STRNCAT): Use prototype definition.
47309
47310         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47311         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47312         -Iprograms here.
47313         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47314         (localedef-modules): Add localedef.
47315         (locale-modules): Add locale.
47316
47317         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47318         * elf/rtld.c (dl_main): Invert order of assignment in last change,
47319         to avoid a warning.
47320
47321 2011-08-14  David S. Miller  <davem@davemloft.net>
47322
47323         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47324         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47325
47326 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
47327
47328         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47329         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47330         * elf/rtld.c (dl_main): Set l_name of vDSO.
47331         Call _dl_show_scope when DL_DEBUG_SCOPES.
47332         (process_dl_debug): Recognize scopes flag and also set it for all.
47333         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47334         Declare _dl_show_scope.
47335
47336         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47337         (do_dlopen): Pass caller_dlopen to dl_open.
47338         (__libc_dlopen_mode): Initialize caller_dlopen.
47339
47340         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47341         of libc.  Make tolower call locale-independent.  Optimize a bit by
47342         using isdigit instead of isalnum.
47343         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47344
47345 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
47346
47347         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47348         was a dependency or dynamically loaded.
47349
47350 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
47351
47352         * intl/l10nflist.c: Allow architecture-specific pop function.
47353         * sysdeps/x86_64/l10nflist.c: New file.
47354
47355         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47356         classification.
47357
47358 2011-08-10  Andreas Schwab  <schwab@redhat.com>
47359
47360         * include/dirent.h: Add libc_hidden_proto for scandirat and
47361         scandirat64.  Don't declare __scandirat64.
47362         * dirent/scandirat.c: Add libc_hidden_def.
47363         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47364         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47365
47366 2011-08-10  David S. Miller  <davem@davemloft.net>
47367
47368         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47369         enum.
47370         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47371         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47372         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47373
47374 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
47375
47376         * Versions.def [libc]: Add GLIBC_2.15.
47377         * dirent/Makefile (routines): Add scandirat and scandirat64.
47378         * dirent/Versions [libc]: Export scandirat and scandirat64 for
47379         GLIBC_2.15.
47380         * dirent/dirent.h: Declare scandirat and scandirat64.
47381         * dirent/scandirat.c: New file.
47382         * dirent/scandirat64.c: New file.
47383         * sysdeps/wordsize-64/scandirat.c: New file.
47384         * sysdeps/wordsize-64/scandirat64.c: New file.
47385         * dirent/opendir.c: Define opendirat.
47386         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
47387         using scandirat.
47388         * dirent/scandir64.c: Adjust for scandir.c change.
47389         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
47390         __scandirat64, and __scandir_cancel_handler.
47391         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
47392         additional parameter and use openat instead of open (outside of ld.so).
47393         Add new __opendir as wrapper around __opendirat.
47394         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47395         here without requiring old scandirat implementation.
47396
47397 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47398
47399         * dirent/scandir.c (cancel_handler): Renamed to
47400         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47401         defined.  Adjust users.
47402         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47403         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47404
47405 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47406
47407         * string/test-string.h (IMPL): Use __STRING to expand name and then
47408         stringify it.
47409
47410         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47411         of cleanups.
47412
47413 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47414
47415         * string/Makefile: Update.
47416         (strop-tests): Append strncat.
47417         * string/test-wcscmp.c: New file.
47418         New comprehensive test for wcscmp.
47419         * string/test-strcmp.c: Update.
47420         (WIDE): New define.
47421
47422 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47423
47424         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47425         line.
47426
47427 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47428
47429         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47430         encoding to ACE if AI_IDN.
47431
47432 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47433
47434         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47435         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47436
47437 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47438
47439         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47440         Fix overflow bug in strncat.
47441         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47442
47443         * string/test-strncat.c: Update.
47444         Add new tests for checking overflow bugs.
47445
47446 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47447
47448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47449         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47450         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47451         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47452         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47453         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47454         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47455         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47456         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47457
47458         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47459         (USE_AS_STRCAT): Define.
47460         Add strcat and strncat support.
47461         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47462
47463 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47464
47465         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47466         __n bigger than INT_MAX+1.
47467         (__strncmp_g): Likewise.
47468
47469 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47470
47471         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47472         * libio/stido.h: Likewise.
47473
47474         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47475         (AF_NFC): Define.
47476         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47477         (AF_NFC): Define.
47478
47479         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47480         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47481         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47482         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47483         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47484
47485         [BZ #13021]
47486         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47487         installed.
47488
47489         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47490         typo.
47491         (_dl_x86_64_save_sse): Likewise.
47492
47493 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47494
47495         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47496         OSXSAVE.
47497         (_dl_x86_64_save_sse): Likewise.
47498
47499         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47500
47501         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47502
47503 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47504
47505         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47506         change.
47507         (_dl_x86_64_save_sse): Use correct AVX check.
47508
47509 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47510
47511         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47512         bug in strncpy/strncat.
47513         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47514
47515 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47516
47517         * string/tester.c (test_strcat): Add tests for different alignments
47518         of source and destination.
47519         (test_strncat): Likewise.
47520
47521 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47522
47523         [BZ #12852]
47524         * posix/glob.c (glob): Check passed in values before using them in
47525         expressions to avoid some overflows.
47526         (glob_in_dir): Likewise.
47527
47528         [BZ #13007]
47529         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47530         check for AVX enablement so that we don't crash with old kernels and
47531         new hardware.
47532         * elf/tst-audit4.c: Add same checks here.
47533         * elf/tst-audit6.c: Likewise.
47534
47535         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47536
47537 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47538
47539         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47540
47541 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47542
47543         * po/cs.po: Update from translation team.
47544         * po/bg.po: Likewise.
47545
47546 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47547
47548         * misc/sys/cdefs.h: Add support for const attribute.
47549         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47550         to gnu_dev_{major,minor,makedev} functions.
47551
47552 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47553
47554         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47555
47556 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47557
47558         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47559         strlen results.
47560
47561 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47562
47563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47564         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47565         register in order to avoid conflicts with the soft frame pointer
47566         being held in r11 when necessary.
47567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47568         (INTERNAL_VSYSCALL_NCS): Likewise.
47569
47570 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47571
47572         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47573         * elf/dl-fini.c (_dl_fini): Adjust caller.
47574         * elf/dl-close.c (_dl_close_worker): Likewise.
47575         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47576
47577 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47578
47579         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47580         "aux_cache->nlibs < 0".
47581
47582         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47583         in the reload-count case.
47584
47585 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47586
47587         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47588         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47589         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47590         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47591         * sysdeps/x86_64/multiarch/strcat.S: New file.
47592         * sysdeps/x86_64/multiarch/strncat.S: New file.
47593         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47594         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47595         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47596         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47597         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47598         (USE_AS_STRCAT): Define.
47599         Add strcat and strncat support.
47600         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47601         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47602         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47603         * string/strncat.c: Update.
47604         (USE_AS_STRNCAT): Define.
47605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47606         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47607         and i7.
47608         * sysdeps/x86_64/multiarch/init-arch.h
47609         (bit_Prefer_PMINUB_for_stringop): New.
47610         (index_Prefer_PMINUB_for_stringop): Likewise.
47611         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47612         bit_Prefer_PMINUB_for_stringop.
47613
47614 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47615
47616         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47617         buffer64.
47618         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47619         of casting of buffer.
47620         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47621         buffer32 and buffer64.
47622         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47623         writes instead of casting of buffer.
47624         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47625         buffer32.
47626         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47627         casting of buffer.
47628
47629 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47630
47631         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47632
47633 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47634
47635         * nscd/nscd.c (termination_handler): Don't do anything for a database
47636         if it has not yet been initialized.
47637
47638 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47639
47640         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47641
47642 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47643
47644         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47645
47646 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47647
47648         * po/nl.po: Update from translation team.
47649         * po/sv.po: Likewise.
47650
47651 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47652
47653         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47654         now disallowed by GCC.
47655
47656         * configure.in (use-default-link): Default to yes if a test -shared
47657         link meets our qualifications.
47658         * configure: Regenerated.
47659
47660         * config.make.in (output-format): New variable.
47661         * configure.in: Check for ld --print-output-format support.
47662         * configure: Regenerated.
47663         * Makerules ($(common-objpfx)format.lds)
47664         [$(output-format) != unknown]: Just use $(output-format),
47665         instead of the linker-script munging.
47666
47667 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47668
47669         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47670         of $(common-objpfx)shlib.lds.
47671         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47672
47673         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47674         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47675
47676         * configure.in (-z relro check): Adjust test code to add a large
47677         writable data section after it.
47678         * configure: Regenerated.
47679
47680 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47681
47682         * configure.in (-z relro check): Fix test code to make the variable
47683         truly const.
47684         * configure: Regenerated.
47685
47686 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47687
47688         * nscd/nscd.h (struct traced_file): Define.
47689         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47690         elements.  Add traced_files.
47691         (inotify_fd): Declare.
47692         (register_traced_file): Declare.
47693         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47694         (inotify_fd): Export.
47695         (resolv_conf_descr): Remove.
47696         (nscd_init): Move inotify descriptor creation to main.
47697         Don't register files for notification here.
47698         (register_traced_file): New function.
47699         (invalidate_cache): Don't use reset_res to determine whether to call
47700         res_init, go through the list of registered files.
47701         (main_loop_poll): The inotify descriptors are now stored in the
47702         structures for the traced files.
47703         (main_loop_epoll): Likewise
47704         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47705         to __nss_disable_nscd.
47706         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47707         for a database anymore.  Check the records for all the registered
47708         files instead.
47709         * nss/Makefile (libnss_files-routines): Add files-init.
47710         (libnss_db-routines): Add db-init.
47711         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47712         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47713         * nss/nss_db/db-init.c: New file.
47714         * nss/nss_files/files-init.c: New file.
47715         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47716         __nss_lookup_function.
47717         (__nss_lookup_function): Call nss_load_library.
47718         (nss_load_all_libraries): New function.
47719         (__nss_disable_nscd): Take parameter with callback function for files
47720         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47721         used for the cached services.
47722         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47723         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47724         options for features to all the files in nscd.
47725
47726         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47727
47728 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47729
47730         * csu/elf-init.c (__libc_csu_init): Comment typo.
47731
47732 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47733
47734         * po/pl.po: Update from translation team.
47735         * po/ja.po: Likewise.
47736         * po/ru.po: Likewise.
47737         * po/ko.po: Likewise.
47738         * po/fr.po: Likewise.
47739
47740 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47741
47742         * configure.in (.ctors/.dtors header and trailer check):
47743         Use an empirical test on a built program.
47744         * configure: Regenerated.
47745
47746         * configure.in (-z relro check): Use an empirical test on a built DSO.
47747         Detect, but do not require, on ia64.
47748         * configure: Regenerated.
47749
47750         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47751         Update tests that use readelf to use $READELF instead.
47752         * configure: Regenerated.
47753
47754 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47755
47756         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47757         if the result is not used.
47758
47759 2011-07-05  Andreas Jaeger  <aj@suse.de>
47760
47761         [BZ#9696]
47762         * stdlib/tst-strtod.c: Add testcase.
47763
47764 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47765
47766         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47767         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47768         The latter has a higher limit.  Take additional parameter to pass to
47769         the new function.
47770         (__pathconf): Pass file to __statfs_link_max.
47771         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47772         __statfs_link_max.
47773         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47774         __statfs_link_max.
47775
47776         [BZ #12868]
47777         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47778         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47779         Handle Lustre.
47780         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47781         (__statfs_filesize_max): Likewise.
47782         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47783
47784 2011-07-05  Andreas Jaeger  <aj@suse.de>
47785
47786         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47787
47788 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47789
47790         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47791         `status' variable.
47792         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47793         Likewise.
47794
47795 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47796
47797         * Makefile (strop-tests): Add strncat.
47798         * string/test-strncat.c: New file.
47799
47800 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47801
47802         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47803
47804 2011-06-21  Andreas Jaeger  <aj@suse.de>
47805
47806         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47807         Copy rule from iconvdata/Makefile.
47808
47809 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47810
47811         [BZ #12922]
47812         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47813         but no long options are defined, just return 'W'.
47814
47815 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47816
47817         [BZ #9696]
47818         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47819
47820 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47821
47822         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47823         netgroups to read.
47824         (innetgr): Likewise.
47825
47826 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47827
47828         * config.make.in (install_root): Default to $(DESTDIR).
47829
47830 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47831
47832         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47833
47834 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47835
47836         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47837
47838         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47839         containing directory rather than embedding absolute directory names.
47840
47841         * scripts/check-local-headers.sh: Rewritten using awk.
47842         Match by word, not by line.  Print error messages for matches.
47843         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47844
47845         * Makerules [shlib-lds-flags empty]:
47846         ($(common-objpfx)libc_pic.opts): New target.
47847         ($(common-objpfx)libc_pic.os.clean): New target.
47848         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47849
47850         * config.make.in (OBJCOPY): New variable.
47851         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47852         * configure: Regenerated.
47853
47854         * config.make.in (use-default-link): New variable.
47855         * configure.in (use_default_link): Grok --with-default-link to set it.
47856         * configure: Regenerated.
47857         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47858         (shlib-lds, shlib-lds-flags): Define to empty.
47859
47860         * Makerules (shlib-lds): New variable.
47861         (shlib-lds-flags): New variable.
47862         (build-shlib, build-moduile, build-module-asneeded): Use it.
47863         ($(common-objpfx)libc.so): Use $(shlib-lds).
47864         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47865         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47866
47867         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47868         DT_FLAGS/DT_FLAGS_1 with zero flags.
47869
47870         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47871         linker script munging.
47872
47873 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47874
47875         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47876         as 128-bit value.
47877         * crypt/sha512.c (sha512_process_block): Perform total addition using
47878         128-bit if possible.
47879         (__sha512_finish_ctx): Likewise.
47880         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47881         as 64-bit value.
47882         * crypt/sha256.c (SWAP64): Define.
47883         (sha256_process_block): Perform total addition using 64-bit if
47884         possible.
47885         (__sha256_finish_ctx): Likewise.
47886
47887 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47888
47889         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47890         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47891         * nscd/hstcache.c (cache_addhst): Likewise.
47892         * nscd/grpcache.c (cache_addgr): Likewise.
47893         * nscd/aicache.c (addhstaiX): Likewise
47894         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47895
47896 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47897
47898         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47899         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47900         * nscd/hstcache.c (cache_addhst): Likewise.
47901         * nscd/grpcache.c (cache_addgr): Likewise.
47902         * nscd/aicache.c (addhstaiX): Likewise
47903
47904 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47905
47906         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47907         domain only when needed.
47908
47909 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47910
47911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47912         is always restored.
47913
47914 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47915
47916         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47917         are re-adding the entry.
47918         * nscd/servicescache.c (cache_addserv): Likewise.
47919
47920 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47921
47922         * sysdeps/generic/dl-irel.h: fix protection against multiple
47923         inclusions.
47924         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47925
47926 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47927
47928         [BZ #12935]
47929         * malloc/memusage.sh: Fix quoting in message.
47930         * debug/xtrace.sh: Likewise.
47931
47932         * configure.in: Remove support for --experimental-malloc option, make
47933         it the default.
47934         * config.make.in: Likewise.
47935         * malloc/Makefile: Likewise.
47936
47937 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47938
47939         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47940         two-byte characters.
47941
47942 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47943
47944         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47945         AC_CACHE_CHECK invocation.
47946         * configure: Regenerated.
47947
47948         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47949
47950 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47951
47952         [BZ #12350]
47953         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47954         bit from old_res_options.
47955
47956         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47957
47958         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47959         value type for setfct.
47960
47961 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47962
47963         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47964         __gettimeofday instead of gettimeofday.
47965
47966 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47967
47968         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47969
47970 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47971
47972         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47973
47974         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47975         info.
47976
47977 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47978
47979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47980         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47981         strcpy-sse2-unaligned strncpy-sse2-unaligned
47982         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47983         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47984         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47985         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47986         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47987         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47988         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47989         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47990         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47991         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47992         (STRCPY): Support SSE2 and SSSE3 versions.
47993
47994 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47995
47996         [BZ #12874]
47997         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47998         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47999         kernels which artificially limit size of requests.
48000
48001 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
48002
48003         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48004         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48005         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48006         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48007         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48008         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48009         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48010         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48011         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48012         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48013         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48014         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48015         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48016         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48017         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48018         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48019         Enable unaligned load optimization for Intel Core i3, i5 and i7
48020         processors.
48021         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48022         Define.
48023         (index_Fast_Unaligned_Load): Define.
48024         (HAS_FAST_UNALIGNED_LOAD): Define.
48025
48026 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
48027
48028         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48029
48030 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48031
48032         [BZ #12907]
48033         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48034         until it is clear that the information is realy needed.
48035         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48036
48037 2011-06-22  Andreas Schwab  <schwab@redhat.com>
48038
48039         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48040
48041 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48042
48043         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48044         /sys/devices/system/cpu/online if it is usable.
48045
48046         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48047         reading the information from the /proc filesystem to once a second.
48048
48049 2011-06-21  Andreas Jaeger  <aj@suse.de>
48050
48051         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48052         NULL after inclusion of kernel headers.
48053
48054 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
48055
48056         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48057         calls to internal_setent.
48058
48059         [BZ #12885]
48060         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48061         addresses using gethostbyname4_r ignore IPv4 addresses.
48062
48063         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48064         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
48065
48066         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48067
48068 2011-06-20  David S. Miller  <davem@davemloft.net>
48069
48070         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48071         inclusions.
48072         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48073
48074         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48075         (elf_irel): Use it.
48076         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48077         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48078         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48079         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48080         * sysdeps/x86_64/dl-irel.h: Likewise.
48081
48082         * elf/dl-runtime.c: Use elf_ifunc_invoke.
48083         * elf/dl-sym.c: Likewise.
48084
48085 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48086
48087         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
48088         need to dereference resplen2.
48089
48090 2011-06-14  Andreas Schwab  <schwab@redhat.com>
48091
48092         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48093
48094 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48095
48096         * Makeconfig: Define vardbdir and inst_vardbdir.
48097         * nss/Makefile: Add rules to install db-Makefile.
48098
48099         * nss/nss_db/db-XXX.c: Cleanup.
48100
48101         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48102         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48103         GLIBC_PRIVATE.
48104         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48105         * nss/makedb.c: Implement -g option to specify that value strings
48106         are generated and should not be added to table iterated over for
48107         get*ent calls.
48108         * nss/nss_db/db-initgroups.c: New file.
48109
48110         * nss/getent.c: Add support for initgroups lookups through getgrouplist
48111         interface.
48112
48113         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48114         (internal_getgrouplist): Adjust to name change.
48115         Update use_initgroups_entry if this is not the first call.
48116         * nss/databases.def: Add initgroups entry.
48117
48118         * nss/makedb.c (compute_tables): Check result of multiple hash table
48119         sizes to minimize maximum chain length.
48120
48121 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
48122
48123         * Versions.def: Add entry for libnss_db.
48124         * shlib-versions: Likewise.
48125         * nss/Makefile: Add rules to build libnss_db.
48126         * nss/Versions: Add libnss_db information.  Organize libnss_files
48127         entries better.
48128         * nss/db-Makefile: Add gshadow support.  Change rules for the new
48129         makedb progra.  Some minor improvements to generate smaller files.
48130         * nss/nss_db/nss_db.h: Move NSS database header data structures to
48131         here from...
48132         * nss/makedb.c: ...here.
48133         Improve database format to be smaller and require less memory at
48134         runtime.
48135         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
48136         db anymore.
48137         * nss/nss_db/db-netgrp.c: Likewise.
48138         * nss/nss_db/db-open.c: Likewise.
48139         * nss/nss_files/flies-XXX.x: Adjust comments.
48140         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48141         * nss/nss_files/files-grp.c: Likewise.
48142         * nss/nss_files/files-hosts.c: Likewise.
48143         * nss/nss_files/files-network.c: Likewise.
48144         * nss/nss_files/files-proto.c: Likewise.
48145         * nss/nss_files/files-pwd.c: Likewise.
48146         * nss/nss_files/files-rpc.c: Likewise.
48147         * nss/nss_files/files-service.c: Likewise.
48148         * nss/nss_files/files-sgrp.c: Likewise.
48149         * nss/nss_files/files-spwd.c: Likewise.
48150         * nss/nss_db/db-alias.c: Removed.
48151         * nss/nss_db/dummy-db.h: Removed.
48152
48153 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
48154
48155         * nss/makedb.c: Rewritten to not use database library.
48156         * nss/Makefile: Update to build new makedb program.
48157
48158 2011-06-14  Andreas Jaeger  <aj@suse.de>
48159
48160         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48161         memset declaration.
48162
48163 2011-06-10  Andreas Schwab  <schwab@redhat.com>
48164
48165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48166         tmpbuf.
48167
48168 2011-06-10  Roland McGrath  <roland@hack.frob.com>
48169
48170         * Makerules (shlib.lds): Fail if the linker script comes out empty.
48171         * elf/Makefile ($(objpfx)ld.so): Likewise.
48172
48173         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48174         Don't list ld.so twice in dependencies.
48175
48176         * posix/bug-regex31.c: Include <stdlib.h>.
48177
48178         * nscd/hstcache.c (cache_addhst): Remove unused variable.
48179
48180         * nis/nss_compat/compat-spwd.c
48181         (getspent_next_nss_netgr): Remove unused variable.
48182         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48183
48184         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48185         nonmembers" output to use the right array.
48186
48187         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48188
48189         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48190
48191         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48192         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48193         * catgets/gencat.c (read_input_file): Likewise.
48194         * locale/programs/locarchive.c (enlarge_archive): Likewise.
48195
48196         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48197         variable definition inside #if's controlling its use.
48198
48199         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48200
48201         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48202
48203         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48204
48205         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48206         unreachable code.
48207
48208         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48209
48210         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48211         * configure: Regenerated.
48212
48213         * Makerules: Revert last change.
48214         * elf/Makefile: Likewise.
48215
48216 2011-06-09  Roland McGrath  <roland@hack.frob.com>
48217
48218         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48219         * elf/Makefile ($(objpfx)librtld.os): Likewise.
48220         (reloc-link): Likewise.
48221
48222 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
48223
48224         * elf/Makefile: Add rules to build pldd.
48225         * elf/pldd.c: New file.
48226         * elf/pldd-xx.c: New file.
48227
48228 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
48229
48230         * version.h: Update for 2.15 development version.
48231
48232 2011-06-07  David S. Miller  <davem@davemloft.net>
48233
48234         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48235         ifuncs.
48236         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48237         elf_machine_lazy_rel): Likewise.
48238         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48239         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48240         elf_machine_lazy_rel): Likewise.
48241         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48242         dl_hwcap via passed in argument.
48243         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48244         Likewise.
48245
48246 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48247
48248         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
48249
48250 2011-06-06  Roland McGrath  <roland@hack.frob.com>
48251
48252         [BZ #12849]
48253         * manual/fdl-1.1.texi: New file, verbatim from:
48254         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48255         * manual/lgpl-2.1.texi: New file, verbatim from:
48256         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48257         * manual/Makefile (licenses): New variable, list those new file names.
48258         (texis): Use it.
48259         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48260
48261         * manual/fdl.texi: File removed.
48262         * manual/lesser.texi: File removed.
48263         * manual/libc.texinfo (Copying, Documentation License):
48264         Use new @include file names, put @appendix directive before @include.
48265
48266 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
48267
48268         [BZ #12841]
48269         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48270         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48271         (mq_open): Add __NTH.
48272
48273 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
48274
48275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48276         Assume Intel Core i3/i5/i7 processor if AVX is available.
48277
48278 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48279
48280         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48281         typo.
48282
48283 2011-05-31  Andreas Schwab  <schwab@redhat.com>
48284
48285         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48286         memory.  Use alloca_account.  Fix memory leak when retrying.
48287
48288 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48289
48290         * version.h (RELEASE): Bump for 2.14 release.
48291         * include/features.h (__GLIBC_MINOR__): Bump to 14.
48292
48293         * config.make.in (RANLIB): Remove entry.
48294
48295 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
48296
48297         * po/Makefile (po-sed-cmd): Add ksh to extensions.
48298         (libc.pot): Work around missing support for .ksh extension in xgettext.
48299
48300         [BZ #12684]
48301         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48302         if both request failed.
48303         (send_dg): In case of server errors clear resplen or *resplen2.
48304
48305         [BZ #12454]
48306         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48307         when there are multiple maps.
48308         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48309         (_dl_fini): Remove test here.
48310
48311         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48312
48313 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
48314
48315         [BZ #12350]
48316         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48317         bit from old_res_options.
48318         (gaih_inet): Likewise.
48319
48320         [BZ #11099]
48321         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48322         as signed.
48323
48324         * resolv/res_init.c (res_setoptions): Make the code more compact.
48325
48326         [BZ #11558]
48327         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48328         set RES_USEVC.
48329
48330         [BZ #11634]
48331         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48332
48333         * malloc/malloc.h: Mark malloc hook variables as deprecated.
48334
48335         [BZ #11781]
48336         * malloc/malloc.h: Declare malloc hook variables as volatile.
48337
48338         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48339         in last patch.
48340
48341         [BZ #11799]
48342         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48343         raise in the comment.
48344         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48345         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48346         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48347
48348 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
48349
48350         [BZ #12811]
48351         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48352         grow the buffers more if it already has to be sufficient.
48353         (build_wcs_upper_buffer): Likewise.
48354         * posix/regexec.c (check_matching): Likewise.
48355         (clean_state_log_if_needed): Likewise.
48356         (extend_buffers): Don't enlarge buffers beyond size of the input
48357         buffer.
48358         Patches mostly by Emil Wojak <emil@wojak.eu>.
48359         * posix/bug-regex32.c: New file.
48360         * posix/Makefile (tests): Add bug-regex32.
48361
48362         * locale/findlocale.c (_nl_find_locale): Return right away if
48363         _nl_explode_name failed.
48364         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48365
48366         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48367
48368         * debug/xtrace.sh: Unify messages.
48369         * malloc/memusage.sh: Likewise.
48370
48371         [BZ #12813]
48372         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48373         time symbol from vDSO.  Substitute with vsyscall if not available.
48374         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48375         __vdso_time.
48376
48377         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48378         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48379         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48380         Add sendmmsg and internal_sendmmsg.
48381         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48382         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48383         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48384
48385         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48386         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48387         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48388
48389 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
48390
48391         [BZ #12813]
48392         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48393         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
48394         available.
48395         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48396         __vdso_getcpu.
48397
48398         [BZ #12814]
48399         * iconvdata/Makefile (tests): Add bug-iconv9.
48400         * iconvdata/bug-iconv9.c: New file.
48401
48402 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48403
48404         [BZ #12814]
48405         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48406
48407 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48408
48409         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48410         (struct user_regs_struct): Change intcs field back to cs.
48411
48412 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48413
48414         * po/ja.po: Update from translation team.
48415
48416 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48417
48418         [BZ #12795]
48419         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48420         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48421
48422 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48423
48424         * stdlib/longlong.h: Update from GCC.
48425
48426 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48427
48428         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48429         parameter name.
48430         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48431         Add parameter name.
48432         (__sysconf): Pass it down.
48433
48434 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48435
48436         [BZ #12671]
48437         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48438         some situations.
48439         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48440         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48441         add in in __libc_use_alloca calls.  Adjust callers.
48442         (glob): Use malloc in some situations.
48443
48444         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48445         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48446         pltexit.
48447
48448 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48449
48450         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48451         and CLOCK_BOOTTIME_ALARM.
48452
48453         [BZ #12782]
48454         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48455         is returned.
48456
48457         * string/_strerror.c (__strerror_r): Print negative errors as signed
48458         numbers.
48459
48460         [BZ #12777]
48461         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48462         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48463         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48464
48465         * configure.in: Fix typo in redirection and correct removal of test
48466         files in two cases.
48467
48468         [BZ #12788]
48469         * locale/setlocale.c (new_composite_name): Fix test to check for
48470         identical name of all categories.
48471
48472         [BZ #12792]
48473         * libio/filedoalloc.c (local_isatty): New function.
48474         (_IO_file_doallocate): Use local_isatty.
48475         * stdio-common/perror.c (perror): In case a new stream is used
48476         forward the stream error.
48477         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48478         error flag.
48479
48480 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48481
48482         [BZ #11869]
48483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48484         alloca.
48485         * include/alloca.h (extend_alloca_account): Define.
48486
48487         [BZ #11857]
48488         * posix/regex.h: Fix comments with documentation of user-accessible
48489         fields after compilation and describe correct free'ing of pattern
48490         after re_compile_pattern.
48491         Patch by Reuben Thomas <rrt@sc3d.org>.
48492
48493 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48494
48495         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48496         and -mno-altivec to prevent the compiler from using Altivec and/or
48497         VSX instructions when the corresponding registers are not available.
48498
48499 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48500
48501         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48502
48503 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48504
48505         * libio/freopen.c (freopen): Use __dup2, not dup2.
48506         * libio/freopen64.c (freopen64): Likewise.
48507
48508 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48509
48510         [BZ #12775]
48511         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48512         * math/Makefile (tests): Add test-powl.
48513         (CFLAGS-test-powl.c): Define.
48514         * math/test-powl.c: New file.
48515
48516 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48517
48518         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48519
48520 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48521
48522         [BZ #11837]
48523         * iconvdata/gb18030.c: Update to GB18020-2005.
48524
48525 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48526
48527         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48528         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48529         Patch by Aharon Robbins <arnold@skeeve.com>.
48530
48531         [BZ #11892]
48532         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48533         on the stack.
48534
48535         [BZ #11895]
48536         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48537         through underflows.
48538
48539         [BZ #12766]
48540         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48541         point to strings before performing equality test for error_one_per_line
48542         mode.
48543
48544         [BZ #11697]
48545         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48546
48547         [BZ #11820]
48548         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48549         (struct user_fpregs_struct): Avoid __uint*_t types.
48550
48551         [BZ #6420]
48552         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48553         symbol info.  Use it instead of calling _dl_addr locally.
48554         (lock_and_info): New function.
48555         (tr_freehook): Call lock_and_info and pass symbol info as additional
48556         parameter to tr_where.
48557         (tr_mallochook): Likewise.
48558         (tr_reallochook): Likewise.
48559         (tr_memalignhook): Likewise.
48560
48561         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48562         used and couldn't be at all thread-safe.
48563
48564 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48565
48566         * libio/freopen.c (freopen): Don't close old file descriptor
48567         before the new one is opened.  Instead dup the new file descriptor
48568         to the old one after the new stream is created.
48569         * libio/freopen64.c (freopen64): Likewise.
48570         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48571         * libio/fileops.c (_IO_new_file_close_it): Handle new
48572         _IO_FLAGS2_NOCLOSE flag.
48573         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48574         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48575         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48576         _IO_FLAGS2_NOCLOSE flag.
48577         * include/unistd.h: Add hidden_proto for dup3.
48578         Define __have_dup3.
48579         * io/dup3.c: Define hidden symbol.
48580         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48581
48582         [BZ #7101]
48583         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48584         when an incomplete long option is used.
48585         * posix/tst-getopt_long1.c: New file.
48586         * posix/Makefile (tests): Add tst-getopt_long1.
48587
48588         [BZ #10138]
48589         * scripts/config.guess: Update from autoconf-2.68.
48590         * scripts/config.sub: Likewise.
48591
48592         [BZ #10157]
48593         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48594         tests into ...
48595         (has_cpuclock): ...this.  New function.
48596         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48597         macro here based on has_cpuclock code.
48598
48599         [BZ #10149]
48600         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48601         First byte (not low byte) is now always NUL.
48602         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48603
48604         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48605         Use non-cancelable interfaces.
48606
48607         [BZ #9809]
48608         * locale/iso-639.def: Add entry for Sorani.
48609
48610         [BZ #11901]
48611         * include/stdlib.h: Move include protection to the right place.
48612         Define abort_msg_s.  Declare __abort_msg with it.
48613         * stdlib/abort.c (__abort_msg): Adjust type.
48614         * assert/assert.c (__assert_fail_base): New function.  Majority
48615         of code from __assert_fail.  Allocate memory for __abort_msg with
48616         mmap.
48617         (__assert_fail): Now call __assert_fail_base.
48618         * assert/assert-perr.c: Remove bulk of implementation.  Use
48619         __assert_fail_base.
48620         * include/assert.hL Declare __assert_fail_base.
48621         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48622         mmap.
48623         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48624
48625 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48626
48627         [BZ #11952]
48628         [BZ #12453]
48629         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48630         until all modules are registered in the DTV.
48631         * elf/Makefile: Add rules to build and run tst-tls19.
48632         * elf/tst-tls19.c: New file.
48633         * elf/tst-tls19mod1.c: New file.
48634         * elf/tst-tls19mod2.c: New file.
48635         * elf/tst-tls19mod3.c: New file.
48636         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48637
48638         [BZ #12083]
48639         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48640         correctly.
48641
48642         [BZ #12601]
48643         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48644         two-byte sequence errors.
48645         * iconvdata/Makefile (tests): Add bug-iconv8.
48646         * iconvdata/bug-iconv8.c: New file.
48647
48648         [BZ #12626]
48649         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48650         buf2 definition.
48651
48652         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48653
48654         [BZ #12432]
48655         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48656         (dummy_getcfa): New function.
48657         (init): Get _Unwind_GetCFA address, use dummy if not found.
48658         (backtrace_helper): In recursion check, also check whether CFA changes.
48659         (__backtrace): Completely initialize arg.
48660
48661         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48662         storing incomplete byte sequence in state object.  Avoid testing for
48663         guaranteed too small input if we know there is enough data available.
48664
48665 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48666
48667         * Makeconfig (+link-pie): Indent.
48668         * Rules (binaries-pie): Define if $(have-fpie) and
48669         $(build-shared).
48670         (binaries-shared): Also filter out $(binaries-pie).
48671         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48672         * nscd/Makefile (others-pie): Add nscd.
48673         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48674         ($(objpfx)nscd): Remove command override.
48675         * login/Makefile (others-pie): Add pt_chown.
48676         ($(objpfx)pt_chown): Remove command override.
48677         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48678         remove command overrides.
48679
48680 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48681
48682         * libio/tst_putwc.c: Fix error messages.
48683
48684         [BZ #12724]
48685         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48686         currently writing and seek to current position when not.
48687         * libio/Makefile (tests): Add bug-fclose1.
48688         * libio/bug-fclose1.c: New file.
48689
48690 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48691
48692         [BZ #12511]
48693         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48694         don't set DF_1_NODELETE here.
48695         (do_lookup_x): When entering new entry test for copy relocation
48696         and if necessary set DF_1_NODELETE flag.
48697         * elf/tst-unique4.cc: New file.
48698         * elf/tst-unique4.h: New file.
48699         * elf/tst-unique4lib.cc: New file.
48700         * elf/Makefile: Add rules to build and run tst-unique4.
48701         Patch by Piotr Bury <pbury@goahead.com>.
48702
48703 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48704
48705         [BZ #12052]
48706         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48707
48708         [BZ #12625]
48709         * misc/mntent_r.c (addmntent): Flush the stream after the output
48710
48711         [BZ #12393]
48712         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48713         (is_trusted_path_normalize): Skip initial colon.  Append slash
48714         to empty buffer.  Duplicate is_trusted_path code but allow
48715         constructed patch to be prefix.
48716         (is_dst): Allow $ORIGIN followed by /.
48717         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48718         Correct testing of result of is_trusted_path_normalize
48719         (decompose_rpath): Fix warning.
48720
48721 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48722
48723         [BZ #11257]
48724         * grp/initgroups.c (internal_getgrouplist): When we found the service
48725         list through the initgroups entry in nsswitch.conf do not always
48726         continue on a successful lookup.  Don't always use the
48727         __nss_group_database value if it is set.
48728         * nss/nsswitch.conf (initgroups): Change action for successful db
48729         lookup to continue for compatibility.
48730
48731 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48732
48733         [BZ #11532]
48734         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48735         and CP774 modules.
48736         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48737         and CP774 modules.
48738         * iconvdata/tst-tables.sh: Likewise.
48739         * iconvdata/cp770.c: New file.
48740         * iconvdata/cp771.c: New file.
48741         * iconvdata/cp772.c: New file.
48742         * iconvdata/cp773.c: New file.
48743         * iconvdata/cp774.c: New file.
48744         * iconvdata/testdata/CP770: New file.
48745         * iconvdata/testdata/CP770..UTF8: New file.
48746         * iconvdata/testdata/CP771: New file.
48747         * iconvdata/testdata/CP771..UTF8: New file.
48748         * iconvdata/testdata/CP772: New file.
48749         * iconvdata/testdata/CP772..UTF8: New file.
48750         * iconvdata/testdata/CP773: New file.
48751         * iconvdata/testdata/CP773..UTF8: New file.
48752         * iconvdata/testdata/CP774: New file.
48753         * iconvdata/testdata/CP774..UTF8: New file.
48754
48755         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48756         END CHARMAP line.
48757         * iconvdata/gen-8bit-gap.sh: Likewise.
48758         * iconvdata/gen-8bit.sh: Likewise.
48759
48760         * locale/iso-639.def: Add ary entry.
48761
48762         [BZ #11258]
48763         * locale/C-translit.h.in: Add U20A1 transliteration.
48764
48765         [BZ #12178]
48766         * locale/iso-639.def: Add wae entry.
48767         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48768
48769         [BZ #12545]
48770         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48771         for n.
48772
48773         [BZ #12711]
48774         * locale/C-translit.h.in: Add entry for U20B9.
48775         Patch by pravin.d.s@gmail.com.
48776
48777 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48778
48779         [BZ #12713]
48780         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48781         ENAMETOOLONG use generic getcwd.
48782         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48783         in rtld.  Use *stat64.
48784         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48785         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48786         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48787         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48788         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48789         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48790         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48791         __fstatat64 macros.
48792         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48793         * dirent/rewinddir.c: Add libc_hidden_def.
48794         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48795         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48796
48797         * include/dirent.h (__alloc_dir): Add flags parameter.
48798         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48799         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48800         __alloc_dir.
48801         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48802         from fdopendir if O_CLOEXEC is already set.
48803
48804 2011-03-15  Alan Modra  <amodra@gmail.com>
48805
48806         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48807         l_tls_firstbyte_offset non-zero.  Save padding offset in
48808         l_tls_firstbyte_offset for later use.
48809         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48810         freeing static tls block.
48811
48812 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48813
48814         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48815         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48816         being defined by the kernel headers.
48817
48818 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48819
48820         [BZ #12734]
48821         * resolv/resolv.h: Define RES_NOTLDQUERY.
48822         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48823         no-tld-query and set RES_NOTLDQUERY.
48824         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48825         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48826         modern BIND to search name as TLD unless forbidden.
48827
48828 2011-05-07  Petr Baudis  <pasky@suse.cz>
48829             Ulrich Drepper  <drepper@gmail.com>
48830
48831         [BZ #12393]
48832         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48833         (is_trusted_path): ...to here.
48834         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48835         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48836         using is_trusted_path_normalize() in setuid scripts.
48837
48838 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48839
48840         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48841         __BEGIN/__END_DECLS.
48842
48843 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48844
48845         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48846         NSS_STATUS_NOTFOUND if no record was found.
48847
48848 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48849
48850         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48851         (headers-not-in-tirpc): Remove rpc/netdb.h
48852         * resolv/netdb.h: Revert last change.
48853
48854 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48855
48856         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48857         circular dependency between libgcc.a and libc.a.
48858
48859 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48860
48861         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48862         * nis/Makefile: Don't install rpcsvc/*.
48863         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48864         instead of <rpc/types.h>.
48865         (MAXHOSTNAMELEN): Define.
48866
48867 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48868
48869         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48870
48871 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48872
48873         [BZ #12714]
48874         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48875         gethostbyname4_r when IPv6 results are possible.
48876
48877 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48878
48879         [BZ #12723]
48880         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48881         _PC_PIPE_BUF handling.
48882
48883 2011-04-30  Bruno Haible  <bruno@clisp.org>
48884
48885         [BZ #12717]
48886         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48887         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48888         to 'int'.
48889         * inet/getnameinfo.c (getnameinfo): Likewise.
48890
48891 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48892
48893         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48894         to groups setting in database lookup.
48895         * nss/nsswitch.conf: Add initgroups entry.
48896
48897 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48898
48899         [BZ #12685]
48900         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48901         mode string.
48902         Patch by Eric Blake <eblake@redhat.com>.
48903
48904 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48905
48906         * sunrpc/Makefile (need-export-routines): Add svc_run.
48907         (routines): Remove svc_run.
48908         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48909         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48910         * sunrpc/svc_run.c (svc_run): Likewise.
48911         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48912
48913 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48914
48915         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48916         problem in reallocation in last patch.
48917
48918 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48919
48920         * sunrpc/Makefile: Move inclusion of Rules.
48921
48922 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48923
48924         * nss/nss_files/files-initgroups.c: New file.
48925         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48926         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48927         _nss_files_initgroups_dyn.
48928
48929 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48930
48931         * elf/elf.h (R_ARM_IRELATIVE): Define.
48932
48933 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48934
48935         * po/ru.po: Update from translation team.
48936
48937 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48938
48939         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48940         dependencies.
48941
48942 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48943
48944         [BZ #12653]
48945         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48946         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48947         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48948         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48949         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48950
48951 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48952
48953         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48954         differing bytes.
48955         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48956         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48957         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48958
48959 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48960
48961         [BZ #12420]
48962         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48963         storing it.
48964         * stdlib/bug-getcontext.c: New file.
48965         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48966
48967 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48968
48969         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48970         instructions into .machine "z9-109".
48971         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48972         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48973
48974 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48975
48976         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48977         between environment variables and auxiliary vector.
48978
48979 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48980
48981         * Makefile: Add rules to build linkobj/libc.so.
48982         * include/libc-symbols.h: Define libc_hidden_nolink.
48983         * include/rpc/auth.h: Mark functions which are to be hidden.
48984         * include/rpc/auth_des.h: Likewise.
48985         * include/rpc/auth_unix.h: Likewise.
48986         * include/rpc/clnt.h: Likewise.
48987         * include/rpc/des_crypt.h: Likewise.
48988         * include/rpc/key_prot.h: Likewise.
48989         * include/rpc/pmap_clnt.h: Likewise.
48990         * include/rpc/pmap_prot.h: Likewise.
48991         * include/rpc/pmap_rmt.h: Likewise.
48992         * include/rpc/rpc_msg.h: Likewise.
48993         * include/rpc/svc.h: Likewise.
48994         * include/rpc/svc_auth.h: Likewise.
48995         * include/rpc/xdr.h: Likewise.
48996         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48997         * nss/Makefile: Likewise.
48998         * sunrpc/Makefile: Don't install headers.  Build library with normal
48999         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
49000         * sunrpc/auth_des.c: Hide exported symbols by default, export some
49001         for the compat linking library.  Remove use of INTDEF/INTUSE.
49002         * sunrpc/auth_none.c: Likewise.
49003         * sunrpc/auth_unix.c: Likewise.
49004         * sunrpc/authdes_prot.c: Likewise.
49005         * sunrpc/authuxprot.c: Likewise.
49006         * sunrpc/clnt_gen.c: Likewise.
49007         * sunrpc/clnt_perr.c: Likewise.
49008         * sunrpc/clnt_raw.c: Likewise.
49009         * sunrpc/clnt_simp.c: Likewise.
49010         * sunrpc/clnt_tcp.c: Likewise.
49011         * sunrpc/clnt_udp.c: Likewise.
49012         * sunrpc/clnt_unix.c: Likewise.
49013         * sunrpc/des_crypt.c: Likewise.
49014         * sunrpc/des_soft.c: Likewise.
49015         * sunrpc/get_myaddr.c: Likewise.
49016         * sunrpc/key_call.c: Likewise.
49017         * sunrpc/key_prot.c: Likewise.
49018         * sunrpc/netname.c: Likewise.
49019         * sunrpc/pm_getmaps.c: Likewise.
49020         * sunrpc/pm_getport.c: Likewise.
49021         * sunrpc/pmap_clnt.c: Likewise.
49022         * sunrpc/pmap_prot.c: Likewise.
49023         * sunrpc/pmap_prot2.c: Likewise.
49024         * sunrpc/pmap_rmt.c: Likewise.
49025         * sunrpc/publickey.c: Likewise.
49026         * sunrpc/rpc_cmsg.c: Likewise.
49027         * sunrpc/rpc_common.c: Likewise.
49028         * sunrpc/rpc_dtable.c: Likewise.
49029         * sunrpc/rpc_prot.c: Likewise.
49030         * sunrpc/rpc_thread.c: Likewise.
49031         * sunrpc/rtime.c: Likewise.
49032         * sunrpc/svc.c: Likewise.
49033         * sunrpc/svc_auth.c: Likewise.
49034         * sunrpc/svc_authux.c: Likewise.
49035         * sunrpc/svc_raw.c: Likewise.
49036         * sunrpc/svc_run.c: Likewise.
49037         * sunrpc/svc_simple.c: Likewise.
49038         * sunrpc/svc_tcp.c: Likewise.
49039         * sunrpc/svc_udp.c: Likewise.
49040         * sunrpc/svc_unix.c: Likewise.
49041         * sunrpc/svcauth_des.c: Likewise.
49042         * sunrpc/xcrypt.c: Likewise.
49043         * sunrpc/xdr.c: Likewise.
49044         * sunrpc/xdr_array.c: Likewise.
49045         * sunrpc/xdr_float.c: Likewise.
49046         * sunrpc/xdr_intXX_t.c: Likewise.
49047         * sunrpc/xdr_mem.c: Likewise.
49048         * sunrpc/xdr_rec.c: Likewise.
49049         * sunrpc/xdr_ref.c: Likewise.
49050         * sunrpc/xdr_sizeof.c: Likewise.
49051         * sunrpc/xdr_stdio.c: Likewise.
49052
49053 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
49054
49055         [BZ #12650]
49056         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49057         * sysdeps/ia64/dl-tls.h: Likewise.
49058         * sysdeps/powerpc/dl-tls.h: Likewise.
49059         * sysdeps/s390/dl-tls.h: Likewise.
49060         * sysdeps/sh/dl-tls.h: Likewise.
49061         * sysdeps/sparc/dl-tls.h: Likewise.
49062         * sysdeps/x86_64/dl-tls.h: Likewise.
49063         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49064
49065 2011-03-14  Andreas Schwab  <schwab@redhat.com>
49066
49067         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49068         rpath element also skip the following colon.
49069         (expand_dynamic_string_token): Add is_path parameter and pass
49070         down to DL_DST_REQUIRED and _dl_dst_substitute.
49071         (decompose_rpath): Call expand_dynamic_string_token with
49072         non-zero is_path.  Ignore empty rpaths.
49073         (_dl_map_object_from_fd): Call expand_dynamic_string_token
49074         with zero is_path.
49075
49076 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
49077
49078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49079         Make cancelable.
49080
49081 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
49082
49083         [BZ #12655]
49084         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49085         Patch by Filipe David Manana <fdmanana@apache.org>.
49086
49087 2011-04-07  Andreas Schwab  <schwab@redhat.com>
49088
49089         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49090         Maintain aligned stack.
49091         (CHECK_RSP): Remove unused macro.
49092
49093 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
49094
49095         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49096         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49097
49098 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
49099
49100         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49101
49102         * include/features.h: Mention __USE_XOPEN2K8 in comment.
49103
49104 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
49105
49106         [BZ #12518]
49107         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49108         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49109         * sysdeps/x86_64/memmove.c: New file.
49110         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49111         (memcpy): Renamed to ...
49112         (__new_memcpy): This.
49113         (memcpy): Provide GLIBC_2_14 memcpy.
49114         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49115         (memcpy): Provide GLIBC_2_2_5 memcpy.
49116
49117 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49118
49119         [BZ #12631]
49120         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49121
49122 2011-03-30  Andreas Schwab  <schwab@redhat.com>
49123
49124         * misc/syncfs.c: New file.
49125         * misc/Makefile (routines): Add syncfs.
49126         * posix/unistd.h: Declare syncfs.
49127         * sysdeps/unix/syscalls.list: Add syncfs.
49128
49129 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49130
49131         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49132         open_by_handle_at.
49133         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49134         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49135         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49136         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49137         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49138         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49139         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49140
49141 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49142
49143         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49144         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49145         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49146         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49147         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49148         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49149         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49150
49151         * io/Makefile: Compile fallocate.c, fallocate64.c, and
49152         sync_file_range.c with -fexceptions.
49153         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49154         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49155         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49156         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49157         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49158         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49159         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49160         sync_file_range as cancellation point
49161         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
49162         now a wrapper around __call_sync_file_range with cancellation handling.
49163         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49164         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
49165         function name to __call_sync_file_range.
49166         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49167         Add call_sync_file_range.
49168
49169 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49170
49171         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49172         bits/timex.h.
49173
49174 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49175
49176         * iconv/iconv.h: Fix typo in comment.
49177         * io/fcntl.h: Likewise.
49178         * libio/stdio.h: Likewise.
49179         * posix/spawn.h: Likewise.
49180         * posix/unistd.h: Likewise.
49181         * stdlib/stdlib.h: Likewise.
49182         * time/time.h: Likewise.
49183         * wcsmbs/wchar.h: Likewise.
49184
49185         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49186         open_by_handle): Add.
49187         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49188         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
49189         Augment a few comments.
49190         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49191         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49192         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49194         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49195         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49196         open_by_handle.
49197
49198         * io/fcntl.h (AT_EMPTY_PATH): Define.
49199
49200 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
49201
49202         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49203         * sysdeps/unix/sysv/linux/bits/time.h: New file.
49204         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49205         to...
49206         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
49207         * Versions.def: Add GLIBC_2.14.
49208         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49209         Export.
49210
49211 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
49212
49213         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49214         round counter.
49215         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49216
49217 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49218
49219         [BZ #12597]
49220         * string/test-strncmp.c (do_page_test): New function.
49221         (check2): Likewise.
49222         (test_main): Call check2.
49223         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49224
49225 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
49226
49227         [BZ #12587]
49228         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49229         Handle cache information in CPU leaf 4.
49230         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49231
49232 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
49233
49234         [BZ #12583]
49235         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49236         character representation.
49237         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49238
49239 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
49240
49241         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49242         END(__isnan) to END(__isnanf) to match function entry point/label
49243         EALIGN(__isnanf,...).
49244
49245 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
49246
49247         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49248
49249 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
49250
49251         [BZ #12510]
49252         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49253         copy from the symbol referenced in the relocation to initialize the
49254         used variable.
49255         Patch by Piotr Bury <pbury@goahead.com>.
49256         * elf/Makefile: Add rules to build and tst-unique3.
49257         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49258         * elf/tst-unique3.cc: New file.
49259         * elf/tst-unique3.h: New file.
49260         * elf/tst-unique3lib.cc: New file.
49261         * elf/tst-unique3lib2.cc: New file.
49262
49263         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49264
49265 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
49266
49267         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49268         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
49269         to _start.
49270
49271 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
49272
49273         * elf/dl-load.c (_dl_map_object): If we are looking for the first
49274         to-be-loaded object along a path to loader is ld.so.
49275
49276 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49277             Ulrich Drepper  <drepper@gmail.com>
49278
49279         * sysdeps/x86_64/memset.S: After aligning destination, code
49280         branches to different locations depending on the value of
49281         misalignment, when multiarch is enabled. Fix this.
49282
49283 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49284
49285         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49286         Set _x86_64_preferred_memory_instruction for AMD processsors.
49287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49288         Set bit_Prefer_SSE_for_memop for AMD processors.
49289
49290 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
49291
49292         * libio/fmemopen.c (fmemopen): Optimize a bit.
49293
49294 2011-03-03  Andreas Schwab  <schwab@redhat.com>
49295
49296         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49297
49298 2011-03-03  Roland McGrath  <roland@redhat.com>
49299
49300         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49301
49302 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
49303
49304         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49305         __bzero_ultra1 instead of __memset_ultra1.
49306
49307 2011-02-23  Andreas Schwab  <schwab@redhat.com>
49308             Ulrich Drepper  <drepper@gmail.com>
49309
49310         [BZ #12509]
49311         * include/link.h (struct link_map): Add l_orig_initfini.
49312         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49313         returning unsuccessfully.
49314         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49315         close of a file loaded at startup, restore the original l_initfini
49316         list.
49317         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49318         list, store the pointer.
49319         * elf/Makefile ($(objpfx)noload-mem): New rule.
49320         (noload-ENV): Define.
49321         (tests): Add $(objpfx)noload-mem.
49322         * elf/noload.c: Include <memcheck.h>.
49323         (main): Call mtrace.  Close all opened handles.
49324
49325 2011-02-17  Andreas Schwab  <schwab@redhat.com>
49326
49327         [BZ #12454]
49328         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49329         dependencies are missing.
49330
49331 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49332
49333         Fix __if_freereq crash: Unlike the generic version which uses free,
49334         Hurd needs munmap.
49335         * sysdeps/mach/hurd/ifreq.h: New file.
49336
49337 2011-01-27  Petr Baudis  <pasky@suse.cz>
49338             Ulrich Drepper  <drepper@gmail.com>
49339
49340         [BZ 12445]#
49341         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49342         to extend_alloca().
49343         * stdio-common/bug23.c: New file.
49344         * stdio-common/Makefile (tests): Add bug23.
49345
49346 2010-09-28  Andreas Schwab  <schwab@redhat.com>
49347             Ulrich Drepper  <drepper@gmail.com>
49348
49349         [BZ #12489]
49350         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49351         before performing relro protection.  At old place add assertion
49352         to make sure nothing changed.
49353
49354 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
49355             Glauber de Oliveira Costa  <glommer@gmail.com>
49356
49357         * elf/elf.h: Add new ARM TLS relocs.
49358
49359 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
49360
49361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49362         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49363         cast from r3.
49364         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
49365         'tests' variable.
49366         * sysdeps/wordsize-64/tst-writev.c: New file.
49367
49368 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
49369
49370         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49371         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49372         insns in _dl_start to prevent a TOC reference before relocs are
49373         resolved.
49374
49375 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
49376
49377         [BZ #12469]
49378         * Makeconfig: Remove RANLIB definition.
49379         * Makerules: Don't use RANLIB.
49380         * aclocal.m4: Remove ranlib test.
49381         * configure.in: No need to check for ranlib.
49382         * elf/rtld-Rules: Don't use RANLIB.
49383
49384 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49385
49386         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49387         protection macro.
49388         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49389         inclusion protection macro.
49390
49391         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49392         SIGRTMIN and SIGRTMAX and print information in that case only when
49393         SIGRTMIN is defined.
49394
49395 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49396
49397         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49398         arginfo fn returning -1.
49399
49400         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49401         and thousands string is zero terminated.
49402
49403 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49404
49405         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49406         sysdeps/unix/sysv/linux/bits/socket.h.
49407
49408 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49409
49410         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49411         (__CPU_COUNT): Remove old macros.
49412         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49413         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49414         (__CPU_ALLOC, __CPU_FREE): Add macros.
49415         (__sched_cpualloc, __sched_cpufree): Add declarations.
49416
49417 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49418
49419         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49420         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49421         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49422         (readdhstai): Return value of addhstaiX call.
49423         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49424         (addgrbyX): Return value returned by cache_addgr.
49425         (readdgrbyname): Return value returned by addgrbyX.
49426         (readdgrbygid): Likewise.
49427         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49428         (addpwbyX): Return value returned by cache_addpw.
49429         (readdpwbyname): Return value returned by addhstbyX.
49430         (readdpwbyuid): Likewise.
49431         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49432         (addservbyX): Return value returned by cache_addserv.
49433         (readdservbyname): Return value returned by addservbyX:
49434         (readdservbyport): Likewise.
49435         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49436         (addhstbyX): Return value returned by cache_addhst.
49437         (readdhstbyname): Return value returned by addhstbyX.
49438         (readdhstbyaddr): Likewise.
49439         (readdhstbynamev6): Likewise.
49440         (readdhstbyaddrv6): Likewise.
49441         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49442         (readdinitgroups): Return value returned by addinitgroupsX.
49443         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49444         (prune_cache): Keep track of timeout value of re-added entries.
49445         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49446         * nscd/nscd.h: Adjust prototypes of readd* functions.
49447
49448 2011-02-04  Roland McGrath  <roland@redhat.com>
49449
49450         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49451         (nis_stats): Likewise.
49452         * nis/nis_modify.c (nis_modify): Likewise.
49453         * nis/nis_remove.c (nis_remove): Likewise.
49454         * nis/nis_add.c (nis_add): Likewise.
49455
49456         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49457
49458         * posix/fnmatch_loop.c: Add some consts.
49459
49460         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49461
49462 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49463
49464         [BZ #12460]
49465         * config.make.in (config-cflags-novzeroupper): Define.
49466         * configure.in: Substitute libc_cv_cc_novzeroupper.
49467         * elf/Makefile (AVX-CFLAGS): Define.
49468         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49469         (CFLAGS-tst-auditmod4a.c): Likewise.
49470         (CFLAGS-tst-auditmod4b.c): Likewise.
49471         (CFLAGS-tst-auditmod6b.c): Likewise.
49472         (CFLAGS-tst-auditmod6c.c): Likewise.
49473         (CFLAGS-tst-auditmod7b.c): Likewise.
49474         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49475
49476 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49477
49478         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49479         function to the callback.
49480         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49481
49482 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49483
49484         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49485         of errno.
49486
49487 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49488
49489         [BZ #11724]
49490         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49491         of constructors.
49492         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49493         of destructors.
49494         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49495
49496         [BZ #11724]
49497         * elf/Makefile: Add rules to build and run new test.
49498         * elf/tst-initorder.c: New file.
49499         * elf/tst-initorder.exp: New file.
49500         * elf/tst-initordera1.c: New file.
49501         * elf/tst-initordera2.c: New file.
49502         * elf/tst-initordera3.c: New file.
49503         * elf/tst-initordera4.c: New file.
49504         * elf/tst-initorderb1.c: New file.
49505         * elf/tst-initorderb2.c: New file.
49506         * elf/tst-order-a1.c: New file.
49507         * elf/tst-order-a2.c: New file.
49508         * elf/tst-order-a3.c: New file.
49509         * elf/tst-order-a4.c: New file.
49510         * elf/tst-order-b1.c: New file.
49511         * elf/tst-order-b2.c: New file.
49512         * elf/tst-order-main.c: New file.
49513         New test case by George Gensure <werkt0@gmail.com>.
49514
49515 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49516
49517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49518         decoding ACE if AI_CANONIDN.
49519
49520 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49521
49522         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49523
49524 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49525
49526         * version.h (RELEASE): Bump for 2.13 release.
49527         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49528
49529         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49530
49531         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49532         MADV_NOHUGEPAGE.
49533         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49534         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49535         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49536         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49537         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49538         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49539
49540         * posix/getconf.c: Update copyright year.
49541         * catgets/gencat.c: Likewise.
49542         * csu/version.c: Likewise.
49543         * debug/catchsegv.sh: Likewise.
49544         * debug/xtrace.sh: Likewise.
49545         * elf/ldconfig.c: Likewise.
49546         * elf/ldd.bash.in: Likewise.
49547         * elf/sprof.c (print_version): Likewise.
49548         * iconv/iconv_prog.c: Likewise.
49549         * iconv/iconvconfig.c: Likewise.
49550         * locale/programs/locale.c: Likewise.
49551         * locale/programs/localedef.c: Likewise.
49552         * malloc/memusage.sh: Likewise.
49553         * malloc/mtrace.pl: Likewise.
49554         * nscd/nscd.c (print_version): Likewise.
49555         * nss/getent.c: Likewise.
49556
49557         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49558         PF_CAIF, and PF_ALG.
49559         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49560
49561 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49562
49563         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49564         (modules-names): Use them.
49565         (ifunc-test-modules, ifunc-pie-tests): Define.
49566         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49567         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49568         (test-extras): Likewise.
49569         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49570         $(compile-command.c).
49571         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49572         (all-built-dso): Define.
49573         (check-textrel.out, check-execstack.out): Depend on it.
49574
49575         * configure.in: Don't override --enable-multi-arch.
49576
49577 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49578
49579         [BZ #6812]
49580         * nscd/hstcache.c (tryagain): Define.
49581         (cache_addhst): Return tryagain not notfound for temporary errors.
49582         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49583         failed.
49584
49585 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49586
49587         [BZ #10563]
49588         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49589         to make the syscall.
49590         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49591
49592         [BZ #12378]
49593         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49594         and fall back to matching as normal character if the string ends before
49595         the matching ']' is found.  This is what POSIX requires.
49596         * posix/testfnm.c: Adjust test result.
49597         * posix/globtest.sh: Adjust test result.  Add new test.
49598         * posix/tst-fnmatch.input: Likewise.
49599         * posix/tst-fnmatch2.c: Add new test.
49600
49601 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49602
49603         * elf/Makefile (check-execstack): Revert last change.  Depend on
49604         check-execstack.h.
49605         (check-execstack.h): New target.
49606         (generated): Add check-execstack.h.
49607         * elf/check-execstack.c: Include "check-execstack.h".
49608         (main): Revert last change.
49609         (handle_file): Return zero if GNU_STACK is absent and
49610         DEFAULT_STACK_PERMS doesn't include PF_X.
49611
49612 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49613
49614         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49615         in child fails because the descriptor is already closed.
49616         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49617         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49618         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49619
49620         [BZ #12397]
49621         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49622         syscall.
49623
49624         [BZ #10484]
49625         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49626         temporary buffer used to handle multi lookups locally.
49627         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49628
49629 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49630
49631         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49632         loader is ld.so.
49633
49634 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49635
49636         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49637         alignment for SSE2.
49638
49639 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49640
49641         [BZ #12394]
49642         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49643         characters.  When rounding increased number of integer digits recompute
49644         number of groups.
49645         * stdio-common/tst-grouping.c: New file.
49646         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49647
49648 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49649
49650         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49651         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49652
49653         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49654         void.
49655         * bits/select.h: Likewise.
49656
49657 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49658
49659         * po/ja.po: Update from translation team.
49660
49661 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49662
49663         [BZ #11155]
49664         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49665         implementation just like for lxstat, fxstatat, et al.
49666
49667 2010-12-27  Jim Meyering  <meyering@redhat.com>
49668
49669         [BZ #12348]
49670         * posix/regexec.c (build_trtable): Return failure indication upon
49671         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49672
49673 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49674
49675         [BZ #12201]
49676         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49677         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49678         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49679         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49680
49681         [BZ #12207]
49682         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49683
49684         [BZ #12204]
49685         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49686         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49687
49688 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49689
49690         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49691         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49692         script has SORT_BY_INIT_PRIORITY.
49693         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49694         NO_CTORS_DTORS_SECTIONS is defined.
49695         * elf/soinit.c: Likewise.
49696         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49697         NO_CTORS_DTORS_SECTIONS is defined.
49698         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49699         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49700         * sysdeps/sh/init-first.c: Likewise.
49701         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49702
49703 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49704
49705         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49706         always use the slow path.
49707
49708 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49709
49710         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49711         similar rule which adds the sysdep directories to the header search in
49712         order to pick up the correct platform stackinfo.h.
49713         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49714         perform test if it is, otherwise return successfully without testing.
49715         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49716         DEFAULT_STACK_PERMS define in stackinfo.h.
49717         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49718         defined in stackinfo.h.
49719         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49720         DEFAULT_STACK_PERMS defined in stackinfo.h.
49721         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49722         * sysdeps/ia64/stackinfo.h: Likewise.
49723         * sysdeps/s390/stackinfo.h: Likewise.
49724         * sysdeps/sh/stackinfo.h: Likewise.
49725         * sysdeps/sparc/stackinfo.h: Likewise.
49726         * sysdeps/x86_64/stackinfo.h: Likewise.
49727         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49728         PF_X for powerpc64.  Retain PF_X for powerpc32.
49729
49730 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49731
49732         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49733         accurately.
49734         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49735         GETDENTS_64BIT_ALIGNED.
49736
49737 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49738
49739         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49740
49741 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49742
49743         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49744         _GNU_SOURCE.
49745
49746         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49747         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49748         Remove __restrict.
49749         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49750         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49751
49752 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49753
49754         [BZ #11655]
49755         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49756         are initialized.
49757
49758 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49759
49760         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49761
49762 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49763
49764         * po/it.po: Update from translation team.
49765
49766 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49767
49768         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49769         unused codes.
49770
49771 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49772
49773         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49774
49775 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49776
49777         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49778         specially.
49779         (gaih_getanswer_slice): Likewise.
49780
49781 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49782
49783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49784
49785 2010-05-31  Petr Baudis  <pasky@suse.cz>
49786
49787         [BZ #11149]
49788         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49789         silently even in the chroot mode.
49790
49791 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49792
49793         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49794         last patch a bit.  Pretty printing
49795
49796 2010-05-31  Petr Baudis <pasky@suse.cz>
49797
49798         [BZ #10085]
49799         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49800         initialization of skip_initgroups_dyn.
49801
49802 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49803
49804         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49805         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49806
49807 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49808
49809         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49810
49811 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49812
49813         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49814         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49815         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49816         ($(objpfx)tst-fnmatch-mem): New rule.
49817         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49818         * posix/tst-fnmatch.c (main): Call mtrace.
49819
49820 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49821
49822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49823         Support Intel processor model 6 and model 0x2c.
49824
49825 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49826
49827         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49828           signed comparison.
49829
49830 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49831
49832         [BZ #12205]
49833         * string/test-strncasecmp.c (check_result): New function.
49834         (do_one_test): Use it.
49835         (check1): New function.
49836         (test_main): Use it.
49837         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49838         Support strcasecmp and strncasecmp.
49839
49840 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49841
49842         [BZ #12194]
49843         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49844         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49845
49846 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49847
49848         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49849         IFUNC support.
49850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49851         memset-x86-64.
49852         * sysdeps/x86_64/multiarch/bzero.S: New file.
49853         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49854         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49855         * sysdeps/x86_64/multiarch/memset.S: New file.
49856         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49858         Set bit_Prefer_SSE_for_memop for Intel processors.
49859         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49860         Define.
49861         (index_Prefer_SSE_for_memop): Define.
49862         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49863
49864 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49865
49866         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49867         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49868
49869 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49870
49871         [BZ #12191]
49872         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49873         (__x86_64_raw_data_cache_size_half): Likewise.
49874         (__x86_64_raw_shared_cache_size): Likewise.
49875         (__x86_64_raw_shared_cache_size_half): Likewise.
49876
49877         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49878         (__x86_64_raw_data_cache_size_half): Likewise.
49879         (__x86_64_raw_shared_cache_size): Likewise.
49880         (__x86_64_raw_shared_cache_size_half): Likewise.
49881         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49882         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49883         and __x86_64_raw_shared_cache_size_half.  Round
49884         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49885         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49886         to multiple of 256 bytes.
49887
49888 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49889
49890         [BZ #12167]
49891         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49892         of inacessible symlinks.  Verify result of symlink before returning it.
49893         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49894         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49895
49896 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49897
49898         * math/math.h (isinf): Fix typo in comment.
49899
49900 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49901
49902         * po/da.po: Update from translation team.
49903
49904 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49905
49906         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49907         is added to the list.
49908
49909 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49910             Ulrich Drepper  <drepper@gmail.com>
49911
49912         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49913         the global list here.  Move code to...
49914         (_dl_add_to_namespace_list): ...here.  New function.
49915         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49916         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49917         * elf/dl-load.c (lose): Don't remove the element from the list.
49918         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49919         (_dl_map_object): Likewise.
49920
49921 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49922
49923         [BZ #12159]
49924         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49925         into all bytes of SSE register.
49926         Patch by Richard Li <richardpku@gmail.com>.
49927
49928 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49929
49930         [BZ #12140]
49931         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49932         perturbing.
49933
49934 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49935
49936         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49937         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49938         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49939         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49941         submachine.
49942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49943
49944 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49945
49946         * include/dlfcn.h (__RTLD_SECURE): Define.
49947         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49948         mode & __RTLD_SECURE instead.
49949         (open_path): Rename preloaded parameter to secure.
49950         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49951         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49952         * elf/dl-deps.c (openaux): Likewise.
49953         * elf/rtld.c (struct map_args): Remove is_preloaded.
49954         (map_doit): Don't use it.
49955         (dl_main): Likewise.
49956         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49957         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49958
49959 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49960
49961         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49962         (sysd-rules-targets): Remove duplicates.
49963         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49964         rtld-%.$o dependency.
49965
49966 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49967
49968         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49969         _dl_map_object do it.
49970
49971 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49972
49973         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49974         fast fma builtins, define the macros in the C99 standard.
49975         (FP_FAST_FMAF): Likewise.
49976         (FP_FAST_FMAL): Likewise.
49977         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49978
49979         * bits/mathdef.h: Update copyright year.
49980         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49981
49982 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49983
49984         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49985         builtins, define the macros in the C99 standard.
49986         (FP_FAST_FMAF): Likewise.
49987         (FP_FAST_FMAL): Likewise.
49988         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49989         multiply/add.
49990         (FP_FAST_FMAF): Likewise.
49991
49992 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49993
49994         [BZ #3268]
49995         * math/libm-test.inc (fma_test): Some new testcases.
49996         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49997         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49998         y and infinite z.  Do multiplication by C already in long double.
49999         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50001         y and infinite z.  Do bitwise or of inexact bit into u.d.
50002         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50003         * sysdeps/i386/fpu/s_fmaf.S: Removed.
50004         * sysdeps/i386/fpu/s_fma.S: Removed.
50005         * sysdeps/i386/fpu/s_fmal.S: Removed.
50006
50007 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
50008
50009         [BZ #3268]
50010         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50012         computation is not scheduled after fetestexcept.  Fix value
50013         of minimum denormal long double.
50014
50015 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
50016
50017         [BZ #3268]
50018         * math/libm-test.inc (fma_test): Add some more tests.
50019         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50020         correctly.
50021
50022 2010-10-15  Andreas Schwab  <schwab@redhat.com>
50023
50024         * scripts/data/localplt-s390-linux-gnu.data: New file.
50025         * scripts/data/localplt-s390x-linux-gnu.data: New file.
50026
50027 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
50028
50029         [BZ #3268]
50030         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50031         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50032         instead of dbl-64.
50033         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50034         inlines.
50035         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50036         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50037         if one of x and y is very large and the other is subnormal.
50038         * sysdeps/s390/fpu/s_fmaf.c: New file.
50039         * sysdeps/s390/fpu/s_fma.c: New file.
50040         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50041         * sysdeps/powerpc/fpu/s_fma.S: New file.
50042         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50043         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50044         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50045
50046 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
50047
50048         [BZ #3268]
50049         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50050         fma tests.
50051         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50052         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50053         * sysdeps/i386/i686/multiarch/s_fma.c: Include
50054         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50055         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50056         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50057         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50058
50059 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
50060
50061         [BZ #12078]
50062         * posix/regcomp.c (parse_branch): One more memory leak plugged.
50063         * posix/bug-regex31.input: Add test case.
50064
50065 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50066
50067         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50068         * posix/bug-regex31.input: New file.
50069
50070         [BZ #12078]
50071         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50072         (parse_sub_exp): Fix last change, use postorder.
50073
50074         * posix/bug-regex31.c: New file.
50075         * posix/Makefile: Add rules to build and run bug-regex31.
50076
50077         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50078
50079         [BZ #12078]
50080         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50081
50082         [BZ #12108]
50083         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50084         to have entries in sys_siglist.
50085
50086         [BZ #12093]
50087         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50088         be NULL.
50089
50090 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
50091
50092         [BZ #3268]
50093         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50094         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50095         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50096         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50097         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50098         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50099         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50100         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50101         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50102         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50103         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50104         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50105         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50106         * math/ftestexcept.c (fetestexcept): Likewise.
50107         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50108         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50109         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50110         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50111         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50112         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50113         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50114
50115 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50116
50117         [BZ #12107]
50118         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50119         newline.
50120
50121 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
50122
50123         * string/bug-strstr1.c: New file.
50124         * string/Makefile: Add rules to build and run bug-strstr1.
50125
50126 2010-10-05  Eric Blake  <eblake@redhat.com>
50127
50128         [BZ #12092]
50129         * string/str-two-way.h (two_way_long_needle): Always clear memory
50130         when skipping input due to the shift table.
50131
50132 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
50133
50134         [BZ #12005]
50135         * malloc/mcheck.c: Handle large requests.
50136
50137         [BZ #12077]
50138         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50139         for strncmp and strncasecmp.
50140         * string/stratcliff.c: Add tests for strcmp and strncmp.
50141         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50142
50143 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50144
50145         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50146         __set_fpscr.
50147
50148 2010-09-30  Andreas Jaeger  <aj@suse.de>
50149
50150         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50151         (CGROUP_SUPER_MAGIC): Define.
50152         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50153         Handle btrfs and cgroup file systems.
50154         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50155         Likewise.
50156
50157 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
50158
50159         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50160         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50161
50162 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50163
50164         [BZ #12067]
50165         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50166         trying to locate the ELF header.
50167
50168 2010-09-27  Andreas Schwab  <schwab@redhat.com>
50169
50170         [BZ #11611]
50171         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50172         Mask out sign-bit copies when constructing f_fsid.
50173
50174 2010-09-24  Petr Baudis <pasky@suse.cz>
50175
50176         * debug/stack_chk_fail_local.c: Add missing licence exception.
50177         * debug/warning-nop.c: Likewise.
50178
50179 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
50180
50181         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50182         implementing getdents64 using getdents syscall, set d_type if
50183         __ASSUME_GETDENTS32_D_TYPE.
50184
50185 2010-09-16  Andreas Schwab  <schwab@redhat.com>
50186
50187         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50188         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50189
50190 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
50191
50192         [BZ #12037]
50193         * posix/unistd.h: Undo change of feature selection for ftruncate from
50194         2010-01-11.
50195
50196 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
50197
50198         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50199         detection.
50200
50201 2010-09-20  Andreas Schwab  <schwab@redhat.com>
50202
50203         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50204         fanotify_mark.
50205         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50206
50207 2010-09-14  Andreas Schwab  <schwab@redhat.com>
50208
50209         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50210         variables after CHECK_SP call.
50211         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50212
50213 2010-09-13  Andreas Schwab  <schwab@redhat.com>
50214             Ulrich Drepper  <drepper@redhat.com>
50215
50216         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50217         re-relocationg ld.so.
50218         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50219         _dl_init_paths call.
50220         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
50221         here anymore.
50222
50223 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
50224
50225         * resolv/res_init.c (__res_vinit): Count the default server we added.
50226
50227 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
50228             Ulrich Drepper  <drepper@redhat.com>
50229
50230         [BZ #11968]
50231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50232         (____longjmp_chk): Use %ebx for saving value across system call.
50233         Add unwind info.
50234
50235 2010-09-06  Andreas Schwab  <schwab@redhat.com>
50236
50237         * manual/Makefile: Don't mix pattern rules with normal rules.
50238
50239 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50240
50241         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50242         operation.
50243         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50244         * libio/iofopncook.c (_IO_cookie_init): Likewise.
50245         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50246         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50247         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50248         Likewise.
50249
50250 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
50251
50252         [BZ #11979]
50253         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50254         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50255
50256 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
50257
50258         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50259         * sysdeps/x86_64/addmul_1.S: Likewise.
50260         * sysdeps/x86_64/lshift.S: Likewise.
50261         * sysdeps/x86_64/mul_1.S: Likewise.
50262         * sysdeps/x86_64/rshift.S: Likewise.
50263         * sysdeps/x86_64/sub_n.S: Likewise.
50264         * sysdeps/x86_64/submul_1.S: Likewise.
50265
50266 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50267
50268         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50269         Define __sched_param instead of SCHED_* and sched_param when
50270         <bits/sched.h> is included with __need_schedparam defined.
50271         * bits/sched.h [__need_schedparam]
50272         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50273         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50274         (__defined_schedparam): Define to 1.
50275         (__sched_param): New structure, identical to sched_param.
50276         (__need_schedparam): Undefine.
50277
50278 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
50279
50280         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50281         (epoll_create1): Declare.
50282
50283         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50284
50285 2010-08-31  Andreas Schwab  <schwab@redhat.com>
50286
50287         [BZ #7066]
50288         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50289         shifting retval into place.
50290
50291 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
50292
50293         * nis/rpcsvc/nis.h: Update copyright notice.
50294         * nis/rpcsvc/nis.x: Likewise.
50295         * nis/rpcsvc/nis_callback.h: Likewise.
50296         * nis/rpcsvc/nis_callback.x: Likewise.
50297         * nis/rpcsvc/nis_object.x: Likewise.
50298         * nis/rpcsvc/nis_tags.h: Likewise.
50299         * nis/rpcsvc/yp.h: Likewise.
50300         * nis/rpcsvc/yp.x: Likewise.
50301         * nis/rpcsvc/ypupd.h: Likewise.
50302         * nis/yp_xdr.c: Likewise.
50303         * nis/ypupdate_xdr.c: Likewise.
50304
50305         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
50306         mainly the body of pmap_getport.  Add parameters to specify timeouts.
50307         (pmap_getport): Use __libc_rpc_getport.
50308         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50309         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50310         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50311
50312 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
50313
50314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50315         fanotify_mark.
50316
50317 2010-08-27  Roland McGrath  <roland@redhat.com>
50318
50319         * sysdeps/i386/i686/multiarch/Makefile
50320         (CFLAGS-varshift.c): New variable.
50321
50322 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
50323
50324         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50325         * sysdeps/i386/i686/multiarch/varshift.c: New file.
50326
50327         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50328
50329         * sysdeps/x86_64/strlen.S: Minimal code improvement.
50330
50331 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
50332
50333         * sysdeps/x86_64/strlen.S: Unroll the loop.
50334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50335         strlen-sse2 strlen-sse2-bsf.
50336         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50337         __strlen_no_bsf if bit_Slow_BSF is set.
50338         (__strlen_sse42): Removed.
50339         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50340         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50341
50342 2010-08-25  Roland McGrath  <roland@redhat.com>
50343
50344         * sysdeps/x86_64/multiarch/varshift.S: File removed.
50345         * sysdeps/x86_64/multiarch/varshift.c: New file.
50346         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50347         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50348         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50349         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50350
50351 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
50352
50353         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50354         strlen-sse2 strlen-sse2-bsf.
50355         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50356         __strlen_sse2_bsf if bit_Slow_BSF is unset.
50357         (__strlen_sse2): Removed.
50358         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50359         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50360         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50361         bit_Slow_BSF for Atom.
50362         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50363         (index_Slow_BSF): Define.
50364         (HAS_SLOW_BSF): Define.
50365
50366 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
50367
50368         [BZ #10851]
50369         * resolv/res_init.c (__res_vinit): When no server address at all
50370         is given default to loopback.
50371
50372 2010-08-24  Roland McGrath  <roland@redhat.com>
50373
50374         * configure.in: Remove config-name.h generation.
50375         * configure: Regenerated.
50376         * config-name.in: File removed.
50377         * scripts/config-uname.sh: New file.
50378         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50379         ($(objdir)config-name.h): New target.
50380
50381         * sunrpc/rpc_parse.h: Avoid nested comment.
50382
50383 2010-08-24  Richard Henderson  <rth@redhat.com>
50384             Ulrich Drepper  <drepper@redhat.com>
50385             H.J. Lu  <hongjiu.lu@intel.com>
50386
50387         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50388         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50389         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50390         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
50391         _mm_alignr_epi8 with _mm_loadu_si128.
50392         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50393         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50394         (__m128i_shift_right): Removed.
50395         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50396         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50397         * sysdeps/x86_64/multiarch/varshift.h: New file.
50398         * sysdeps/x86_64/multiarch/varshift.S: New file.
50399
50400 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50401
50402         * configure.in: Move assembler checks to before sysdep dir checking.
50403
50404 2010-08-20  Petr Baudis  <pasky@suse.cz>
50405
50406         * LICENSES: Sync the sunrpc license.
50407
50408 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50409
50410         * sunrpc/auth_des.c: Update copyright notice once again.
50411         * sunrpc/auth_none.c: Likewise.
50412         * sunrpc/auth_unix.c: Likewise.
50413         * sunrpc/authdes_prot.c: Likewise.
50414         * sunrpc/authuxprot.c: Likewise.
50415         * sunrpc/bindrsvprt.c: Likewise.
50416         * sunrpc/clnt_gen.c: Likewise.
50417         * sunrpc/clnt_perr.c: Likewise.
50418         * sunrpc/clnt_raw.c: Likewise.
50419         * sunrpc/clnt_simp.c: Likewise.
50420         * sunrpc/clnt_tcp.c: Likewise.
50421         * sunrpc/clnt_udp.c: Likewise.
50422         * sunrpc/clnt_unix.c: Likewise.
50423         * sunrpc/des_crypt.c: Likewise.
50424         * sunrpc/des_soft.c: Likewise.
50425         * sunrpc/get_myaddr.c: Likewise.
50426         * sunrpc/getrpcport.c: Likewise.
50427         * sunrpc/key_call.c: Likewise.
50428         * sunrpc/key_prot.c: Likewise.
50429         * sunrpc/openchild.c: Likewise.
50430         * sunrpc/pm_getmaps.c: Likewise.
50431         * sunrpc/pm_getport.c: Likewise.
50432         * sunrpc/pmap_clnt.c: Likewise.
50433         * sunrpc/pmap_prot.c: Likewise.
50434         * sunrpc/pmap_prot2.c: Likewise.
50435         * sunrpc/pmap_rmt.c: Likewise.
50436         * sunrpc/rpc/auth.h: Likewise.
50437         * sunrpc/rpc/auth_unix.h: Likewise.
50438         * sunrpc/rpc/clnt.h: Likewise.
50439         * sunrpc/rpc/des_crypt.h: Likewise.
50440         * sunrpc/rpc/key_prot.h: Likewise.
50441         * sunrpc/rpc/netdb.h: Likewise.
50442         * sunrpc/rpc/pmap_clnt.h: Likewise.
50443         * sunrpc/rpc/pmap_prot.h: Likewise.
50444         * sunrpc/rpc/pmap_rmt.h: Likewise.
50445         * sunrpc/rpc/rpc.h: Likewise.
50446         * sunrpc/rpc/rpc_des.h: Likewise.
50447         * sunrpc/rpc/rpc_msg.h: Likewise.
50448         * sunrpc/rpc/svc.h: Likewise.
50449         * sunrpc/rpc/svc_auth.h: Likewise.
50450         * sunrpc/rpc/types.h: Likewise.
50451         * sunrpc/rpc/xdr.h: Likewise.
50452         * sunrpc/rpc_clntout.c: Likewise.
50453         * sunrpc/rpc_cmsg.c: Likewise.
50454         * sunrpc/rpc_common.c: Likewise.
50455         * sunrpc/rpc_cout.c: Likewise.
50456         * sunrpc/rpc_dtable.c: Likewise.
50457         * sunrpc/rpc_hout.c: Likewise.
50458         * sunrpc/rpc_main.c: Likewise.
50459         * sunrpc/rpc_parse.c: Likewise.
50460         * sunrpc/rpc_parse.h: Likewise.
50461         * sunrpc/rpc_prot.c: Likewise.
50462         * sunrpc/rpc_sample.c: Likewise.
50463         * sunrpc/rpc_scan.c: Likewise.
50464         * sunrpc/rpc_scan.h: Likewise.
50465         * sunrpc/rpc_svcout.c: Likewise.
50466         * sunrpc/rpc_tblout.c: Likewise.
50467         * sunrpc/rpc_util.c: Likewise.
50468         * sunrpc/rpc_util.h: Likewise.
50469         * sunrpc/rpcinfo.c: Likewise.
50470         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50471         * sunrpc/rpcsvc/key_prot.x: Likewise.
50472         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50473         * sunrpc/rpcsvc/mount.x: Likewise.
50474         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50475         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50476         * sunrpc/rpcsvc/rex.x: Likewise.
50477         * sunrpc/rpcsvc/rstat.x: Likewise.
50478         * sunrpc/rpcsvc/rusers.x: Likewise.
50479         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50480         * sunrpc/rpcsvc/spray.x: Likewise.
50481         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50482         * sunrpc/rtime.c: Likewise.
50483         * sunrpc/svc.c: Likewise.
50484         * sunrpc/svc_auth.c: Likewise.
50485         * sunrpc/svc_authux.c: Likewise.
50486         * sunrpc/svc_raw.c: Likewise.
50487         * sunrpc/svc_run.c: Likewise.
50488         * sunrpc/svc_simple.c: Likewise.
50489         * sunrpc/svc_tcp.c: Likewise.
50490         * sunrpc/svc_udp.c: Likewise.
50491         * sunrpc/svc_unix.c: Likewise.
50492         * sunrpc/svcauth_des.c: Likewise.
50493         * sunrpc/xcrypt.c: Likewise.
50494         * sunrpc/xdr.c: Likewise.
50495         * sunrpc/xdr_array.c: Likewise.
50496         * sunrpc/xdr_float.c: Likewise.
50497         * sunrpc/xdr_mem.c: Likewise.
50498         * sunrpc/xdr_rec.c: Likewise.
50499         * sunrpc/xdr_ref.c: Likewise.
50500         * sunrpc/xdr_sizeof.c: Likewise.
50501         * sunrpc/xdr_stdio.c: Likewise.
50502
50503         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50504         handling.
50505
50506 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50507
50508         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50509
50510 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50511
50512         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50513         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50514         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50515         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50516         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50517         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50518         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50519         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50520         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50521         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50522         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50523         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50524         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50525         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50526
50527 2010-07-26  Anton Blanchard  <anton@samba.org>
50528
50529         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50530         * malloc/arena.c (heap_trim): Likewise.
50531
50532 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50533
50534         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50535         here.  Not...
50536         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50537         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50538
50539 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50540
50541         * sysdeps/i386/elf/Makefile: New file.
50542
50543 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50544
50545         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50546         from fanotify_init.
50547         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50548         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50549
50550 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50551
50552         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50553         of strncasecmp_l.
50554         * sysdeps/multiarch/strcmp.S: Likewise.
50555
50556 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50557
50558         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50559         strncase_l-nonascii.
50560         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50561         Add strncase_l-ssse3.
50562         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50563         * sysdeps/x86_64/strcmp.S: Likewise.
50564         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50565         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50566         * sysdeps/x86_64/strncase.S: New file.
50567         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50568         * sysdeps/x86_64/strncase_l.S: New file.
50569         * string/Makefile (strop-tests): Add strncasecmp.
50570         * string/test-strncasecmp.c: New file.
50571
50572         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50573         warning.
50574
50575         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50576         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50577
50578 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50579
50580         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50581
50582 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50583
50584         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50585         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50586         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50587
50588 2010-05-01  Alan Modra  <amodra@gmail.com>
50589
50590         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50591         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50592         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50593         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50594         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50595         tidying.  Don't tail-call __sigjmp_save for static lib.
50596         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50597         save location.
50598         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50599         (CALL_MCOUNT): Add eh info, and nop after bl.
50600         (TAIL_CALL_SYSCALL_ERROR): New macro.
50601         (PSEUDO_RET): Use it.
50602         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50603         Correct save location of integer regs and cr.
50604         (_dl_profile_resolve): Correct cr save location.  Delete nops
50605         after bl when SHARED.  Reduce cfi size a little by better
50606         placement of cfi directives.
50607         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50608         make a stack frame.  Instead use parm save area as a temp.
50609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50610         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50612         Don't make a stack frame for parent, use parm save area.
50613         Increase child stack frame to 112 bytes.  Don't save unused reg,
50614         and adjust reg usage.  Set up cfi on error recovery and
50615         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50617         (__makecontext): Add dummy nop after jump to exit.
50618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50619         Use correct parm save area and cr save, reduce stack frame.
50620         Correct cfi for possible PSEUDO_RET frame setup.
50621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50622         Branch to local label emitted by PSEUDO_RET rather than
50623         __syscall_error.
50624
50625 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50626
50627         [BZ #11904]
50628         * locale/programs/locale.c (print_assignment): New function.
50629         (show_locale_vars): Use it.
50630
50631 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50632
50633         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50634         field.
50635         (struct statfs64): Likewise.
50636         (_STATFS_F_FLAGS): Define.
50637         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50638         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50639         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50640         (ST_VALID): Define locally.
50641         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50642         __statvfs_getflags, use the provided value.
50643         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50644         __ASSUME_STATFS_F_FLAGS.
50645
50646         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50647
50648         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50649         Add sys/fanotify.h.
50650         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50651         fanotify_mask for GLIBC_2.13.
50652         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50653         fanotify_init and fanotify_mark.
50654         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50655         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50656
50657         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50658         Add prlimit.
50659         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50660         prlimit64 for GLIBC_2.13.
50661         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50662         prlimit64.
50663         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50664         syscall.
50665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50666         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50667         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50668         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50669         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50670         add prlimit alias.
50671         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50672
50673         [BZ #11903]
50674         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50675         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50676
50677         * nss/Makefile: Add rules to build and run tst-nss-test1.
50678         * shlib-versions: Add entry for libnss_test1.
50679         * nss/nss_test1.c: New file.
50680         * nss/tst-nss-test1.c: New file.
50681
50682         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50683         (__nss_configure_lookup): Set appropriate entry in
50684         __nss_configure_lookup to true.
50685         * nss/nsswitch.h: Define enum with indeces of databases in
50686         databases and __nss_database_custom arrays.  Declare
50687         __nss_database_custom.
50688         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50689         to avoid using nscd when custom rules are installed.
50690         * nss/getXXbyYY_r.c: Likewise.
50691         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50692
50693         * nss/nss_files/files-parse.c: Whitespace fixes.
50694
50695 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50696
50697         [BZ #11883]
50698         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50699         * posix/fnmatch_loop.c: Likewise.
50700
50701 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50702
50703         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50704         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50705         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50706         * Versions.def [GLIBC_2.13]: Add.
50707
50708 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50709
50710         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50711         Also fail if tpwd after pwuid call is NULL.
50712
50713 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50714
50715         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50716         when converting to ms.
50717
50718 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50719
50720         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50721         EOPNOTSUPP errors with ENOTTY.
50722         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50723         EOPNOTSUPP errors with ENOTTY.
50724
50725 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50726
50727         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50728         Add strcasecmp_l-ssse3.
50729         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50730         strcasecmp.
50731         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50732         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50733         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50734
50735 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50736
50737         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50738
50739         * string/Makefile (strop-tests): Add strcasecmp.
50740         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50741         strcasecmp_l-nonascii.
50742         (gen-as-const-headers): Add locale-defines.sym.
50743         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50744         * sysdeps/x86_64/strcasecmp.S: New file.
50745         * sysdeps/x86_64/strcasecmp_l.S: New file.
50746         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50747         * sysdeps/x86_64/locale-defines.sym: New file.
50748         * string/test-strcasecmp.c: New file.
50749
50750         * string/test-strcasestr.c: Test both ends of the range of characters.
50751         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50752
50753 2010-07-29  Roland McGrath  <roland@redhat.com>
50754
50755         [BZ #11856]
50756         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50757
50758 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50759
50760         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50761         for ld.so.
50762
50763 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50764
50765         * manual/memory.texi (Malloc Tunable Parameters): Document
50766         M_PERTURB.
50767
50768 2010-07-26  Roland McGrath  <roland@redhat.com>
50769
50770         [BZ #11840]
50771         * configure.in (-fgnu89-inline check): Set and substitute
50772         gnu89_inline, not libc_cv_gnu89_inline.
50773         * configure: Regenerated.
50774         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50775
50776 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50777
50778         * string/test-strnlen.c: New file.
50779         * string/Makefile (strop-tests): Add strnlen.
50780         * string/tester.c (test_strnlen): Add a few more test cases.
50781         * string/tst-strlen.c: Better error reporting.
50782
50783         * sysdeps/x86_64/strnlen.S: New file.
50784
50785 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50786
50787         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50788         lower-latency instructions.
50789
50790 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50791
50792         * string/test-strcasestr.c: New file.
50793         * string/test-strstr.c: New file.
50794         * string/Makefile (strop-tests): Add strstr and strcasestr.
50795         * string/str-two-way.h: Don't undefine MAX.
50796         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50797
50798 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50799
50800         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50801         strcasestr-nonascii.
50802         (CFLAGS-strcasestr-nonascii.c): Define.
50803         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50804         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50805         Remove unused attribute.
50806
50807 2010-07-20  Roland McGrath  <roland@redhat.com>
50808
50809         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50810         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50811         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50812         like LD_HWCAP_MASK can disable hwcaps.
50813
50814 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50815
50816         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50817
50818 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50819
50820         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50821         call in strcasestr.
50822         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50823         __strcasestr_sse42_nonascii.
50824         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50825         strcasestr-nonascii.c.
50826         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50827
50828 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50829
50830         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50831         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50832         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50833         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50834
50835 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50836
50837         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50838         fcntl.
50839
50840 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50841
50842         [BZ #11577]
50843         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50844         dl_signal_cerror.
50845
50846 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50847
50848         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50849         _PC_PIPE_BUF using F_GETPIPE_SZ.
50850
50851 2010-07-05  Roland McGrath  <roland@redhat.com>
50852
50853         * manual/arith.texi (Rounding Functions): Fix rint description
50854         implicit in round description.
50855
50856 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50857
50858         * elf/Makefile: Fix linking for a few tests to make recent linker
50859         happy.
50860
50861 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50862
50863         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50864         $(common-objpfx)libc_nonshared.a.
50865
50866 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50867
50868         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50869         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50870         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50871         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50872         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50873         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50874         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50875         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50890         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50891         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50892         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50893         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50894         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50895         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50896         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50897         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50898         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50899         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50900         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50901         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50916
50917 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50918
50919         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50920         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50921         * string/memmove.c (memmove): Renamed to ...
50922         (MEMMOVE): ...this.  Default to memmove.
50923         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50924         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50925         (END_CHK): Define.
50926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50927         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50928         mempcpy-ssse3-back memmove-ssse3-back.
50929         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50930         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50931         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50932         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50933         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50934         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50935         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50936         * sysdeps/x86_64/multiarch/memmove.c: New file.
50937         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50938         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50939         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50940         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50941         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50942         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50943         Define.
50944         (index_Fast_Copy_Backward): Define.
50945         (HAS_ARCH_FEATURE): Define.
50946         (HAS_FAST_REP_STRING): Define.
50947         (HAS_FAST_COPY_BACKWARD): Define.
50948
50949 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50950
50951         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50952         Restore proper fallback handling.
50953
50954 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50955
50956         [BZ #11701]
50957         * posix/group_member.c (__group_member): Correct checking loop.
50958
50959         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50960         OOM in getpwuid_r correctly.  Return error number when the caller
50961         should return, otherwise -1.
50962         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50963         call returning > 0 value.
50964         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50965
50966 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50967
50968         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50969         libc_nonshared.a from targets in modules-names.
50970
50971 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50972
50973         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50974         requires it.
50975
50976 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50977
50978         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50979         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50980         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50981         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50982
50983 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50984
50985         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50986
50987 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50988
50989         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50990         and F_GETPIPE_SZ.
50991         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50992         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50994         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50995         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50996         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50997
50998 2010-06-14  Roland McGrath  <roland@redhat.com>
50999
51000         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51001
51002 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
51003
51004         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51005         __REDIRECT followed by __THROW.
51006         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51007         * posix/getopt.h (getopt): Likewise.
51008
51009 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
51010
51011         * hurd/lookup-at.c (__file_name_lookup_at): Accept
51012         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
51013         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51014         in AT_FLAGS.
51015         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51016         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51017
51018 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
51019
51020         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51021
51022 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
51023
51024         [BZ #11640]
51025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51026         Properly check family and model.
51027
51028 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
51029
51030         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51031
51032 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
51033
51034         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51035
51036 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
51037
51038         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51039         symbol reference.
51040
51041 2010-05-19  Andreas Schwab  <schwab@redhat.com>
51042
51043         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51044         symbol reference.
51045
51046 2010-05-21  Andreas Schwab  <schwab@redhat.com>
51047
51048         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51049         and internal_recvmmsg.
51050         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51051         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51052         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51053         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51054
51055         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51056         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51057         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51058
51059 2010-05-20  Andreas Schwab  <schwab@redhat.com>
51060
51061         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51062
51063 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
51064
51065         POWER7 optimizations.
51066         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51067         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51068
51069 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
51070
51071         * version.h: Update for 2.13 development version.
51072
51073 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
51074
51075         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51076         exceptions.  Return 0.
51077
51078 2010-05-07  Roland McGrath  <roland@redhat.com>
51079
51080         * elf/ldconfig.c (main): Add a const.
51081
51082 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
51083
51084         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51085         (args_options): Add no-idn option.
51086         (ahosts_keys_int): Add idn_flags to ai_flags.
51087         (parse_option): Handle 'i' option to clear idn_flags.
51088
51089         * malloc/malloc.c (_int_free): Possible race in the most recently
51090         added check.  Only act on the data if no current modification
51091         happened.
51092
51093 See ChangeLog.17 for earlier changes.