pthread_once: Clean up constants.
[glibc.git] / ChangeLog
blob8e3373cc0647dce85c2e6e015b50df75582241d8
1 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3         [BZ #15215]
4         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5         __PTHREAD_ONCE_FORK_GEN_INCR): New.
6         * sysdeps/nptl/fork.c (__libc_fork): Use them.
7         * nptl/pthread_once.c (__pthread_once): Likewise.
8         Update comments.
10 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12         [BZ #14138]
13         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14         name.
15         (writev): Use __libc_writev as strong name.
16         * sysdeps/unix/sysv/linux/readv.c: Remove file.
17         * sysdeps/unix/sysv/linux/writev.c: Likewise.
19 2014-10-17  Roland McGrath  <roland@hack.frob.com>
21         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
23         * sysdeps/i386/nptl/tls.h
24         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
25         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
26         New macros.
27         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
36         on [__NR_futex].
37         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38         broken out of ...
39         (__pthread_mutex_init): ... here.  Call it.
40         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
41         Conditionalize PI cases on [__NR_futex].
42         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
44         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
46         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
47         conditional on [SIGSETXID].
48         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
49         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
50         is defined.  Likewise for SIGSETXID.
51         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
52         Conditionalize definitions on [SIGSETXID].
53         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
54         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
55         unblocking on [SIGCANCEL].
57         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
58         [__NR_set_robust_list].
60 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62         * string/strcoll_l.c (get_next_seq): Fix up formatting.
63         (do_compare): Likewise.
65 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
67         [BZ #15884]
68         * string/strcoll_l.c: Don't include stdio.h.
69         (coll_seq): Remove members idxarr and rulearr.
70         (get_next_seq_cached): Remove function.
71         (get_next_seq): Likewise.
72         (get_next_seq_nocache): Rename to get_next_seq.
73         (do_compare): Remove function.
74         (do_compare_nocache): Rename to do_compare.
75         (STRCOLL): Remove weight and rules cache.
77 2014-10-16  Roland McGrath  <roland@hack.frob.com>
79         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
80         * sysdeps/arm/sfp-machine.h: ... to here.
81         * sysdeps/arm/Implies: Remove arm/soft-fp.
83 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
85         * conform/data/sys/utsname.h-data (*_t): Allow.
86         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
87         [POSIX] (WEXITED): Do not expect constant.
88         [POSIX] (WSTOPPED): Likewise.
89         [POSIX] (WNOHANG): Likewise.
90         [POSIX] (WNOWAIT): Likewise.
91         [POSIX] (siginfo_t): Do not expect type or elements.
92         [POSIX] (pid_t): Do not expect type.
93         [POSIX] (signal.h): Do not allow header.
94         [POSIX] (sys/resource.h): Likewise.
95         [POSIX] (si_*): Do not allow pattern.
96         [POSIX] (W*): Likewise.
97         [POSIX] (P_*): Likewise.
98         [POSIX] (BUS_*): Likewise.
99         [POSIX] (CLD_*): Likewise.
100         [POSIX] (FPE_*): Likewise.
101         [POSIX] (ILL_*): Likewise.
102         [POSIX] (POLL_*): Likewise.
103         [POSIX] (SEGV_*): Likewise.
104         [POSIX] (SI_*): Likewise.
105         [POSIX] (TRAP_*): Likewise.
106         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
107         variable.
109 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
111         [BZ #12926]
112         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
113         infinite loop when __recvmsg returns 0.
115 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
117         * CANCEL-FCT-WAIVE: Remove file.
118         * CANCEL-FILE-WAIVE: Likewise.
120         [BZ #14132]
121         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
122         instead of INTVARDEF.
123         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
124         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
125         rtld_hidden_data_def instead of INTVARDEF.
126         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
127         * elf/dl-deps.c (expand_dst): Likewise.
128         * elf/dl-load.c (_dl_dst_count): Likewise.
129         (_dl_dst_substitute): Likewise.
130         (decompose_rpath): Likewise.
131         (_dl_init_paths): Likewise.
132         (open_path): Likewise.
133         (_dl_map_object): Likewise.
134         * elf/rtld.c (dl_main): Likewise.
135         (process_dl_audit): Likewise.
136         (process_envvars): Likewise.
137         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
138         Remove declaration.
139         (__libc_enable_secure): Use rtld_hidden_proto.
141 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
143         * elf/dl-load.c
144         (add_path): New function broken out of _dl_rtld_di_serinfo.
145         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
147 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
149         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
150         parentheses around macro arguments.
151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
153         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
154         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
155         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
156         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
157         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
158         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
159         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
160         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
162         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
163         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
164         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
165         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
166         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
167         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
168         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
170         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
171         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
180         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
181         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
182         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
184         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
185         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
186         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
187         Likewise.
188         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
190         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
191         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
192         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
195         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
196         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
197         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
198         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
199         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
200         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
208         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
209         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
210         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
211         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
212         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
213         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
214         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
215         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
216         (_FP_FRAC_SRS_1): Likewise.
217         (_FP_FRAC_CLZ_1): Likewise.
218         (_FP_MUL_MEAT_1_imm): Likewise.
219         (_FP_MUL_MEAT_1_wide): Likewise.
220         (_FP_MUL_MEAT_1_hard): Likewise.
221         (_FP_SQRT_MEAT_1): Likewise.
222         (_FP_FRAC_ASSEMBLE_1): Likewise.
223         (_FP_FRAC_DISASSEMBLE_1): Likewise.
224         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
225         (__FP_CLZ_2): Likewise.
226         (_FP_MUL_MEAT_2_wide): Likewise.
227         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
228         (_FP_MUL_MEAT_2_gmp): Likewise.
229         (_FP_MUL_MEAT_2_120_240_double): Likewise.
230         (_FP_SQRT_MEAT_2): Likewise.
231         (_FP_FRAC_ASSEMBLE_2): Likewise.
232         (_FP_FRAC_DISASSEMBLE_2): Likewise.
233         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
234         (_FP_FRAC_CLZ_4): Likewise.
235         (_FP_MUL_MEAT_4_wide): Likewise.
236         (_FP_MUL_MEAT_4_gmp): Likewise.
237         (_FP_SQRT_MEAT_4): Likewise.
238         (_FP_FRAC_ASSEMBLE_4): Likewise.
239         (_FP_FRAC_DISASSEMBLE_4): Likewise.
240         * soft-fp/op-common.h (_FP_CMP): Likewise.
241         (_FP_CMP_EQ): Likewise.
242         (_FP_CMP_UNORD): Likewise.
243         (_FP_TO_INT): Likewise.
244         (_FP_FROM_INT): Likewise.
245         [!__FP_CLZ] (__FP_CLZ): Likewise.
246         (_FP_DIV_HELP_imm): Likewise.
247         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
248         Likewise.
249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
250         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
251         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
252         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
253         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
254         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
255         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
256         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
257         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
260         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
261         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
262         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
263         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
264         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
265         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
268         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
269         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
278         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
279         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
280         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
281         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
282         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
283         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
284         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
285         (FP_UNPACK_RAW_SP): Likewise.
286         (FP_PACK_RAW_S): Likewise.
287         (FP_PACK_RAW_SP): Likewise.
288         (FP_UNPACK_S): Likewise.
289         (FP_UNPACK_SP): Likewise.
290         (FP_UNPACK_SEMIRAW_S): Likewise.
291         (FP_UNPACK_SEMIRAW_SP): Likewise.
292         (FP_PACK_S): Likewise.
293         (FP_PACK_SP): Likewise.
294         (FP_PACK_SEMIRAW_S): Likewise.
295         (FP_PACK_SEMIRAW_SP): Likewise.
296         (_FP_SQRT_MEAT_S): Likewise.
297         (FP_CMP_S): Likewise.
298         (FP_CMP_EQ_S): Likewise.
299         (FP_CMP_UNORD_S): Likewise.
300         (FP_TO_INT_S): Likewise.
301         (FP_FROM_INT_S): Likewise.
303         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
305         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
306         (FP_EX_INVALID_IMZ): Likewise.
307         (FP_EX_INVALID_IMZ_FMA): Likewise.
308         (FP_EX_INVALID_ISI): Likewise.
309         (FP_EX_INVALID_ZDZ): Likewise.
310         (FP_EX_INVALID_IDI): Likewise.
311         (FP_EX_INVALID_SQRT): Likewise.
312         (FP_EX_INVALID_CVI): Likewise.
313         (FP_EX_INVALID_VC): Likewise.
314         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
315         "invalid" exceptions.
316         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
317         (_FP_ADD_INTERNAL): Likewise.
318         (_FP_MUL): Likewise.
319         (_FP_FMA): Likewise.
320         (_FP_DIV): Likewise.
321         (_FP_CMP_CHECK_NAN): Likewise.
322         (_FP_SQRT): Likewise.
323         (_FP_TO_INT): Likewise.
324         (FP_EXTEND): Likewise.
326 2014-10-09  Allan McRae  <allan@archlinux.org>
328         * po/fr.po: Update French translation from translation project.
330 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
332         [BZ #14132]
333         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
334         of INTDEF.
335         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
336         (__cxa_atexit): Use libc_hidden_proto.
337         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
339         [BZ #14132]
340         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
341         declaration.
342         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
343         [!_ISOMAC] (__iswspace_l_internal): Likewise.
344         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
345         [!_ISOMAC] (__iswctype_internal): Likewise.
346         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
347         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
348         alias.
349         (fcntl): Remove __fcntl_internal alias.
350         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
351         __connect_internal alias.
352         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
353         Likewise.
355         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
356         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
357         FP_DENORM_ZERO.
358         (_FP_CHECK_FLUSH_ZERO): New macro.
359         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
360         (_FP_CMP): Likewise.
361         (_FP_CMP_EQ): Likewise.
362         (_FP_TO_INT): Do not set inexact for subnormal arguments if
363         FP_DENORM_ZERO.
364         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
365         (FP_TRUNC): Likewise.
367         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
368         treated as invalid conversion, not as normal exponent.
370         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
371         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
372         (_FP_CMP_EQ): Likewise.
373         (_FP_CMP_UNORD): Likewise.
374         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
375         (FP_CMP_EQ_D): Likewise.
376         (FP_CMP_UNORD_D): Likewise.
377         * soft-fp/extended.h (FP_CMP_E): Likewise.
378         (FP_CMP_EQ_E): Likewise.
379         (FP_CMP_UNORD_E): Likewise.
380         * soft-fp/quad.h (FP_CMP_Q): Likewise.
381         (FP_CMP_EQ_Q): Likewise.
382         (FP_CMP_UNORD_Q): Likewise.
383         * soft-fp/single.h (FP_CMP_S): Likewise.
384         (FP_CMP_EQ_S): Likewise.
385         (FP_CMP_UNORD_S): Likewise.
386         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
387         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
388         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
389         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
390         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
391         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
392         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
393         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
394         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
395         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
396         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
397         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
398         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
399         to FP_CMP_Q.
400         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
401         FP_CMP_Q.
402         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
403         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
404         FP_CMP_EQ_Q.
405         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
406         FP_CMP_Q.
407         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
408         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
409         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
410         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
411         FP_CMP_EQ_Q.
412         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
413         FP_CMP_Q.
414         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
415         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
416         FP_CMP_EQ_Q.
417         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
418         FP_CMP_Q.
419         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
420         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
421         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
422         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
423         FP_CMP_EQ_Q.
425         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
426         a subnormal result, set the underflow exception if trapping on
427         underflow is enabled.
428         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
429         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
430         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
431         redefine to 0.
432         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
433         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
434         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
435         * soft-fp/extendxftf2.c (__extendxftf2): Use
436         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
438         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
439         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
440         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
441         FP_HANDLE_EXCEPTIONS.
442         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
443         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
444         FP_HANDLE_EXCEPTIONS.
445         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
446         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
447         FP_HANDLE_EXCEPTIONS.
448         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
449         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
450         FP_HANDLE_EXCEPTIONS.
452 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
454         [BZ #14132]
455         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
456         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
457         use INTUSE.
458         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
459         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
460         Remove alias.
461         (__adjtimex): Define using libc_hidden_ver.
462         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
463         Remove declaration.
464         (ntp_gettime): Call __adjtimex directly.
465         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
466         Remove declaration.
467         (ntp_gettimex): Call __adjtimex directly.
468         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
469         __adjtimex_internal alias.
471 2014-10-08  Roland McGrath  <roland@hack.frob.com>
473         [BZ #17460]
474         * nscd/nscd.c (more_help): Rewrite list of tables collection
475         using xstrdup and asprintf.
477         * nscd/nscd_conf.c: Remove local xstrdup declaration.
479 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
480             Roland McGrath  <roland@hack.frob.com>
482         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
483         (do_lookup_unique): ... local function 'enter' here; update callers.
485 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
487         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
488         compat_symbol calls on [SHARED].
489         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
490         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
491         Remove.
492         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
493         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
494         (oldsetrlimit): Remove.
495         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
497         (lchown): New syscall entry.
498         (oldsetrlimit): Remove.
499         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
500         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
501         (oldsetrlimit): Remove.
502         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
504         [BZ #14138]
505         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
506         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
507         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
508         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
509         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
510         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
511         (fchown): Likewise.
512         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
513         (fchown): Likewise.
514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
515         Likewise.
517 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
519         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
520         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
521         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
522         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
523         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
524         Likewise.
525         (__old_sem_post): Likewise.
527 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
529         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
530         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
531         HAVE_CLOCK_GETTIME_VSYSCALL macros.
532         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
533         Use INLINE_VSYSCALL macro.
534         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
535         __vdso_clock_gettime.
536         * sysdeps/unix/sysv/linux/tile/init-first.c
537         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
538         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
539         __vdso_clock_gettime.
541         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
542         to set up frame more cleanly.
544         * sysdeps/tile/memcmp.c: New file.
546         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
548         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
549         * sysdeps/tile/tilegx/strcasestr.c: New file.
550         * sysdeps/tile/tilegx/strnlen.c: New file.
551         * sysdeps/tile/tilegx/strstr.c: New file.
553         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
555 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
557         * nptl/tst-setuid3.c: Write errors to stdout.
559 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
561         * elf/dl-deps.c
562         (preload): New functions broken out of _dl_map_object_deps.
563         (_dl_map_object_deps):  Remove a nested function. Update call sites.
565 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
567         [BZ #14138]
568         * sysdeps/unix/sysv/linux/execve.c: Remove file.
569         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
571 2014-10-01  Steve Ellcey  <sellcey@mips.com>
573         * sysdeps/mips/strcmp.S: New.
575 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
577         [BZ #14138]
578         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
579         (linkat): Likewise.
580         (mkdirat): Likewise.
581         (readlinkat): Likewise.
582         (renameat): Likewise.
583         (symlinkat): Likewise.
584         (unlinkat): Likewise.
585         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
586         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
587         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
588         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
589         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
590         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
591         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
593 2014-09-30  Will Newton  <will.newton@linaro.org>
595         * math/math.h: Define long double math functions if
596         _LIBC_TEST is defined.
597         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
599         * localedata/Makefile: Move assignment to tests-special
600         into an ifdef testing run-built-tests.
601         * timezone/Makefile: Likewise.
603 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
605         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
606         with $(BASH) not $(SHELL).
608 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
609             Matthew LeGendre  <legendre1@llnl.gov>
611         [BZ #17411]
612         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
613         l_reloc_result.
615 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
617         * stdio-common/printf_fp.c
618         (hack_digit): New function, broken out of ...
619         (__printf_fp): ... local function here.  Update call sites.
620         hack_digit now takes an additional parameter that is a pointer
621         to a struct of the referenced locals.  Those locals moved inside
622         the struct and references updated.
624 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
626         * aclocal.m4: Require autoconf 2.69.
627         * configure: Regenerated.
628         * sysdeps/aarch64/configure: Likewise.
629         * sysdeps/alpha/configure: Likewise.
630         * sysdeps/arm/armv7/configure: Likewise.
631         * sysdeps/arm/configure: Likewise.
632         * sysdeps/ia64/configure: Likewise.
633         * sysdeps/mach/configure: Likewise.
634         * sysdeps/mips/configure: Likewise.
635         * sysdeps/s390/configure: Likewise.
636         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
639         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
640         file.
641         * sysdeps/ia64/configure.ac: Likewise.
643 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
646         specify symbol version for ld.so.  Do not include entry for
647         libpthread.
648         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
649         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
650         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
652         [BZ #14171]
653         * Makeconfig [$(build-shared) = yes]
654         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
655         makefiles.
656         [$(build-shared) = yes && $(soversions.mk-done) = t]
657         ($(common-objpfx)gnu/lib-names.h): Remove rule.
658         [$(build-shared) = yes && $(soversions.mk-done) = t]
659         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
660         to Makerules.
661         [$(build-shared) = yes && $(soversions.mk-done) = t]
662         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
663         here.
664         [$(build-shared) = yes && $(soversions.mk-done) = t]
665         (common-generated): Don't append gnu/lib-names.h and
666         gnu/lib-names.stmp here.
667         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
668         (lib-names-h-abi): New variable.
669         [$(build-shared) = yes && $(soversions.mk-done) = t]
670         (lib-names-stmp-abi): Likewise.
671         [$(build-shared) = yes && $(soversions.mk-done) = t &&
672         abi-variants] (before-compile): Append
673         $(common-objpfx)$(lib-names-h-abi).
674         [$(build-shared) = yes && $(soversions.mk-done) = t &&
675         abi-variants] (common-generated): Append gnu/lib-names.h.
676         [$(build-shared) = yes && $(soversions.mk-done) = t &&
677         abi-variants] (install-others-nosubdir): Depend on
678         $(inst_includedir)/$(lib-names-h-abi).
679         [$(build-shared) = yes && $(soversions.mk-done) = t &&
680         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
681         [$(build-shared) = yes && $(soversions.mk-done) = t]
682         ($(common-objpfx)$(lib-names-h-abi)): New rule.
683         [$(build-shared) = yes && $(soversions.mk-done) = t]
684         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
685         [$(build-shared) = yes && $(soversions.mk-done) = t]
686         (common-generated): Append $(lib-names-h-abi) and
687         $(lib-names-stmp-abi).
688         * scripts/lib-names.awk: Do not handle multi being set.
689         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
690         Remove variable.
691         (abi-lp64_be-ld-soname): Likewise.
692         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
693         Likewise.
694         (abi-hard-ld-soname): Likewise.
695         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
696         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
697         Remove variable.
698         (abi-o32_hard-ld-soname): Likewise.
699         (abi-o32_soft_2008-ld-soname): Likewise.
700         (abi-o32_hard_2008-ld-soname): Likewise.
701         (abi-n32_soft-ld-soname): Likewise.
702         (abi-n32_hard-ld-soname): Likewise.
703         (abi-n32_soft_2008-ld-soname): Likewise.
704         (abi-n32_hard_2008-ld-soname): Likewise.
705         (abi-n64_soft-ld-soname): Likewise.
706         (abi-n64_hard-ld-soname): Likewise.
707         (abi-n64_soft_2008-ld-soname): Likewise.
708         (abi-n64_hard_2008-ld-soname): Likewise.
709         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
710         Likewise.
711         (abi-64-v2-ld-soname): Likewise.
712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
713         ld.so entries.
714         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
715         variable.
716         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
717         entry.
718         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
719         variable.
720         (abi-64-ld-soname): Likewise.
721         (abi-x32-ld-soname): Likewise.
722         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
723         entry.
724         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
726 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
728         [BZ #14138]
729         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
730         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
731         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
732         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
733         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
734         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
735         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
736         syscall entry for GLIBC_2.2 symbol version.
737         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
738         Likewise.
739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
740         (setrlimit): Likewise.
741         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
742         Likewise.
744 2014-09-23  Will Newton  <will.newton@linaro.org>
746         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
747         _LINUX_ARM_SYSDEP_H include guard too.
748         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
749         define.
751 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
753         * sysdeps/unix/sysv/linux/eventfd.c:
754         Make first argument unsigned.
755         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
756         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
758 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
760         * socket/recvmmsg.c (recvmmsg): Drop const argument.
761         * socket/sys/socket.h: Likewise
762         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
764 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
766         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
768 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
770         * time/tst-ftime.c: New test.
771         * time/Makefile (tests): Add tst-ftime.
773 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
775         * soft-fp/extended.h: Fix comment formatting.
776         * soft-fp/op-1.h: Likewise.
777         * soft-fp/op-2.h: Likewise.
778         * soft-fp/op-4.h: Likewise.
779         * soft-fp/op-8.h: Likewise.
780         * soft-fp/op-common.h: Likewise.
781         * soft-fp/soft-fp.h: Likewise.
783         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
785 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
787         [BZ #6652]
788         * Makeconfig (soversions-default-setname): Remove variable.
789         ($(common-objpfx)soversions.i): Don't pass default_setname to
790         soversions.awk.
791         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
792         oldest_abi to abi-versions.awk.
793         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
794         * config.make.in (oldest-abi): Remove variable.
795         * configure.ac (--enable-oldest-abi): Remove configure option.
796         * configure: Regenerated.
797         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
798         text.
799         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
800         * scripts/soversions.awk: Do not handle default_setname variable.
801         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
802         variable.
803         * sysdeps/mach/hurd/configure: Regenerated.
804         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
805         variable.
806         * sysdeps/unix/sysv/linux/configure: Regenerated.
808 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
810         * elf/Makefile (CFLAGS-interp.c): Remove.
811         ($(elf-objpfx)runtime-linker.h): Generate header with linker
812         path string.
813         * elf/interp.c: Include generated runtime-linker.h
815         * Makerules (lib%.so): Don't include $(+interp) in
816         prerequisites.
817         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
818         * dlfcn/eval.c: Remove file.
820         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
821         macros.
823         [BZ #17266]
824         * misc/sys/cdefs.h: Define __extern_always_inline for clang
825         4.2 and newer.
827         [BZ #17370]
828         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
830 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
831             Jakub Jelinek  <jakub@redhat.com>
833         [BZ #17266]
834         * libio/stdio.h: Check definition of __fortify_function
835         instead of __extern_always_inline to include bits/stdio2.h.
836         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
837         check if __extern_always_inline is defined.
838         [__USE_MISC || __USE_XOPEN]: Likewise.
839         [__USE_ISOC99] Likewise.
840         * misc/sys/cdefs.h (__fortify_function): Define only if
841         __extern_always_inline is defined.
842         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
843         __extern_always_inline and __extern_inline only for g++-4.3
844         and newer or a compatible gcc.
846 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
848         [BZ #17371]
849         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
850         last change to handle zero prefix length.
852 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
854         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
855         _SC_REGEX_VERSION.
857         * posix/getconf.c (vars): Add _POSIX_IPV6 and
858         _POSIX_RAW_SOCKETS.
860 2014-09-13  Allan McRae  <allan@archlinux.org>
862         * po/ru.po: Update Russian translation from translation project.
864 2014-09-12  Roland McGrath  <roland@hack.frob.com>
866         * locale/programs/locale.c (show_locale_vars): Inline local function
867         into its sole call site.  Clean up some style nits.
868         (print_item): New function, broken out of ...
869         (show_info): ... local function here.  Clean up style nits.
871         * locale/programs/ld-ctype.c (set_one_default): New function, broken
872         out of ...
873         (set_class_defaults): ... local function set_default here.
874         Define set_default as a macro locally to pass constant parameters.
875         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
876         rather than a shared local.
878         * stdlib/rpmatch.c (try): New function, broken out of ...
879         (rpmatch): ... local function here.  Also, prototypify definition.
881 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
883         * scripts/soversions.awk: Do not handle configuration names.
884         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
885         vendor and os variables to soversions.awk.
886         * configure.ac: Do not modify gnu-* host_os.
887         * configure: Regenerated
888         * shlib-versions: Remove first column with configuration names.
889         * nptl/shlib-versions: Likewise.
890         * nptl_db/shlib-versions: Likewise.
891         * sysdeps/hppa/shlib-versions: Likewise.
892         * sysdeps/m68k/shlib-versions: Likewise.
893         * sysdeps/mach/hurd/shlib-versions: Likewise.
894         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
895         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
896         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
897         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
898         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
899         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
900         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
901         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
903         Likewise.
904         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
905         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
906         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
907         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
908         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
909         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
910         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
911         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
914         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
916         Regenerated.
917         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
919         Condition symbol version definitions on [HAVE_ELFV2_ABI].
921         * shlib-versions: Remove OS-specific entries.  Moved to files in
922         sysdeps.
923         * sysdeps/mach/hurd/shlib-versions: New file.
924         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
926         * nptl/shlib-versions: Remove architecture-specific entries.
927         Moved to files in sysdeps.
928         * shlib-versions: Likewise.
929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
930         file.
931         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
932         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
933         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
934         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
936         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
937         (UDP_NO_CHECK6_RX): Likewise.
939 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
941         * sysdeps/posix/sysconf.c (__sysconf): Spell
942         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
944 2014-08-12  Florian Weimer  <fweimer@redhat.com>
946         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
947         loading.
948         * iconv/Versions (__gconv_transliterate): Export for use from
949         gconv modules.
950         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
951         (struct __gconv_trans_data, __gconv_trans_fct,
952         __gconv_trans_context_fct, __gconv_trans_query_fct,
953         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
954         definitions.
955         (struct __gconv_step_data): Remove __trans member.
956         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
957         longer hidden.  Remove unused trans_data argument.
958         * iconv/gconv_int.h (struct trans_struct): Remove definition.
959         (__gconv_translit_find): Remove declaration.
960         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
961         prototype.
962         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
963         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
964         trans_data argument.  Add hidden definition.
965         (__gconv_translit_find): Remove.
966         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
967         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
968         * iconv/skeleton.c: Remove transliteration initialization.
969         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
970         __gconv_step_data initialization.
971         * libio/iofwide.c (__libio_translit_): Remove.
972         (_IO_fwide): Adjust struct __gconv_step_data initialization.
973         * wcsmbs/btowc.c (__btowc): Likewise.
974         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
975         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
976         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
977         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
978         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
979         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
980         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
981         * wcsmbs/wctob.c (wctob): Likewise.
983 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
985         [BZ #16194]
986         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
987         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
988         register usage.
989         * sysdeps/x86/Makefile: Adjust.
991 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
992             Roland McGrath  <roland@hack.frob.com>
994         * locale/weight.h: Add include guard.
995         (findidx): Make static rather than auto; take new parameters
996         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
997         * locale/weightwc.h: Likewise.
998         * posix/fnmatch_loop.c
999         (FCT): Change type of EXTRA from int32_t to wint_t.
1000         Don't include either header inside the function.
1001         Call FINDIDX rather than findidx, and pass new arguments.
1002         #undef FINDIDX at the end of the file.
1003         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1004         FINDIDX before including fnmatch_loop.c for the non-wide version.
1005         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1006         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1007         for the wide version.
1008         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1009         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1010         Pass new arguments to findidx.
1011         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1012         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1013         Don't #include it inside the function.  Pass new arguments to findidx.
1014         * posix/regex_internal.h
1015         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1016         (re_string_elem_size_at): Don't #include it inside the function.
1017         Pass new arguments to findidx.
1018         * string/strcoll_l.c: #include WEIGHT_H at top level.
1019         (get_next_seq): Don't #include it inside the function.
1020         Pass new arguments to findidx.
1021         (get_next_seq_nocache): Likewise.
1022         * string/strxfrm_l.c: #include WEIGHT_H at top level.
1023         (STRXFRM): Don't #include it inside the function.
1024         Pass new arguments to findidx.
1026 2014-09-11  Florian Weimer  <fweimer@redhat.com>
1028         [BZ #17344]
1029         * malloc/malloc.c (unlink): Turn asserts into a call to
1030         malloc_printerr.
1032 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
1034         [BZ #17370]
1035         * libio/wfileops (do_ftell_wide): Free OUT.
1037 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
1039         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1041 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1043         [BZ #17363]
1044         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1045         group if the current group is empty.
1047 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1049         * benchtests/bench-memset.c (test_main): Add more test from size
1050         from 32 to 512 bytes.
1051         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1052         Add POWER8 memset object.
1053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1054         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1055         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1056         implementation.
1057         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1058         Likewise.
1059         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1060         multiarch POWER8 memset optimization.
1061         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1062         POWER8 memset optimization.
1064         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1065         Remove bzero multiarch objects.
1066         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1067         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1068         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1069         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1070         Remove define.
1071         [__bzero]: Redefine to specific name.
1072         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1073         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1074         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1075         define.
1076         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1077         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1079 2014-09-10  Florian Weimer  <fweimer@redhat.com>
1081         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1082         warnings into errors.
1084         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1085         __cxa_thread_atexit_impl prototype.
1087 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1089         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1090         Fix capitalization of error message.
1092 2014-09-09  Steve Ellcey  <sellcey@mips.com>
1094         * sysdeps/mips/preconfigure: Modify ABI tests.
1096 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
1098         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1100 2014-09-07  Roland McGrath  <roland@hack.frob.com>
1101             Carlos O'Donell  <carlos@systemhalted.org>
1103         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1104         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1105         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1106         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1107         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1108         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1109         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1110         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1111         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1112         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1113         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1114         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1115         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1116         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1117         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1118         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1119         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1120         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1121         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1122         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1123         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1124         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1125         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1126         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1127         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1128         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1129         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1130         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1131         Deconditionalize the code that was previously under [RESET_PID].
1132         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1133         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1134         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1135         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1136         include sysdep.h.
1138 2014-09-08  Allan McRae  <allan@archlinux.org>
1140         * version.h (RELEASE): Set to "development".
1141         (VERSION): Set to "2.20.90"
1143 2014-09-07  Allan McRae  <allan@archlinux.org
1145         * version.h (RELEASE): Set to "stable".
1146         (VERSION): Set to "2.20"
1147         * include/features.h (__GLIBC_MINOR__): Set to 20.
1149         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1150         Liebler.
1152         * po/ko.po: Update Korean translation from translation project.
1154 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
1156         [BZ #17354]
1157         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1158         macro for handling signed relocations.
1160 2014-09-03  Florian Weimer  <fweimer@redhat.com>
1162         [BZ #17325]
1163         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1164         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1165         assert.
1166         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1167         * iconvdata/ibm935.c (BODY): Likewise.
1168         * iconvdata/ibm937.c (BODY): Likewise.
1169         * iconvdata/ibm939.c (BODY): Likewise.
1170         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1171         assert.
1172         * iconvdata/Makefile (iconv-test.out): Pass module list to test
1173         script.
1174         * iconvdata/run-iconv-test.sh: New test loop for checking for
1175         decoder crashers.
1177 2014-09-02  Khem Raj  <raj.khem@gmail.com>
1179         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1180         libm_hidden_ver.
1182 2014-09-01  Allan McRae  <allan@archlinux.org>
1184         * po/eo.po: Update Esperanto translation from translation project.
1186         * po/ca.po: Update Catalan translation from translation project.
1188 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1190         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1191         __proc_dostop call.
1193 2014-08-27  Mark Wielaard  <mjw@redhat.com>
1195         [BZ #17319]
1196         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1197         to call set_thread_area instead of hand written asm.
1198         (__NR_set_thread_area): Removed define.
1199         (TLS_FLAG_WRITABLE): Likewise.
1200         (__ASSUME_SET_THREAD_AREA): Remove check.
1201         (TLS_EBX_ARG): Remove define.
1202         (TLS_LOAD_EBX): Likewise.
1204 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1206         Simplify atomicity of socket creation in bind.
1208         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1209         looking up the name after linking the file.
1211 2014-08-27  Allan McRae  <allan@archlinux.org>
1213         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1215 2014-08-26  Florian Weimer  <fweimer@redhat.com>
1217         [BZ #17187]
1218         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1219         trans_compare, open_translit, __gconv_translit_find):
1220         Remove module loading code.
1222 2014-08-26  Allan McRae  <allan@archlinux.org>
1224         * po/vi.po: Update Vietnamese translation from translation project.
1226         * po/uk.po: Update Ukrainian translation from translation project.
1228         * po/fr.po: Update French translation from translation project.
1230         * po/ru.po: Update Russian translation from translation project.
1232         * po/pl.po: Update Polish translation from translation project.
1234         * po/cs.po: Update Czech translation from translation project.
1236         * po/de.po: Update German translation from translation project.
1238         * po/bg.po: Update Bulgarian translation from translation project.
1240         * po/sv.po: Update Sweedish translation from translation project.
1242         * po/nl.po: Update Dutch translation from translation project.
1244         * po/es.po: Update Spanish translation from translation project.
1246 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1248         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
1250         * catgets/Makefile (CPPFLAGS-gencat): Remove.
1251         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
1252         (CPPFLAGS-iconvconfig): Likewise.
1253         * timezone/Makefile (CPPFLAGS-zic): Likewise.
1255         * include/libc-symbols.h: Remove unnecessary check for
1256         NOT_IN_libc.
1257         * nptl/pthreadP.h: Likewise.
1258         * sysdeps/aarch64/setjmp.S: Likewise.
1259         * sysdeps/alpha/setjmp.S: Likewise.
1260         * sysdeps/arm/sysdep.h: Likewise.
1261         * sysdeps/i386/setjmp.S: Likewise.
1262         * sysdeps/m68k/setjmp.c: Likewise.
1263         * sysdeps/posix/getcwd.c: Likewise.
1264         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1265         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1266         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1267         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1268         * sysdeps/sh/sh3/setjmp.S: Likewise.
1269         * sysdeps/sh/sh4/setjmp.S: Likewise.
1270         * sysdeps/unix/alpha/sysdep.h: Likewise.
1271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1272         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1273         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1274         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1277         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1278         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1279         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1280         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1281         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1282         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1284         * sysdeps/x86_64/setjmp.S: Likewise.
1286 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
1288         [BZ #17263]
1289         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
1290         <stdint.h>.
1291         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
1292         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
1294 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1296         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
1298         [BZ #17262]
1299         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
1300         and __x86_64__ when disabling x87 inline functions.
1302 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
1304         [BZ #17259]
1305         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
1306         asm statement with __cpuid_count.
1308 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
1310         * configure.ac: Change __ehdr_start code to dereference the struct.
1311         Run readelf on the output to look for relocations.
1312         * configure: Regenerated.
1314 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
1316         [BZ #17261]
1317         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
1318         value to 0.
1319         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
1321 2014-08-12  Roland McGrath  <roland@hack.frob.com>
1323         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
1325 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
1327         [BZ #16892]
1328         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
1329         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
1331 2014-08-12  Sean Anderson  <seanga2@gmail.com>
1333         * malloc/malloc.c: Fix typo in comment.
1335 2014-08-09  Allan McRae  <allan@archlinux.org>
1337         * Regenerate libc.po.
1339 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
1341         * intl/tst-gettext2.sh: Check every lang file for creation.
1343 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1345         * sysdeps/aarch64/fpu/math_private.h
1346         (libc_feholdsetround_noex_aarch64_ctx): New function.
1348 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
1350         * sysdeps/arm/armv6/strcpy.S (strcpy):
1351         Fix performance issue in misaligned cases.
1353 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1355         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
1356         Move definition from termios.h.
1357         (struct termio): Likewise.
1358         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1359         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1360         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1361         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1362         Likewise.
1363         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
1364         Move definition to ioctl-types.h
1365         (struct termio): Likewise.
1366         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1367         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
1368         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
1369         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
1370         Likewise.
1372 2014-08-05  Richard Henderson  <rth@redhat.com>
1374         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
1375         exceptions.
1376         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
1377         Add fraiseexcpt.
1378         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
1379         Use __feraiseexcept.
1380         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
1381         Protect libm symbols with IS_IN_libm.
1383         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
1385 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
1387         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
1389 2014-08-04  Will Newton  <will.newton@linaro.org>
1391         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
1392         file.
1394 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
1396         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
1397         variants for each function.
1399 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1401         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
1402         appended ...
1403         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
1404         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
1405         appended ...
1406         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
1407         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
1408         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
1409         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
1410         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
1411         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
1412         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
1413         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
1414         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
1415         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
1416         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
1417         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
1418         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
1419         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
1420         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
1421         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
1422         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
1423         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
1424         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
1425         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
1426         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
1427         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
1428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
1429         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
1430         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
1431         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
1432         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
1433         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
1434         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
1435         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
1436         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
1437         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
1438         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
1439         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
1440         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
1441         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
1442         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
1443         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
1444         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
1445         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
1446         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
1447         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
1448         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
1449         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
1450         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
1451         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
1452         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
1453         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
1454         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
1455         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
1456         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
1457         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
1458         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
1459         Update #include.
1460         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
1461         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
1463 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1465         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
1466         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
1467         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
1468         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
1469         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
1470         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
1472 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1474         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
1475         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
1476         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1477         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
1479 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1481         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
1482         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
1483         (__libc_vfork): Define function under this name.
1484         (__vfork): Define as an alias.
1485         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
1486         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
1488 2014-08-04  Roland McGrath  <roland@hack.frob.com>
1490         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
1491         that was previously under [RESET_PID].
1492         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
1494 2014-08-04  Andreas Schwab  <schwab@suse.de>
1496         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
1498 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
1500         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
1501         (main): Likewise.
1503 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1505         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
1507 2014-08-01  Richard Henderon  <rth@redhat.com>
1509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
1510         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
1511         typo in exact zero test.
1512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1513         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1516 2014-08-01  Roland McGrath  <roland@hack.frob.com>
1518         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
1519         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
1520         * sysdeps/arm/sysdep.h: ... here.
1521         [!__ASSEMBLER__]: Include <stdint.h>.
1523 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1525         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
1526         (HAVE_WCTYPE_H): Likewise.
1527         (HAVE_ISWCTYPE): Likewise.
1528         (ENABLE_NLS): Likewise.
1529         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
1530         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
1532         * posix/regex_internal.c: Check if DEBUG is defined and is
1533         set.
1535         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
1536         (HAVE_MBSRTOWCS): Likewise.
1537         * posix/fnmatch.c: Include string.h unconditionally.
1539 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1541         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
1542         reversal.
1544 2014-07-31  Roland McGrath  <roland@hack.frob.com>
1546         * sysdeps/generic/safe-fatal.h: New file.
1547         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
1548         * nptl/forward.c: Include it.
1549         (__pthread_unwind): Use __safe_fatal as default action, rather
1550         than a bogus use of INTERNAL_SYSCALL that could never work.
1552         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
1553         * configure.ac (libc_cv_builtin_trap): New test.
1554         * configure: Regenerated.
1555         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
1556         (ABORT_INSTRUCTION): Define using __builtin_trap.
1558         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
1559         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
1560         * sysdeps/nptl/nptl-signals.h: New file.
1561         * nptl/pthreadP.h: Include <nptl-signals.h>.
1563 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1565         * sysdeps/s390/s390-64/utf16-utf32-z9.c
1566         (ONE_DIRECTION): Define.
1567         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1568         (ONE_DIRECTION): Define.
1569         * sysdeps/s390/s390-64/utf8-utf32-z9.c
1570         (ONE_DIRECTION): Define.
1572 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1574         * sysdeps/s390/Makefile: Delete file.
1575         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
1576         * sysdeps/s390/__longjmp.c: Delete file.
1577         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
1578         Remove fields __flags and __reserved.
1579         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
1580         and add versioning.
1581         * sysdeps/s390/rtld-__longjmp.c: Delete file.
1582         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
1583         * sysdeps/s390/rtld-setjmp.S: Likewise.
1584         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
1585         * sysdeps/s390/s390-32/__longjmp.c: ... here.
1586         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
1587         * sysdeps/s390/s390-32/setjmp.S: ... here.
1588         Add versioning.
1589         (__sigsetjmp): Remove setting __flags field.
1590         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
1591         * sysdeps/s390/s390-64/__longjmp.c: ... here.
1592         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
1593         * sysdeps/s390/s390-64/setjmp.S: ... here.
1594         Add versioning.
1595         (__sigsetjmp): Remove setting __flags field.
1596         * sysdeps/s390/setjmp.S: Delete file.
1597         * sysdeps/s390/sigjmp.c: Likewise.
1598         * sysdeps/s390/v1-longjmp.c: Likewise.
1599         * sysdeps/s390/v1-setjmp.h: Likewise.
1600         * sysdeps/s390/v1-sigjmp.c: Likewise.
1601         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
1602         Remove v1-longjmp_chk.
1603         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
1604         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
1605         Include debug/longjmp_chk.c and add versioning.
1606         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
1607         Include nptl/pt-longjmp.c and add versioning.
1608         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
1609         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
1610         Include __longjmp.c.
1611         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
1612         Move to ...
1613         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
1614         (__getcontext): Remove setting __flags field.
1615         Add versioning.
1616         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1617         Don't restore upper high grps.
1618         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
1619         Likewise.
1620         (__swapcontext): Remove setting uc_flags field.
1621         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
1622         Delete file.
1623         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
1624         Include __longjmp.c.
1625         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
1626         Move to ...
1627         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
1628         (__getcontext): Remove setting __flags field.
1629         Add versioning.
1630         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
1631         (__swapcontext): Remove setting uc_flags field.
1632         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
1633         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
1634         Remove fields uc_high_gprs and __reserved.
1635         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
1636         New file with reverted content.
1637         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
1638         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
1639         Regenerated.
1640         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
1641         Regenerated.
1643 2014-07-31  Andreas Schwab  <schwab@suse.de>
1645         * config.h.in (HAVE_IFUNC): Define to 0.
1646         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
1647         definedness.
1649 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
1651         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1652         memmove-avx-unaligned, memcpy-avx-unaligned and
1653         mempcpy-avx-unaligned.
1654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1655         Add tests for AVX memcpy functions.
1656         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
1657         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
1658         memcpy_chk.
1659         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
1660         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
1661         memmove_chk.
1662         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
1663         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
1664         mempcpy_chk.
1665         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
1666         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
1667         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
1669 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1671         [BZ #17213]
1672         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
1673         powerpc64le.
1675 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
1677         [BZ #16839]
1678         * manual/llio.texi: Add section about open file description locks.
1679         * manual/examples/ofdlocks.c: Example of open file description
1680         lock usage.
1681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
1682         F_OFD_SETLK, and F_OFD_SETLKW.
1684 2014-07-23  Allan McRae  <allan@archlinux.org>
1686         * po/es.po: Update Spanish translation from translation project.
1688 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
1690         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
1692 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
1694         [BZ #17078]
1695         * sysdeps/arm/dl-machine.h (elf_machine_rela)
1696         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
1697         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
1699 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
1701         [BZ #17088]
1702         * math/fesetenv.c (__fesetenv)
1703         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
1704         * math/feupdateenv.c (__feupdateenv)
1705         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
1707         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
1708         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1709         (__ASSUME_SOCKETCALL): Do not define.
1711         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
1712         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
1713         (__ASSUME_SOCKETCALL): Do not define.
1714         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
1715         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1716         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1717         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
1718         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1719         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
1720         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1721         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1723         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
1724         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
1725         (__ASSUME_SOCKETCALL): Do not define.
1726         (__ASSUME_IPC64): Define unconditionally.
1727         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1728         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1729         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
1730         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1731         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
1732         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1733         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
1734         Likewise.
1736         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
1737         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
1738         (__ASSUME_SOCKETCALL): Do not define.
1739         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
1740         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1741         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1742         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
1743         (__ASSUME_REQUEUE_PI): Define unconditionally.
1744         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
1745         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
1746         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1747         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
1748         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1749         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1751         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
1752         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
1753         (__ASSUME_SOCKETCALL): Do not define.
1754         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
1755         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1756         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1757         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
1758         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1759         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
1761         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
1762         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
1763         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
1764         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
1765         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
1766         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
1767         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
1768         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
1769         (__ASSUME_GETCPU_SYSCALL): Likewise.
1771         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
1772         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
1773         cases for individual architectures.
1774         * sysdeps/gnu/configure: Regenerated.
1775         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
1776         LIBC_SLIBDIR_RTLDDIR.
1777         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
1778         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
1779         LIBC_SLIBDIR_RTLDDIR.
1780         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
1781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
1782         LIBC_SLIBDIR_RTLDDIR.
1783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1784         Regenerated.
1785         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
1786         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
1787         file.
1788         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
1789         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
1790         file.
1791         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
1792         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
1793         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
1794         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
1796         * sysdeps/aarch64/shlib-versions: Move to ...
1797         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
1798         * sysdeps/alpha/shlib-versions: Move to ...
1799         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
1800         * sysdeps/arm/shlib-versions: Move to ...
1801         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
1802         * sysdeps/hppa/shlib-versions: Move all contents except for
1803         libgcc_s entry to ...
1804         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
1805         entry from ...
1806         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
1807         * sysdeps/ia64/shlib-versions: Move to ...
1808         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
1809         entry from ...
1810         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
1811         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
1812         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
1813         * sysdeps/microblaze/shlib-versions: Move to ...
1814         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
1815         * sysdeps/mips/shlib-versions: Move to ...
1816         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
1817         entry from ...
1818         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
1819         * sysdeps/tile/shlib-versions: Move to ...
1820         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
1821         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
1822         from ...
1823         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
1824         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
1825         entry from ...
1826         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
1828 2014-07-17  Will Newton  <will.newton@linaro.org>
1830         * sysdeps/arm/bits/atomic.h
1831         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
1832         (__arch_compare_and_exchange_bool_16_int): Likewise.
1833         (__arch_compare_and_exchange_bool_64_int): Likewise.
1835         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
1836         into an #else block.
1838 2014-07-16  Roland McGrath  <roland@hack.frob.com>
1840         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
1841         just Linux configurations.  Test empirically that the compiler sets
1842         __ARM_EABI__, rather than using the tuple to decide.
1843         * sysdeps/arm/preconfigure: Regenerated.
1844         * sysdeps/unix/sysv/linux/arm/configure: File removed.
1845         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
1846         contents appended ...
1847         * sysdeps/arm/configure.ac: ... here.
1848         * sysdeps/arm/configure: Regenerated.
1850 2014-07-15  Roland McGrath  <roland@hack.frob.com>
1852         * nptl/pthread_kill.c: New file.
1853         * nptl/pthread_sigmask.c: New file.
1854         * nptl/pthread_sigqueue.c: New file.
1856         * sysdeps/nptl/lowlevellock.h: New file.
1857         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
1858         * sysdeps/nptl/lowlevellock-futex.h: New file.
1860         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
1861         Remove dead declarations.
1863 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
1865         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
1866         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
1867         config-cflags-avx2.
1868         * sysdeps/x86_64/configure.ac: Likewise.
1869         * sysdeps/i386/configure: Regenerated.
1870         * sysdeps/x86_64/configure: Likewise.
1871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1872         memset-avx2 only if config-cflags-avx2 is yes.
1873         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1874         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
1875         defined.
1876         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
1877         only if HAVE_AVX2_SUPPORT is defined.
1878         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1880 2014-07-14  Alan Modra  <amodra@gmail.com>
1882         [BZ #17153]
1883         * elf/elf.h (DT_PPC64_NUM): Correct value.
1884         * NEWS: Add to fixed bug list.
1886 2014-07-13  Jim Meyering  <meyering@fb.com>
1888         [BZ 17150]
1889         regex: don't deref NULL upon heap allocation failure
1890         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
1891         failure in one more place.
1892         To trigger the segfault, configure grep -with-included-regex,
1893         build it, and run these commands:
1894         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
1896 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
1898         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1900 2014-07-11  Richard Henderson  <rth@redhat.com>
1902         * sysdeps/aarch64/libm-test-ulps: Update.
1904 2014-07-10  Florian Weimer  <fweimer@redhat.com>
1906         [BZ #17135]
1907         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
1908         * nptl/allocatestack.c (__nptl_setxid_error): New function.
1909         (__nptl_setxid): Initialize error member.  Call
1910         __nptl_setxid_error.
1911         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
1912         * nptl/descr.h (struct xid_command): Add error member.
1913         * nptl/tst-setuid3.c: New file.
1914         * nptl/Makefile (tests): Add it.
1916 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1918         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
1919         New define.
1920         (__lll_trylock): Use __lll_base_trylock.
1921         (__lll_cond_trylock): Likewise.
1923 2014-07-10  Roland McGrath  <roland@hack.frob.com>
1925         * nptl/pthread_create.c (start_thread): Use atomic_or and
1926         lll_futex_wake directly rather than lll_robust_dead.
1927         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1928         (lll_robust_dead): Macro removed.
1929         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
1930         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1931         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1932         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1933         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1934         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1935         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1936         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1937         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1938         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1939         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1940         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1941         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1942         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1943         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1945         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1946         Use atomic_compare_and_exchange_val_acq directly rather than
1947         lll_robust_trylock.
1948         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
1949         (__lll_robust_trylock, lll_robust_trylock): Removed.
1950         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
1951         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
1952         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1953         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1954         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
1955         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
1956         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1957         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
1958         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1959         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1960         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1961         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1962         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1963         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1965 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1967         * manual/locale.texi (Locale Names): New section documenting
1968         locale name syntax.  Adjust menu and node chaining accordingly.
1969         (Choosing Locale): Reference Locale Names, Locale Categories.
1970         Mention setting LC_ALL=C.  Reflect that name syntax is now
1971         documented.
1972         (Locale Categories): New section title.  Reference Locale Names.
1973         LC_ALL is an environment variable, but not a category.
1974         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
1975         description, now in Locale Name.  Reference that section.  Locale
1976         name syntax is now documented.
1978 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1980         [BZ #17137]
1981         * locale/findlocale.c (name_present, valid_locale_name): New
1982         functions.
1983         (_nl_find_locale): Use the loc_name variable to store name
1984         candidates.  Call name_present and valid_locale_name to check and
1985         validate locale names.  Return an error if the locale is invalid.
1987 2014-07-02  Florian Weimer  <fweimer@redhat.com>
1989         * locale/setlocale.c (setlocale): Use strdup for allocating
1990         composite name copy.
1992 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1994         Sync up with gnulib.
1995         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
1996         [!_LIBC && ENABLE_NLS]: Include gettext.h.
1997         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
1998         and _GL_ARG_NONNULL.
1999         [USE_UNLOCKED_IO]: Include unlocked-io.h.
2000         [!_LIBC]: Include code for Windows and Cygwin.
2001         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2002         Include prototype for int strerror_r.
2003         [!_LIBC] (is_open): New function.
2004         (flush_stdout): New function.
2005         (print_errno_message): Use it.
2006         (error): Likewise.
2007         (error_at_line): Likewise.
2008         (error_tail) Add function attribute macros.  Use
2009         __builtin_expect.
2011         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2013         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2015         * io/ftw.c: Include sys/param.h unconditionally.
2017         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2019         [BZ #17125]
2020         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2021         libc_freeres_ptr.
2022         (freecache): New function to free CACHE on exit.
2024         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2025         initialization.
2027 2014-07-09  David S. Miller  <davem@davemloft.net>
2029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2031         * sysdeps/sparc/nptl/internaltypes.h: Delete.
2032         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2033         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2034         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2035         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2036         * sysdeps/sparc/nptl/sem_init.c: Likewise.
2037         * sysdeps/sparc/nptl/sem_post.c: Likewise.
2038         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2039         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2040         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2041         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2042         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2043         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2045 2014-07-09  Andreas Schwab  <schwab@suse.de>
2047         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2048         output.
2049         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2050         (do_test): Likewise.
2052         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2054 2014-07-09  Will Newton  <will.newton@linaro.org>
2056         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2057         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2058         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2059         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2060         * sysdeps/hppa/start.S (_start): Likewise.
2062 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
2064         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2066         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2067         defined.
2069 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2071         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2072         after checking that it is non-NULL.
2074         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2076 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2078         * sysdeps/powerpc/memmove.c: Remove file.
2079         * sysdeps/powerpc/powerpc32/power4/memcopy.h
2080         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2081         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2082         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2083         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2084         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2085         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2086         string memmove instead of removed powerpc one.
2088         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2089         [weak_alias]: Fix compiler warning due trailing data.
2090         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2091         [weak_alias]: Likewise.
2092         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2093         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2096         (__libc_ifunc_impl_list): Add memmove functions.
2098 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2100         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2101         Remove code.
2102         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2103         Likewise
2104         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2105         Likewise
2106         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2107         Likewise
2108         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2109         Likewise
2110         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2111         Likewise
2112         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2113         Likewise
2114         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2115         Likewise
2116         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2117         Likewise
2118         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2119         Likewise
2120         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2121         Likewise
2122         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2123         Likewise
2124         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2125         Likewise
2126         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2127         Likewise
2128         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2129         Likewise
2130         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2131         Likewise
2132         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2133         Likewise
2135 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2137         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2138         to avoid alignment traps in non-cacheable memory.
2139         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2142         multiarch objects.
2143         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2144         file: multiarch power7 memmove.
2145         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2146         multiarch default memmove.
2147         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2148         multiarch memove for powerpc32/power4.
2150         * string/bcopy.c: Use full path to include memmove.c.
2151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2152         multiarch objects.
2153         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2154         bcopy for powerpc64.
2155         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2156         bcopy for powerpc64.
2157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2158         and memmove implementations.
2159         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2160         optimized multiarch memmove for POWER7/powerpc64.
2161         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2162         default multiarch memmove for powerpc64.
2163         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2164         multiarch for powerpc64.
2165         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2166         for POWER7/powerpc64.
2167         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2168         memmove for POWER7/powerpc64.
2170         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2171         glibc default one.
2173         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2174         __ELF_NATIVE_CLASS equal to 64.
2176 2014-07-07  Roland McGrath  <roland@hack.frob.com>
2178         * sysdeps/nptl/lowlevellock.h: File removed.
2180         * NEWS: NPTL is no longer an add-on!
2181         * nptl/internaltypes.h: Moved ...
2182         * sysdeps/nptl/internaltypes.h: ... here.
2183         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2184         * sysdeps/nptl/fork.c: Likewise.
2185         * sysdeps/nptl/gai_misc.h: Likewise.
2186         * sysdeps/nptl/librt-cancellation.c: Likewise.
2187         * sysdeps/nptl/jmp-unwind.c: Likewise.
2188         * sysdeps/nptl/setxid.h: Likewise.
2189         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2190         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2191         * sysdeps/unix/sysv/linux/arm/Implies: New file.
2192         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2193         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2194         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2195         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2196         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2197         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2198         * sysdeps/unix/sysv/linux/mips/Implies: New file.
2199         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2200         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2201         * sysdeps/unix/sysv/linux/sh/Implies: New file.
2202         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2203         * sysdeps/unix/sysv/linux/tile/Implies: New file.
2204         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2205         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2206         * nptl/Makeconfig: Moved ...
2207         * sysdeps/nptl/Makeconfig: ... here.
2208         * nptl/configure: File removed.
2209         * nptl/ANNOUNCE: File removed.
2210         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2211         * sysdeps/unix/sysv/linux/configure: Regenerated.
2213         * nptl/Makefile (routines): Add libc_pthread_init,
2214         libc_multiple_threads, register-atfork and unregister-atfork.
2215         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2216         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2217         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2218         pthread-pi-defines.sym, structsem.sym.
2219         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2220         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2221         [$(subdir) = nptl] (tests): Add tst-setgetname.
2222         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2223         * sysdeps/unix/sysv/linux/sigaction.c: Just include
2224         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2225         [!LIBC_SIGACTION]: Remove aliases.
2226         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2227         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2228         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2229         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
2230         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2231         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
2232         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2233         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2234         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2235         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
2236         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
2237         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
2238         __libc_allocate_rtsig_private.
2239         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
2240         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
2241         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
2242         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
2243         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
2244         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
2245         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
2246         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
2247         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
2248         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
2249         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
2250         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
2251         * nptl/internaltypes.h: ... here.
2252         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
2253         * sysdeps/nptl/jmp-unwind.c: ... here.
2254         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
2255         * nptl/libc-lowlevellock.c: ... here.
2256         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
2257         * nptl/libc_multiple_threads.c: ... here.
2258         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
2259         * nptl/libc_pthread_init.c: ... here.
2260         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
2261         * nptl/lowlevelbarrier.sym: ... here.
2262         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
2263         * nptl/lowlevelcond.sym: ... here.
2264         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
2265         * nptl/lowlevellock.c: ... here.
2266         * nptl/lowlevellock.h: Moved ...
2267         * sysdeps/nptl/lowlevellock.h: ... here.
2268         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
2269         * nptl/lowlevelrobustlock.c: ... here.
2270         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
2271         * nptl/lowlevelrobustlock.sym: ... here.
2272         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
2273         * nptl/lowlevelrwlock.sym: ... here.
2274         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
2275         * nptl/pt-fork.c: ... here.
2276         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
2277         * nptl/pthread-pi-defines.sym: ... here.
2278         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
2279         * nptl/pthread_attr_getaffinity.c: ... here.
2280         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
2281         * nptl/pthread_attr_setaffinity.c: ... here.
2282         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
2283         * nptl/pthread_mutex_cond_lock.c: ... here.
2284         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2285         Update #include.
2286         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
2287         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
2288         * nptl/pthread_once.c: ... here, replacing old file.
2289         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
2290         * nptl/pthread_yield.c: ... here.
2291         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
2292         * nptl/register-atfork.c: ... here.
2293         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
2294         * nptl/sem_post.c: ... here.
2295         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
2296         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
2297         * nptl/sem_timedwait.c: ... here.
2298         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
2299         * nptl/sem_trywait.c: ... here.
2300         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
2301         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
2302         * nptl/sem_wait.c: ... here.
2303         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
2304         * nptl/structsem.sym: ... here.
2305         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
2306         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
2307         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
2308         * nptl/unregister-atfork.c: ... here.
2309         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
2310         * nptl/unwindbuf.sym: ... here.
2311         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
2312         * sysdeps/nptl/fork.c: ... here.
2313         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
2314         * sysdeps/nptl/fork.h: ... here.
2315         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
2316         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
2317         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
2318         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
2319         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
2320         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
2321         * sysdeps/unix/sysv/linux/getpid.c: ... here.
2322         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
2323         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
2324         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
2325         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
2326         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
2327         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
2328         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
2329         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
2330         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
2331         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
2332         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
2333         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
2334         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
2335         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
2336         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
2337         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
2338         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
2339         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
2340         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
2341         * sysdeps/unix/sysv/linux/raise.c: ... here.
2342         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
2343         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
2344         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
2345         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
2346         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
2347         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
2348         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
2349         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
2350         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
2351         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
2352         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
2353         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
2354         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
2355         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
2356         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
2358 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2360         * sysdeps/generic/memcopy.h: Add comment for
2361         MEMCPY_OK_FOR_FWD_MEMMOVE.
2363 2014-07-04  Will Newton  <will.newton@linaro.org>
2365         * string/memchr.c: Merge from gnulib.
2366         [_LIBC]: Remove conditionals.
2367         (__ptr_t): Remove define.
2368         (LONG_MAX_32_BITS): Likewise.
2369         (LONG_MAX): Likewise.
2370         (MEMCHR): Use ANSI prototype and optimize algorithm.
2372         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
2374 2014-07-03  Roland McGrath  <roland@hack.frob.com>
2376         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
2377         (lll_futex_timed_wait_bitset): Fix syscall argument count.
2379         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
2380         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
2381         in a bare environment with no <stdlib.h> installed.
2382         * sysdeps/nptl/configure: Regenerated.
2384         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
2386         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
2387         AC_EGREP_CPP for kernel header checks, so they only succeed if
2388         including <linux/version.h> actually works right.
2389         * sysdeps/unix/sysv/linux/configure: Regenerated.
2391         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
2392         value so it's not diagnosed as unused.
2394         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
2395         thing) with "ifeq ($(subdir),rt)".
2397 2014-07-03  Richard Henderson  <rth@redhat.com>
2399         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
2400         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
2401         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
2403         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
2404         (math_force_eval): New.
2406         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
2407         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
2409         * sysdeps/alpha/fpu/s_round.c: Remove file.
2410         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
2412         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
2413         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
2414         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
2415         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
2416         (_dl_start, print_statistics): Likewise.
2417         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
2418         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
2420         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2421         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2422         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2423         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2424         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2425         (HP_SMALL_TIMING_AVAIL): Define.
2426         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2427         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2428         (HP_SMALL_TIMING_AVAIL): Define.
2429         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2430         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
2432         * sysdeps/aarch64/hp-timing.h: New file.
2434         * sysdeps/generic/hp-timing.h: Remove dead comment.
2435         * sysdeps/generic/hp-timing-common.h: New file.
2436         * sysdeps/alpha/hp-timing.h: Include it.
2437         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
2438         * sysdeps/i386/i686/hp-timing.h: Likewise.
2439         * sysdeps/ia64/hp-timing.h: Likewise.
2440         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2441         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2442         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2443         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2444         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
2445         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
2446         (hp_timing_t): New.
2448         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
2449         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
2450         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
2451         * elf/rtld.c (_dl_start_final): Likewise.
2452         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
2453         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2454         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2455         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2456         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2457         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2458         (HP_TIMING_DIFF_INIT): Remove.
2459         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2460         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
2461         (HP_TIMING_DIFF_INIT): Remove.
2462         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
2463         * sysdeps/i386/i686/hp-timing.c: Remove file.
2464         * sysdeps/x86_64/hp-timing.c: Remove file.
2465         * sysdeps/ia64/hp-timing.c: Remove file.
2466         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
2467         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
2468         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
2469         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
2471         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
2472         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
2473         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
2474         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2475         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
2476         (HP_TIMING_ACCUM): Remove.
2477         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2478         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
2479         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
2481         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
2482         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
2483         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
2484         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
2485         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
2486         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2487         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
2488         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
2490         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
2492 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
2494         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
2496 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2498         Sync up with gettext.
2499         * intl/loadmsgcat.c: Define O_BINARY if not defined.
2500         [_MSC_VER]: Include malloc.h
2501         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
2502         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
2503         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
2504         TEMP_FAILURE_RETRY.  Cast return of alloca.
2505         [!_LIBC] Call gl_rwlock_init.
2506         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
2508 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2510         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
2511         before checking its value.
2513 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2515         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
2517         * debug/memcpy_chk.c: Don't include pagecopy.h.
2518         * debug/mempcpy_chk.c: Likewise.
2519         * string/memcpy.c: Likewise.
2520         * string/memmove.c: Likewise.
2521         * sysdeps/powerpc/memmove.c: Likewise.
2522         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
2523         definition of PAGE_COPY_FWD_MAYBE here...
2524         * sysdeps/generic/pagecopy.h: ... from here.
2525         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
2527 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2528             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2530         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
2531         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
2532         optimizations.
2533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2534         (__libc_ifunc_impl_list): Likewise.
2535         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
2536         multiarch strcat for PPC64.
2537         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
2538         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
2540 2014-07-02  Roland McGrath  <roland@hack.frob.com>
2542         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
2544 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2546         * intl/loadmsgcat.c: Remove declaration of
2547         get_sysdep_segment_value.
2548         (get_sysdep_segment_value): Use ISO C style.
2549         (_nl_load_domain): Use ISO C style.  Get rid of redundant
2550         semicolon.  Fix typo and formatting in comment.
2551         (_nl_unload_domain): Use ISO C style.
2553         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
2555 2014-07-02  Will Newton  <will.newton@linaro.org>
2557         * malloc/obstack.c: Merge from gnulib master.
2558         [HAVE_CONFIG_H]: Remove conditional code.
2559         [!_LIBC]: Include config.h.
2560         [!ELIDE_CODE]: Don't include inttypes.h, include
2561         stdint.h unconditionally.
2562         (print_and_abort): Mark as _Noreturn.
2563         (_obstack_allocated_p): Mark as __attribute_pure__.
2564         (obstack_free): Rename to __obstack_free.
2565         [!__attribute__]: Remove conditional code.
2566         * malloc/obstack.h: Merge from gnulib master.
2567         [__cplusplus]: Move conditional down.
2568         [!__attribute_pure__]: Define __attribute_pure__ here
2569         if it is not already defined.
2570         (_obstack_memory_used): Mark as __attribute_pure__.
2571         [!__obstack_free]: Define as obstack_free.
2572         [__GNUC__]: Remove check for ancient NeXT gcc.
2574 2014-07-02  Will Newton  <will.newton@linaro.org>
2575             Paul Eggert  <eggert@cs.ucla.edu>
2577         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
2579 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2581         * resolv/gethnamaddr.c: Add comment warning that the file is
2582         not maintained.
2584 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
2586         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
2587         entries.
2589         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
2590         entry for aio_cancel and aio_cancel64.
2591         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
2592         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
2593         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
2594         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
2595         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
2596         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
2597         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
2598         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
2599         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
2600         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
2601         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
2602         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
2603         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
2605 2014-07-01  Roland McGrath  <roland@hack.frob.com>
2607         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
2608         * nptl/pthread_mutex_lock.c: Likewise.
2609         * nptl/pthread_mutex_timedlock.c: Likewise.
2610         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
2612 2014-07-01  Richard henderson  <rth@redhat.com>
2614         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
2615         (__isnan, __isnanl): Remove.
2616         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
2618         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2620 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2622         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2624 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2626         * resolv/nss_dns/dns-host.c (getanswer_r)
2627         [MULTI_PTRS_ARE_ALIASES]: Remove code.
2629 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
2631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2632         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
2633         undefine.
2634         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
2635         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
2637 2014-07-01  Roland McGrath <roland@hack.frob.com>
2639         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
2640         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
2642         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
2643         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
2645         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
2646         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
2647         ... here.
2648         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
2649         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
2651         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
2652         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
2653         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
2654         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
2656         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
2657         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
2658         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
2659         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
2660         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
2661         Moved ...
2662         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
2663         ... here.
2664         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
2665         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
2666         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
2667         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
2668         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
2669         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
2670         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
2671         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
2672         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
2673         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
2674         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
2675         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
2676         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
2677         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
2678         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
2679         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
2680         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
2681         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
2682         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
2683         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
2684         ... here.
2685         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
2686         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
2687         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
2688         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
2689         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
2690         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
2691         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
2692         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
2694 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
2696         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
2697         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
2698         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
2699         Add sysdep.
2701 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2705 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2707         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2708         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2710         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2712         * sysdeps/arm/libm-test-ulps: Regenerated.
2714 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2715             Roland McGrath <roland@hack.frob.com>
2717         * test-skeleton.c (signal_handler): Kill the whole process group
2718         before killing the child individually.
2719         (main): Report any failure on `setpgid'.
2721 2014-06-30  Roland McGrath  <roland@hack.frob.com>
2723         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
2724         from _TLS_H to _ARM_NPTL_TLS_H.
2725         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
2726         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
2728 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
2730         [BZ #16539]
2731         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
2732         (__expm1l): Return argument unchanged when small but not
2733         subnormal.
2735         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
2736         include macro name.
2737         (_FP_UNPACK_RAW_1_P): Likewise.
2738         (_FP_PACK_RAW_1): Likewise.
2739         (_FP_PACK_RAW_1_P): Likewise.
2740         (_FP_MUL_MEAT_1_wide): Likewise.
2741         (_FP_MUL_MEAT_DW_1_hard): Likewise.
2742         (_FP_MUL_MEAT_1_hard): Likewise.
2743         (_FP_DIV_MEAT_1_imm): Likewise.
2744         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
2745         (_FP_DIV_MEAT_1_udiv): Likewise.
2746         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
2747         (_FP_UNPACK_RAW_2): Likewise.
2748         (_FP_UNPACK_RAW_2_P): Likewise.
2749         (_FP_PACK_RAW_2): Likewise.
2750         (_FP_PACK_RAW_2_P): Likewise.
2751         (_FP_MUL_MEAT_DW_2_wide): Likewise.
2752         (_FP_MUL_MEAT_2_wide): Likewise.
2753         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
2754         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2755         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
2756         (_FP_MUL_MEAT_2_gmp): Likewise.
2757         (_FP_DIV_MEAT_2_udiv): Likewise.
2758         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
2759         (_FP_FRAC_SRL_4): Likewise.
2760         (_FP_FRAC_SRST_4): Likewise.
2761         (_FP_FRAC_SRS_4): Likewise.
2762         (_FP_UNPACK_RAW_4): Likewise.
2763         (_FP_UNPACK_RAW_4_P): Likewise.
2764         (_FP_PACK_RAW_4): Likewise.
2765         (_FP_PACK_RAW_4_P): Likewise.
2766         (_FP_MUL_MEAT_DW_4_wide): Likewise.
2767         (_FP_MUL_MEAT_4_wide): Likewise.
2768         (_FP_MUL_MEAT_4_gmp): Likewise.
2769         (umul_ppppmnnn): Likewise.
2770         (_FP_DIV_MEAT_4_udiv): Likewise.
2771         (__FP_FRAC_ADD_4): Likewise.
2772         (__FP_FRAC_SUB_3): Likewise.
2773         (__FP_FRAC_SUB_4): Likewise.
2774         (__FP_FRAC_DEC_3): Likewise.
2775         (__FP_FRAC_DEC_4): Likewise.
2776         (__FP_FRAC_ADDI_4): Likewise.
2777         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
2778         (_FP_FRAC_SRL_8): Likewise.
2779         (_FP_FRAC_SRS_8): Likewise.
2781         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
2782         include macro name.
2783         (FP_UNPACK_RAW_EP): Likewise.
2784         (FP_PACK_RAW_E): Likewise.
2785         (FP_PACK_RAW_EP): Likewise.
2786         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
2787         (_FP_ISSIGNAN): Likewise.
2788         (_FP_ADD_INTERNAL): Likewise.
2789         (_FP_FMA): Likewise.
2790         (_FP_CMP): Likewise.
2791         (_FP_SQRT): Likewise.
2792         (_FP_TO_INT): Likewise.
2793         (_FP_FROM_INT): Likewise.
2794         (FP_EXTEND): Likewise.
2795         (_FP_DIV_MEAT_N_loop): Likewise.
2797 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
2799         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
2800         throughout.
2802 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
2804         [BZ #17097]
2805         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
2806         result with correct sign in case of exponents that produce
2807         overflow except for X very close to 1.
2809 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
2811         mktime: merge #if/#ifdef usage from glibc
2812         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
2813         as that works with both Glibc's and Gnulib's style.
2814         See thread starting at Siddhesh Poyarekar's bug report at:
2815         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
2817 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2819         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
2820         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
2821         * sysdeps/tile/tilegx/memmove.c: Remove file.
2823 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2825         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
2826         abi-name definition.
2827         * scripts/soversions.awk: Do not handle or generate ABI lines.
2828         * shlib-versions: Remove ABI entries.
2829         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
2830         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
2832 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
2835         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
2836         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
2837         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
2838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
2839         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
2840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
2841         Moved ...
2842         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
2843         ... here.
2844         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
2845         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
2846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
2847         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
2848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
2849         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
2850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
2851         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
2852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
2853         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
2854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
2855         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
2856         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
2857         Moved ...
2858         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
2859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
2860         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
2861         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
2862         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
2863         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
2864         Moved ...
2865         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
2867         Moved ...
2868         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
2869         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
2870         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
2871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
2872         Moved ...
2873         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
2874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
2875         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
2876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
2877         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
2878         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
2879         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
2880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
2881         Moved ...
2882         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
2883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
2884         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
2885         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
2886         Moved ...
2887         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
2888         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
2889         Moved ...
2890         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
2891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
2892         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
2893         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
2894         Moved ...
2895         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
2896         ... here.
2897         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
2898         Identical file removed.
2899         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
2900         Moved ...
2901         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
2902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
2903         Identical file removed.
2904         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
2905         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
2906         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
2907         Moved ...
2908         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
2909         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
2910         Identical file removed.
2911         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
2912         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
2913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
2914         Identical file removed.
2915         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
2916         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
2917         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
2918         Identical file removed.
2919         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
2920         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
2921         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
2922         Identical file removed.
2923         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
2924         Moved ...
2925         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
2926         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
2927         Identical file removed.
2928         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
2929         Moved ...
2930         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
2931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
2932         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
2933         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
2934         Identical file removed.
2935         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
2936         Moved ...
2937         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
2938         ... here.
2939         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
2940         Identical file removed.
2941         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
2942         Moved ...
2943         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
2944         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
2945         Identical file removed.
2946         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
2947         Moved ...
2948         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
2949         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
2950         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
2951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
2952         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
2953         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
2954         Moved ...
2955         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
2956         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
2957         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
2959         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
2960         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
2961         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
2962         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
2963         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
2965 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
2967         [BZ #17092]
2968         * nscd/nscd.c (monitor_child): Return exit status of child
2969         instead of return value from wait syscall.
2971 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
2973         * configure.ac (libc_commonpagesize): Remove variable.
2974         (libc_relro_required): Likewise.
2975         (libc_cv_z_relro): Remove configure test.
2976         * configure: Regenerated.
2977         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
2978         variable.
2979         (libc_relro_required): Likewise.
2980         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
2981         (libc_relro_required): Likewise.
2982         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
2983         (libc_relro_required): Likewise.
2984         * sysdeps/arm/preconfigure: Regenerated.
2985         * sysdeps/ia64/preconfigure: Remove file.
2986         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
2987         variable.
2988         (libc_relro_required): Likewise.
2990         [BZ #16561]
2991         [BZ #16562]
2992         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
2993         (__ieee754_yn): Set FE_TONEAREST mode internally and then
2994         recompute overflowing results in original rounding mode.
2995         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
2996         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
2997         recompute overflowing results in original rounding mode.
2998         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
2999         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3000         recompute overflowing results in original rounding mode.
3001         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3002         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3003         recompute overflowing results in original rounding mode.
3004         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3005         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3006         recompute overflowing results in original rounding mode.
3007         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3008         (libc_feholdsetround_ctx): New macro.
3009         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3010         * sysdeps/i386/fpu/libm-test-ulps: Update.
3011         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3013 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3015         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3016         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3017         corresponding .cpsetup call.
3019 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3021         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3022         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3023         * sysdeps/arm/Makefile [$(subdir) = csu]
3024         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3025         (static-only-routines): Add aeabi_read_tp here.
3026         (shared-only-routines): Add libc-aeabi_read_tp here.
3027         (CFLAGS-libc-start.c): Add -fexceptions here.
3028         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3029         (sysdep_routines, static-only-routines, shared-only-routines):
3030         Don't add to these here.
3031         (CFLAGS-libc-start.c): Likewise.
3033         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3034         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3035         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3036         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3037         * sysdeps/arm/Makefile [$(subdir) = rt]
3038         (librt-sysdep_routines, librt-shared-only-routines):
3039         Append rt-aeabi_unwind_cpp_pr1 here.
3040         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3041         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3042         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3043         (libpthread-sysdep_routines, libpthread-shared-only-routines):
3044         Append nptl-aeabi_unwind_cpp_pr1 here.
3045         (tests): Filter out tst-cleanupx4 here.
3046         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3047         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3048         Don't do those here.
3050 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3052         * scripts/list-sources.sh: Do not handle ports specially.
3054 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3056         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3057         * sysdeps/arm/feupdateenv.c: Likewise.
3059         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3061 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3063         * manual/texinfo.tex: Update to version 2014-05-05.10 with
3064         trailing whitespace removed.
3065         * scripts/config.guess: Update to version 2014-03-23.
3066         * scripts/config.sub: Update to version 2014-05-01
3067         * scripts/install-sh: Update to version 2013-12-25.23.
3068         * scripts/move-if-change: Update from gnulib.
3070 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3072         * debug/memmove_chk.c: Remove pagecopy.h include.
3074 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
3076         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
3077         identical to gnulib mktime.
3079 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
3081         * configure.ac: Do not test for machine being rs6000.  Do not test
3082         for powerpc*-*soft.
3083         * configure: Regenerated.
3085         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3086         test.
3087         * configure: Regenerated.
3088         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3089         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3090         Remove configure test.
3091         * sysdeps/arm/configure: Regenerated.
3092         * sysdeps/nptl/configure.ac: Do not check
3093         libc_cv_asm_cfi_directives.
3094         * sysdeps/nptl/configure: Regenerated.
3095         * sysdeps/x86_64/nptl/configure.ac: Remove file.
3096         * sysdeps/x86_64/nptl/configure: Remove generated file.
3097         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3098         unconditional.
3099         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3101 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3103         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3104         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3105         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3106         it is defined.
3108         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3109         instead of whether it is defined.
3110         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3111         * sysdeps/hppa/dl-machine.h: Likewise.
3112         * sysdeps/ia64/dl-machine.h: Likewise.
3113         * sysdeps/m68k/dl-machine.h: Likewise.
3114         * sysdeps/microblaze/dl-machine.h: Likewise.
3115         * sysdeps/mips/dl-machine.: Likewise.
3116         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3117         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3118         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3119         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3120         * sysdeps/sh/dl-machine.h: Likewise.
3121         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3122         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3123         * sysdeps/tile/dl-machine.h: Likewise.
3124         * sysdeps/x86_64/dl-machine.h: Likewise.
3126         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3127         code.
3128         (verify_persistent_db): Likewise.
3130 2014-06-26  Roland McGrath  <roland@hack.frob.com>
3132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3133         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3135         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3137         Moved ...
3138         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3139         ... here.
3140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3141         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3143         Identical file removed.
3144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3145         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3147         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3149         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3151         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3153         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3155         Moved ...
3156         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3158         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3160         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3162         Moved ...
3163         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3165         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3167         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3169         Identical file removed.
3170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3171         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3173         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3175         Moved ...
3176         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3177         ... here.
3178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3179         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3181         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3183         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3185         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3187         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3189         Moved ...
3190         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3192         Moved ...
3193         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3195         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3197         Moved ...
3198         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3200         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3202         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3203         folded into ...
3204         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3205         * sysdeps/unix/sysv/linux/s390/Versions
3206         (libpthread: GLIBC_2.19): New version set.
3207         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3208         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3209         (librt: GLIBC_2.3.3): New version set.
3210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3211         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3212         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3213         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3214         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3215         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3216         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3217         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3218         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3219         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3220         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3221         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3222         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3223         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3224         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3225         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
3226         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
3227         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
3228         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
3229         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
3230         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
3231         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
3232         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
3233         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
3234         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
3235         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
3236         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
3237         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
3238         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
3239         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
3240         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
3241         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
3242         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
3243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
3244         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
3245         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
3246         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
3247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
3248         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
3249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
3250         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
3251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
3252         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
3253         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
3254         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
3256         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
3257         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
3258         (__libc_vfork): Define the function under this name.
3259         [!NOT_IN_libc] (__vfork): Make this an alias.
3260         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
3262         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
3263         (__libc_vfork): Define the function under this name.
3264         [!NOT_IN_libc] (__vfork): Make this an alias.
3265         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
3266         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
3267         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
3268         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
3269         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
3270         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
3272         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
3273         code that was previously under [RESET_PID].
3274         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3275         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
3276         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
3278         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
3279         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
3280         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
3281         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
3282         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
3283         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
3284         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
3285         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
3286         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
3287         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
3288         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
3289         Moved ...
3290         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
3291         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
3292         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
3293         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
3294         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
3295         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
3296         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
3297         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
3298         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
3299         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
3300         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
3301         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
3302         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
3303         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
3304         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
3305         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
3306         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
3307         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
3308         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
3309         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
3310         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
3311         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
3312         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
3313         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
3314         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
3315         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
3316         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
3317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
3318         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
3320 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3322         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
3323         that was previously under [RESET_PID].
3324         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
3326 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3328         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
3329         not undefine and redefine.
3330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
3331         [O_CLOEXEC]: Make code unconditional.
3332         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
3333         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
3334         <kernel-features.h>.
3335         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
3336         conditional variable definition.
3337         (shm_open) [O_CLOEXEC]: Make code unconditional.
3338         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
3339         code.
3341         * configure.ac (USE_REGPARMS): Don't define here.
3342         * configure: Regenerated.
3343         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
3344         * sysdeps/i386/configure: Regenerated.
3346         * nptl/createthread.c: Don't include kernel-features.h.
3347         * nptl/pthread_cancel.c: Likewise.
3348         * nptl/pthread_condattr_setclock.c: Likewise.
3349         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
3350         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
3351         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
3352         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
3353         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
3354         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
3355         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
3357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3358         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
3359         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
3360         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
3361         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
3362         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
3363         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
3364         * nscd/gai.c: Likewise.
3365         * nss/nss_db/db-open.c: Likewise.
3366         * sysdeps/generic/ldsodefs.h: Likewise.
3367         * sysdeps/sh/nptl/tls.h: Likewise.
3368         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3369         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
3370         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
3371         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
3372         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
3373         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3374         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
3375         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3376         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3377         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3378         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3379         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3380         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
3381         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
3382         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
3383         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
3384         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
3385         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
3386         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
3387         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
3388         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
3389         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
3390         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
3391         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3392         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
3393         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
3394         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
3395         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3396         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3397         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
3398         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
3399         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
3400         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
3401         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3402         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3403         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3404         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3405         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
3406         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
3407         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
3408         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3409         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
3410         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
3411         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3412         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3413         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
3414         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
3415         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3416         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3417         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
3418         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
3419         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
3420         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
3421         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3422         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
3423         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3424         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3425         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
3426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
3428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
3429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
3430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
3431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
3432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
3433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
3434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
3438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
3439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
3440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
3446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
3447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3448         * sysdeps/unix/sysv/linux/pread.c: Likewise.
3449         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
3450         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
3451         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
3452         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
3453         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3454         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3455         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
3456         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
3457         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
3458         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
3459         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
3460         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
3461         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
3462         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
3463         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
3464         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3465         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
3466         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
3467         * sysdeps/unix/sysv/linux/system.c: Likewise.
3468         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
3469         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3470         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3471         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3472         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3473         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3474         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3476         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
3477         * configure: Regenerated.
3478         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
3480         * configure.ac (base_machine): Do not set specially for particular
3481         machines here.
3482         * configure: Regenerated.
3483         * sysdeps/powerpc/preconfigure: Move machine and base_machine
3484         settings from configure.ac.
3485         * sysdeps/i386/preconfigure: New file.
3486         * sysdeps/s390/preconfigure: Likewise.
3487         * sysdeps/sh/preconfigure: Likewise.
3488         * sysdeps/sparc/preconfigure: Likewise.
3490 2014-06-25  Roland McGrath  <roland@hack.frob.com>
3492         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
3493         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
3494         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
3495         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
3496         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
3497         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
3498         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
3499         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
3500         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
3501         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
3502         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
3503         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
3504         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
3505         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
3506         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
3507         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
3508         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
3509         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
3510         * sysdeps/sparc/sparc64/Makefile: ... appended here.
3512         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
3513         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
3514         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
3515         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
3516         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
3517         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
3518         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
3519         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
3520         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
3521         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
3522         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
3523         * sysdeps/sparc/sparc32/sem_post.c: ... here.
3524         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
3525         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
3526         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
3527         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
3528         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
3529         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
3530         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
3531         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
3532         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
3533         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
3534         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
3535         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
3536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
3537         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
3538         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
3539         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
3540         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
3541         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
3542         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
3543         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
3544         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
3545         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
3546         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
3547         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
3548         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
3549         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
3551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
3552         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
3553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
3554         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
3555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3556         Moved ...
3557         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
3558         ... here.
3559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
3560         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
3561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
3562         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
3563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
3564         Moved ...
3565         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
3566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
3567         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
3568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
3569         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
3570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
3571         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
3572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3573         Moved ...
3574         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
3575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3576         Moved ...
3577         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
3578         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
3579         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
3580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3581         Moved ...
3582         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
3583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
3584         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
3585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
3586         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
3587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
3588         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
3589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
3590         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
3591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3592         Moved ...
3593         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
3594         ... here.
3595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
3596         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
3597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
3598         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
3599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
3600         Moved ...
3601         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
3602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
3603         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
3604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
3605         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
3606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
3607         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
3608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3609         Moved ...
3610         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
3611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3612         Moved ...
3613         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
3614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
3615         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3617         Moved ...
3618         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
3619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
3620         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
3621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
3622         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
3624 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3626         * timezone/checktab.awk: Update from tzcode 2014e.
3627         * timezone/private.h: Likewise.
3628         * timezone/tzfile.h: Likewise.
3629         * timezone/zdump.c: Likewise.
3630         * timezone/zic.c: Likewise.
3632         * sysdeps/unix/sysv/linux/kernel-features.h
3633         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
3634         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
3635         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
3636         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
3637         Remove conditional code.
3639 2014-06-25  Will Newton  <will.newton@linaro.org>
3641         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3642         (_dl_arm_cap_flags): Add HWCAP2 values.
3643         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
3644         (_DL_HWCAP_COUNT): Increase to 37.
3645         (_DL_HWCAP_LAST): New define.
3646         (_DL_HWCAP2_LAST): New define.
3647         (_dl_procinfo): Add support for printing
3648         AT_HWCAP2 entries.
3649         (_dl_string_hwcap): Use _dl_hwcap_string.
3651 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3655 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
3657         * README: Do not mention ports directory.
3659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
3660         Remove macro.
3661         * sysdeps/unix/sysv/linux/futimes.c: Do not include
3662         <kernel-features.h>.
3663         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
3664         conditional variable definition.
3665         (__futimes): Update comment.
3666         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
3667         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
3669         [BZ #16560]
3670         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
3671         arguments close to 0.
3672         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
3673         Likewise.
3674         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
3675         Likewise.
3676         * math/auto-libm-test-in: Add more tests of exp10.
3677         * math/auto-libm-test-out: Regenerated.
3678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3680         * sysdeps/unix/sysv/linux/kernel-features.h
3681         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
3682         * sysdeps/unix/sysv/linux/readv.c: Do not include
3683         <kernel-features.h>.
3684         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3685         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3686         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3687         unconditional.
3688         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3689         conditional code.
3690         * sysdeps/unix/sysv/linux/writev.c: Do not include
3691         <kernel-features.h>.
3692         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
3693         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
3694         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
3695         unconditional.
3696         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
3697         conditional code.
3699 2014-06-25  Will Newton  <will.newton@linaro.org>
3701         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
3702         comment changes throughout the file.  Remove checks
3703         for HAVE_*_H definitions that are not required.
3704         (__gen_tempname): Call abort if an unknown kind value is
3705         passed.
3707 2014-06-25  Andreas Schwab  <schwab@suse.de>
3709         [BZ #17086]
3710         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
3711         scalbln, scalblnf, scalblnl in libc.
3713 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
3715         [BZ #17086]
3716         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
3717         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3718         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3720 2014-06-24  Roland McGrath  <roland@hack.frob.com>
3722         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
3723         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
3724         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
3725         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
3726         Update #include.
3727         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
3728         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
3729         Update #include.
3730         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
3731         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
3732         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
3733         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
3734         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
3735         * sysdeps/x86/bits/pthreadtypes.h: ... here.
3736         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
3737         * sysdeps/x86/bits/semaphore.h: ... here.
3738         * sysdeps/x86/nptl/elide.h: Moved ...
3739         * sysdeps/x86/elide.h: ... here.
3740         * sysdeps/x86_64/nptl/Implies: File removed.
3741         * sysdeps/i386/nptl/Implies: File removed.
3743 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
3745         [BZ #16539]
3746         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
3747         return the argument for normal arguments with exponent below -64.
3748         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
3749         Likewise.
3750         * math/auto-libm-test-in: Add another test of expm1.
3751         * math/auto-libm-test-out: Regenerated.
3753         [BZ #16287]
3754         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
3755         calling __erfcl for arguments at least 16.
3756         * math/auto-libm-test-in: Add more tests of erf.
3757         * math/auto-libm-test-out: Regenerated.
3759         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
3760         individual architectures.
3761         * sysdeps/unix/sysv/linux/configure: Regenerated.
3762         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
3763         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
3764         * sysdeps/unix/sysv/linux/powerpc/configure.ac
3765         (ldd_rewrite_script): Define variable.
3766         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
3768         file.
3769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
3770         generated file.
3771         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
3772         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
3773         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
3774         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
3775         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
3776         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
3777         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
3778         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
3780 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3782         [BZ #17084]
3783         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
3784         Rename member __data.d to __data.__elision_data.
3786 2014-06-24  Wilco  <wdijkstr@arm.com>
3788         * NEWS: Add 16918 to fixed bug list.
3790 2014-06-24  Wilco  <wdijkstr@arm.com>
3792         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
3794 2014-06-24  Wilco  <wdijkstr@arm.com>
3796         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
3797         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
3798         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
3799         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
3800         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
3801         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
3802         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
3803         Use _FPU_MASK_RM.
3805 2014-06-24  Wilco  <wdijkstr@arm.com>
3807         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
3809 2014-06-24  Wilco  <wdijkstr@arm.com>
3811         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
3812         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
3813         * sysdeps/arm/fesetround.c (fesetround): Remove space.
3814         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
3816 2014-06-24  Wilco  <wdijkstr@arm.com>
3818         [BZ #16918]
3819         * sysdeps/arm/feupdateenv.c (feupdateenv):
3820         Rewrite to reduce FPSCR accesses and fix return value.
3822 2014-06-24  Wilco  <wdijkstr@arm.com>
3824         * sysdeps/arm/fclrexcpt.c (feclearexcept):
3825         Optimize to avoid unnecessary FPSCR writes.
3826         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
3827         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
3828         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
3829         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
3831 2014-06-24  Wilco  <wdijkstr@arm.com>
3833         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
3834         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
3835         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
3836         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
3837         Call libc_fetestexcept_vfp.
3838         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
3839         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
3840         __SOFTFP__ ifdef so that they can be built for softfp.
3842 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3844         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
3845         argument type signed char.
3847         * Makerules (check-abi): Dump diff of symlist if the test
3848         fails.
3850 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3852         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
3853         using abort.
3855         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3856         Remove unused variable ST.
3858 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
3860         [BZ #16354]
3861         [BZ #17061]
3862         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
3863         small arguments before calling __expm1.
3864         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
3865         small arguments before calling __expm1f.
3866         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
3867         small arguments before calling __expm1l.
3868         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3869         Likewise.
3870         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
3871         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
3872         spurious underflow for some cosh tests.
3873         * math/auto-libm-test-out: Regenerated.
3874         * sysdeps/i386/fpu/libm-test-ulps: Update.
3876         [BZ #17050]
3877         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
3878         (__ieee754_y1): Set errno if return value overflows.
3879         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
3880         (__ieee754_y1f): Set errno if return value overflows.
3881         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
3882         (__ieee754_y1l): Set errno if return value overflows.
3883         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
3884         (__ieee754_y1l): Set errno if return value overflows.
3885         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
3886         * math/auto-libm-test-out: Regenerated.
3888         * math/gen-auto-libm-tests.c: Document use of
3889         ignore-zero-inf-sign.
3890         (input_flag_type): Add value flag_ignore_zero_inf_sign.
3891         (input_flags): Add ignore-zero-inf-sign.
3892         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
3893         * math/gen-libm-test.pl (generate_testfile): Handle
3894         ignore-zero-inf-sign.
3895         * math/auto-libm-test-in: Mark some cpow tests with
3896         ignore-zero-inf-sign and some with xfail-rounding.
3897         * math/auto-libm-test-out: Regenerated.
3898         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
3899         * sysdeps/i386/fpu/libm-test-ulps: Update.
3900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3902         [BZ #16315]
3903         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
3904         overflowing or underflowing operations take place with sign of
3905         result.
3906         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3907         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3908         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
3909         (__ieee754_pow): Recompute overflowing and underflowing results in
3910         original rounding mode.
3911         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
3912         (__powl_helper): Allow negative argument X and scale negated value
3913         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
3914         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
3915         overflowing or underflowing operations take place with sign of
3916         result.
3917         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
3918         Include <math.h>.
3919         * math/auto-libm-test-in: Add more tests of pow.
3920         * math/auto-libm-test-out: Regenerated.
3921         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
3922         (pow_tonearest_test_data): Remove.
3923         (pow_test_tonearest): Likewise.
3924         (pow_towardzero_test_data): Likewise.
3925         (pow_test_towardzero): Likewise.
3926         (pow_downward_test_data): Likewise.
3927         (pow_test_downward): Likewise.
3928         (pow_upward_test_data): Likewise.
3929         (pow_test_upward): Likewise.
3930         (main): Don't call removed functions.
3931         * sysdeps/i386/fpu/libm-test-ulps: Update.
3932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3934 2014-06-23  Roland McGrath  <roland@hack.frob.com>
3936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
3937         Moved ...
3938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
3939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3940         Moved ...
3941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3943         Moved ...
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
3945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
3946         Moved ...
3947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
3948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
3949         File removed.
3950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3951         File removed.
3952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
3953         File removed.
3954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
3955         File removed.
3956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
3957         File removed.
3958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
3959         File removed.
3960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
3961         File removed.
3962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3963         File removed.
3964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
3965         File removed.
3966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3967         File removed.
3968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
3969         File removed.
3970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
3971         File removed.
3972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
3973         Moved ...
3974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
3975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
3976         Moved ...
3977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
3978         ... here.
3979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
3980         Moved ...
3981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
3982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
3983         Moved ...
3984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
3985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
3986         Moved ...
3987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
3988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
3989         Moved ...
3990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
3991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
3992         Moved ...
3993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
3994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
3995         Moved ...
3996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
3997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
3998         Moved ...
3999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4002         ... here.
4003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4004         Moved ...
4005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4007         Moved ...
4008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4009         ... here.
4010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4011         Moved ...
4012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4013         ... here.
4014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4015         Moved ...
4016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4017         ... here.
4018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4019         Moved ...
4020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4022         Moved ...
4023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4027         Moved ...
4028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4029         ... here.
4030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4031         Moved ...
4032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4033         ... here.
4034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4035         Moved ...
4036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4038         Moved ...
4039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4041         Moved ...
4042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4044         Moved ...
4045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4047         Moved ...
4048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4049         ... here.
4050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4051         Moved ...
4052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4054         Moved ...
4055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4057         Moved ...
4058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4060         Moved ...
4061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4065         Moved ...
4066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4068         Moved ...
4069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4071         Moved ...
4072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4073         ... here.
4074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4075         Moved ...
4076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4077         ... here.
4078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4079         Moved ...
4080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4081         ... here.
4082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4083         Moved ...
4084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4086         Moved ...
4087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4089         Moved ...
4090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4092         Moved ...
4093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4094         ... here.
4095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4096         Moved ...
4097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4098         ... here.
4099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4100         Moved ...
4101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4102         ... here.
4103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4104         Moved ...
4105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4107         Moved ...
4108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4110 2014-06-23  Will Newton  <will.newton@linaro.org>
4111             Wilco  <wdijkstr@arm.com>
4113         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4114         implementation.  Include get-rounding-mode.h.
4115         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4116         [!libc_feholdsetround_noex_ctx]: Define
4117         libc_feholdsetround_noex_ctx.
4118         [!libc_feholdsetround_noexf_ctx]: Define
4119         libc_feholdsetround_noexf_ctx.
4120         [!libc_feholdsetround_noexl_ctx]: Define
4121         libc_feholdsetround_noexl_ctx.
4122         (libc_feholdsetround_ctx): New function.
4123         (libc_feresetround_ctx): New function.
4124         (libc_feholdsetround_noex_ctx): New function.
4125         (libc_feresetround_noex_ctx): New function.
4127 2014-06-23  Roland McGrath  <roland@hack.frob.com>
4129         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4130         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4131         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4132         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4133         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4134         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4136         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4137         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4138         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4139         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4140         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4141         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4142         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4143         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4145         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4147         Moved ...
4148         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4149         ... here.
4150         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4151         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4152         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4153         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4154         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4155         Moved ...
4156         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4157         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4158         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4160         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4161         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4162         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4163         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4164         Moved ...
4165         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4166         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4167         Moved ...
4168         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4169         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4170         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4171         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4172         Moved ...
4173         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4174         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4175         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4176         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4177         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4178         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4179         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4180         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4181         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4182         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4183         Moved ...
4184         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4185         ... here.
4186         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4187         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4188         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4189         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4190         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4191         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4192         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4193         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4194         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4195         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4196         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4197         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4198         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4199         Moved ...
4200         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4201         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4202         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4203         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4204         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4205         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4206         Moved ...
4207         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4209         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4210         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4211         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4213         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4214         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4215         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4216         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4217         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4218         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4219         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4220         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4221         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4222         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4223         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4224         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4225         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
4226         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
4227         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
4228         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
4229         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
4230         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
4231         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
4232         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
4233         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
4234         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
4235         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
4236         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
4237         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
4238         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
4239         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
4240         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
4242 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
4244         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
4245         (FALLOC_FL_COLLAPSE_RANGE): New macro.
4246         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
4247         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
4248         (IPV6_PMTUDISC_INTERFACE): Likewise.
4249         (IPV6_PMTUDISC_OMIT): Likewise.
4251 2014-06-23  Andreas Schwab  <schwab@suse.de>
4253         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
4254         Remove unused errout label.
4256 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4258         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
4259         macro: hardware supports Vector Crypto instructions.
4261 2014-06-23  Will Newton  <will.newton@linaro.org>
4263         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
4264         rather than __builtin_expect.
4266         * elf/dl-lookup.c (undefined_msg): Remove variable.
4267         (_dl_lookup_symbol_x): Replace undefined_msg with string
4268         literal.
4270         * elf/dl-lookup.c (do_lookup_unique): New function.
4271         (do_lookup_x): Move STB_GNU_UNIQUE handling code
4272         to a separate function.
4274 2014-06-23  Andreas Schwab  <schwab@suse.de>
4276         [BZ #17079]
4277         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
4278         before reading the next line.
4280 2014-06-23  Will Newton  <will.newton@linaro.org>
4282         * test-skeleton.c (signal_handler): Use printf and %m
4283         rather than perror.  Use printf rather than fprintf to
4284         stderr.  Use puts rather than fputs to stderr.
4285         (main): Likewise.
4287 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
4289         * nscd/nscd.c (thread_info_t): Remove typedef.
4290         (thread_info): Remove variable.
4292 2014-06-21  Allan McRae  <allan@archlinux.org>
4294         * NEWS: Mention CVE-2014-4043.
4296 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4298         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
4299         * nptl/smp.h: ... here.
4301         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
4303         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
4304         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
4305         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
4306         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
4308         * nptl/allocatestack.c: Include <stack-aliasing.h>.
4309         * nptl/stack-aliasing.h: New file.
4310         * sysdeps/i386/i686/stack-aliasing.h: New file.
4311         * sysdeps/i386/i686/nptl/Makefile: File removed.
4312         * sysdeps/x86_64/stack-aliasing.h: New file.
4313         * sysdeps/x86_64/nptl/Makefile
4314         (CFLAGS-pthread_create.c): Variable removed.
4316         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
4317         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
4318         old file.
4319         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
4320         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
4321         old file.
4323 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
4325         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4326         (__ASSUME_SIGFRAME_V2): Remove macro.
4327         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
4328         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
4329         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
4330         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
4331         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
4332         Declare as function.  Remove conditional macro definitions.
4333         (__default_rt_sa_restorer): Likewise.
4334         (__default_sa_restorer_v1): Remove declaration.
4335         (__default_sa_restorer_v2): Likewise.
4336         (__default_rt_sa_restorer_v1): Likewise.
4337         (__default_rt_sa_restorer_v2): Likewise.
4338         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
4339         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
4340         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
4342 2014-06-20  Roland McGrath  <roland@hack.frob.com>
4344         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
4345         (libpthread-routines): Add sysdep.
4346         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
4347         * sysdeps/unix/sysv/linux/sparc/Versions
4348         (libpthread: GLIBC_2.3.3): New version set.
4349         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
4350         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
4351         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
4352         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
4353         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
4354         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
4355         Moved ...
4356         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
4357         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
4358         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
4359         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
4360         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
4361         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
4362         * sysdeps/sparc/nptl/sem_init.c: ... here.
4363         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
4364         * sysdeps/sparc/nptl/sem_post.c: ... here.
4365         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
4366         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
4367         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
4368         * sysdeps/sparc/nptl/sem_wait.c: ... here.
4369         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
4370         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
4371         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
4372         (libpthread-routines): Add cpu_relax.
4373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
4374         File removed.
4375         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
4376         (librt: GLIBC_2.3.3): New version set.
4377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
4378         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
4379         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
4380         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
4381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
4382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
4383         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
4384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
4385         Moved ...
4386         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
4387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
4388         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
4389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
4390         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
4391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
4392         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
4393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
4394         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
4395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
4396         Moved ...
4397         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
4398         Update #include.
4399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
4400         Moved ...
4401         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
4402         Update #include.
4403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
4404         Moved ...
4405         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
4406         Update #include.
4407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
4408         Moved ...
4409         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
4410         Update #include.
4411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
4412         Moved ...
4413         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
4414         Update #include.
4415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
4416         Moved ...
4417         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
4418         Update #include.
4419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
4420         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
4421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
4422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
4423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
4424         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
4425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
4426         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
4427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
4428         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
4429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4430         Moved ...
4431         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
4432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
4433         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
4434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
4435         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
4437 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4439         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4440         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
4441         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4442         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
4443         * nscd/nscd.c: Likewise.
4444         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
4445         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
4446         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
4447         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
4449         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
4450         <kernel-features.h>.
4451         (init_mq_netlink): Remove conditional have_sock_cloexec
4452         definitions.  Remove code conditional on have_sock_cloexec < 0.
4453         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
4454         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
4455         * sysdeps/unix/sysv/linux/opensock.c: Do not include
4456         <kernel-features.h>.
4457         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
4458         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
4460 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4463         Add tests for memset_chk and memset.
4465         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
4466         with AVX2_Usable.
4468 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4470         [BZ #16046]
4471         * elf/tst-dl-iter-static.c: New file.
4472         * elf/Makefile (tests-static): Add tst-dl-iter-static.
4474         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
4475         error.
4477 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4479         * sysdeps/unix/sysv/linux/kernel-features.h
4480         (__ASSUME_F_GETOWN_EX): Remove macro.
4481         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
4482         <kernel-features.h>.
4483         (miss_F_GETOWN_EX): Remove variable or macro.
4484         (do_fcntl): Do not check miss_F_GETOWN_EX.
4485         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
4487         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
4488         Remove macro.
4489         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
4490         [!__ASSUME_AT_RANDOM]: Remove conditional code.
4491         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
4493         * sysdeps/unix/sysv/linux/kernel-features.h
4494         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
4495         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
4496         [ADJ_OFFSET_SS_READ]: Make code unconditional.
4497         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
4499 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
4501         [BZ #17075]
4502         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
4503         Fix calculation of the symbol's value.
4504         * sysdeps/arm/tst-armtlsdescloc.c: New file.
4505         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
4506         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
4507         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
4508         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
4509         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
4510         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
4511         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
4512         (modules-names): Add `tst-armtlsdescmod',
4513         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
4514         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
4515         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4516         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
4517         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
4518         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
4519         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
4520         ($(objpfx)tst-armtlsdescloc): New dependency.
4521         ($(objpfx)tst-armtlsdescextnow): Likewise.
4522         ($(objpfx)tst-armtlsdescextlazy): Likewise.
4523         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
4524         TLS scheme support.
4525         * sysdeps/arm/configure: Regenerate.
4527 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
4529         * include/fcntl.h (__atfct_seterrno): Remove prototype.
4530         (__atfct_seterrno_2): Likewise.
4531         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
4532         <kernel-features.h>.
4533         (__ASSUME_ATFCTS): Do not undefine and redefine.
4534         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
4535         (__have_atfcts): Remove conditional definition.
4536         (__fxstatat([__NR_fstatat64]: Make code unconditional.
4537         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
4538         unreachable if [__ASSUME_ATFCTS].
4539         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
4540         not undefine and redefine.
4541         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
4542         <kernel-features.h>.
4543         (faccessat) [__NR_faccessat]: Make code unconditional.
4544         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
4545         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
4546         <kernel-features.h>.
4547         (fchmodat) [__NR_fchmodat]: Make code unconditional.
4548         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4549         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
4550         <kernel-features.h>.
4551         (fchownat) [__NR_fchownat]: Make code unconditional.
4552         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
4553         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
4554         <kernel-features.h>.
4555         (futimesat) [__NR_futimesat]: Make code unconditional.
4556         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
4557         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4558         <kernel-features.h>.
4559         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4560         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4561         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4562         <kernel-features.h>.
4563         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
4564         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4565         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
4566         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4567         <kernel-features.h>.
4568         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
4569         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4570         * sysdeps/unix/sysv/linux/linkat.c: Do not include
4571         <kernel-features.h>.
4572         (linkat) [__NR_linkat]: Make code unconditional.
4573         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4574         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
4575         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
4576         <kernel-features.h>.
4577         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
4578         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
4579         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
4580         <kernel-features.h>.
4581         (mkdirat) [__NR_mkdirat]: Make code unconditional.
4582         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
4583         * sysdeps/unix/sysv/linux/openat.c: Do not include
4584         <kernel-features.h>.
4585         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
4586         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
4587         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
4588         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
4589         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
4590         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
4591         <kernel-features.h>.
4592         (readlinkat) [__NR_readlinkat]: Make code unconditional.
4593         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
4594         result of INLINE_SYSCALL directly, not via int variable.
4595         * sysdeps/unix/sysv/linux/renameat.c: Do not include
4596         <kernel-features.h>.
4597         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
4598         (renameat) [__NR_renameat]: Make code unconditional.
4599         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
4600         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
4601         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
4602         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
4603         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
4604         (__ASSUME_ATFCTS): Do not undefine and redefine.
4605         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
4606         <kernel-features.h>.
4607         (symlinkat) [__NR_symlinkat]: Make code unconditional.
4608         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4609         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
4610         <kernel-features.h>.
4611         (unlinkat) [__NR_unlinkat]: Make code unconditional.
4612         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
4613         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
4614         (__ASSUME_ATFCTS): Do not undefine and redefine.
4615         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4616         <kernel-features.h>.
4617         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
4618         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
4619         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4620         <kernel-features.h>.
4621         (__xmknodat) [__NR_mknodat]: Make code unconditional.
4622         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
4624 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
4626         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
4628 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
4630         [BZ #17069]
4631         * posix/regcomp.c (parse_reg_exp): Deallocate partially
4632         constructed tree before returning error.
4633         * posix/bug-regexp36.c: Expand test case.
4635 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4637         [BZ #6803]
4638         * math/libm-test.inc (scalbln_test_date):
4639         Add errno expectations.
4640         * math/w_scalblnf.c: New File.
4641         Add wrapper which checks for setting errno to ERANGE.
4642         Add weak_alias for corresponding scalbln function.
4643         * math/w_scalbln.c: Likewise.
4644         * math/w_scalblnl.c: Likewise.
4645         * math/Makefile (libm-calls): Add w_scalbln.
4646         * sysdeps/ieee754/flt-32/s_scalblnf.c:
4647         Remove weak_alias for corresponding scalbln function.
4648         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4649         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4650         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4651         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4652         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
4653         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4654         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
4655         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4656         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
4657         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
4658         Remove long_double_symbol for scalblnl function in libm, libc.
4659         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
4660         Add wrapper which checks for setting errno to ERANGE.
4661         Add long_double_symbol for scalblnl function in libm, libc.
4662         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
4663         Remove long_double_symbol for scalblnl in libm.
4664         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
4665         Add wrapper which checks for setting errno to ERANGE.
4666         Add long_double_symbol for scalblnl function in libm.
4667         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
4668         Do not use wrapper because of own implementation.
4670 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
4672         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
4673         3 bytes for __pad1 for x32.
4674         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
4676 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
4677             H.J. Lu  <hongjiu.lu@intel.com>
4679         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
4680         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
4681         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4682         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4683         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
4685 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
4687         [BZ #17069]
4688         * posix/regcomp.c (parse_expression): Deallocate partially
4689         constructed tree before returning error.
4690         * posix/Makefile.c (tests): Add bug-regex36.
4691         (generated): Add bug-regex36.mtrace.
4692         (tests-special): Add $(objpfx)bug-regex36-mem.out
4693         (bug-regex36-ENV): New variable.
4694         ($(objpfx)bug-regex36-mem.out): New rule.
4695         * posix/bug-regex36.c: New file.
4697 2014-06-19  Will Newton  <will.newton@linaro.org>
4699         * malloc/malloc.c (systrim): If extra is zero then return
4700         early.
4702 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4704         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
4706 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
4708         * sysdeps/aarch64/strchr.S: New file.
4710 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4712         [BZ #17022]
4713         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
4714         from arguments -2 or below.
4715         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4716         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
4718 2014-06-18  Andreas Schwab  <schwab@suse.de>
4720         [BZ #17062]
4721         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
4722         of a bracket expr not to run off the end of the string.
4723         * posix/Makefile (tests): Add tst-fnmatch3.
4724         * posix/tst-fnmatch3.c: New file.
4726 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
4728         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
4729         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4730         [$(cross-compiling) = no]: Likewise.
4731         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4732         [$(cross-compiling) = no]: Likewise.
4734 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4736         [BZ #17031]
4737         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
4738         double, adjusted for any remainder from the high double.
4739         * math/libm-test.inc (nearbyint): Add tests.
4740         (rint): Likewise.
4742 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4744         * nptl/sysdeps/powerpc/Makefile: Moved ...
4745         * sysdeps/powerpc/nptl/Makefile: ... here.
4746         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
4747         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
4748         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
4749         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
4750         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
4751         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
4752         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
4753         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
4754         * nptl/sysdeps/powerpc/tls.h: Moved ...
4755         * sysdeps/powerpc/nptl/tls.h: ... here.
4757 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
4759         [BZ #16681]
4760         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
4761         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4762         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
4763         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
4764         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4765         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
4766         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
4767         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4768         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
4770 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
4772         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4774 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
4776         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
4777         defined operator.
4779         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
4780         $TIMEOUTFACTOR.
4782 2014-06-16  Florian Weimer  <fweimer@redhat.com>
4784         [BZ #17058]
4785         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
4786         non-executed part of the test.
4788 2014-06-16  Andreas Schwab  <schwab@suse.de>
4790         * string/bits/string2.h (strdup, strndup): Update feature guard.
4792 2014-06-14  David S. Miller  <davem@davemloft.net>
4794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4796 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
4798         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
4799         that was previously under [RESET_PID].
4800         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
4802         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
4803         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
4804         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
4805         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4806         (__libc_vfork): New strong alias.
4807         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
4809 2014-06-14 Andi Kleen  <ak@linux.intel.com>
4811         * sysdeps/generic/elide.h: New file.
4813 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4815         * Makefile (installed-headers): Adjust path of pthread.h header.
4817 2014-06-13  Roland McGrath  <roland@hack.frob.com>
4819         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4820         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
4821         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
4822         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
4824         * nptl/sysdeps/s390/Makefile: Moved ...
4825         * sysdeps/s390/nptl/Makefile: ... here.
4826         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
4827         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
4828         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
4829         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
4830         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
4831         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
4832         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
4833         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
4834         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
4835         * sysdeps/s390/nptl/pthreaddef.h: ... here.
4836         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
4837         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
4838         * nptl/sysdeps/s390/tls.h: Moved ...
4839         * sysdeps/s390/nptl/tls.h: ... here.
4841         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
4842         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
4844 2014-06-13  David S. Miller  <davem@davemloft.net>
4846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
4847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
4848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
4849         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
4850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
4851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
4852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
4853         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
4854         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
4855         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
4856         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
4857         Remove RESET_PID cpp guards.
4858         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
4859         Remove RESET_PID cpp guards.
4860         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
4862 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
4864         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4865         __sp to uintptr_t.
4867 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4869         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4870         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
4871         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
4872         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
4873         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
4874         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
4875         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
4876         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
4877         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
4878         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
4879         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
4880         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
4881         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
4882         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
4883         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
4884         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
4885         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
4886         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
4887         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
4888         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
4890         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4891         (pthread_rwlock_rdlock): Add elision.
4892         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
4893         (pthread_rwlock_wrlock): Add elision.
4894         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
4895         (pthread_rwlock_trywrlock): Add elision.
4896         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
4897         (pthread_rwlock_tryrdlock): Add elision.
4898         * nptl/pthread_rwlock_unlock.c: Include elide.h.
4899         (pthread_rwlock_tryrdlock): Add elision unlock.
4900         * nptl/sysdeps/pthread/pthread.h:
4901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
4902         (PTHREAD_RWLOCK_INITIALIZER,
4903         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
4904         Handle new elision field.
4905         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
4906         * sysdeps/arm/nptl/bits/pthreadtypes.h
4907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4908         * sysdeps/sh/nptl/bits/pthreadtypes.h
4909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4910         * sysdeps/tile/nptl/bits/pthreadtypes.h
4911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4912         * sysdeps/a/nptl/bits/pthreadtypes.h
4913         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4914         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4915         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4916         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4918         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
4919         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4920         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4921         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4922         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4923         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4924         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4926         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4928         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
4929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4930         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
4931         (elision_init): Set try_xbegin to zero when no RTM.
4932         * sysdeps/x86/nptl/bits/pthreadtypes.h
4933         (pthread_rwlock_t): Change __pad1 to __rwelision.
4934         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
4936 2014-06-13  Andi Kleen  <ak@linux.intel.com>
4938         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
4939         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
4940         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
4941         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
4943 2014-06-13  Meador Inge  <meadori@codesourcery.com>
4945         [BZ #16996]
4946         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
4947         that the cached result has been set before returning it.
4949 2014-06-12  Roland McGrath  <roland@hack.frob.com>
4951         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
4952         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
4953         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
4954         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
4955         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
4956         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
4958         * nptl/sysdeps/sparc/Makefile: Moved ...
4959         * sysdeps/sparc/nptl/Makefile: ... here.
4960         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
4961         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
4962         * nptl/sysdeps/sparc/tls.h: Moved ...
4963         * sysdeps/sparc/nptl/tls.h: ... here.
4964         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
4965         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
4966         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
4967         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
4968         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
4969         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
4970         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
4971         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
4972         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
4973         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
4974         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
4975         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
4976         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
4977         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
4978         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
4979         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
4980         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
4981         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
4982         Update #include.
4983         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
4984         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
4985         Update #include.
4986         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
4987         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
4988         Update #include.
4989         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
4990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
4991         Update #include.
4993         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4995         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
4996         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
4998         * sysdeps/pthread/posix-timer.h: Include <list.h>.
4999         (struct list_links): Type removed.
5000         (struct thread_node, struct timer_node): Replace struct list_links
5001         with struct list_head.
5002         (list_unlink_ip): Likewise.
5003         * sysdeps/pthread/timer_routines.c
5004         (timer_free_list, thread_free_list, thread_active_list): Likewise.
5005         (list_append, list_insbefore): Likewise.
5006         (list_init): Function removed.
5007         (thread_init, init_module): Use INIT_LIST_HEAD instead.
5008         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5009         * sysdeps/pthread/Makefile: ... here, new file.
5011         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5012         * sysdeps/nptl/Implies: ... here.
5013         * sysdeps/unix/sysv/linux/Implies: Add nptl.
5014         * nptl/sysdeps/pthread/list.h: Moved ...
5015         * include/list.h: ... here.
5016         * nptl/sysdeps/pthread/createthread.c: Moved ...
5017         * nptl/createthread.c: ... here.
5018         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5019         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5020         * nptl/pt-longjmp.c: ... here.
5021         * nptl/sysdeps/pthread/Makefile: Moved ...
5022         * sysdeps/nptl/Makefile: ... here.
5023         * nptl/sysdeps/pthread/Subdirs: Moved ...
5024         * sysdeps/nptl/Subdirs: ... here.
5025         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5026         * sysdeps/nptl/aio_misc.h: ... here.
5027         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5028         * sysdeps/nptl/bits/libc-lock.h: ... here.
5029         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5030         * sysdeps/nptl/bits/libc-lockP.h: ... here.
5031         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5032         * sysdeps/nptl/bits/stdio-lock.h: ... here.
5033         * nptl/sysdeps/pthread/configure: Moved ...
5034         * sysdeps/nptl/configure: ... here.
5035         * nptl/sysdeps/pthread/configure.ac: Moved ...
5036         * sysdeps/nptl/configure.ac: ... here.
5037         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5038         * sysdeps/nptl/gai_misc.h: ... here.
5039         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5040         * sysdeps/nptl/librt-cancellation.c: ... here.
5041         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5042         * sysdeps/nptl/malloc-machine.h: ... here.
5043         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5044         * sysdeps/nptl/pthread-functions.h: ... here.
5045         * nptl/sysdeps/pthread/pthread.h: Moved ...
5046         * sysdeps/nptl/pthread.h: ... here.
5047         * nptl/sysdeps/pthread/setxid.h: Moved ...
5048         * sysdeps/nptl/setxid.h: ... here.
5049         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5050         * sysdeps/nptl/sigfillset.c: ... here.
5051         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5052         * sysdeps/nptl/tcb-offsets.h: ... here.
5053         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5054         * sysdeps/nptl/tst-mqueue8x.c: ... here.
5055         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5056         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5057         * nptl/sysdeps/pthread/allocalim.h: Moved ...
5058         * sysdeps/pthread/allocalim.h: ... here.
5059         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5060         * sysdeps/pthread/bits/sigthread.h: ... here.
5061         * nptl/sysdeps/pthread/flockfile.c: Moved ...
5062         * sysdeps/pthread/flockfile.c: ... here.
5063         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5064         * sysdeps/pthread/ftrylockfile.c: ... here.
5065         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5066         * sysdeps/pthread/funlockfile.c: ... here.
5067         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5068         * sysdeps/pthread/posix-timer.h: ... here.
5069         * nptl/sysdeps/pthread/timer_create.c: Moved ...
5070         * sysdeps/pthread/timer_create.c: ... here.
5071         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5072         * sysdeps/pthread/timer_delete.c: ... here.
5073         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5074         * sysdeps/pthread/timer_getoverr.c: ... here.
5075         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5076         * sysdeps/pthread/timer_gettime.c: ... here.
5077         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5078         * sysdeps/pthread/timer_routines.c: ... here.
5079         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5080         * sysdeps/pthread/timer_settime.c: ... here.
5081         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5082         * sysdeps/pthread/tst-timer.c: ... here.
5083         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5084         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5086         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5087         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5089         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5090         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5091         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5092         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5093         Update #include target.
5094         * nptl/sysdeps/i386/i686/Makefile: Moved ...
5095         * sysdeps/i386/i686/nptl/Makefile: ... here.
5096         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5097         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5098         Update #include target.
5099         * nptl/sysdeps/i386/i686/tls.h: Moved ...
5100         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
5101         * nptl/sysdeps/i386/Makefile: Moved ...
5102         * sysdeps/i386/nptl/Makefile: ... here.
5103         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5104         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5105         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5106         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5107         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5108         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5109         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5110         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5111         * sysdeps/i386/nptl/pthreaddef.h: ... here.
5112         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5113         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5114         * nptl/sysdeps/i386/tls.h: Moved ...
5115         * sysdeps/i386/nptl/tls.h: ... here.
5117         * sysdeps/sh/Makefile [$(subdir) = csu]
5118         (gen-as-const-headers): Add tcb-offsets.sym.
5119         * nptl/sysdeps/sh/Makefile: File removed.
5120         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5121         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5122         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5123         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5124         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5125         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5126         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5127         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5128         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5129         * sysdeps/sh/nptl/pthreaddef.h: ... here.
5130         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5131         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5132         * nptl/sysdeps/sh/tls.h: Moved ...
5133         * sysdeps/sh/nptl/tls.h: ... here.
5134         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5135         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5136         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5137         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5138         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5139         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5140         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5141         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5142         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5143         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5144         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5145         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5146         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5147         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5148         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5149         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5150         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5151         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5152         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5153         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5154         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5155         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5156         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5157         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5158         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5159         Moved ...
5160         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5161         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5162         Moved ...
5163         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5164         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5165         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5167         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5168         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5169         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5170         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5171         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5172         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5173         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5174         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5175         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5176         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5177         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5178         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5179         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5180         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5181         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5183 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5185         * posix/spawn_faction_addopen.c: Include string.h.
5187 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5189         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5190         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5191         * nptl/sysdeps/x86_64/Makefile: Moved ...
5192         * sysdeps/x86_64/nptl/Makefile: ... here.
5193         * nptl/sysdeps/x86_64/configure: Moved ...
5194         * sysdeps/x86_64/nptl/configure: ... here.
5195         * nptl/sysdeps/x86_64/configure.ac: Moved ...
5196         * sysdeps/x86_64/nptl/configure.ac: ... here.
5197         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5198         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5199         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5200         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5201         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5202         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5203         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5204         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5205         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5206         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5207         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5208         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5209         * nptl/sysdeps/x86_64/tls.h: Moved ...
5210         * sysdeps/x86_64/nptl/tls.h: ... here.
5211         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5212         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5213         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5214         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5216         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5218 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5222 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
5224         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
5225         type.
5226         [POSIX] (off_t): Likewise.
5227         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
5228         [POSIX] (S_ISBLK): Require macro.
5229         [POSIX] (S_ISCHR): Likewise.
5230         [POSIX] (S_ISDIR): Likewise.
5231         [POSIX] (S_ISFIFO): Likewise.
5232         [POSIX] (S_ISREG): Likewise.
5233         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
5234         optional-macro.
5235         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
5236         type.
5237         [POSIX] (time_t): Likewise.
5238         [POSIX] (timer_t): Likewise.
5240 2014-06-11  Florian Weimer  <fweimer@redhat.com>
5242         [BZ #17048]
5243         * posix/spawn_int.h (struct __spawn_action): Make the path string
5244         non-const to support deallocation.
5245         * posix/spawn_faction_addopen.c
5246         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
5247         * posix/spawn_faction_destroy.c
5248         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
5249         path in all spawn_do_open actions.
5250         * posix/tst-spawn.c (do_test): Exercise the copy operation in
5251         posix_spawn_file_actions_addopen.
5253 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
5255         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
5256         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
5257         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
5258         conditional code always true.
5259         (__libc_vfork): New alias.
5261 2014-06-11  Roland McGrath  <roland@hack.frob.com>
5263         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5264         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
5266         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
5268         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5269         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
5271         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5272         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
5274         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5275         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
5277 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5279         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
5280         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
5281         multiarch strcmp for PPC64.
5282         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
5283         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
5284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
5285         multiarch optimizations.
5286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5287         (__libc_ifunc_impl_list): Likewise.
5289 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5291         * benchtests/scripts/validate_benchout.py: New script.
5292         * benchtests/Makefile (bench-func): Call it.
5293         * benchtests/scripts/benchout.schema.json: New file.
5295 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
5297         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
5298         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
5299         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
5300         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
5301         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
5302         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
5303         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
5304         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
5305         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
5306         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
5307         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
5308         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
5309         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
5310         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
5311         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
5312         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
5313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
5314         Moved ...
5315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
5316         ... here.
5317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
5318         Moved ...
5319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
5320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
5321         Moved ...
5322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
5323         ... here.
5324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
5325         Moved ...
5326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
5327         ... here.
5328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
5329         Moved ...
5330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
5331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
5332         Moved ...
5333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
5334         ... here.
5335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
5336         Moved ...
5337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
5338         ... here.
5339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
5340         Moved ...
5341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
5342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
5343         Moved ...
5344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
5345         ... here.
5346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
5347         Moved ...
5348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
5349         ... here.
5350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
5351         Moved ...
5352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
5353         ... here.
5354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
5355         Moved ...
5356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
5357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
5358         Moved ...
5359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
5360         ... here.
5361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
5362         Moved ...
5363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
5364         ... here.
5365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
5366         Moved ...
5367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
5368         ... here.
5369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
5370         Moved ...
5371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
5372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
5373         Moved ...
5374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
5375         ... here.
5376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
5377         Moved ...
5378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
5379         ... here.
5380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
5381         Moved ...
5382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
5383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
5384         Moved ...
5385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
5386         ... here.
5387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
5388         Moved ...
5389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
5390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
5391         Moved ...
5392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
5393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
5394         Moved ...
5395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
5396         ... here.
5397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
5398         Moved ...
5399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
5400         ... here.
5401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
5402         Moved ...
5403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
5404         ... here.
5405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
5406         Moved ...
5407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
5408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
5409         Moved ...
5410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
5411         ... here.
5412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
5413         Moved ...
5414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
5415         ... here.
5416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
5417         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
5418         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
5419         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
5420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
5421         Moved ...
5422         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
5423         ... here.
5424         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
5425         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
5426         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
5427         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
5428         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
5429         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
5430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
5431         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
5432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
5433         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
5434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
5435         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
5436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
5437         Moved ...
5438         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
5439         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
5440         Moved ...
5441         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
5442         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
5443         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
5444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
5445         Moved ...
5446         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
5447         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
5448         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
5449         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
5450         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
5451         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
5452         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
5454 2014-06-10  Wilco  <wdijkstr@arm.com>
5456         * math/test-fenv-return.c: New file.
5457         * math/Makefile: Add new test test-fenv-return.
5459 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
5461         [BZ #17042]
5462         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
5463         when x - 1 is zero.
5464         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
5465         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5466         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
5467         0.0L for an argument of 1.0L.
5468         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
5469         Likewise.
5470         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
5471         value when x - 1 is zero.
5472         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
5473         * sysdeps/i386/fpu/libm-test-ulps: Update.
5474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5476 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
5478         [BZ #15119]
5479         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
5481 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5483         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
5484         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
5486 2014-06-09  Roland McGrath  <roland@hack.frob.com>
5488         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5489         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
5491         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5492         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
5494         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5495         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
5497         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5498         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
5500         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
5501         if not already defined.
5502         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
5503         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
5504         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
5505         (TLS_INIT_TP): Use it.
5506         (TLS_DEFINE_INIT_TP): New macro.
5507         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
5509 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
5511         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
5512         constant.
5513         [POSIX] (IXANY): Likewise.
5514         [POSIX] (OLCUC): Likewise.
5515         [POSIX || POSIX2008] (CBAUD): Do not allow.
5516         [POSIX || POSIX2008] (DEFECHO): Likewise.
5517         [POSIX || POSIX2008] (ECHOCTL): Likewise.
5518         [POSIX || POSIX2008] (ECHOKE): Likewise.
5519         [POSIX || POSIX2008] (ECHOPRT): Likewise.
5520         [POSIX || POSIX2008] (EXTA): Likewise.
5521         [POSIX || POSIX2008] (EXTB): Likewise.
5522         [POSIX || POSIX2008] (FLUSHO): Likewise.
5523         [POSIX || POSIX2008] (LOBLK): Likewise.
5524         [POSIX || POSIX2008] (PENDIN): Likewise.
5525         [POSIX || POSIX2008] (SWTCH): Likewise.
5526         [POSIX || POSIX2008] (VDISCARD): Likewise.
5527         [POSIX || POSIX2008] (VDSUSP): Likewise.
5528         [POSIX || POSIX2008] (VLNEXT): Likewise.
5529         [POSIX || POSIX2008] (VREPRINT): Likewise.
5530         [POSIX || POSIX2008] (VSTATUS): Likewise.
5531         [POSIX || POSIX2008] (VWERASE): Likewise.
5532         (B*): Change to B[0123456789]*.
5533         * conform/data/time.h-data [POSIX || UNIX98]
5534         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
5535         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5536         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
5537         [POSIX] (tm_*): Do not allow.
5539 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
5541         * Makefile (install): Don't set LANGUAGE.
5542         * Makefile.in (install): Likewise.
5543         * assert/Makefile (test-assert-ENV): Remove variable.
5544         (test-assert-perr-ENV): Likewise.
5545         * elf/Makefile (neededtest4-ENV): Likewise.
5546         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5547         [$(cross-compiling) = no]: Don't set LANGUAGE.
5548         * io/ftwtest-sh (LANG): Remove variable.
5549         * libio/Makefile (tst-widetext-ENV): Likewise.
5550         * manual/install.texi (Running make install): Don't refer to
5551         environment settings for make install.
5552         * INSTALL: Regenerated.
5553         * nptl/tst-tls6.sh: Don't set LANG.
5554         * posix/globtest.sh (LANG): Remove variable.
5555         * string/Makefile (tester-ENV): Likewise.
5556         (inl-tester-ENV): Likewise.
5557         (noinl-tester-ENV): Likewise.
5558         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5559         [$(cross-compiling) = no]: Don't set LANGUAGE.
5560         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
5561         without explicit environment settings.
5563 2014-06-06  Roland McGrath  <roland@hack.frob.com>
5565         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
5566         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
5567         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
5568         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
5570 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
5572         * crypt/crypt-private.h [DOS]: Add some includes taken from the
5573         other files in the crypt directory.
5574         * crypt/crypt.c: Remove duplicate includes.
5575         * crypt/crypt-entry.c: Likewise.
5576         * crypt/crypt_util.c: Likewise.
5578 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
5580         * Makeconfig (run-program-env): New variable.
5581         (run-program-prefix-before-env): Likewise.
5582         (run-program-prefix-after-env): Likewise.
5583         (run-program-prefix): Define in terms of new variables.
5584         (built-program-cmd-before-env): New variable.
5585         (built-program-cmd-after-env): Likewise.
5586         (built-program-cmd): Define in terms of new variables.
5587         (test-program-prefix-before-env): New variable.
5588         (test-program-prefix-after-env): Likewise.
5589         (test-program-prefix): Define in terms of new variables.
5590         (test-program-cmd-before-env): New variable.
5591         (test-program-cmd-after-env): Likewise.
5592         (test-program-cmd): Define in terms of new variables.
5593         * Rules (make-test-out): Use $(run-program-env).
5594         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
5595         (help): Do not mention environment variables.  Mention
5596         --timeoutfactor option.
5597         (timeoutfactor): New variable.
5598         (blacklist_exports): Remove function.
5599         (exports): Remove variable.
5600         (command): Do not include ${exports}.
5601         * manual/install.texi (Configuring and compiling): Do not mention
5602         test wrappers preserving environment variables.  Mention that last
5603         assignment to a variable must take precedence.
5604         * INSTALL: Regenerated.
5605         * benchtests/Makefile (run-bench): Use $(run-program-env).
5606         * catgets/Makefile ($(objpfx)test1.cat): Use
5607         $(built-program-cmd-before-env), $(run-program-env) and
5608         $(built-program-cmd-after-env).
5609         ($(objpfx)test2.cat): Do not specify environment variables
5610         explicitly.
5611         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
5612         $(run-program-env) and $(built-program-cmd-after-env).
5613         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
5614         $(run-program-env) and $(test-program-cmd-after-env).
5615         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
5616         explicitly.
5617         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
5618         run_program_env and test_program_cmd_after_env arguments.
5619         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
5620         * elf/tst-pathopt.sh: Use run_program_env argument.
5621         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
5622         $(test-wrapper-env) and $(run-program-env).
5623         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
5624         run_program_env arguments.
5625         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
5626         * intl/Makefile ($(objpfx)tst-gettext.out): Use
5627         $(test-program-prefix-before-env), $(run-program-env) and
5628         $(test-program-prefix-after-env).
5629         ($(objpfx)tst-gettext2.out): Likewise.
5630         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
5631         run_program_env and test_program_prefix_after_env arguments.
5632         * intl/tst-gettext2.sh: Likewise.
5633         * intl/tst-gettext4.sh: Do not set environment variables
5634         explicitly.
5635         * intl/tst-gettext6.sh: Likewise.
5636         * intl/tst-translit.sh: Likewise.
5637         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
5638         $(test-program-prefix-before-env), $(run-program-env) and
5639         $(test-program-prefix-after-env).
5640         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
5641         run_program_env and test_program_prefix_after_env arguments.
5642         * math/Makefile (run-regen-ulps): Use $(run-program-env).
5643         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
5644         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
5645         explicitly with each use of ${test_wrapper_env}.
5646         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
5647         $(test-program-prefix-before-env), $(run-program-env) and
5648         $(test-program-prefix-after-env).
5649         * posix/tst-getconf.sh: Do not set environment variables
5650         explicitly.
5651         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
5652         run_program_env and test_program_prefix_after_env arguments.
5653         * stdio-common/tst-printf.sh: Do not set environment variables
5654         explicitly.
5655         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
5656         $(test-program-prefix-before-env), $(run-program-env) and
5657         $(test-program-prefix-after-env).
5658         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
5659         run_program_env and test_program_prefix_after_env arguments.
5660         Split $test calls into $test_pre and $test.
5661         * timezone/Makefile (build-testdata): Use
5662         $(built-program-cmd-before-env), $(run-program-env) and
5663         $(built-program-cmd-after-env).
5665 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5667         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
5668         strlen for non SHARED builds.
5670 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5672         * nptl/allocatestack.c (check_list): Inlined function...
5673         (__reclaim_stacks): ... here.
5675 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5677         [BZ #15698]
5678         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5679         memory overrun.
5681 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
5683         * Rules (make-test-out): Include
5684         LOCPATH=$(common-objpfx)localedata in default environment.
5685         * debug/Makefile (tst-chk1-ENV): Remove variable.
5686         (tst-chk2-ENV): Likewise.
5687         (tst-chk3-ENV): Likewise.
5688         (tst-chk4-ENV): Likewise.
5689         (tst-chk5-ENV): Likewise.
5690         (tst-chk6-ENV): Likewise.
5691         (tst-lfschk1-ENV): Likewise.
5692         (tst-lfschk2-ENV): Likewise.
5693         (tst-lfschk3-ENV): Likewise.
5694         (tst-lfschk4-ENV): Likewise.
5695         (tst-lfschk5-ENV): Likewise.
5696         (tst-lfschk6-ENV): Likewise.
5697         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
5698         (tst-iconv7-ENV): Likewise.
5699         * intl/Makefile (LOCPATH-ENV): Likewise.
5700         (tst-codeset-ENV): Likewise.
5701         (tst-gettext3-ENV): Likewise.
5702         (tst-gettext5-ENV): Likewise.
5703         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
5704         (tst-fopenloc-ENV): Likewise.
5705         (tst-fgetws-ENV): Remove variable.
5706         (tst-ungetwc1-ENV): Likewise.
5707         (tst-ungetwc2-ENV): Likewise.
5708         (bug-ungetwc2-ENV): Likewise.
5709         (tst-swscanf-ENV): Likewise.
5710         (bug-ftell-ENV): Likewise.
5711         (tst-fgetwc-ENV): Likewise.
5712         (tst-fseek-ENV): Likewise.
5713         (tst-ftell-partial-wide-ENV): Likewise.
5714         (tst-ftell-active-handler-ENV): Likewise.
5715         (tst-ftell-append-ENV): Likewise.
5716         * posix/Makefile (tst-fnmatch-ENV): Likewise.
5717         (tst-regexloc-ENV): Likewise.
5718         (bug-regex1-ENV): Likewise.
5719         (tst-regex-ENV): Likewise.
5720         (tst-regex2-ENV): Likewise.
5721         (bug-regex5-ENV): Likewise.
5722         (bug-regex6-ENV): Likewise.
5723         (bug-regex17-ENV): Likewise.
5724         (bug-regex18-ENV): Likewise.
5725         (bug-regex19-ENV): Likewise.
5726         (bug-regex20-ENV): Likewise.
5727         (bug-regex22-ENV): Likewise.
5728         (bug-regex23-ENV): Likewise.
5729         (bug-regex25-ENV): Likewise.
5730         (bug-regex26-ENV): Likewise.
5731         (bug-regex30-ENV): Likewise.
5732         (bug-regex32-ENV): Likewise.
5733         (bug-regex33-ENV): Likewise.
5734         (bug-regex34-ENV): Likewise.
5735         (bug-regex35-ENV): Likewise.
5736         (tst-rxspencer-ENV): Likewise.
5737         (tst-rxspencer-no-utf8-ENV): Likewise.
5738         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
5739         (tst-sscanf-ENV): Likewise.
5740         (tst-swprintf-ENV): Likewise.
5741         (tst-swscanf-ENV): Likewise.
5742         (test-vfprintf-ENV): Likewise.
5743         (scanf13-ENV): Likewise.
5744         (bug14-ENV): Likewise.
5745         (tst-grouping-ENV): Likewise.
5746         * stdlib/Makefile (tst-strtod-ENV): Likewise.
5747         (tst-strtod3-ENV): Likewise.
5748         (tst-strtod4-ENV): Likewise.
5749         (tst-strtod5-ENV): Likewise.
5750         (testmb2-ENV): Likewise./
5751         * string/Makefile (tst-strxfrm-ENV): Likewise.
5752         (tst-strxfrm2-ENV): Likewise.
5753         (bug-strcoll1-ENV): Likewise.
5754         (test-strcasecmp-ENV): Likewise.
5755         (test-strncasecmp-ENV): Likewise.
5756         * time/Makefile (tst-strptime-ENV): Likewise.
5757         (tst-ftime_l-ENV): Likewise.
5758         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
5759         (tst-mbrtowc-ENV): Likewise.
5760         (tst-wcrtomb-ENV): Likewise.
5761         (tst-mbrtowc2-ENV): Likewise.
5762         (tst-c16c32-1-ENV): Likewise.
5763         (tst-mbsnrtowcs-ENV): Likewise.
5765 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
5767         * manual/resource.texi (How to get information about the memory
5768         subsystem?): Fix typo.
5769         Reported by Peon de la Parra Ivan <peon@keba.com>
5771 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
5773         [BZ #16882]
5774         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
5775         (pthread_spin_lock): Branch out of spin loop to proper location.
5776         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
5777         (pthread_spin_lock): Likewise.
5779         * nptl/tst-spin4.c: New test.
5780         * nptl/Makefile (tests): Add tst-spin4.
5782 2014-06-03  Andreas Schwab  <schwab@suse.de>
5784         [BZ #15946]
5785         * resolv/res_send.c (send_dg): Reload file descriptor after
5786         calling reopen.
5788 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
5790         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5792 2014-06-03  Richard Henderson  <rth@redhat.com>
5794         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
5795         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
5796         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
5797         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
5798         in the SAVE_PID block.
5799         (__libc_vfork): New alias.
5800         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
5802         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
5803         child in registers, not on the stack.  Remove RESET_PID conditionals.
5804         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
5806 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5808         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5810 2014-06-03  Wilco  <wdijkstr@arm.com>
5812         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
5813         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
5814         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5815         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
5816         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
5817         Likewise.
5819 2014-06-03  Wilco  <wdijkstr@arm.com>
5821         * sysdeps/aarch64/fpu/math_private.h
5822         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
5823         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
5824         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
5825         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
5826         Fix declarations.
5828 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5830         * crypt/crypt-private.h: Include ufc-crypt.h.
5831         (__b64_from_24bit): Declare extern.
5832         * crypt/crypt_util.c(__b64_from_24bit): New function.
5833         (b64t): New static const variable.
5834         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
5835         (b64t): Remove variable.
5836         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
5837         * crypt/sha256-crypt.c: Include crypt-private.h.
5838         (b64t): Remove variable.
5839         (__sha256_crypt_r): Remove b64_from_24bit and replace
5840         with __b64_from_24bit.
5841         * crypt/sha512-crypt.c: Likewise.
5843 2014-06-02  Roland McGrath  <roland@hack.frob.com>
5845         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
5846         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
5847         Label the code __libc_vfork rather than __vfork.
5848         [!NOT_IN_libc] (vfork): Define as weak alias.
5849         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
5850         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
5851         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
5853 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5855         * malloc/malloc.c (malloc_info): Fix format specifier for
5856         n_mmaps.
5858 2014-06-02  Wilco  <wdijkstr@arm.com>
5860         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
5861         FPCR write.
5863 2014-06-02  Wilco  <wdijkstr@arm.com>
5865         [BZ #17009]
5866         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
5867         Rewrite to reduce FPCR/FPSR accesses.
5869 2014-06-01  David S. Miller  <davem@davemloft.net>
5871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5873 2014-05-31  David S. Miller  <davem@davemloft.net>
5875         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
5876         to occur in round to nearest mode when |x| >= 2.0
5878 2014-05-30  Richard Henderson  <rth@twiddle.net>
5880         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
5881         (PSEUDO_RET_NOERRNO): Remove.
5882         (ret): Don't redefine.
5883         (ret_NOERRNO): Define in terms of ret.
5884         (ret_ERRVAL): Likewise.
5886         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
5887         use of PSEUDO_RET; perform the error check directly.
5889 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
5891         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
5892         with __int128_t.
5894 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5896         * malloc/malloc (malloc_info): Fix formatting.
5898 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5899             Roland McGrath  <roland@hack.frob.com>
5901         * malloc/malloc (malloc_info): Also print mmapped statistics.
5903 2014-05-30  Roland McGrath  <roland@hack.frob.com>
5905         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
5906         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
5908 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
5910         * malloc/malloc.c (malloc_info): Inline mi_arena.
5912 2014-05-29  Richard Henderson  <rth@twiddle.net>
5914         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
5915         Remove comma before expanding ASM_ARGS_##nr.
5916         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
5917         Make _x0 a strict output; make _x8 a strict input; adjust expansion
5918         of ASM_ARGS_##nr.
5919         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
5920         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
5921         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
5922         (ASM_ARGS_1): Add leading comma.
5924         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
5925         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
5926         to __errno_location.
5927         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
5928         Remove the expected plt for __errno_location.
5930         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5931         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
5932         call to __read_tp.
5934         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5935         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
5936         it and break it down.
5937         (DOCARGS_0, DOCARGS_1): Do nothing.
5938         (DOCARGS_2): Update to store into the new stack frame.
5939         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
5940         (UNDOCARGS_1): Update to restore from the new stack frame.
5941         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
5942         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
5944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5945         (SINGLE_THREAD_P): New parameter for result regno.
5946         (PSEUDO): Update to match; use cbz instead of beq.
5948         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5949         Use ENTRY to define the _nocancel entry point.  Share the syscall
5950         and syscall error check paths with the cancel path.
5951         (PSEUDO_END): New.
5953         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
5954         whitespace; tabs before and after asm mnemonics.
5956 2014-05-29  Eric Wong  <normalperson@yhbt.net>
5958         [BZ #15132]
5959         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5960         Call fstat64 or stat64 internally, depending on arguments passed.
5961         Replace stat buffer argument with file descriptor argument.
5962         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
5963         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5964         Pass fd to __internal_statvfs instead of calling fstat64.
5965         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
5966         Pass fd to __internal_statvfs64 instead of calling fstat64.
5967         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
5968         Pass -1 to __internal_statvfs instead of calling stat64.
5969         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
5970         Pass -1 to __internal_statvfs64 instead of calling stat64.
5972 2014-05-28  Roland McGrath  <roland@hack.frob.com>
5974         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
5975         that was previously under [RESET_PID].
5976         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
5978         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
5979         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
5981 2014-05-27  Roland McGrath  <roland@hack.frob.com>
5983         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
5985         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
5986         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
5988 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
5990         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
5992 2014-05-27  Andreas Schwab  <schwab@suse.de>
5994         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
5995         TLS_INIT_TP macro.
5996         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
5997         * elf/rtld.c (init_tls, dl_main): Likewise.
5998         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
5999         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6000         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6001         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6002         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6003         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6004         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6005         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6006         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6007         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6008         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6009         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6010         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6011         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6012         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6013         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6014         * sysdeps/generic/tls.h: Update description.
6016 2014-05-27  Will Newton  <will.newton@linaro.org>
6018         [BZ #16990]
6019         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6020         and restore r2 rather than just restoring.
6022 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6024         [BZ #16724]
6025         * libio/tst-ftell-append.c: New test case.
6026         * libio/Makefile (tests): Add test case.
6027         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6028         append mode.
6029         * libio/wfileops.c (do_ftell_wide): Likewise.
6031 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6035         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6036         ...
6037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6039         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6040         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6041         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6042         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6043         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6044         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6046         Moved ...
6047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6048         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6049         Moved ...
6050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6051         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6052         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6053         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6054         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6055         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6056         ...
6057         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6058         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6059         Moved ...
6060         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6061         here.
6062         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6063         ...
6064         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6065         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6066         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6068         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6069         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6070         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6071         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6073         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6074         merge into ...
6075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6077         ...
6078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6079         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6080         ...
6081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6083         Moved ...
6084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6085         here.
6086         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6087         Moved ...
6088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6090         Moved ...
6091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6094         conditional [RESET_PID].
6095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6096         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6097         removed.
6098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6099         removed.
6101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6102         <tcb-offsets.h>.
6103         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6104         (__libc_vfork): New strong alias.
6105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6106         removed.
6107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6108         Removed.
6110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6111         <tcb-offsets.h>.
6112         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6113         (__libc_vfork): New strong alias.
6114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6115         removed.
6116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6117         removed.
6119 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
6121         * malloc/malloc.c (mi_arena): New function.
6122         (malloc_info): Remove nested function mi_arena. Call non-nosted
6123         function mi_arena.
6125 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6127         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6128         by insrwi.
6129         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6130         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6131         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6132         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6133         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6134         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6135         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6137 2014-05-26  Andreas Schwab  <schwab@suse.de>
6139         [BZ #16984]
6140         * locale/programs/repertoire.c (repertoire_read): Add slash
6141         between I18NPATH element and file name.
6142         * locale/programs/locfile.c (locfile_read): Likewise.
6144 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6146         * nptl/pthread_mutexattr_settype.c
6147         (__pthread_mutexattr_settype):
6148         Disable lock elision for PTHREAD_MUTEX_NORMAL.
6150 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
6152         * nptl/tst-mutex5 (do_test):
6153         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6155 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6157         * benchtests/README: Document 'init' directive.
6158         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6159         BENCH_INIT.
6160         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6161         (parse_file): Recognize 'init' directive.
6163 2014-05-26  Kyle McMartin  <kyle@redhat.com>
6165         [BZ #16796]
6166         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6167         alignment of struct pthread.
6169 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6171         [BZ #16878]
6172         * nscd/netgroupcache.c (addgetnetgrentX): Look for
6173         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6174         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6175         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6177 2014-05-25  Richard Henderson  <rth@twiddle.net>
6179         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6180         (SINGLE_THREAD_P_PIC): Remove.
6181         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6182         (SINGLE_THREAD_P_PIC): Remove.
6184         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6185         branch to syscall error ...
6186         (PSEUDO): ... here.
6187         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6188         from __local_syscall_error to .Lsyscall_error.
6189         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6190         (SYSCALL_ERROR): Update label name.
6192         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6193         Do not use DOARGS/UNDOARGS.
6194         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6195         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6196         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6197         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6198         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6200         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6201         block comment.
6203         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6204         define if !NOT_IN_libc.
6205         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6206         define with non-default symbol versions.
6208 2014-05-23  Richard Henderson  <rth@twiddle.net>
6210         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6211         (vfork, __vfork): Define via compat_symbol.
6213         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6214         [!HAVE_IFUNC] (vfork_compat): Remove.
6215         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6217 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6219         [BZ #16978]
6220         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6221         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6222         variable.
6224 2014-05-23  Richard Henderson  <rth@twiddle.net>
6226         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
6227         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
6228         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
6229         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
6231         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
6232         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
6233         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
6234         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
6235         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
6236         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
6237         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
6238         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
6239         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
6240         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
6241         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
6242         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
6243         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
6244         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
6245         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
6246         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
6247         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
6248         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
6249         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
6250         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
6251         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
6252         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
6253         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
6254         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
6255         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
6256         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
6257         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
6258         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
6259         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
6260         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
6261         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
6262         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
6263         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
6264         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
6265         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
6266         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
6267         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
6268         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
6269         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
6270         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
6271         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
6272         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
6273         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
6274         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
6275         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
6276         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
6277         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
6278         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
6279         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
6280         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
6281         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
6282         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
6283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
6284         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
6285         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
6286         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
6288         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
6289         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
6290         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
6291         before exiting on error.
6292         (__libc_vfork): New strong alias.
6293         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
6294         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
6296         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
6297         that was previously under [RESET_PID].
6298         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
6300         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
6302 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
6304         [BZ #16977]
6305         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
6306         value when x - 1 is zero.
6307         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
6308         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6309         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
6310         0.0L for an argument of 1.0L.
6311         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
6312         Likewise.
6313         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
6314         value when x - 1 is zero.
6315         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
6316         * sysdeps/i386/fpu/libm-test-ulps: Update.
6317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6319 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6321         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
6322         alphasort and versionsort.
6324 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6326         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
6327         macro.
6328         [copysignf]: Likewise.
6330 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6332         * crypt/md5-crypt.c: Fix formatting.
6334 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6336         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
6337         (b64_from_24bit): New function.
6339 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6341         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
6342         libc_hidden_builtin_def to ifunc.
6343         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6344         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
6346 2014-05-21  Roland McGrath  <roland@hack.frob.com>
6348         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
6349         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
6351 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
6353         * nscd/Depend (linuxthreads): Remove.
6354         (nptl): Add.
6355         * resolv/Depend (linuxthreads): Remove.
6356         * rt/Depend (linuxthreads): Remove.
6358         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
6359         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
6360         $(common-objpfx)elf/.
6361         (link-libc-before-gnulib): Likewise.
6362         (elfobjdir): Remove variable.
6363         * Makefile (install): Use $(elf-objpfx) instead of
6364         $(common-objpfx)elf/.
6365         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
6366         $(elfobjdir)/.
6367         (link-libc-deps): Likewise.
6368         ($(common-objpfx)libc.so): Likewise.
6369         ($(common-objpfx)linkobj/libc.so): Likewise.
6370         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
6371         instead of $(common-objpfx)elf/.
6372         (symbolic-link-list): Likewise.
6373         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6374         [$(cross-compiling) = no]: Likewise.
6375         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
6376         $(elfobjdir)/.
6377         (static-gnulib-arch): Likewise.
6378         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6379         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
6380         $(common-objpfx)elf/.
6382 2014-05-21  Richard Henderson  <rth@redhat.com>
6384         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6385         (SINGLE_THREAD_P): Use the correct width load.  Fold
6386         into the ldr offset.
6388         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
6389         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
6391 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
6393         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
6394         (libgcc_s_resume): Use __attribute_used__.
6395         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
6396         Likewise.
6398 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6400         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
6401         optimization when used with float constants.
6403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6405 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
6407         [BZ #16915]
6408         * locale/nl_langinfo_l.c: Make direct reference to every
6409         _nl_current_CATEGORY symbol.
6410         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
6411         (tests-static): Add tst-langinfo-static.
6412         (tests-special): Add tst-langinfo-static.out.
6413         ($(objpfx)tst-langinfo.out): Redirect output.
6414         ($(objpfx)tst-langinfo-static.out): New.
6415         * localedata/tst-langinfo.sh: Send output to stdout.
6416         * localedata/tst-langinfo-static.c: New file.
6418         [BZ #16965]
6419         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
6420         when the shift amount is modulo the limb size.
6422 2014-05-20  Richard Henderson  <rth@redhat.com>
6424         [BZ #16967]
6425         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
6426         Change type of sa_flags from unsigned int to int.
6428         [BZ #16966]
6429         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6431         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
6433 2014-05-20  Will Newton  <will.newton@linaro.org>
6435         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6436         Test the return value of the system call in the nocancel case.
6438 2014-05-20  Will Newton  <will.newton@linaro.org>
6439             Yvan Roux  <yvan.roux@linaro.org>
6441         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
6442         #include of asm/ptrace.h.
6443         (PTRACE_GET_THREAD_AREA): Remove #undef.
6444         (PTRACE_GETHBPREGS): Likewise.
6445         (PTRACE_SETHBPREGS): Likewise.
6446         (struct user_regs_struct): New structure.
6447         (struct user_fpsimd_struct): New structure.
6448         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
6449         #include of asm/ptrace.h and second #include of sys/user.h.
6450         (PTRACE_GET_THREAD_AREA): Remove #undef.
6451         (PTRACE_GETHBPREGS): Likewise.
6452         (PTRACE_SETHBPREGS): Likewise.
6453         (ELF_NGREG): Use new struct user_regs_struct.
6454         (elf_fpregset_t): Use new struct user_fpsimd_struct.
6456 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
6459         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
6461 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
6463         [BZ #16958]
6464         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
6465         membar to avoid block loads/stores to overlap previous stores.
6467 2014-05-17  Richard Henderson  <rth@redhat.com>
6469         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
6470         Create the __##syscall_name##_nocancel entry point.
6471         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
6472         Remove; let the sysdep-cancel.h code create it.
6474 2014-05-17  David S. Miller  <davem@davemloft.net>
6476         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
6477         Protect with __USE_GNU.
6478         (TIOCSET_TEMPT): Likewise.
6479         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6480         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
6481         these are already provided in bits/ioctl-types.h
6483 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6485         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
6486         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
6488         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
6489         Use wait4 regardless of [__NR_waitpid].
6491 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
6493         PR libgcc/60166
6494         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6495         (_FP_NANSIGN_Q): Set the quiet bit.
6497 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
6499         * benchtests/Makefile
6500         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
6501         not $(common-objpfx)math/libm.so.
6502         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
6503         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
6504         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
6505         $(common-objpfx)dlfcn/libdl.so.
6506         ($(objpfx)tst-audit8): Depend on $(libm), not
6507         $(common-objpfx)math/libm.so.
6508         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
6509         not $(common-objpfx)dlfcn/libdl.so.
6510         * math/Makefile
6511         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6512         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
6513         [$(build-shared) = yes].
6514         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
6515         $(common-objpfx)nptl/libpthread.so.
6516         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
6517         $(common-objpfx)math/libm.so$(libm.so-version) or
6518         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
6519         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
6520         $(common-objpfx)dlfcn/libdl.so.
6521         * setjmp/Makefile (link-libm): Remove variable.
6522         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
6523         * stdio-common/Makefile (link-libm): Remove variable.
6524         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
6525         * stdlib/Makefile (link-libm): Remove variable.
6526         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
6527         ($(objpfx)tst-strtod-round): Likewise.
6528         ($(objpfx)tst-tininess): Likewise.
6529         ($(objpfx)tst-strtod-underflow): Likewise.
6530         ($(objpfx)tst-strtod6): Likewise.
6531         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
6532         $(libdl), not $(common-objpfx)nptl/libpthread.so and
6533         $(common-objpfx)dlfcn/libdl.so.
6535 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6537         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
6538         BSD terminal modes definitions.
6540 2014-05-16  Roland McGrath  <roland@hack.frob.com>
6542         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
6543         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
6545         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
6546         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
6547         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
6548         Don't do #include_next.
6549         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
6550         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
6551         Don't do #include_next.
6552         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
6553         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
6554         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
6555         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
6557 2014-05-16  Allan McRae  <allan@archlinux.org>
6559         * po/sv.po: Update Swedish translation from translation project.
6561         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
6562         in sed expression.
6564 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
6566         [BZ #16917]
6567         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
6568         errno if the TIOCGPTN ioctl fails with an error different than
6569         EINVAL.
6570         * login/tst-ptsname.c: New file.
6571         * login/Makefile (tests): Add tst-ptsname.
6573         [BZ #16943]
6574         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
6575         and prlimit64.
6577 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6579         [BZ #16849]
6580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
6581         herrno to return EAI_AGAIN.
6583 2014-05-14  Roland McGrath  <roland@hack.frob.com>
6585         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
6586         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
6587         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
6588         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
6589         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
6590         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
6591         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
6592         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
6593         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
6594         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
6595         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
6596         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
6597         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
6598         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
6599         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
6600         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
6601         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
6602         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
6603         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
6604         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
6605         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
6606         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
6607         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
6608         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
6609         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
6610         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
6611         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
6612         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
6613         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
6614         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
6615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
6616         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
6617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
6618         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
6619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
6620         Moved ...
6621         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
6622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
6623         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
6624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
6625         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
6626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
6627         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
6628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
6629         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
6630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
6631         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
6632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
6633         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
6634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
6635         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
6636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
6637         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
6638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
6639         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
6640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
6641         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
6642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
6643         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
6644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
6645         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
6646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
6647         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
6648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
6649         Moved ...
6650         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
6651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
6652         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
6653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
6654         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
6655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
6656         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
6657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
6658         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
6659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
6660         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
6661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
6662         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
6663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
6664         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
6665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
6666         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
6667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
6668         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
6669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
6670         Moved ...
6671         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
6672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
6673         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
6675         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
6676         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
6677         (libpthread-sysdep_routines): Add elision-related stuff here instead.
6678         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
6679         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
6680         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
6681         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
6682         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
6683         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
6684         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
6685         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
6686         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
6687         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
6688         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
6689         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
6690         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
6691         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
6692         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
6693         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
6694         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
6695         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
6696         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
6697         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
6698         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
6699         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
6700         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
6701         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
6702         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
6703         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
6704         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
6705         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
6707         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
6708         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
6710         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
6711         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
6712         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
6713         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
6714         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
6715         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
6716         Moved ...
6717         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
6718         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
6719         Moved ...
6720         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
6721         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
6722         Moved ...
6723         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
6724         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
6725         Moved ...
6726         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
6727         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
6728         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
6729         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
6730         Moved ...
6731         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
6732         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
6733         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
6734         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
6735         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
6736         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
6737         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
6738         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
6739         Moved ...
6740         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
6741         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6742         Moved ...
6743         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
6744         ... here.
6745         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
6746         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
6747         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
6748         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
6749         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6750         Moved ...
6751         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
6752         ... here.
6753         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
6754         Moved ...
6755         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
6756         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
6757         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
6758         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
6759         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
6760         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
6761         Moved ...
6762         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
6763         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
6764         Moved ...
6765         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
6766         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
6767         Moved ...
6768         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
6769         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
6770         Moved ...
6771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
6772         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
6773         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
6774         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
6775         Moved ...
6776         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
6777         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
6778         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
6779         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
6780         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
6781         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
6782         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
6783         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
6784         Moved ...
6785         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
6786         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6787         Moved ...
6788         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
6789         ... here.
6790         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
6791         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
6792         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
6793         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
6794         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6795         Moved ...
6796         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
6797         ... here.
6798         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
6799         Moved ...
6800         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
6801         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
6802         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
6803         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
6804         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
6805         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
6806         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
6807         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
6808         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
6809         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
6810         Moved ...
6811         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
6812         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
6813         Moved ...
6814         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
6815         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
6816         Moved ...
6817         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
6818         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
6819         Moved ...
6820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
6821         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
6822         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
6823         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
6824         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
6825         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
6826         Moved ...
6827         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
6828         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
6829         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
6830         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
6831         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
6832         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
6833         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
6834         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
6835         Moved ...
6836         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
6837         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6838         Moved ...
6839         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
6840         ... here.
6841         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
6842         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
6843         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
6844         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
6845         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6846         Moved ...
6847         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
6848         ... here.
6849         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
6850         Moved ...
6851         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
6852         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
6853         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
6854         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
6855         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
6856         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
6857         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
6858         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
6859         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
6860         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
6861         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
6863         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
6864         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
6866         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
6867         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
6869         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
6870         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
6871         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
6872         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
6873         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
6874         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
6875         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
6876         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
6877         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
6878         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
6879         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
6880         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
6881         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
6882         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
6883         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
6884         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
6885         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
6886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
6887         Moved ...
6888         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
6889         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
6890         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
6891         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
6892         Moved ...
6893         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
6894         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
6895         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
6896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
6897         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
6898         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
6899         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
6900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
6901         Moved ...
6902         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
6903         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
6904         Moved ...
6905         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
6906         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
6907         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
6908         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
6909         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
6910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
6911         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
6912         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
6913         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
6914         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
6915         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
6916         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
6917         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
6918         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
6919         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
6920         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
6921         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
6923         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
6924         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
6925         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
6926         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
6927         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
6929         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
6930         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
6931         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
6932         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
6933         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
6934         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
6935         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
6936         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
6937         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
6938         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
6940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
6941         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
6943         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
6944         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
6945         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
6946         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
6947         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
6948         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
6949         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
6950         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
6951         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
6952         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
6953         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
6954         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
6955         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
6956         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
6957         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
6958         Update #include.
6959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
6960         Likewise.
6961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6962         Likewise.
6963         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6964         Likewise.
6965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6966         Likewise.
6967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
6968         Likewise.
6969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
6970         Likewise.
6971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6972         Likewise.
6973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
6974         Likewise.
6975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
6976         Likewise.
6977         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
6978         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
6979         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
6980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
6981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
6982         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
6983         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
6984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
6985         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
6986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
6987         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
6988         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
6989         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
6990         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
6991         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
6993         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
6994         that was previously under [RESET_PID].
6995         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6996         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
6997         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
6999         * sysdeps/i386/nptl/Implies: New file.
7000         * sysdeps/x86_64/nptl/Implies: New file.
7001         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7002         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7003         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7004         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7006         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7007         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7008         (__libc_vfork): New strong alias.
7009         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7010         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7012         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7013         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7014         (__libc_vfork): New strong alias.
7015         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7016         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7018         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7019         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7020         (__libc_vfork): New strong alias.
7021         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7022         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7023         * nptl/pt-vfork.c: New file.
7024         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7025         (libpthread: GLIBC_2.20): New version set (empty).
7027 2014-05-14  Will Newton  <will.newton@linaro.org>
7029         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7030         rather than #if.
7032 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7034         [BZ #16564]
7035         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7036         arguments with exponent 65 or above.
7037         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7038         arguments 0x1p113L or above.
7039         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7040         to arguments 0x1p107L or above.
7041         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7042         positive arguments with exponent 65 or above.
7043         * math/auto-libm-test-in: Add more tests of log1p.
7044         * math/auto-libm-test-out: Regenerated.
7046         [BZ #16928]
7047         * math/s_cacos.c (__cacos): Ensure zero real part of result from
7048         non-finite arguments is +0.
7049         * math/s_cacosf.c (__cacosf): Likewise.
7050         * math/s_cacosl.c (__cacosl): Likewise.
7051         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7052         * sysdeps/i386/fpu/libm-test-ulps: Update.
7053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7055         [BZ #16927]
7056         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7057         value.
7058         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7059         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7060         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7061         for explicit high bit of mantissa when testing for argument equal
7062         to 1.
7063         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7064         * sysdeps/i386/fpu/libm-test-ulps: Update.
7065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7067         [BZ #16516]
7068         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7069         (__erf): Scale by 16 instead of 8 in potentially underflowing
7070         case.  Ensure exception if result actually underflows.
7071         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7072         (__erff): Scale by 16 instead of 8 in potentially underflowing
7073         case.  Ensure exception if result actually underflows.
7074         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7075         (efx8): Remove variable.
7076         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7077         case.  Ensure exception if result actually underflows.
7078         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7079         (efx8): Remove variable.
7080         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7081         case.  Ensure exception if result actually underflows.
7082         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7083         (efx8): Remove variable.
7084         (__erfl): Scale by 16 instead of 8 in potentially underflowing
7085         case.  Ensure exception if result actually underflows.
7086         * math/auto-libm-test-in: Add more tests of erf.
7087         * math/auto-libm-test-out: Regenerated.
7089 2014-05-14  Andreas Schwab  <schwab@suse.de>
7091         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7092         Remove code conditionalized on USE___THREAD.
7094         * config.h.in (HAVE_PT_CHOWN): Define as 0.
7095         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7096         not definedness.
7098 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
7100         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7101         Define unconditionally.
7102         (__ASSUME_O_CLOEXEC): Likewise.
7103         (__ASSUME_SOCK_CLOEXEC): Likewise.
7104         (__ASSUME_IN_NONBLOCK): Likewise.
7105         (__ASSUME_PIPE2): Likewise.
7106         (__ASSUME_EVENTFD2): Likewise.
7107         (__ASSUME_SIGNALFD4): Likewise.
7108         (__ASSUME_DUP3): Likewise.
7109         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7110         (__ASSUME_DUP3): Do not define.
7111         (__ASSUME_EVENTFD2): Likewise.
7112         (__ASSUME_IN_NONBLOCK): Likewise.
7113         (__ASSUME_O_CLOEXEC): Likewise.
7114         (__ASSUME_PIPE2): Likewise.
7115         (__ASSUME_SIGNALFD4): Likewise.
7116         (__ASSUME_SOCK_CLOEXEC): Likewise.
7117         (__ASSUME_UTIMES): Undefine.
7118         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7119         (__ASSUME_UTIMES): Do not define.
7120         (__ASSUME_O_CLOEXEC): Likewise.
7121         (__ASSUME_SOCK_CLOEXEC): Likewise.
7122         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7123         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7124         0x020621].
7125         (__ASSUME_PIPE2): Likewise.
7126         (__ASSUME_EVENTFD2): Likewise.
7127         (__ASSUME_SIGNALFD4): Likewise.
7128         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7129         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7130         Do not define.
7131         (__ASSUME_EVENTFD2): Likewise.
7132         (__ASSUME_SIGNALFD4): Likewise.
7133         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7134         (__ASSUME_32BITUIDS): Likewise.
7135         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7136         (__ASSUME_IPC64): Likewise.
7137         (__ASSUME_ST_INO_64_BIT): Likewise.
7138         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7139         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7140         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7141         (__ASSUME_UTIMES): Do not define.
7142         (__ASSUME_PSELECT): Likewise.
7143         (__ASSUME_PPOLL): Likewise.
7144         (__ASSUME_O_CLOEXEC): Likewise.
7145         (__ASSUME_SOCK_CLOEXEC): Likewise.
7146         (__ASSUME_IN_NONBLOCK): Likewise.
7147         (__ASSUME_PIPE2): Likewise.
7148         (__ASSUME_EVENTFD2): Likewise.
7149         (__ASSUME_SIGNALFD4): Likewise.
7150         (__ASSUME_DUP3): Likewise.
7151         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7152         (__ASSUME_UTIMES): Likewise.
7153         (__ASSUME_O_CLOEXEC): Likewise.
7154         (__ASSUME_SOCK_CLOEXEC): Likewise.
7155         (__ASSUME_IN_NONBLOCK): Likewise.
7156         (__ASSUME_PIPE2): Likewise.
7157         (__ASSUME_EVENTFD2): Likewise.
7158         (__ASSUME_SIGNALFD4): Likewise.
7159         (__ASSUME_DUP3): Likewise.
7160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7161         (__ASSUME_UTIMES): Likewise.
7162         (__ASSUME_O_CLOEXEC): Likewise.
7163         (__ASSUME_SOCK_CLOEXEC): Likewise.
7164         (__ASSUME_IN_NONBLOCK): Likewise.
7165         (__ASSUME_PIPE2): Likewise.
7166         (__ASSUME_EVENTFD2): Likewise.
7167         (__ASSUME_SIGNALFD4): Likewise.
7168         (__ASSUME_DUP3): Likewise.
7169         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7170         Likewise.
7171         (__ASSUME_UTIMES): Likewise.
7172         (__ASSUME_EVENTFD2): Likewise.
7173         (__ASSUME_SIGNALFD4): Likewise.
7174         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7175         (__ASSUME_O_CLOEXEC): Likewise.
7176         (__ASSUME_SOCK_CLOEXEC): Likewise.
7177         (__ASSUME_IN_NONBLOCK): Likewise.
7178         (__ASSUME_PIPE2): Likewise.
7179         (__ASSUME_EVENTFD2): Likewise.
7180         (__ASSUME_SIGNALFD4): Likewise.
7181         (__ASSUME_DUP3): Likewise.
7182         (__ASSUME_UTIMES): Undefine.
7184         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7185         feclearexcept.  Remove symbol versioning code.
7186         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
7187         symbol versioning code.
7188         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
7189         symbol versioning code.
7190         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7191         feupdateenv.  Remove symbol versioning code.
7192         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7193         fegetexceptflag.  Remove symbol versioning code.
7194         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7195         fesetexceptflag.  Remove symbol versioning code.
7196         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7197         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
7198         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7199         (__posix_fadvise64_l32): Remove prototype.
7200         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7201         code.
7203 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7205         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7206         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7207         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7208         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7210 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
7212         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7213         current working directory
7215 2014-05-13  Roland McGrath  <roland@hack.frob.com>
7217         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7218         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7219         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7220         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7221         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7222         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7223         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7224         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7225         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
7226         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
7227         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
7228         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
7229         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
7230         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
7231         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
7232         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
7233         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
7234         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
7235         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
7236         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
7237         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
7238         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
7239         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
7240         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
7241         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
7242         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
7243         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
7244         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
7245         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
7246         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
7247         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
7248         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
7249         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
7250         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
7251         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
7252         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
7253         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
7254         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
7255         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
7256         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
7257         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
7258         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
7260         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
7261         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
7263         * sysdeps/unix/sysv/linux/arm/Makefile
7264         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7265         Add rt-aeabi_unwind_cpp_pr1.
7266         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
7267         Add nptl-aeabi_unwind_cpp_pr1.
7268         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
7269         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
7270         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
7271         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7272         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
7273         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7275         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
7276         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
7277         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
7278         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
7280         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
7281         Deconditionalize the code that was previously under [RESET_PID].
7282         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
7284         * sysdeps/generic/exit-thread.h: New file.
7285         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
7286         * include/unistd.h (__exit_thread): Remove declaration.
7287         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
7288         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
7289         * csu/libc-start.c: Include <exit-thread.h>.
7290         (LIBC_START_MAIN): Pass no argument to __exit_thread.
7291         * nptl/pthread_create.c: Include <exit-thread.h>.
7292         (start_thread): Call __exit_thread in place of __exit_thread_inline.
7293         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
7294         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
7295         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
7296         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
7297         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
7298         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
7299         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
7300         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
7301         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
7302         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
7303         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
7304         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
7305         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
7306         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
7307         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
7308         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
7310 2014-05-13  Andreas Schwab  <schwab@suse.de>
7312         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
7314 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
7316         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7317         (__ASSUME_UTIMES): Do not condition on kernel version.
7318         (__ASSUME_PSELECT): Define unconditionally.
7319         (__ASSUME_PPOLL): Likewise.
7320         (__ASSUME_ATFCTS): Likewise.
7321         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
7322         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
7323         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
7324         (__ASSUME_UTIMENSAT): Define unconditionally.
7325         (__ASSUME_PRIVATE_FUTEX): Likewise.
7326         (__ASSUME_FALLOCATE): Likewise.
7327         (__ASSUME_O_CLOEXEC): Likewise.
7328         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
7329         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
7330         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
7331         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
7332         (__ASSUME_IN_NONBLOCK): Likewise.
7333         (__ASSUME_PIPE2): Likewise.
7334         (__ASSUME_EVENTFD2): Likewise.
7335         (__ASSUME_SIGNALFD4): Likewise.
7336         (__ASSUME_DUP3): Likewise.
7337         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7338         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
7339         (__ASSUME_AT_RANDOM): Likewise.
7340         (__ASSUME_PREADV): Likewise.
7341         (__ASSUME_PWRITEV): Likewise.
7342         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
7343         (__ASSUME_F_GETOWN_EX): Define unconditionally.
7344         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
7345         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
7346         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
7347         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7348         (__ASSUME_O_CLOEXEC): Define unconditionally.
7349         (__ASSUME_PSELECT): Do not undefine conditionally.
7350         (__ASSUME_PPOLL): Likewise.
7351         (__ASSUME_ATFCTS): Likewise.
7352         (__ASSUME_SET_ROBUST_LIST): Likewise.
7353         (__ASSUME_UTIMENSAT): Likewise.
7354         (__ASSUME_FDATASYNC): Define unconditionally.
7355         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7356         (__ASSUME_SIGFRAME_V2): Likewise.
7357         )__ASSUME_EVENTFD2): Likewise.
7358         (__ASSUME_SIGNALFD4): Likewise.
7359         (__ASSUME_PSELECT): Do not undefine conditionally.
7360         (__ASSUME_PPOLL): Likewise.
7361         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7362         (__ASSUME_PSELECT): Define unconditionally.
7363         (__ASSUME_PPOLL): Likewise.
7364         (__ASSUME_O_CLOEXEC): Likewise.
7365         (__ASSUME_SOCK_CLOEXEC): Likewise.
7366         (__ASSUME_IN_NONBLOCK): Likewise.
7367         (__ASSUME_PIPE2): Likewise.
7368         (__ASSUME_EVENTFD2): Likewise.
7369         (__ASSUME_SIGNALFD4): Likewise.
7370         (__ASSUME_DUP3): Likewise.
7371         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7372         (__ASSUME_O_CLOEXEC): Likewise.
7373         (__ASSUME_SOCK_CLOEXEC): Likewise.
7374         (__ASSUME_IN_NONBLOCK): Likewise.
7375         (__ASSUME_PIPE2): Likewise.
7376         (__ASSUME_EVENTFD2): Likewise.
7377         (__ASSUME_SIGNALFD4): Likewise.
7378         (__ASSUME_DUP3): Likewise.
7379         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7380         (__ASSUME_EVENTFD2): Likewise.
7381         (__ASSUME_SIGNALFD4): Likewise.
7382         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7384 2014-05-12  Andreas Schwab  <schwab@suse.de>
7386         [BZ #16932]
7387         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
7388         (_nss_nis_gethostbyname4_r): Return error if item length is larger
7389         than maximum RPC packet size.
7390         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
7391         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
7392         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
7393         (_nss_nis_getservbyport_r): Likewise.
7395 2014-05-12  Will Newton  <will.newton@linaro.org>
7397         * malloc/Makefile (tests): Add tst-mallopt.
7398         * malloc/tst-mallopt.c: New file.
7400 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7402         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
7403         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
7405 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7407         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
7408         (tst-tlsmod6.so): Likewise.
7410 2014-05-09  Roland McGrath  <roland@hack.frob.com>
7412         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
7414 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
7416         [BZ #16064]
7417         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
7418         and <dl-procinfo.h>.
7419         (__fegetenv): Save SSE state in envp->__eip if supported.
7420         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
7421         envp->__eip if supported.
7422         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
7423         and <dl-procinfo.h>.
7424         (__fesetenv): Always set __eip, __cs_selector, __opcode,
7425         __data_offset and __data_selector in environment to 0.  Set SSE
7426         state if supported.
7427         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7428         test-fenv-sse.
7429         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
7430         -mfpmath=sse.
7431         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
7433 2014-05-09  Will Newton  <will.newton@linaro.org>
7435         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
7436         and libc_relro_required for ARM.
7437         * sysdeps/arm/preconfigure: Regenerate.
7439 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
7440             Stefan Liebler  <stli@linux.vnet.ibm.com>
7442         * config.make.in (enable-lock-elision): New Makefile variable.
7443         * configure.ac: Likewise.
7444         * configure: Regenerate.
7445         * sysdeps/s390/configure.ac:
7446         Add check for gcc transactions support.
7447         * sysdeps/s390/configure: Regenerate.
7448         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
7449         Build elision files if enabled.
7450         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
7451         Add lock elision support for s390.
7452         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
7453         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
7454         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
7455         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
7456         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7457         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
7458         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7459         Likewise.
7460         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
7461         Likewise.
7462         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
7463         Likewise.
7464         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
7465         Likewise.
7466         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
7467         (__lll_timedlock_elision, __lll_lock_elision)
7468         (__lll_unlock_elision, __lll_trylock_elision)
7469         (lll_timedlock_elision, lll_lock_elision)
7470         (lll_unlock_elision, lll_trylock_elision): Add.
7471         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7472         (pthread_mutex_t): Add lock elision support for s390.
7474 2014-05-14  Wilco  <wdijkstr@arm.com>
7476         * sysdeps/arm/fclrexcpt.c: Cleanup.
7477         * sysdeps/arm/fedisblxcpt.c: Cleanup.
7478         * sysdeps/arm/feenablxcpt.c: Cleanup.
7479         * sysdeps/arm/fegetenv.c: Cleanup.
7480         * sysdeps/arm/fegetexcept.c: Cleanup.
7481         * sysdeps/arm/fegetround.c: Cleanup.
7482         * sysdeps/arm/feholdexcpt.c: Cleanup.
7483         * sysdeps/arm/fesetenv.c: Cleanup.
7484         * sysdeps/arm/fesetround.c: Cleanup.
7485         * sysdeps/arm/feupdateenv.c: Cleanup.
7486         * sysdeps/arm/fgetexcptflg.c: Cleanup.
7487         * sysdeps/arm/fraiseexcpt.c: Cleanup.
7488         * sysdeps/arm/fsetexcptflg.c: Cleanup.
7489         * sysdeps/arm/ftestexcept.c: Cleanup.
7490         * sysdeps/arm/get-rounding-mode.h: Cleanup.
7491         * sysdeps/arm/setfpucw.c: Cleanup.
7493 2014-05-09  Will Newton  <will.newton@linaro.org>
7495         * sysdeps/arm/armv7/strcmp.S: New file.
7496         * NEWS: Mention addition of ARMv7 optimized strcmp.
7498 2014-05-08  Roland McGrath  <roland@hack.frob.com>
7500         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
7501         look for %.ac rather than %.in.
7503         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
7504         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
7505         * sysdeps/mach/hurd/configure: Regenerated.
7506         * sysdeps/unix/sysv/linux/configure: Regenerated.
7508         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
7510 2014-05-07  Steve Ellcey  <sellcey@mips.com>
7512         [BZ# 16922]
7513         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
7514         (LONG_SUB): Ditto.
7515         (PTR_SUB): Ditto.
7517 2014-05-07  Andreas Schwab  <schwab@suse.de>
7519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
7520         when skipping over non-matching result from nscd.
7522 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
7524         [BZ #16876]
7525         * nptl/sockperf.c (client): Check socket return value.
7527         [BZ #16877]
7528         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7529         nscd security class.
7531 2014-05-06  Roland McGrath  <roland@hack.frob.com>
7533         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
7534         * sysdeps/arm/unwind.h: ... here.
7536 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
7538         [BZ# 16916]
7539         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
7540         Define.
7542 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7544         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
7545         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
7546         multiarch strncpy for PPC64.
7547         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
7548         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
7549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
7550         multiarch optimizations.
7551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7552         (__libc_ifunc_impl_list): Likewise.
7553         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
7554         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
7555         multiarch stpncpy for PPC64.
7556         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
7557         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
7559 2014-05-06  Andreas Schwab  <schwab@suse.de>
7561         [BZ #16912]
7562         * gmon/mcount.c (_MCOUNT_DECL): Use
7563         atomic_compare_and_exchange_bool_acq instead of
7564         catomic_compare_and_exchange_bool_acq.
7566 2014-05-05  Roland McGrath  <roland@hack.frob.com>
7568         * elf/Makefile (others, install-bin): Remove pldd.
7569         (pldd-modules): Variable removed.
7570         ($(objpfx)pldd): Target removed.
7571         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7572         (others, install-bin): Append pldd here.
7573         ($(objpfx)pldd): New target.
7575         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
7576         to 0, so the first #if test emitted later doesn't see it undefined.
7577         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
7578         * sysdeps/gnu/errlist.c: Regenerated.
7580 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7582         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7583         [libc_hidden_builtin_def]: Define to empty value.
7584         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
7585         [libc_hidden_builtin_def]: Likewise.
7586         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
7587         [libc_hidden_builtin_def]: Likewise.
7588         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
7589         [libc_hidden_builtin_def]: Likewise.
7590         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
7591         __redirect_memcpy and define ifunc as default hidden symbol.
7592         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
7593         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
7595 2014-05-04  Adam Conrad  <adconrad@0c3.net>
7597         * locale/iso-4217.def: Reintroduce XDR currency.
7599 2014-05-04  Allan McRae  <allan@archlinux.org>
7601         * po/eo.po: Update Esperanto translation from translation project.
7603 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
7605         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
7606         and FEATURE_INDEX_MAX to 1.
7607         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
7609 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7611         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
7612         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
7613         * iconvdata/big5.c (ONE_DIRECTION): Define.
7614         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
7615         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
7616         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
7617         * iconvdata/cp932.c (ONE_DIRECTION): Define.
7618         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
7619         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
7620         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
7621         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
7622         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
7623         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
7624         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
7625         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
7626         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
7627         * iconvdata/gbk.c (ONE_DIRECTION): Define.
7628         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
7629         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
7630         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
7631         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
7632         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
7633         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
7634         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
7635         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
7636         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
7637         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
7638         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
7639         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
7640         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
7641         * iconvdata/iso646.c (ONE_DIRECTION): Define.
7642         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
7643         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
7644         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
7645         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
7646         * iconvdata/johab.c (ONE_DIRECTION): Define.
7647         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
7648         * iconvdata/sjis.c (ONE_DIRECTION): Define.
7649         * iconvdata/t.61.c (ONE_DIRECTION): Define.
7650         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
7651         * iconvdata/tscii.c (ONE_DIRECTION): Define.
7652         * iconvdata/uhc.c (ONE_DIRECTION): Define.
7653         * iconvdata/unicode.c (ONE_DIRECTION): Define.
7654         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
7655         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
7656         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
7658 2014-05-01  Roland McGrath  <roland@hack.frob.com>
7660         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
7661         (_IO_JUMPS_OFFSET): Define to 0.
7663         * nptl/sysdeps/pthread/bits/libc-lock.h
7664         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7665         (__libc_lock_define_initialized_recursive): Always define using
7666         initializer.  Modern compilers treat uninitialized (implicit zero) and
7667         explicit zero initializers the same (i.e. put the datum in bss).
7669 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7671         * nscd/nscd-client.h: Include <string.h>.
7673 2014-05-01  David S. Miller  <davem@davemloft.net>
7675         [BZ #16885]
7676         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
7677         multiple zero bytes exist at the end of a string.
7678         Reported by Aurelien Jarno <aurelien@aurel32.net>
7680         * string/test-strcmp.c (check): Add explicit test for situations where
7681         there are multiple zero bytes after the first.
7683 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
7685         [BZ #16890]
7686         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
7687         when compiling wprintf.
7688         * stdio-common/tstdiomisc.c (t3): New function.
7689         (main): Call it.
7691 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7693         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
7694         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
7695         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
7696         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
7698 2014-05-01  Steve Ellcey  <sellcey@mips.com>
7700         * stdlib/longlong.h: Updated from GCC.
7702 2014-05-01  Will Newton  <will.newton@linaro.org>
7703             Bernard Ogden  <bernie.ogden@linaro.org>
7705         * NEWS: Update fixed bug list.
7707         [BZ #15119]
7708         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
7710 2014-04-30  David S. Miller  <davem@davemloft.net>
7712         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
7713         (libc_feholdexcept_setround_sparc_ctx): New function.
7714         (libc_fesetenv_sparc_ctx): Likewise.
7715         (libc_feupdateenv_sparc_ctx): Likewise.
7716         (libc_feholdsetround_sparc_ctx): Likewise.
7717         (libc_feholdexcept_setround_ctx): Define.
7718         (libc_feholdexcept_setroundf_ctx): Likewise.
7719         (libc_feholdexcept_setroundl_ctx): Likewise.
7720         (libc_fesetenv_ctx): Likewise.
7721         (libc_fesetenvf_ctx): Likewise.
7722         (libc_fesetenvl_ctx): Likewise.
7723         (libc_feupdateenv_ctx): Likewise.
7724         (libc_feupdateenvf_ctx): Likewise.
7725         (libc_feupdateenvl_ctx): Likewise.
7726         (libc_feresetround_ctx): Likewise.
7727         (libc_feresetroundf_ctx): Likewise.
7728         (libc_feresetroundl_ctx): Likewise.
7729         (libc_feholdsetround_ctx): Likewise.
7730         (libc_feholdsetroundf_ctx): Likewise.
7731         (libc_feholdsetroundl_ctx): Likewise.
7733         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7734         with __USE_GNU instead of XOPEN cpp guards.
7736         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
7737         0.
7739         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
7740         with XOPEN cpp guards.
7742 2014-04-30  Julian Brown  <julian@codesourcery.com>
7744         [BZ #16888]
7745         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
7746         handling.
7748 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
7750         [BZ #9894]
7751         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7752         Change to 2.6.32.
7753         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
7754         * sysdeps/unix/sysv/linux/configure: Regenerated.
7755         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
7756         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
7757         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
7758         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
7759         * README: Update reference to required Linux kernel version.
7760         * manual/install.texi (Linux): Update reference to required Linux
7761         kernel headers version.
7762         * INSTALL: Regenerated.
7764         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
7765         header inclusion.
7766         [POSIX] (limits.h): Likewise.
7767         [POSIX] (math.h): Likewise.
7768         [POSIX] (sys/wait.h): Likewise.
7769         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
7770         function.
7771         [POSIX] (stddef.h): Do not allow header inclusion.
7773 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7775         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
7777 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
7779         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7780         Return immediately after lll_futex_wake.
7782 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7784         [BZ #16791]
7785         * nscd/nscd-client.h (datahead_init_common): Initialize entire
7786         structure.
7787         (datahead_init_pos): Call datahead_init_common early.
7788         (datahead_init_neg): Likewise.
7790         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
7791         datahead_init_neg): New functions.
7792         * nscd/aicache.c (addhstaiX): Use them.
7793         * nscd/grpcache.c (cache_addgr): Likewise.
7794         * nscd/hstcache.c (cache_addhst): Likewise.
7795         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7796         * nscd/netgroupcache.c (do_notfound): Likewise.
7797         (addgetnetgrentX): Likewise.
7798         (addinnetgrX): Likewise.
7799         * nscd/pwdcache.c (cache_addpw): Likewise.
7800         * nscd/servicescache.c (cache_addserv): Likewise.
7802 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7803             Atsushi Onoe  <atsushi@onoe.org>
7805         [BZ #14308]
7806         [BZ #12994]
7807         [BZ #13651]
7808         * resolv/res_query.c (__libc_res_nsearch): Return if at least
7809         one response is valid.
7810         * resolv/res_send.c (send_dg): Check for validity of other
7811         response if the current response is a referral.
7813 2014-04-29  Steve Ellcey  <sellcey@mips.com>
7815         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
7817 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
7819         [BZ #16823]
7820         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
7821         Always divide by positive zero when computing -Inf result.
7822         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7823         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7825 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7827         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
7828         FPSCR if value do not change.
7829         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7830         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
7831         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7832         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7833         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
7834         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
7835         function.
7837 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
7839         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
7840         * sysdeps/unix/sysv/linux/hppa: Move directory from
7841         ports/systeps/unix/sysv/linux/hppa.
7842         * README: Update listing for hppa-*-linux-gnu.
7844 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
7846         [BZ #16754]
7847         * manual/stdio.texi (Hook functions): Fix types of stream hook
7848         functions.
7849         [BZ #16854]
7850         * socket/sys/socket.h: Fix typo in comment.
7852 2014-04-28  Wilco  <wdijkstr@arm.com>
7854         * sysdeps/arm/fenv_private.h: New file.
7855         * sysdeps/arm/math_private.h: New file.
7856         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
7858 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
7860         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
7861         with __int128_t.
7862         (La_x86_64_retval): Likewise.
7864 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
7866         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
7867         fpsr if value didn't change.
7868         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
7869         to fpcr if value didn't change.
7870         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
7871         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
7872         fpsr or fpcr if value didn't change.
7873         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7874         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
7875         fpcr if value didn't change.
7876         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
7877         to fpsr if value didn't change.
7879 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7881         * nptl/tst-sem3.c: Use test-skeleton.c
7882         (main): Rename to do_test.  Use return instead of
7883         exit.
7884         * nptl/tst-sem4.c: Use test-skeleton.c
7885         (main): Rename to do_test.
7887 2014-04-22  David S. Miller  <davem@davemloft.net>
7889         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
7890         (struct sigaction): New struct member __glibc_reserved0, change
7891         type of sa_flags to int.
7893 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
7895         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
7896         (COUNT_LEADING_ZEROS_0): Define for AArch64.
7898 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7900         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
7901         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
7903 2014-04-22  Will Newton  <will.newton@linaro.org>
7904             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
7906         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
7907         (__longjmp): Add longjmp and longjmp_target SystemTap
7908         probes.
7909         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
7910         (__sigsetjmp): Add setjmp SystemTap probe.
7912 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
7914         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
7915         match manual order.
7917 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7919         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
7921         * sysdeps/powerpc/fpu/fenv_private.h
7922         (libc_feholdexcept_setroundl_ctx): Define to
7923         libc_feholdexcept_setround_ppc_ctx.
7924         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
7925         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
7926         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
7927         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
7929 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7931         * sysdeps/aarch64/math-tests.h: New file.
7933 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
7935         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
7936         New.
7937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7938         Check and set bit_AVX2_Usable.
7939         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
7940         macro.
7941         (bit_AVX2): Likewise.
7942         (index_AVX2_Usable): Likewise.
7943         (CPUID_AVX2): Likewise.
7944         (HAS_AVX2): Likewise.
7946 2014-04-17  Will Newton  <will.newton@linaro.org>
7948         * manual/setjmp.texi (System V contexts): Add note that
7949         calling setcontext on a context created by a call to a
7950         signal handler is undefined.  Update text to note that
7951         setcontext from a signal handler is possible but not
7952         recommended.
7954         [BZ #16629]
7955         * stdlib/tst-setcontext.c: Include signal.h.
7956         (main): Check that the signal stack before and
7957         after swapcontext is the same.
7959         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
7960         Re-implement to restore registers in user code and avoid
7961         rt_sigreturn system call.
7963 2014-04-17  Wilco  <wdijkstr@arm.com>
7965         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
7966         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
7967         * math/test-fenv.c: Skip exception trap tests on targets which only
7968         support non-stop mode.
7970 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
7971             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7973         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
7974         (libc_feholdsetround_aarch64_ctx)
7975         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
7976         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
7977         (libc_feresetround_ctx, libc_feresetroundf_ctx)
7978         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
7979         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
7980         (libc_feresetround_noexl_ctx): Define.
7982 2014-04-16  Richard Henderson  <rth@redhat.com>
7984         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
7986         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
7987         unwind tables.
7989         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
7990         const from the non-libc, non-ldso copy.
7992         * sysdeps/alpha/libm-test-ulps: Regenerate.
7994 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
7995             Wilco Dijkstra  <wilco.dijkstra@arm.com>
7997         * sysdeps/aarch64/fpu/math_private.h: New file.
7999 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8001         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8003 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
8005         [BZ #16275]
8006         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8007         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8008         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8009         Intel MPX bound registers before _dl_profile_fixup.
8010         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8011         registers after _dl_profile_fixup.  Save and restore bound
8012         registers bnd0/bnd1 when calling _dl_call_pltexit.
8013         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8014         (LR_BND_OFFSET): Likewise.
8015         (LRV_BND0_OFFSET): Likewise.
8016         (LRV_BND1_OFFSET): Likewise.
8018 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8020         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8021         to...
8022         * sysdeps/mach/hurd/i386/tls.h: ... here.
8023         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8024         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8025         fields.
8027 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8029         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8031 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8033         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8035 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8037         [BZ #14770]
8038         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8039         * sysdeps/s390/configure: Regenerate.
8041         [BZ #16824]
8042         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8043         Set round-to-nearest internally to reduce error accumulation.
8045 2014-04-16  Alan Modra  <amodra@gmail.com>
8047         [BZ #16740]
8048         [BZ #16619]
8049         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8050         * math/libm-test.inc (frexp_test_data): Add tests.
8051         * NEWS: Update fixed bug list.
8053 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8055         * benchtests/Makefile: Depend on libraries in build directory.
8056         (bench-math): Separate out math tests.
8057         (bench-pthread): Separate out pthread tests.
8058         (bench): Include math and pthread tests.
8060 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
8062         [BZ #16831]
8063         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8064         _dl_debug_initialize.
8066         * configure.ac: Remove SELinux header check.
8067         * configure: Regenerate.
8068         * nscd/selinux.c (perms): Array of const char* to permission names.
8069         (nscd_request_avc_has_perm): Call security_deny_unknown to find
8070         default policy. Call string_to_security_class and string_to_av_perm to
8071         translate strings. Enforce default policy and call avs_has_perm with
8072         results of translated strings.
8074 2014-04-13  David S. Miller  <davem@davemloft.net>
8076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8078 2014-04-12  Allan McRae  <allan@archlinux.org>
8080         [BZ #16838]
8081         * manual/string.texi (Collation Functions): Fix qsort argument
8082         order in example.
8083         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8085 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
8087         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8088         Make the test a no-op if there are no exceptions defined.
8090 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8092         * elf/Makefile (tests): make tst-dlopen-aout conditional on
8093         enable-hardcoded-path-in-tests
8095 2014-04-11  Will Newton  <will.newton@linaro.org>
8097         * benchtests/Makefile (extra-objs): Add json-lib.o.
8098         (bench-func): Tidy up JSON output.
8099         * benchtests/bench-skeleton.c: Include json-lib.h.
8100         (main): Use JSON library functions to do output of
8101         benchmark results.
8102         * benchtests/bench-timing-type.c (main): Output the
8103         timing type simply, leaving formatting to the user.
8104         * benchtests/json-lib.c: New file.
8105         * benchtests/json-lib.h: Likewise.
8107 2014-04-11  Torvald Riegel  <triegel@redhat.com>
8109         [BZ #15215]
8110         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8111         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
8112         memory barriers.  Add comments.
8113         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8114         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8115         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8116         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8117         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8118         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8120 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8122         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8123         * sysdeps/s390/s390-64/configure.ac: ... this ...
8124         * sysdeps/s390/configure.ac: ... to here.
8125         * sysdeps/s390/s390-32/configure: Delete file.
8126         * sysdeps/s390/s390-64/configure: Delete file.
8127         * sysdeps/s390/configure: Regenerate.
8129 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
8131         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8133 2014-04-11  Will Newton  <will.newton@linaro.org>
8135         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8136         to zero if it is not defined elsewhere.  (mtrim): Test
8137         the value of MALLOC_DEBUG with #if rather than #ifdef.
8139 2014-04-10 Torvald Riegel  <triegel@redhat.com>
8141         * benchtests/pthread_once-inputs: New file.
8142         * benchtests/pthread_once-source.c: New file.
8143         * benchtests/README: Update documentation.
8145 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
8146             H.J. Lu  <hongjiu.lu@intel.com>
8148         [BZ #16275]
8149         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8150         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8151         * sysdeps/x86_64/configure: Regenerated.
8152         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8153         macro.
8154         (REGISTER_SAVE_RAX): Likewise.
8155         (REGISTER_SAVE_RCX): Likewise.
8156         (REGISTER_SAVE_RDX): Likewise.
8157         (REGISTER_SAVE_RSI): Likewise.
8158         (REGISTER_SAVE_RDI): Likewise.
8159         (REGISTER_SAVE_R8): Likewise.
8160         (REGISTER_SAVE_R9): Likewise.
8161         (REGISTER_SAVE_BND0): Likewise.
8162         (REGISTER_SAVE_BND1): Likewise.
8163         (REGISTER_SAVE_BND2): Likewise.
8164         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
8165         bound registers when calling _dl_fixup.
8167 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8169         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8170         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8171         of its definition.
8172         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8173         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8174         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8175         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8176         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8177         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8178         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8180 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
8182         [BZ #15514]
8183         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8184         pathconf(_PC_NAME_MAX).
8186 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8188         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8189         Remove macro usage.
8190         (__PTHREAD_SPINS): Move definition to ...
8191         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8192         (__PTHREAD_SPINS): ... here.
8193         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8194         (__PTHREAD_SPIN): Likewise.
8195         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8196         (__PTHREAD_SPIN): Likewise.
8197         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8198         (__PTHREAD_SPIN): Likewise.
8199         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8200         (__PTHREAD_SPIN): Likewise.
8201         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8202         (__PTHREAD_SPIN): Likewise.
8203         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8204         (__PTHREAD_SPIN): Likewise.
8205         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8206         (__PTHREAD_SPIN): Likewise.
8207         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8208         (__PTHREAD_SPIN): Likewise.
8209         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8210         (__PTHREAD_SPIN): Likewise.
8211         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8212         (__PTHREAD_SPIN): Likewise.
8213         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8214         (__PTHREAD_SPIN): Likewise.
8215         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8216         (__PTHREAD_SPIN): Likewise.
8218         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8219         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8220         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8221         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8222         imply folder.
8223         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8224         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8225         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
8226         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
8227         correct imply path.
8228         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
8229         strlen symbol for non multi-arch builds.
8230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
8231         missing hidden_def and weak_alias.
8233 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
8235         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
8237 2014-04-07  Will Newton  <will.newton@linaro.org>
8239         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
8240         and contents.  [!_LIBC] Remove #ifndef and contents.
8241         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
8242         * string/memccpy.c (__memccpy): Use ANSI prototype.
8243         * string/memfrob.c (memfrob): Likewise.
8244         * string/strcoll.c (STRCOLL): Likewise.
8245         * string/strlen.c (strlen): Likewise.
8246         * string/strtok.c (STRTOK): Likewise.
8247         * string/strcat.c: Remove unused #include of memcopy.h.
8248         (strcat): Use ANSI prototype.
8249         * string/strchr.c: Remove unused #include of memcopy.h.
8250         (strchr): Use ANSI prototype.
8251         * string/strcmp.c: Remove unused #include of memcopy.h.
8252         (strcmp): Use ANSI prototype.
8253         * string/strcpy.c: Remove unused #include of memcopy.h.
8254         (strcpy): Use ANSI prototype.
8256 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8258         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
8259         * config.make.in (config-extra-cppflags): Set it from
8260         libc_extra_cppflags.
8261         * configure.ac (libc_extra_cflags): Make it accumulate over
8262         configure fragments.
8263         (libc_extra_cppflags): New flag.
8264         * configure. Regenerate.
8265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8266         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
8267         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
8268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8270         [BZ #16815]
8271         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
8272         result for FE_DOWNWARD rounding mode.
8273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8274         Likewise.
8275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8277 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
8279         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
8280         in function argument name.
8282 2014-04-03  David Svoboda  <svoboda@cert.org>
8284         [BZ #5666]
8285         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
8286         explicitly.
8288 2014-04-03  Roland McGrath  <roland@hack.frob.com>
8290         * elf/dl-unmap-segments.h: New file.
8291         * sysdeps/generic/ldsodefs.h
8292         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
8293         * elf/dl-close.c: Include <dl-unmap-segments.h>.
8294         * elf/dl-fptr.c: Likewise.
8295         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
8296         * sysdeps/aarch64/tlsdesc.c: Likewise.
8297         * sysdeps/arm/tlsdesc.c: Likewise.
8298         * sysdeps/i386/tlsdesc.c: Likewise.
8299         * sysdeps/tile/dl-runtime.c: Likewise.
8300         * sysdeps/x86_64/tlsdesc.c: Likewise.
8301         * elf/dl-load.h: New file.
8302         * elf/dl-load.c: Include it.
8303         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
8304         Macros moved to dl-load.h.
8305         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
8306         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
8307         Use _dl_unmap_segments in place of __munmap.
8308         Break out segment-mapping loop into ...
8309         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
8311 2014-04-03  Will Newton  <will.newton@linaro.org>
8313         * elf/dl-lookup.c (do_lookup_x): Remove comment
8314         referring to nested function and move variable
8315         declarations down to before first use.
8317 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
8319         [BZ #16799]
8320         [BZ #16800]
8321         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
8322         with 0 numerator.
8323         * math/s_catanf.c (__catanf): Likewise.
8324         * math/s_catanh.c (__catanh): Likewise.
8325         * math/s_catanhf.c (__catanhf): Likewise.
8326         * math/s_catanhl.c (__catanhl): Likewise.
8327         * math/s_catanl.c (__catanl): Likewise.
8328         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
8329         by positive zero when computing -Inf result.
8330         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
8331         (catanh_test): Likewise.
8332         * sysdeps/i386/fpu/libm-test-ulps: Update.
8333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8335         [BZ #16789]
8336         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
8337         instead of using underflowing value in computing result.
8338         * math/s_clog10.c (__clog10): Likewise.
8339         * math/s_clog10f.c (__clog10f): Likewise.
8340         * math/s_clog10l.c (__clog10l): Likewise.
8341         * math/s_clogf.c (__clogf): Likewise.
8342         * math/s_clogl.c (__clogl): Likewise.
8343         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
8344         (clog10_test): Likewise.
8345         * sysdeps/i386/fpu/libm-test-ulps: Update.
8346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8348 2014-04-02  Alan Modra  <amodra@gmail.com>
8350         [BZ #16739]
8351         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
8352         output when value is near a power of two.  Use int64_t for lx and
8353         remove casts.  Use decimal rather than hex exponent constants.
8354         Don't use long double multiplication when double will suffice.
8355         * math/libm-test.inc (nextafter_test_data): Add tests.
8356         * NEWS: Add 16739 and 16786 to bug list.
8358         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
8360         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
8362 2014-04-01  Will Newton  <will.newton@linaro.org>
8364         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
8365         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
8367 2014-04-01  Florian Weimer  <fweimer@redhat.com>
8369         [BZ #13347]
8370         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
8371         * nptl/tst-setuid2.c: New file.
8372         * nptl/Makefile (xtests): Add tst-setuid2.
8374 2014-04-01  Alan Modra  <amodra@gmail.com>
8376         [BZ #16786]
8377         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
8379 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8381         [BZ #6803]
8382         [BZ #6804]
8383         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
8384         set errno as appropriate.
8385         * math/w_scalbf.c (__scalbf): Likewise.
8386         * math/w_scalbl.c (__scalbl): Likewise.
8387         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
8388         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
8389         * math/libm-test.inc (scalb_test_data): Add errno expectations.
8390         Add more NaN tests.
8392         [BZ #16349]
8393         * math/w_atan2.c: Include <errno.h>.
8394         (__atan2): Set errno for result underflowing to zero.
8395         * math/w_atan2f.c: Include <errno.h>.
8396         (__atan2f): Set errno for result underflowing to zero.
8397         * math/w_atan2l.c: Include <errno.h>.
8398         (__atan2l): Set errno for result underflowing to zero.
8399         * math/auto-libm-test-in: Don't allow missing errno for some atan2
8400         tests.
8401         * math/auto-libm-test-out: Regenerated.
8403 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8405         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8406         Encode instruction correctly in little endian.
8407         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8408         Likewise.
8409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8410         Likewise.
8411         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8412         Likewise.
8413         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8414         Likewise.
8416 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
8418         [BZ #9894]
8419         * sysdeps/unix/sysv/linux/kernel-features.h
8420         [__sparc__ && !__arch64__ && !__sparc_v9__]
8421         (__ASSUME_SET_ROBUST_LIST): Do not define.
8422         [__sparc__ && !__arch64__ && !__sparc_v9__]
8423         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8424         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
8425         Likewise.
8426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8427         (__ASSUME_FUTEX_LOCK_PI): Undefine.
8428         (__ASSUME_REQUEUE_PI): Likewise.
8429         (__ASSUME_SET_ROBUST_LIST): Likewise.
8430         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8431         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
8432         Undefine.
8433         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8434         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
8435         Likewise.
8436         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
8437         Likewise.
8438         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
8439         Likewise.
8440         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8441         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
8442         Undefine.
8443         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
8444         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
8445         Likewise.
8447         [BZ #16648]
8448         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8449         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
8450         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
8452 2014-03-31  Will Newton  <will.newton@linaro.org>
8454         * benchtests/Makefile (bench): Add ffs and ffsll to list
8455         of tests.
8456         * benchtests/ffs-inputs: New file.
8457         * benchtests/ffsll-inputs: Likewise.
8459 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
8461         [BZ #16770]
8462         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
8463         too large before casting to int.
8464         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
8465         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
8466         * math/libm-test.inc (scalb_test_data): Add more tests.
8468 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8470         * benchtests/Makefile (DETAILED_OPT): New make option.
8471         (bench-func): Run benchmark program with -d if DETAILED_OPT is
8472         set.
8473         * benchtests/bench-skeleton.c: Include stdbool.h.
8474         (main): Store and print timings per input.
8475         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
8476         member to each argument value.
8477         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
8478         (_print_arg_data): Initialize per-input timing to 0.
8480         * benchtests/Makefile (timing-type): New binary.
8481         (bench-clean): Also remove bench-timing-type.
8482         (bench): New target for timing-type.
8483         (bench-func): Print output in JSON format.
8484         * benchtests/bench-skeleton.c (main): Print output in JSON
8485         format.
8486         * benchtests/bench-timing-type.c: New file.
8487         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
8488         (TIMING_PRINT_STATS): Remove.
8489         * benchtests/scripts/bench.py (_print_arg_data): Store variant
8490         name separately.
8492         * benchtests/bench-modf.c: Remove.
8493         * benchtests/modf-inputs: New inputs file.
8495 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
8497         [BZ #16362]
8498         * math/s_clog10.c (M_PI_LOG10E): New macro.
8499         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
8500         imaginary parts are 0.
8501         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
8502         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
8503         imaginary parts are 0.
8504         * math/s_clog10l.c (M_PI_LOG10El): New macro.
8505         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
8506         imaginary parts are 0.
8507         * math/libm-test.inc (clog10_test_data): Update expected results
8508         for when real and imaginary parts are 0.
8510 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
8512         * elf/dl-load.c: Finish conversion of __builtin_expect into
8513         __glibc_{un}likely.
8515 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
8517         [BZ #16348]
8518         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
8519         1+x for argument with exponent below -67.
8520         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
8521         Likewise.
8522         * math/auto-libm-test-in: Add more tests of exp.
8523         * math/auto-libm-test-out: Regenerated.
8525 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8527         [BZ #16759]
8528         * inet/getnetgrent_r.c (get_nonempty_val): New function.
8529         (nscd_getnetgrent): Use it.
8531         [BZ #16760]
8532         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
8533         of stpcpy.
8535 2014-03-27  Andi Kleen  <ak@linux.intel.com>
8537         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
8538         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8539         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8540         (lll_robust_unlock): Remove out of line section. Use cfi
8541         intrinsics.
8542         (LLL_STUB_UNWIND_INFO*): Remove.
8543         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
8544         (lll_robust_lock, lll_cond_lock, lll_timedlock)
8545         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
8546         (lll_robust_unlock): Remove out of line section. Use cfi
8547         intrinsics.
8548         (LLL_STUB_UNWIND_INFO*): Remove.
8550 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8552         [BZ #16758]
8553         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
8554         blank values.
8556 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
8558         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
8560 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
8562         [BZ #16198]
8563         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
8564         fnstenv.
8565         * math/test-fenv-preserve.c: New file.
8566         * math/Makefile (tests): Add test-fenv-preserve.
8568 2014-03-26  Will Newton <will.newton@linaro.org>
8570         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
8572 2014-03-25  Roland McGrath  <roland@hack.frob.com>
8574         * scripts/versionlist.awk: Partition the version sets and emit all
8575         GLIBC_* (sorted) before all others (sorted).
8577 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8579         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
8580         GLIBC_2.2.5 version.
8582 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8584         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
8585         calls.
8587         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
8588         previous change.
8590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8592 2014-03-25  Andreas Schwab  <schwab@suse.de>
8594         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
8595         label to be used after in6ailist is initialized.
8597 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8599         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8600         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8602 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
8604         [BZ #16357]
8605         [BZ #16599]
8606         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
8607         min_plus_half.
8608         (fp_formats): Update initializers.
8609         (init_fp_formats): Initialize new field.
8610         (output_for_one_input_case): Allow underflow for results up to
8611         min_plus_half.
8612         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
8613         * math/auto-libm-test-in: Don't mark some underflows from asin and
8614         atanh as spurious.
8615         * math/auto-libm-test-out: Regenerated.
8616         * sysdeps/i386/fpu/libm-test-ulps: Update.
8617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8619 2014-03-25  Andreas Schwab  <schwab@suse.de>
8621         * libio/Makefile (tst-ftell-partial-wide-ENV)
8622         (tst-ftell-active-handler-ENV): Define.
8624 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
8626         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
8628 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8630         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
8632 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8634         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
8635         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8636         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8638 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8640         [BZ #16634]
8641         * elf/dl-load.c (open_verify): Add mode parameter.
8642         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
8643         (open_path): Change from boolean 'secure' to complete flag 'mode'
8644         (_dl_map_object): Adjust.
8645         * elf/Makefile (tests): Add tst-dlopen-aout.
8646         * elf/tst-dlopen-aout.c: New test.
8648 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
8650         [BZ #16714]
8651         * sysdeps/unix/sysv/linux/s390/bits/stat.h
8652         (struct stat): Rename member pad0 to __glibc_reserved0.
8654         [BZ #16712]
8655         * sysdeps/s390/s390-32/bits/wordsize.h
8656         (__WORDSIZE32_SIZE_ULONG): New define.
8657         * sysdeps/s390/s390-64/bits/wordsize.h
8658         (__WORDSIZE32_SIZE_ULONG): Likewise.
8659         * sysdeps/generic/stdint.h (SIZE_MAX):
8660         Define as UL if __WORDSIZE32_SIZE_ULONG.
8662         [BZ #16713]
8663         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
8664         (__glibc_reserved0): New variable.
8665         (sa_flags): Change type to int.
8667         * posix/Makefile (before-compile): Use += before-compile instead
8668         of a :=.
8670         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8671         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
8673 2014-03-20  Andreas Schwab  <schwab@suse.de>
8675         [BZ #16743]
8676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
8677         non-matching result from nscd.
8679 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8681         * scripts/bench.py: Moved to ...
8682         * benchtests/scripts/bench.py: ... here.
8683         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
8685 2014-03-24  Andreas Schwab  <schwab@suse.de>
8687         [BZ #16002]
8688         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
8689         alloca_account and account alloca use for struct in6ailist.
8691 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
8693         [BZ #16284]
8694         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
8695         rounding mode to recompute results that overflow to infinity or
8696         underflow to zero.
8697         * math/auto-libm-test-in: Don't mark tests as expected to fail for
8698         bug 16284.
8699         * math/auto-libm-test-out: Regenerated.
8700         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
8701         (ccosh_test): Likewise.
8702         (csin_test_data): Use plus_oflow.
8703         (csin_test): Use ALL_RM_TEST.
8704         (csinh_test_data): Use plus_oflow.
8705         (csinh_test): Use ALL_RM_TEST.
8706         * sysdeps/i386/fpu/libm-test-ulps: Update.
8707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8709 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
8711         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
8712         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
8713         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
8715         [BZ #16731]
8716         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
8717         when x - 1 is zero.
8718         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
8719         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
8720         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8721         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
8722         argument is 1.
8723         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
8724         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
8725         zero.
8726         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
8727         * sysdeps/i386/fpu/libm-test-ulps: Update.
8728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8730 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8732         * scripts/bench.pl: Remove file.
8733         * scripts/bench.py: New benchmark script.
8734         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
8735         * benchtests/README: Mention python dependency.
8736         * scripts/pylintrc: New file.
8737         * scripts/pylint: New file.
8739         * bits/mathdef.h: Use #ifdef instead of #if.
8740         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
8741         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8742         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
8743         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8744         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
8745         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
8747 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8748             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8750         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
8751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
8752         and strpbrk-ppc64 objects.
8753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8754         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
8755         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
8756         multiarch strpbrk for POWER7.
8757         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
8758         multiarch strpbrk for PPC64.
8759         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
8760         ifunc selector.
8761         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
8762         strpbrk for POWER7.
8764 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8766         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
8767         (atan_test): Likewise.
8768         (atanh_test_data): Use NO_TEST_INLINE for two tests.
8769         (atanh_test): Use ALL_RM_TEST.
8770         (atan2_test_data): Likewise.
8771         (cabs_test): Likewise.
8772         (cacosh_test): Likewise.
8773         (carg_test): Likewise.
8774         (casin_test): Likewise.
8775         (casinh_test): Likewise.
8776         (cbrt_test): Likewise.
8777         (csqrt_test): Likewise.
8778         (erf_test): Likewise.
8779         (erfc_test): Likewise.
8780         (pow10_test): Likewise.
8781         (exp2_test): Likewise.
8782         (hypot_test): Likewise.
8783         (j0_test): Likewise.
8784         (j1_test): Likewise.
8785         (lgamma_test): Likewise.
8786         (gamma_test): Likewise.
8787         (sincos_test): Likewise.
8788         (tanh_test): Likewise.
8789         (y0_test): Likewise.
8790         (y1_test): Likewise.
8791         * sysdeps/i386/fpu/libm-test-ulps: Update.
8792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8794 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8796         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
8797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
8798         and strcspn-ppc64 objects.
8799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8800         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
8801         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
8802         multiarch strcspn for POWER7.
8803         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
8804         multiarch strcspn for PPC64.
8805         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
8806         ifunc selector.
8807         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
8808         strcspn for POWER7.
8810 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
8812         * math/gen-libm-test.pl (generate_testfile): Expect only function
8813         name as argument to AUTO_TESTS_* and pass results for all rounding
8814         modes to parse_args.
8815         (parse_auto_input): Separate inputs of automatic tests from
8816         outputs before storing in %auto_tests.
8817         * math/libm-test.inc (acos_test_data): Update call to
8818         AUTO_TESTS_f_f.
8819         (acos_test): Use ALL_RM_TEST.
8820         (acos_tonearest_test_data): Remove.
8821         (acos_test_tonearest): Likewise.
8822         (acos_towardzero_test_data): Likewise.
8823         (acos_test_towardzero): Likewise.
8824         (acos_downward_test_data): Likewise.
8825         (acos_test_downward): Likewise.
8826         (acos_upward_test_data): Likewise.
8827         (acos_test_upward): Likewise.
8828         (acosh_test_data): Update call to AUTO_TESTS_f_f.
8829         (asin_test_data): Likewise.
8830         (asin_test): Use ALL_RM_TEST.
8831         (asin_tonearest_test_data): Remove.
8832         (asin_test_tonearest): Likewise.
8833         (asin_towardzero_test_data): Likewise.
8834         (asin_test_towardzero): Likewise.
8835         (asin_downward_test_data): Likewise.
8836         (asin_test_downward): Likewise.
8837         (asin_upward_test_data): Likewise.
8838         (asin_test_upward): Likewise.
8839         (asinh_test_data): Update call to AUTO_TESTS_f_f.
8840         (atan_test_data): Likewise.
8841         (atanh_test_data): Likewise.
8842         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
8843         (cabs_test_data): Update call to AUTO_TESTS_c_f.
8844         (carg_test_data): Likewise.
8845         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
8846         (ccos_test_data): Update call to AUTO_TESTS_c_c.
8847         (ccosh_test_data): Likewise.
8848         (cexp_test_data): Likewise.
8849         (clog_test_data): Likewise.
8850         (clog10_test_data): Likewise.
8851         (cos_test_data): Update call to AUTO_TESTS_f_f.
8852         (cos_test): Use ALL_RM_TEST.
8853         (cos_tonearest_test_data): Remove.
8854         (cos_test_tonearest): Likewise.
8855         (cos_towardzero_test_data): Likewise.
8856         (cos_test_towardzero): Likewise.
8857         (cos_downward_test_data): Likewise.
8858         (cos_test_downward): Likewise.
8859         (cos_upward_test_data): Likewise.
8860         (cos_test_upward): Likewise.
8861         (cosh_test_data): Update call to AUTO_TESTS_f_f.
8862         (cosh_test): Use ALL_RM_TEST.
8863         (cosh_tonearest_test_data): Remove.
8864         (cosh_test_tonearest): Likewise.
8865         (cosh_towardzero_test_data): Likewise.
8866         (cosh_test_towardzero): Likewise.
8867         (cosh_downward_test_data): Likewise.
8868         (cosh_test_downward): Likewise.
8869         (cosh_upward_test_data): Likewise.
8870         (cosh_test_upward): Likewise.
8871         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
8872         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
8873         (ctan_test_data): Likewise.
8874         (ctan_test): Use ALL_RM_TEST.
8875         (ctan_tonearest_test_data): Remove.
8876         (ctan_test_tonearest): Likewise.
8877         (ctan_towardzero_test_data): Likewise.
8878         (ctan_test_towardzero): Likewise.
8879         (ctan_downward_test_data): Likewise.
8880         (ctan_test_downward): Likewise.
8881         (ctan_upward_test_data): Likewise.
8882         (ctan_test_upward): Likewise.
8883         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
8884         (ctanh_test): Use ALL_RM_TEST.
8885         (ctanh_tonearest_test_data): Remove.
8886         (ctanh_test_tonearest): Likewise.
8887         (ctanh_towardzero_test_data): Likewise.
8888         (ctanh_test_towardzero): Likewise.
8889         (ctanh_downward_test_data): Likewise.
8890         (ctanh_test_downward): Likewise.
8891         (ctanh_upward_test_data): Likewise.
8892         (ctanh_test_upward): Likewise.
8893         (erf_test_data): Update call to AUTO_TESTS_f_f.
8894         (erfc_test_data): Likewise.
8895         (exp_test_data): Likewise.
8896         (exp_test): Use ALL_RM_TEST.
8897         (exp_tonearest_test_data): Remove.
8898         (exp_test_tonearest): Likewise.
8899         (exp_towardzero_test_data): Likewise.
8900         (exp_test_towardzero): Likewise.
8901         (exp_downward_test_data): Likewise.
8902         (exp_test_downward): Likewise.
8903         (exp_upward_test_data): Likewise.
8904         (exp_test_upward): Likewise.
8905         (exp10_test_data): Update call to AUTO_TESTS_f_f.
8906         (exp10_test): Use ALL_RM_TEST.
8907         (exp10_tonearest_test_data): Remove.
8908         (exp10_test_tonearest): Likewise.
8909         (exp10_towardzero_test_data): Likewise.
8910         (exp10_test_towardzero): Likewise.
8911         (exp10_downward_test_data): Likewise.
8912         (exp10_test_downward): Likewise.
8913         (exp10_upward_test_data): Likewise.
8914         (exp10_test_upward): Likewise.
8915         (exp2_test_data): Update call to AUTO_TESTS_f_f.
8916         (expm1_test_data): Likewise.
8917         (expm1_test): Use ALL_RM_TEST.
8918         (expm1_tonearest_test_data): Remove.
8919         (expm1_test_tonearest): Likewise.
8920         (expm1_towardzero_test_data): Likewise.
8921         (expm1_test_towardzero): Likewise.
8922         (expm1_downward_test_data): Likewise.
8923         (expm1_test_downward): Likewise.
8924         (expm1_upward_test_data): Likewise.
8925         (expm1_test_upward): Likewise.
8926         (fma_test_data): Update call to AUTO_TESTS_fff_f.
8927         (fma_test): Use ALL_RM_TEST.
8928         (fma_towardzero_test_data): Remove.
8929         (fma_test_towardzero): Likewise.
8930         (fma_downward_test_data): Likewise.
8931         (fma_test_downward): Likewise.
8932         (fma_upward_test_data): Likewise.
8933         (fma_test_upward): Likewise.
8934         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
8935         (j0_test_data): Update call to AUTO_TESTS_f_f.
8936         (j1_test_data): Likewise.
8937         (jn_test_data): Update call to AUTO_TESTS_if_f.
8938         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
8939         (log_test_data): Update call to AUTO_TESTS_f_f.
8940         (log10_test_data): Likewise.
8941         (log1p_test_data): Likewise.
8942         (log2_test_data): Likewise.
8943         (pow_test_data): Update call to AUTO_TESTS_ff_f.
8944         (pow_tonearest_test_data): Likewise.
8945         (sin_test_data): Update call to AUTO_TESTS_f_f.
8946         (sin_test): Use ALL_RM_TEST.
8947         (sin_tonearest_test_data): Remove.
8948         (sin_test_tonearest): Likewise.
8949         (sin_towardzero_test_data): Likewise.
8950         (sin_test_towardzero): Likewise.
8951         (sin_downward_test_data): Likewise.
8952         (sin_test_downward): Likewise.
8953         (sin_upward_test_data): Likewise.
8954         (sin_test_upward): Likewise.
8955         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
8956         (sinh_test_data): Update call to AUTO_TESTS_f_f.
8957         (sinh_test): Use ALL_RM_TEST.
8958         (sinh_tonearest_test_data): Remove.
8959         (sinh_test_tonearest): Likewise.
8960         (sinh_towardzero_test_data): Likewise.
8961         (sinh_test_towardzero): Likewise.
8962         (sinh_downward_test_data): Likewise.
8963         (sinh_test_downward): Likewise.
8964         (sinh_upward_test_data): Likewise.
8965         (sinh_test_upward): Likewise.
8966         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
8967         (sqrt_test): Use ALL_RM_TEST.
8968         (sqrt_tonearest_test_data): Remove.
8969         (sqrt_test_tonearest): Likewise.
8970         (sqrt_towardzero_test_data): Likewise.
8971         (sqrt_test_towardzero): Likewise.
8972         (sqrt_downward_test_data): Likewise.
8973         (sqrt_test_downward): Likewise.
8974         (sqrt_upward_test_data): Likewise.
8975         (sqrt_test_upward): Likewise.
8976         (tan_test_data): Update call to AUTO_TESTS_f_f.
8977         (tan_test): Use ALL_RM_TEST.
8978         (tan_tonearest_test_data): Remove.
8979         (tan_test_tonearest): Likewise.
8980         (tan_towardzero_test_data): Likewise.
8981         (tan_test_towardzero): Likewise.
8982         (tan_downward_test_data): Likewise.
8983         (tan_test_downward): Likewise.
8984         (tan_upward_test_data): Likewise.
8985         (tan_test_upward): Likewise.
8986         (tanh_test_data): Update call to AUTO_TESTS_f_f.
8987         (tgamma_test_data): Likewise.
8988         (y0_test_data): Likewise.
8989         (y1_test_data): Likewise.
8990         (yn_test_data): Update call to AUTO_TESTS_if_f.
8991         (main): Do not call removed functions.
8993 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
8995         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
8996         (ldexp_test_data): Remove.
8997         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
8998         scalbn_test_data.
8999         (scalb_test): Use ALL_RM_TEST.
9001 2014-03-19  Andreas Schwab  <schwab@suse.de>
9003         * nscd/nscd.service: Also invalidate netgroup cache on reload.
9005 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
9007         [BZ #16649]
9008         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9009         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9010         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9012         (__ASSUME_PREADV): Undefine.
9013         (__ASSUME_PWRITEV): Likewise.
9015 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9017         * bits/mman-linux.h: Add comment about non-Linux use.
9018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9019         bits/mman-linux.h resting place.
9021         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9022         * bits/mman-linux.h: ... here.
9024 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9026         * conform/conformtest.pl: Add standard definition when calling C
9027         preprocessor on data files.
9028         (checknamespace): Remove unused variable.
9030 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9032         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9033         minus_oflow, plus_uflow and minus_uflow in expected results.
9034         * math/libm-test.inc (scalbn_test_data): Add more tests of
9035         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
9036         minus_uflow.
9037         (scalbn_test): Use ALL_RM_TEST.
9038         (scalbln_test_data): Add more tests of negative arguments.  Use
9039         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9040         (scalbln_test): Use ALL_RM_TEST.
9042 2014-03-18  Roland McGrath  <roland@hack.frob.com>
9044         * scripts/abilist.awk: Ignore symbols marked with .hidden.
9046 2014-03-18  Will Newton  <will.newton@linaro.org>
9048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9049         inaccurate comment.
9051 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
9053         * Makerules [!subdir] (check-abi): Exit with error status if a
9054         test failed.
9056 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9058         * math/libm-test.inc (nearbyint_test_data): Include all tests used
9059         for rint.  Include results for all rounding modes.
9060         (nearbyint_test): Use ALL_RM_TEST.
9061         (rint_test_data): Include all tests used for nearbyint.
9063 2014-03-17  Will Newton  <will.newton@linaro.org>
9065         * nptl/sysdeps/pthread/pthread.h: Revert previous
9066         change.
9068         * sysdeps/generic/ldsodefs.h: Revert previous
9069         change.
9071         * libio/genops.c: Revert previous change.
9072         * libio/libioP.h: Likewise.
9073         * stdio-common/vfprintf.c: Likewise.
9075         * sysdeps/generic/math_private.h: Revert previous
9076         change.
9078         * sysdeps/generic/math_private.h: Check whether
9079         HAVE_RM_CTX is defined with #ifdef rather
9080         than #if.
9082         * argp/argp-fmtstream.h: Check whether
9083         __STRICT_ANSI__ is defined with #ifdef rather
9084         than #if.
9085         * argp/argp.h: Likewise.
9087         * libio/genops.c: Check whether
9088         _IO_JUMPS_OFFSET is defined with #ifdef rather
9089         than #if.
9090         * libio/libioP.h: Likewise.
9091         * stdio-common/vfprintf.c: Likewise.
9093         * sysdeps/generic/ldsodefs.h: Check whether
9094         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9095         than #if.
9097         * nptl/sysdeps/pthread/pthread.h: Check
9098         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9099         its value.
9101 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9103         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9104         setting O_APPEND.
9105         * libio/tst-ftell-active-handler.c (do_append_test): Add a
9106         test case.
9108         [BZ #16680]
9109         * libio/fileops.c (_IO_file_open): Seek to end of file but
9110         don't cache the offset.
9111         (get_file_offset): Remove function.
9112         (do_ftell): Use cached offset when available.
9113         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9114         don't cache the offset.
9115         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9116         case.
9117         (do_one_test): Call it.
9118         (do_ftell_test): Fix up expected old offset for a+ mode.
9119         * libio/wfileops.c (do_ftell_wide): Used cached offset when
9120         available.
9122         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9123         up test status with function return status.
9124         (do_write_test): Likewise.
9125         (do_append_test): Likewise.
9127         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9128         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9129         Remove.
9131 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
9133         * math/gen-libm-test.pl (parse_args): Handle results specified for
9134         each rounding mode separately.
9135         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9136         tests and results from lrint_tonearest_test_data,
9137         lrint_towardzero_test_data, lrint_downward_test_data and
9138         lrint_upward_test_data.
9139         (lrint_test): Use ALL_RM_TEST.
9140         (lrint_tonearest_test_data): Remove.
9141         (lrint_test_tonearest): Likewise.
9142         (lrint_towardzero_test_data): Likewise.
9143         (lrint_test_towardzero): Likewise.
9144         (lrint_downward_test_data): Likewise.
9145         (lrint_test_downward): Likewise.
9146         (lrint_upward_test_data): Likewise.
9147         (lrint_test_upward): Likewise.
9148         (llrint_test_data): Merge in per-rounding-mode tests and results
9149         from llrint_tonearest_test_data, llrint_towardzero_test_data,
9150         llrint_downward_test_data and llrint_upward_test_data.
9151         (llrint_test): Use ALL_RM_TEST.
9152         (llrint_tonearest_test_data): Remove.
9153         (llrint_test_tonearest): Likewise.
9154         (llrint_towardzero_test_data): Likewise.
9155         (llrint_test_towardzero): Likewise.
9156         (llrint_downward_test_data): Likewise.
9157         (llrint_test_downward): Likewise.
9158         (llrint_upward_test_data): Likewise.
9159         (llrint_test_upward): Likewise.
9160         (rint_test_data): Merge in per-rounding-mode tests and results
9161         from rint_tonearest_test_data, rint_towardzero_test_data,
9162         rint_downward_test_data and rint_upward_test_data.  Add
9163         per-rounding-mode results for tests not in those arrays.
9164         (rint_test): Use ALL_RM_TEST.
9165         (rint_tonearest_test_data): Remove.
9166         (rint_test_tonearest): Likewise.
9167         (rint_towardzero_test_data): Likewise.
9168         (rint_test_towardzero): Likewise.
9169         (rint_downward_test_data): Likewise.
9170         (rint_test_downward): Likewise.
9171         (rint_upward_test_data): Likewise.
9172         (rint_test_upward): Likewise.
9173         (main): Don't call removed functions.
9175 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9177         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9178         "Compiled on ..." crapola.  It is anti-useful.
9180 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
9182         * scripts/evaluate-test.sh: Handle fourth argument to determine
9183         whether test run should stop on failure.
9184         * Makeconfig (stop-on-test-failure): New variable.
9185         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9186         $(stop-on-test-failure).
9187         * Makefile (tests): Give a summary of results from testing and
9188         exit with failure status if they include an ERROR or FAIL.
9189         (xtests): Likewise.
9190         * manual/install.texi (Configuring and compiling): Mention
9191         stop-on-test-failure=y.
9192         * INSTALL: Regenerated.
9194 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9196         * scripts/versionlist.awk: New file.
9197         * Makerules [$(build-shared) = yes]
9198         (postclean-generated): Add Versions.def, not Versions.def.v and
9199         Versions.def.v.i.
9200         ($(common-objpfx)Versions.def.v.i): Target removed.
9201         ($(common-objpfx)Versions.def): New target.
9202         ($(common-objpfx)Versions.all): Depend on that rather that
9203         $(common-objpfx)Versions.def.v.
9204         * Versions.def: File removed.
9206         * Makeconfig (+gccwarn): Add -Wundef.
9207         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9208         a dl-sysdep.h breaking its contract.
9209         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9210         * include/stackinfo.h: New file.
9211         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9212         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9213         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9214         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9215         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9216         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9217         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9218         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9219         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9220         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9221         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9222         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9223         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9224         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9225         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9227 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9229         [BZ #16707]
9230         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
9231         implementation.
9232         * math/libm-test.inc (round_test_data): Add more tests.
9234         [BZ #16706]
9235         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
9236         implementation.
9237         * math/libm-test.inc (nearbyint_test_data): Add more tests.
9239         [BZ #16701]
9240         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
9241         implementation.
9242         * math/libm-test.inc (ceil_test_data): Add more tests.
9244         * math/libm-test.inc (trunc_test_data): Add more tests related to
9245         BZ#16414.
9247 2014-03-14  Roland McGrath  <roland@hack.frob.com>
9249         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
9250         with #if rather than #ifdef.
9251         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
9253 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
9255         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
9256         first.  Disable AVX-512 GCC support if assembler doesn't support
9257         it.
9258         * sysdeps/x86_64/configure: Regenerated.
9260 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
9262         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
9263         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
9264         (__old_pthread_attr_setstack): Likewise.
9265         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
9266         [!_STACK_GROWS_DOWN]: Likewise.
9268 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
9270         * config.make.in (have-bash2): Delete.
9271         * configure.ac (libc_cv_have_bash2): Delete.
9272         * configure: Regenerate.
9273         * elf/Makefile (common-ldd-rewrite): Rename to ...
9274         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
9275         (sh-ldd-rewrite): Delete.
9276         (bash-ldd-rewrite): Delete.
9277         (have-bash2): Delete checks.
9278         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
9279         ldd-rewrite.
9281         * config.make.in (have-ksh): Delete.
9282         (KSH): Delete.
9283         * configure.ac (libc_cv_have_ksh): Delete.
9284         * configure: Regenerate.
9286         * elf/Makefile: Delete $(have-ksh) check.
9287         ($(objpfx)sotruss): Change KSH to BASH.
9288         * elf/sotruss.ksh: Rename to ...
9289         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
9290         function style to match POSIX.  Drop ksh vim mode setting.
9292         * manual/time.texi (Specifying the Time Zone with TZ): Change
9293         Tuesday to Thursday.
9295         * debug/tst-longjmp_chk2.c: Update header comment.
9296         (stackoverflow_handler): Add comment.  Call assert on pass value.
9298 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
9300         [BZ #16194]
9301         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
9302         (HAVE_AVX512_ASM_SUPPORT): Likewise.
9303         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
9304         (La_x86_64_vector): Add zmm.
9305         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
9306         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
9307         ($(objpfx)tst-audit10): New target.
9308         ($(objpfx)tst-audit10.out): Likewise.
9309         (tst-audit10-ENV): New.
9310         (AVX512-CFLAGS): Likewise.
9311         (CFLAGS-tst-audit10.c): Likewise.
9312         (CFLAGS-tst-auditmod10a.c): Likewise.
9313         (CFLAGS-tst-auditmod10b.c): Likewise.
9314         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
9315         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
9316         * sysdeps/x86_64/configure: Regenerated.
9317         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
9318         AVX-512 zmm register support.
9319         (_dl_x86_64_save_sse): Likewise.
9320         (_dl_x86_64_restore_sse): Likewise.
9321         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
9322         size vector registers.
9323         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
9324         (ZMM_SIZE): Likewise.
9325         * sysdeps/x86_64/tst-audit10.c: New file.
9326         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
9327         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
9329 2014-03-13  Roland McGrath  <roland@hack.frob.com>
9331         * configure.ac (HAVE_EHDR_START): New check.
9332         * configure: Regenerated.
9333         * config.h.in (HAVE_EHDR_START): New #undef.
9334         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
9335         assuming the lowest-addressed segment maps the start of the file.
9337 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
9339         * INSTALL: Regenerated.
9341 2014-03-13  Will Newton  <will.newton@linaro.org>
9343         * manual/setjmp.texi (System V contexts): Improve
9344         clarity and grammar of documentation.
9346 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
9348         [BZ #16381]
9349         * elf/Makefile (tests): Add tst-pie2.
9350         (tests-pie): Add tst-pie2.
9351         * elf/tst-pie2.c: New file.
9352         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
9353         for ET_EXEC.
9354         * elf/rtld.c (map_doit): Load executable as lt_executable.
9355         (dl_main): Likewise.
9357 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
9359         [BZ #16642]
9360         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9361         (__ASSUME_PSELECT): Undefine.
9363 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9365         [BZ #16689]
9366         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
9367         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
9368         static build.
9369         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
9370         selector for static builds.
9372 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9374         [BZ #16695]
9375         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
9376         key in the buffer.
9378 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9380         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
9381         IFUNC selector for static builds.
9383 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
9385         * sysdeps/mips/math_private.h [__mips_hard_float]
9386         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
9387         libc_feresetround_mips_ctx.
9388         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
9389         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
9390         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
9392         [BZ #16677]
9393         * math/s_nextafter.c (__nextafter): Do not return value from
9394         overflowing computation.
9395         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
9396         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
9397         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
9398         Likewise.
9399         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9400         Likewise.
9401         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
9402         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
9404 2014-03-11  Roland McGrath  <roland@hack.frob.com>
9406         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
9407         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
9408         Move sfi_sp use from the load-multiple (that no longer sets sp) to
9409         the new mov targetting sp.
9411 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9413         [BZ #16683]
9414         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
9415         Define it for static builds as well.
9416         (NO_BZERO_IMPL): Likewise.
9418 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9420         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
9421         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
9422         multiarch strspn for PPC64.
9423         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
9424         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
9425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9426         (__libc_ifunc_impl_list): Likewise.
9427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
9428         multiarch optimizations
9429         * string/strspn.c (strspn): Using macro to redefine symbol name.
9431 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9432             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9434         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
9435         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
9436         multiarch strncat for PPC64.
9437         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
9438         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
9439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9440         (__libc_ifunc_impl_list): Likewise.
9441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
9442         multiarch optimizations
9444 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9446         [BZ #16639]
9447         * nscd/nscd.service: Make service type forking.
9449 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9451         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
9452         sign in non default rounding modes.
9453         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9455 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
9457         * math/libm-test.inc (ALL_RM_TEST): New macro.
9458         (ceil_test): Use ALL_RM_TEST.
9459         (cimag_test): Likewise.
9460         (conj_test): Likewise.
9461         (copysign_test): Likewise.
9462         (cproj_test): Likewise.
9463         (creal_test): Likewise.
9464         (fabs_test): Likewise.
9465         (floor_test): Likewise.
9466         (fmax_test): Likewise.
9467         (fmin_test): Likewise.
9468         (fmod_test): Likewise.
9469         (fpclassify_test): Likewise.
9470         (frexp_test): Likewise.
9471         (ilogb_test): Likewise.
9472         (isfinite_test): Likewise.
9473         (finite_test): Likewise.
9474         (isgreater_test): Likewise.
9475         (isgreaterequal_test): Likewise.
9476         (isinf_test): Likewise.
9477         (isless_test): Likewise.
9478         (islessequal_test): Likewise.
9479         (islessgreater_test): Likewise.
9480         (isnan_test): Likewise.
9481         (isnormal_test): Likewise.
9482         (issignaling_test): Likewise.
9483         (isunordered_test): Likewise.
9484         (logb_test): Likewise.
9485         (logb_downward_test_data): Remove.
9486         (logb_test_downward): Likewise.
9487         (lround_test): Use ALL_RM_TEST.
9488         (llround_test): Likewise.
9489         (modf_test): Likewise.
9490         (nexttoward_test): Likewise.
9491         (remainder_test): Likewise.
9492         (drem_test): Likewise.
9493         (remainder_tonearest_test_data): Likewise.
9494         (remainder_test_tonearest): Likewise.
9495         (drem_test_tonearest): Likewise.
9496         (remainder_towardzero_test_data): Likewise.
9497         (remainder_test_towardzero): Likewise.
9498         (drem_test_towardzero): Likewise.
9499         (remainder_downward_test_data): Likewise.
9500         (remainder_test_downward): Likewise.
9501         (drem_test_downward): Likewise.
9502         (remainder_upward_test_data): Likewise.
9503         (remainder_test_upward): Likewise.
9504         (drem_test_upward): Likewise.
9505         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
9506         (round_test): Use ALL_RM_TEST.
9507         (signbit_test): Likewise.
9508         (trunc_test): Likewise.
9509         (significand_test): Likewise.
9510         (main): Don't call removed functions.
9512 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9514         [BZ #16674]
9515         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
9516         || __USE_XOPEN2K8].
9517         (ILL_ILLOPN): Likewise.
9518         (ILL_ILLADR): Likewise.
9519         (ILL_ILLTRP): Likewise.
9520         (ILL_PRVOPC): Likewise.
9521         (ILL_PRVREG): Likewise.
9522         (ILL_COPROC): Likewise.
9523         (ILL_BADSTK): Likewise.
9524         (FPE_INTDIV): Likewise.
9525         (FPE_INTOVF): Likewise.
9526         (FPE_FLTDIV): Likewise.
9527         (FPE_FLTOVF): Likewise.
9528         (FPE_FLTUND): Likewise.
9529         (FPE_FLTRES): Likewise.
9530         (FPE_FLTINV): Likewise.
9531         (FPE_FLTSUB): Likewise.
9532         (SEGV_MAPERR): Likewise.
9533         (SEGV_ACCERR): Likewise.
9534         (BUS_ADRALN): Likewise.
9535         (BUS_ADRERR): Likewise.
9536         (BUS_OBJERR): Likewise.
9537         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9538         (TRAP_TRACE): Likewise.
9539         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9540         __USE_XOPEN2K8].
9541         (CLD_KILLED): Likewise.
9542         (CLD_DUMPED): Likewise.
9543         (CLD_TRAPPED): Likewise.
9544         (CLD_STOPPED): Likewise.
9545         (CLD_CONTINUED): Likewise.
9546         (POLL_IN): Likewise.
9547         (POLL_OUT): Likewise.
9548         (POLL_MSG): Likewise.
9549         (POLL_ERR): Likewise.
9550         (POLL_PRI): Likewise.
9551         (POLL_HUP): Likewise.
9552         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
9553         Likewise.
9554         (ILL_ILLOPN): Likewise.
9555         (ILL_ILLADR): Likewise.
9556         (ILL_ILLTRP): Likewise.
9557         (ILL_PRVOPC): Likewise.
9558         (ILL_PRVREG): Likewise.
9559         (ILL_COPROC): Likewise.
9560         (ILL_BADSTK): Likewise.
9561         (FPE_INTDIV): Likewise.
9562         (FPE_INTOVF): Likewise.
9563         (FPE_FLTDIV): Likewise.
9564         (FPE_FLTOVF): Likewise.
9565         (FPE_FLTUND): Likewise.
9566         (FPE_FLTRES): Likewise.
9567         (FPE_FLTINV): Likewise.
9568         (FPE_FLTSUB): Likewise.
9569         (SEGV_MAPERR): Likewise.
9570         (SEGV_ACCERR): Likewise.
9571         (BUS_ADRALN): Likewise.
9572         (BUS_ADRERR): Likewise.
9573         (BUS_OBJERR): Likewise.
9574         (BUS_MCEERR_AR): Likewise.
9575         (BUS_MCEERR_AO): Likewise.
9576         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9577         (TRAP_TRACE): Likewise.
9578         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9579         __USE_XOPEN2K8].
9580         (CLD_KILLED): Likewise.
9581         (CLD_DUMPED): Likewise.
9582         (CLD_TRAPPED): Likewise.
9583         (CLD_STOPPED): Likewise.
9584         (CLD_CONTINUED): Likewise.
9585         (POLL_IN): Likewise.
9586         (POLL_OUT): Likewise.
9587         (POLL_MSG): Likewise.
9588         (POLL_ERR): Likewise.
9589         (POLL_PRI): Likewise.
9590         (POLL_HUP): Likewise.
9591         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
9592         (ILL_ILLOPN): Likewise.
9593         (ILL_ILLADR): Likewise.
9594         (ILL_ILLTRP): Likewise.
9595         (ILL_PRVOPC): Likewise.
9596         (ILL_PRVREG): Likewise.
9597         (ILL_COPROC): Likewise.
9598         (ILL_BADSTK): Likewise.
9599         (FPE_INTDIV): Likewise.
9600         (FPE_INTOVF): Likewise.
9601         (FPE_FLTDIV): Likewise.
9602         (FPE_FLTOVF): Likewise.
9603         (FPE_FLTUND): Likewise.
9604         (FPE_FLTRES): Likewise.
9605         (FPE_FLTINV): Likewise.
9606         (FPE_FLTSUB): Likewise.
9607         (SEGV_MAPERR): Likewise.
9608         (SEGV_ACCERR): Likewise.
9609         (BUS_ADRALN): Likewise.
9610         (BUS_ADRERR): Likewise.
9611         (BUS_OBJERR): Likewise.
9612         (BUS_MCEERR_AR): Likewise.
9613         (BUS_MCEERR_AO): Likewise.
9614         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9615         (TRAP_TRACE): Likewise.
9616         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9617         __USE_XOPEN2K8].
9618         (CLD_KILLED): Likewise.
9619         (CLD_DUMPED): Likewise.
9620         (CLD_TRAPPED): Likewise.
9621         (CLD_STOPPED): Likewise.
9622         (CLD_CONTINUED): Likewise.
9623         (POLL_IN): Likewise.
9624         (POLL_OUT): Likewise.
9625         (POLL_MSG): Likewise.
9626         (POLL_ERR): Likewise.
9627         (POLL_PRI): Likewise.
9628         (POLL_HUP): Likewise.
9629         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
9630         Likewise.
9631         (ILL_ILLOPN): Likewise.
9632         (ILL_ILLADR): Likewise.
9633         (ILL_ILLTRP): Likewise.
9634         (ILL_PRVOPC): Likewise.
9635         (ILL_PRVREG): Likewise.
9636         (ILL_COPROC): Likewise.
9637         (ILL_BADSTK): Likewise.
9638         (ILL_BADIADDR): Likewise.
9639         (ILL_BREAK): Likewise.
9640         (FPE_INTDIV): Likewise.
9641         (FPE_INTOVF): Likewise.
9642         (FPE_FLTDIV): Likewise.
9643         (FPE_FLTOVF): Likewise.
9644         (FPE_FLTUND): Likewise.
9645         (FPE_FLTRES): Likewise.
9646         (FPE_FLTINV): Likewise.
9647         (FPE_FLTSUB): Likewise.
9648         (FPE_DECOVF): Likewise.
9649         (FPE_DECDIV): Likewise.
9650         (FPE_DECERR): Likewise.
9651         (FPE_INVASC): Likewise.
9652         (FPE_INVDEC): Likewise.
9653         (SEGV_MAPERR): Likewise.
9654         (SEGV_ACCERR): Likewise.
9655         (SEGV_PSTKOVF): Likewise.
9656         (BUS_ADRALN): Likewise.
9657         (BUS_ADRERR): Likewise.
9658         (BUS_OBJERR): Likewise.
9659         (BUS_MCEERR_AR): Likewise.
9660         (BUS_MCEERR_AO): Likewise.
9661         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9662         (TRAP_TRACE): Likewise.
9663         (TRAP_BRANCH): Likewise.
9664         (TRAP_HWBKPT): Likewise.
9665         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9666         __USE_XOPEN2K8].
9667         (CLD_KILLED): Likewise.
9668         (CLD_DUMPED): Likewise.
9669         (CLD_TRAPPED): Likewise.
9670         (CLD_STOPPED): Likewise.
9671         (CLD_CONTINUED): Likewise.
9672         (POLL_IN): Likewise.
9673         (POLL_OUT): Likewise.
9674         (POLL_MSG): Likewise.
9675         (POLL_ERR): Likewise.
9676         (POLL_PRI): Likewise.
9677         (POLL_HUP): Likewise.
9678         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
9679         (ILL_ILLOPN): Likewise.
9680         (ILL_ILLADR): Likewise.
9681         (ILL_ILLTRP): Likewise.
9682         (ILL_PRVOPC): Likewise.
9683         (ILL_PRVREG): Likewise.
9684         (ILL_COPROC): Likewise.
9685         (ILL_BADSTK): Likewise.
9686         (FPE_INTDIV): Likewise.
9687         (FPE_INTOVF): Likewise.
9688         (FPE_FLTDIV): Likewise.
9689         (FPE_FLTOVF): Likewise.
9690         (FPE_FLTUND): Likewise.
9691         (FPE_FLTRES): Likewise.
9692         (FPE_FLTINV): Likewise.
9693         (FPE_FLTSUB): Likewise.
9694         (SEGV_MAPERR): Likewise.
9695         (SEGV_ACCERR): Likewise.
9696         (BUS_ADRALN): Likewise.
9697         (BUS_ADRERR): Likewise.
9698         (BUS_OBJERR): Likewise.
9699         (BUS_MCEERR_AR): Likewise.
9700         (BUS_MCEERR_AO): Likewise.
9701         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9702         (TRAP_TRACE): Likewise.
9703         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9704         __USE_XOPEN2K8].
9705         (CLD_KILLED): Likewise.
9706         (CLD_DUMPED): Likewise.
9707         (CLD_TRAPPED): Likewise.
9708         (CLD_STOPPED): Likewise.
9709         (CLD_CONTINUED): Likewise.
9710         (POLL_IN): Likewise.
9711         (POLL_OUT): Likewise.
9712         (POLL_MSG): Likewise.
9713         (POLL_ERR): Likewise.
9714         (POLL_PRI): Likewise.
9715         (POLL_HUP): Likewise.
9716         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
9717         (ILL_ILLOPN): Likewise.
9718         (ILL_ILLADR): Likewise.
9719         (ILL_ILLTRP): Likewise.
9720         (ILL_PRVOPC): Likewise.
9721         (ILL_PRVREG): Likewise.
9722         (ILL_COPROC): Likewise.
9723         (ILL_BADSTK): Likewise.
9724         (FPE_INTDIV): Likewise.
9725         (FPE_INTOVF): Likewise.
9726         (FPE_FLTDIV): Likewise.
9727         (FPE_FLTOVF): Likewise.
9728         (FPE_FLTUND): Likewise.
9729         (FPE_FLTRES): Likewise.
9730         (FPE_FLTINV): Likewise.
9731         (FPE_FLTSUB): Likewise.
9732         (SEGV_MAPERR): Likewise.
9733         (SEGV_ACCERR): Likewise.
9734         (BUS_ADRALN): Likewise.
9735         (BUS_ADRERR): Likewise.
9736         (BUS_OBJERR): Likewise.
9737         (BUS_MCEERR_AR): Likewise.
9738         (BUS_MCEERR_AO): Likewise.
9739         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9740         (TRAP_TRACE): Likewise.
9741         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9742         __USE_XOPEN2K8].
9743         (CLD_KILLED): Likewise.
9744         (CLD_DUMPED): Likewise.
9745         (CLD_TRAPPED): Likewise.
9746         (CLD_STOPPED): Likewise.
9747         (CLD_CONTINUED): Likewise.
9748         (POLL_IN): Likewise.
9749         (POLL_OUT): Likewise.
9750         (POLL_MSG): Likewise.
9751         (POLL_ERR): Likewise.
9752         (POLL_PRI): Likewise.
9753         (POLL_HUP): Likewise.
9754         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
9755         (ILL_ILLOPN): Likewise.
9756         (ILL_ILLADR): Likewise.
9757         (ILL_ILLTRP): Likewise.
9758         (ILL_PRVOPC): Likewise.
9759         (ILL_PRVREG): Likewise.
9760         (ILL_COPROC): Likewise.
9761         (ILL_BADSTK): Likewise.
9762         (FPE_INTDIV): Likewise.
9763         (FPE_INTOVF): Likewise.
9764         (FPE_FLTDIV): Likewise.
9765         (FPE_FLTOVF): Likewise.
9766         (FPE_FLTUND): Likewise.
9767         (FPE_FLTRES): Likewise.
9768         (FPE_FLTINV): Likewise.
9769         (FPE_FLTSUB): Likewise.
9770         (SEGV_MAPERR): Likewise.
9771         (SEGV_ACCERR): Likewise.
9772         (BUS_ADRALN): Likewise.
9773         (BUS_ADRERR): Likewise.
9774         (BUS_OBJERR): Likewise.
9775         (BUS_MCEERR_AR): Likewise.
9776         (BUS_MCEERR_AO): Likewise.
9777         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9778         (TRAP_TRACE): Likewise.
9779         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9780         __USE_XOPEN2K8].
9781         (CLD_KILLED): Likewise.
9782         (CLD_DUMPED): Likewise.
9783         (CLD_TRAPPED): Likewise.
9784         (CLD_STOPPED): Likewise.
9785         (CLD_CONTINUED): Likewise.
9786         (POLL_IN): Likewise.
9787         (POLL_OUT): Likewise.
9788         (POLL_MSG): Likewise.
9789         (POLL_ERR): Likewise.
9790         (POLL_PRI): Likewise.
9791         (POLL_HUP): Likewise.
9792         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
9793         (ILL_ILLOPN): Likewise.
9794         (ILL_ILLADR): Likewise.
9795         (ILL_ILLTRP): Likewise.
9796         (ILL_PRVOPC): Likewise.
9797         (ILL_PRVREG): Likewise.
9798         (ILL_COPROC): Likewise.
9799         (ILL_BADSTK): Likewise.
9800         (ILL_DBLFLT): Likewise.
9801         (ILL_HARDWALL): Likewise.
9802         (FPE_INTDIV): Likewise.
9803         (FPE_INTOVF): Likewise.
9804         (FPE_FLTDIV): Likewise.
9805         (FPE_FLTOVF): Likewise.
9806         (FPE_FLTUND): Likewise.
9807         (FPE_FLTRES): Likewise.
9808         (FPE_FLTINV): Likewise.
9809         (FPE_FLTSUB): Likewise.
9810         (SEGV_MAPERR): Likewise.
9811         (SEGV_ACCERR): Likewise.
9812         (BUS_ADRALN): Likewise.
9813         (BUS_ADRERR): Likewise.
9814         (BUS_OBJERR): Likewise.
9815         (BUS_MCEERR_AR): Likewise.
9816         (BUS_MCEERR_AO): Likewise.
9817         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9818         (TRAP_TRACE): Likewise.
9819         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9820         __USE_XOPEN2K8].
9821         (CLD_KILLED): Likewise.
9822         (CLD_DUMPED): Likewise.
9823         (CLD_TRAPPED): Likewise.
9824         (CLD_STOPPED): Likewise.
9825         (CLD_CONTINUED): Likewise.
9826         (POLL_IN): Likewise.
9827         (POLL_OUT): Likewise.
9828         (POLL_MSG): Likewise.
9829         (POLL_ERR): Likewise.
9830         (POLL_PRI): Likewise.
9831         (POLL_HUP): Likewise.
9832         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
9833         (ILL_ILLOPN): Likewise.
9834         (ILL_ILLADR): Likewise.
9835         (ILL_ILLTRP): Likewise.
9836         (ILL_PRVOPC): Likewise.
9837         (ILL_PRVREG): Likewise.
9838         (ILL_COPROC): Likewise.
9839         (ILL_BADSTK): Likewise.
9840         (FPE_INTDIV): Likewise.
9841         (FPE_INTOVF): Likewise.
9842         (FPE_FLTDIV): Likewise.
9843         (FPE_FLTOVF): Likewise.
9844         (FPE_FLTUND): Likewise.
9845         (FPE_FLTRES): Likewise.
9846         (FPE_FLTINV): Likewise.
9847         (FPE_FLTSUB): Likewise.
9848         (SEGV_MAPERR): Likewise.
9849         (SEGV_ACCERR): Likewise.
9850         (BUS_ADRALN): Likewise.
9851         (BUS_ADRERR): Likewise.
9852         (BUS_OBJERR): Likewise.
9853         (BUS_MCEERR_AR): Likewise.
9854         (BUS_MCEERR_AO): Likewise.
9855         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
9856         (TRAP_TRACE): Likewise.
9857         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
9858         __USE_XOPEN2K8].
9859         (CLD_KILLED): Likewise.
9860         (CLD_DUMPED): Likewise.
9861         (CLD_TRAPPED): Likewise.
9862         (CLD_STOPPED): Likewise.
9863         (CLD_CONTINUED): Likewise.
9864         (POLL_IN): Likewise.
9865         (POLL_OUT): Likewise.
9866         (POLL_MSG): Likewise.
9867         (POLL_ERR): Likewise.
9868         (POLL_PRI): Likewise.
9869         (POLL_HUP): Likewise.
9870         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
9871         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
9873         [BZ #16670]
9874         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
9875         before #include of <time.h>.
9876         [!__USE_XOPEN2K] (__need_timespec): Likewise.
9877         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
9878         (test-xfail-UNIX98/sched.h/conform): Likewise.
9880 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9882         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
9883         error absence of trapping exception support.
9884         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9886 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
9888         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
9889         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
9890         * timezone/Makefile (testdata): Move definition above include of
9891         Rules.
9892         (test-zones): New variable.
9893         (tests-special): Add zone files.
9894         (build-testdata): Use $(evaluate-test).
9896         * elf/Makefile (tests-special): Rename tests to end with .out.
9897         ($(objpfx)noload-mem): Likewise.
9898         ($(objpfx)tst-leaks1-mem): Likewise.
9899         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
9900         * iconv/Makefile (xtests-special): Change test-iconvconfig to
9901         $(objpfx)test-iconvconfig.out.
9902         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
9903         set -e inside subshell and redirect output to file.
9904         * iconvdata/Makefile (generated): Rename tests to end with .out.
9905         Correct type.
9906         (tests-special): Rename tests to end with .out.
9907         ($(objpfx)mtrace-tst-loading): Likewise.
9908         * intl/Makefile (generated): Likewise.
9909         (tests-special): Likewise.
9910         ($(objpfx)mtrace-tst-gettext): Likewise.
9911         * misc/Makefile (generated): Likewise.
9912         (tests-special): Likewise.
9913         ($(objpfx)tst-error1-mem): Likewise.
9914         * nptl/Makefile (tests-special): Likewise.
9915         ($(objpfx)tst-stack3-mem): Likewise.
9916         (generated): Likewise.
9917         * posix/Makefile (generated): Likewise.
9918         (tests-special): Likewise.
9919         (xtests-special): Likewise.
9920         ($(objpfx)tst-fnmatch-mem): Likewise.
9921         ($(objpfx)bug-regex2-mem): Likewise.
9922         ($(objpfx)bug-regex14-mem): Likewise.
9923         ($(objpfx)bug-regex21-mem): Likewise.
9924         ($(objpfx)bug-regex31-mem): Likewise.
9925         ($(objpfx)tst-vfork3-mem): Likewise.
9926         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9927         ($(objpfx)tst-pcre-mem): Likewise.
9928         ($(objpfx)tst-boost-mem): Likewise.
9929         ($(objpfx)bug-ga2-mem): Likewise.
9930         ($(objpfx)bug-glob2-mem): Likewise.
9931         * resolv/Makefile (generate): Likewise.
9932         (tests-special): Likewise.
9933         (xtests-special): Likewise.
9934         (generated): Likewise.
9935         ($(objpfx)mtrace-tst-leaks): Likewise.
9936         ($(objpfx)mtrace-tst-leaks2): Likewise.
9938         * scripts/merge-test-results.sh: New file.
9939         * Makefile (tests-special-notdir): New variable.
9940         (tests): Run merge-test-results.sh.
9941         (xtests): Likewise.
9942         * Rules (tests-special-notdir): New variable.
9943         (xtests-special-notdir): Likewise.
9944         (tests): Run merge-test-results.sh
9945         (xtests): Likewise.
9947         * Makeconfig (test-xfail-name): New variable.
9948         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
9949         compute variable name for expected failures.
9950         * conform/Makefile (conformtest-headers-data): New variable.
9951         (conformtest-standards): Likewise.
9952         (conformtest-headers-ISO): Likewise.
9953         (conformtest-headers-ISO99): Likewise.
9954         (conformtest-headers-ISO11): Likewise.
9955         (conformtest-headers-POSIX): Likewise.
9956         (conformtest-headers-XPG3): Likewise.
9957         (conformtest-headers-XPG4): Likewise.
9958         (conformtest-headers-UNIX98): Likewise.
9959         (conformtest-headers-XOPEN2K): Likewise.
9960         (conformtest-headers-POSIX2008): Likewise.
9961         (conformtest-headers-XOPEN2K8): Likewise.
9962         (conformtest-header-list-base): Likewise.
9963         (conformtest-header-list-tests): Likewise.
9964         (conformtest-header-base): Likewise.
9965         (conformtest-header-tests): Likewise.
9966         (tests-special): Add $(conformtest-header-list-tests).  If
9967         [$(fast-check) && !$(cross-compiling)], add
9968         $(conformtest-header-tests) instead of
9969         $(objpfx)run-conformtest.out.
9970         (generated): Add $(conformtest-header-list-base).  If
9971         [$(fast-check) && !$(cross-compiling)], add
9972         $(conformtest-header-base).  Remove previous setting.
9973         ($(conformtest-header-list-tests)): New target.
9974         (test-xfail-run-conformtest): Remove variable.
9975         ($(objpfx)run-conformtest.out): Remove target.
9976         (test-xfail-ISO11/complex.h/conform): New variable.
9977         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9978         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9979         (test-xfail-XPG3/varargs.h/conform): Likewise.
9980         (test-xfail-XPG4/varargs.h/conform): Likewise.
9981         (test-xfail-UNIX98/varargs.h/conform): Likewise.
9982         (test-xfail-XPG4/ndbm.h/conform): Likewise.
9983         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
9984         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
9985         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
9986         (test-xfail-XPG3/fcntl.h/conform): Likewise.
9987         (test-xfail-XPG3/ftw.h/conform): Likewise.
9988         (test-xfail-XPG3/grp.h/conform): Likewise.
9989         (test-xfail-XPG3/langinfo.h/conform): Likewise.
9990         (test-xfail-XPG3/limits.h/conform): Likewise.
9991         (test-xfail-XPG3/pwd.h/conform): Likewise.
9992         (test-xfail-XPG3/search.h/conform): Likewise.
9993         (test-xfail-XPG3/signal.h/conform): Likewise.
9994         (test-xfail-XPG3/stdio.h/conform): Likewise.
9995         (test-xfail-XPG3/stdlib.h/conform): Likewise.
9996         (test-xfail-XPG3/string.h/conform): Likewise.
9997         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
9998         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
9999         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10000         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10001         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10002         (test-xfail-XPG3/sys/types.h/conform): Likewise.
10003         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10004         (test-xfail-XPG3/termios.h/conform): Likewise.
10005         (test-xfail-XPG3/time.h/conform): Likewise.
10006         (test-xfail-XPG3/unistd.h/conform): Likewise.
10007         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10008         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10009         (test-xfail-XPG4/langinfo.h/conform): Likewise.
10010         (test-xfail-XPG4/netdb.h/conform): Likewise.
10011         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10012         (test-xfail-XPG4/signal.h/conform): Likewise.
10013         (test-xfail-XPG4/stdio.h/conform): Likewise.
10014         (test-xfail-XPG4/stdlib.h/conform): Likewise.
10015         (test-xfail-XPG4/stropts.h/conform): Likewise.
10016         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10017         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10018         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10019         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10020         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10021         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10022         (test-xfail-XPG4/sys/time.h/conform): Likewise.
10023         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10024         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10025         (test-xfail-XPG4/termios.h/conform): Likewise.
10026         (test-xfail-XPG4/ucontext.h/conform): Likewise.
10027         (test-xfail-XPG4/unistd.h/conform): Likewise.
10028         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10029         (test-xfail-POSIX/sched.h/conform): Likewise.
10030         (test-xfail-POSIX/signal.h/conform): Likewise.
10031         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10032         (test-xfail-POSIX/tar.h/conform): Likewise.
10033         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10034         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10035         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10036         (test-xfail-UNIX98/netdb.h/conform): Likewise.
10037         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10038         (test-xfail-UNIX98/sched.h/conform): Likewise.
10039         (test-xfail-UNIX98/signal.h/conform): Likewise.
10040         (test-xfail-UNIX98/stdio.h/conform): Likewise.
10041         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10042         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10043         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10044         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10045         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10046         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10047         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10048         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10049         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10050         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10051         (test-xfail-UNIX98/unistd.h/conform): Likewise.
10052         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10053         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10054         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10055         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10056         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10057         (test-xfail-XOPEN2K/math.h/conform): Likewise.
10058         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10059         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10060         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10061         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10062         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10063         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10064         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10065         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10066         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10067         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10068         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10069         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10070         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10071         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10072         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10073         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10074         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10075         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10076         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10077         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10078         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10079         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10080         (test-xfail-POSIX2008/signal.h/conform): Likewise.
10081         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10082         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10083         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10084         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10085         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10086         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10087         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10088         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10089         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10090         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10091         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10092         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10093         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10094         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10095         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10096         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10097         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10098         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10099         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10100         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10101         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10102         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10103         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10104         (conformtest-cc-flags): Likewise.
10105         ($(conformtest-header-tests): New target.
10106         * conform/check-header-lists.sh: New file.
10107         * conform/run-conformtest.sh: Remove.
10109         * conform/conformtest.pl: Allow ' and \ in values given for
10110         constants.
10111         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10112         inclusion.
10113         [POSIX] (sys/types.h): Likewise.
10114         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10115         inclusion.
10116         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10117         inclusion.
10118         * conform/data/signal.h-data (SIGIO): Remove expectation.
10119         [XPG3] (SIGBUS): Do not expect.
10120         [POSIX || XPG3] (SIGPOLL): Likewise.
10121         [POSIX || XPG3] (SIGPROF): Likewise.
10122         [POSIX || XPG3] (SIGSYS): Likewise.
10123         [XPG3] (SIGTRAP): Likewise.
10124         [POSIX || XPG3] (SIGURG): Likewise.
10125         [POSIX || XPG3] (SIGVTALRM): Likewise.
10126         [POSIX || XPG3] (SIGXCPU): Likewise.
10127         [POSIX || XPG3] (SIGXFSZ): Likewise.
10128         [POSIX] (SA_SIGINFO): Expect.
10129         [XPG3] (siginfo_t): Do not expect type or contents.
10130         [POSIX] (si_pid): Do not expect element.
10131         [POSIX] (si_uid): Likewise.
10132         [POSIX] (si_addr): Likewise.
10133         [POSIX] (si_status): Likewise.
10134         [POSIX] (si_band): Likewise.
10135         [XPG4] (si_value): Likewise.
10136         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10137         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10138         [POSIX || XPG3] (ILL_ILLADR): Likewise.
10139         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10140         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10141         [POSIX || XPG3] (ILL_PRVREG): Likewise.
10142         [POSIX || XPG3] (ILL_COPROC): Likewise.
10143         [POSIX || XPG3] (ILL_BADSTK): Likewise.
10144         [POSIX || XPG3] (FPE_INTDIV): Likewise.
10145         [POSIX || XPG3] (FPE_INTOVF): Likewise.
10146         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10147         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10148         [POSIX || XPG3] (FPE_FLTUND): Likewise.
10149         [POSIX || XPG3] (FPE_FLTRES): Likewise.
10150         [POSIX || XPG3] (FPE_FLTINV): Likewise.
10151         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10152         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10153         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10154         [POSIX || XPG3] (BUS_ADRALN): Likewise.
10155         [POSIX || XPG3] (BUS_ADRERR): Likewise.
10156         [POSIX || XPG3] (BUS_OBJERR): Likewise.
10157         [POSIX || XPG3] (CLD_EXITED): Likewise.
10158         [POSIX || XPG3] (CLD_KILLED): Likewise.
10159         [POSIX || XPG3] (CLD_DUMPED): Likewise.
10160         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10161         [POSIX || XPG3] (CLD_STOPPED): Likewise.
10162         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10163         [POSIX || XPG3] (POLL_IN): Likewise.
10164         [POSIX || XPG3] (POLL_OUT): Likewise.
10165         [POSIX || XPG3] (POLL_MSG): Likewise.
10166         [POSIX || XPG3] (POLL_ERR): Likewise.
10167         [POSIX || XPG3] (POLL_PRI): Likewise.
10168         [POSIX || XPG3] (POLL_HUP): Likewise.
10169         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10170         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10171         (SIG*): Do not allow.
10172         [XPG3] (si_*): Likewise.
10173         [XPG3] (SI_*): Likewise.
10174         [XPG3 || XPG4] (sigev_*): Likewise.
10175         [XPG3 || XPG4] (SIGEV_*): Likewise.
10176         [XPG3 || XPG4] (sival_*): Likewise.
10177         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10178         [POSIX || XPG3] (BUS_*): Likewise.
10179         [POSIX || XPG3] (CLD_*): Likewise.
10180         [POSIX || XPG3] (FPE_*): Likewise.
10181         [POSIX || XPG3] (ILL_*): Likewise.
10182         [POSIX || XPG3] (POLL_*): Likewise.
10183         [POSIX || XPG3] (SEGV_*): Likewise.
10184         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10185         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10186         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10187         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10188         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10189         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10190         Specify type and value.
10191         (TVERSLEN): Likewise.
10192         (REGTYPE): Likewise.
10193         (AREGTYPE): Likewise.
10194         (LNKTYPE): Likewise.
10195         (SYMTYPE): Likewise.
10196         (CHRTYPE): Likewise.
10197         (BLKTYPE): Likewise.
10198         (DIRTYPE): Likewise.
10199         (FIFOTYPE): Likewise.
10200         (CONTTYPE): Likewise.
10201         (TSUID): Likewise.
10202         (TSGID): Likewise.
10203         (TSVTX): Likewise.
10204         (TUREAD): Likewise.
10205         (TUWRITE): Likewise.
10206         (TUEXEC): Likewise.
10207         (TGREAD): Likewise.
10208         (TGWRITE): Likewise.
10209         (TGEXEC): Likewise.
10210         (TOREAD): Likewise.
10211         (TOWRITE): Likewise.
10212         (TOEXEC): Likewise.
10213         [POSIX] (TSVTX): Expect constant.
10215 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
10217         * Makefile (tests): Change dependencies to ....
10218         (tests-special): ... additions to this variable.
10219         (tests): Depend on $(tests-special).
10220         * Makerules (check-abi-list): New variable.
10221         (check-abi): Depend on $(check-abi-list).
10222         [$(subdir) = elf] (tests-special): Add
10223         $(objpfx)check-abi-libc.out.
10224         [$(build-shared) = yes && subdir] (tests-special): Add
10225         $(check-abi-list).
10226         [$(build-shared) = yes && subdir] (tests): Do not depend on
10227         check-abi.
10228         * Rules (tests): Depend on $(tests-special).
10229         (xtests): Depend on $(xtests-special).
10230         * catgets/Makefile (tests): Change dependencies to ....
10231         (tests-special): ... additions to this variable.
10232         * conform/Makefile (tests): Change dependencies to ....
10233         (tests-special): ... additions to this variable.
10234         * elf/Makefile (tests): Change dependencies to ....
10235         (tests-special): ... additions to this variable.
10236         * grp/Makefile (tests): Change dependencies to ....
10237         (tests-special): ... additions to this variable.
10238         * iconv/Makefile (xtests): Change dependencies to ....
10239         (xtests-special): ... additions to this variable.
10240         * iconvdata/Makefile (tests): Change dependencies to ....
10241         (tests-special): ... additions to this variable.
10242         * intl/Makefile (tests): Change dependencies to ....
10243         (tests-special): ... additions to this variable.  Also add
10244         $(objpfx)tst-gettext.out.
10245         * io/Makefile (tests): Change dependencies to ....
10246         (tests-special): ... additions to this variable.
10247         * libio/Makefile (tests): Change dependencies to ....
10248         (tests-special): ... additions to this variable.
10249         * malloc/Makefile (tests): Change dependencies to ....
10250         (tests-special): ... additions to this variable.
10251         * misc/Makefile (tests): Change dependencies to ....
10252         (tests-special): ... additions to this variable.
10253         * nptl/Makefile (tests): Change dependencies to ....
10254         (tests-special): ... additions to this variable.
10255         * nptl_db/Makefile (tests): Change dependencies to ....
10256         (tests-special): ... additions to this variable.
10257         * posix/Makefile (tests): Change dependencies to ....
10258         (tests-special): ... additions to this variable.
10259         (xtests): Change dependencies to ....
10260         (xtests-special): ... additions to this variable.
10261         * resolv/Makefile (tests): Change dependencies to ....
10262         (tests-special): ... additions to this variable.
10263         (xtests): Change dependencies to ....
10264         (xtests-special): ... additions to this variable.
10265         * stdio-common/Makefile (tests): Change dependencies to ....
10266         (tests-special): ... additions to this variable.
10267         (do-tst-unbputc): Remove target.
10268         (do-tst-printf): Likewise.
10269         * stdlib/Makefile (tests): Change dependencies to ....
10270         (tests-special): ... additions to this variable.
10271         * string/Makefile (tests): Change dependencies to ....
10272         (tests-special): ... additions to this variable.
10273         * sysdeps/x86/Makefile (tests): Change dependencies to ....
10274         (tests-special): ... additions to this variable.
10276         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
10277         whole file.
10278         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
10279         whole file.
10280         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
10281         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
10283         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
10284         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
10285         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
10286         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
10287         * conform/data/libgen.h-data [XPG3]: Likewise.
10288         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
10289         * conform/data/ndbm.h-data [XPG3]: Likewise.
10290         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10291         * conform/data/netdb.h-data [XPG3]: Likewise.
10292         * conform/data/netinet/in.h-data [XPG3]: Likewise.
10293         * conform/data/poll.h-data [XPG3]: Likewise.
10294         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
10295         * conform/data/strings.h-data [XPG3]: Likewise.
10296         * conform/data/stropts.h-data [XPG3]: Likewise.
10297         * conform/data/sys/mman.h-data [XPG3]: Likewise.
10298         * conform/data/sys/resource.h-data [XPG3]: Likewise.
10299         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
10300         Likewise.
10301         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
10302         * conform/data/sys/time.h-data [XPG3]: Likewise.
10303         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
10304         * conform/data/sys/uio.h-data [XPG3]: Likewise.
10305         * conform/data/sys/un.h-data [XPG3]: Likewise.
10306         * conform/data/syslog.h-data [XPG3]: Likewise.
10307         * conform/data/ucontext.h-data [XPG3]: Likewise.
10308         * conform/data/utmpx.h-data [XPG3]: Likewise.
10309         * conform/data/varargs.h-data [UNIX98]: Enable file.
10311         * manual/Makefile (INSTALL_INFO): Remove variable setting.
10313         * math/libm-test.inc (struct test_f_f_data): Move expected results
10314         into structure for each rounding mode.
10315         (struct test_ff_f_data): Likewise.
10316         (struct test_ff_f_data_nexttoward): Likewise.
10317         (struct test_fi_f_data): Likewise.
10318         (struct test_fl_f_data): Likewise.
10319         (struct test_if_f_data): Likewise.
10320         (struct test_fff_f_data): Likewise.
10321         (struct test_c_f_data): Likewise.
10322         (struct test_f_f1_data): Likewise.
10323         (struct test_fF_f1_data): Likewise.
10324         (struct test_ffI_f1_data): Likewise.
10325         (struct test_c_c_data): Likewise.
10326         (struct test_cc_c_data): Likewise.
10327         (struct test_f_i_data): Likewise.
10328         (struct test_ff_i_data): Likewise.
10329         (struct test_f_l_data): Likewise.
10330         (struct test_f_L_data): Likewise.
10331         (struct test_fFF_11_data): Likewise.
10332         (RM_): New macro.
10333         (RM_FE_DOWNWARD): Likewise.
10334         (RM_FE_TONEAREST): Likewise.
10335         (RM_FE_TOWARDZERO): Likewise.
10336         (RM_FE_UPWARD): Likewise.
10337         (RUN_TEST_LOOP_f_f): Update references to expected results.
10338         (RUN_TEST_LOOP_2_f): Likewise.
10339         (RUN_TEST_LOOP_fff_f): Likewise.
10340         (RUN_TEST_LOOP_c_f): Likewise.
10341         (RUN_TEST_LOOP_f_f1): Likewise.
10342         (RUN_TEST_LOOP_fF_f1): Likewise.
10343         (RUN_TEST_LOOP_fI_f1): Likewise.
10344         (RUN_TEST_LOOP_ffI_f1): Likewise.
10345         (RUN_TEST_LOOP_c_c): Likewise.
10346         (RUN_TEST_LOOP_cc_c): Likewise.
10347         (RUN_TEST_LOOP_f_i): Likewise.
10348         (RUN_TEST_LOOP_f_i_tg): Likewise.
10349         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10350         (RUN_TEST_LOOP_f_b): Likewise.
10351         (RUN_TEST_LOOP_f_b_tg): Likewise.
10352         (RUN_TEST_LOOP_f_l): Likewise.
10353         (RUN_TEST_LOOP_f_L): Likewise.
10354         (RUN_TEST_LOOP_fFF_11): Likewise.
10355         * math/gen-libm-test.pl (parse_args): Output four copies of
10356         expected results for each test.
10358         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10359         (__ASSUME_UTIMES): Remove.
10360         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10361         (__ASSUME_UTIMES): Likewise.
10363         * math/gen-auto-libm-tests.c: Update comment on output format.
10364         (output_for_one_input_case): Generate before-rounding and
10365         after-rounding information as conditions on output flags not
10366         floating-point format.
10367         * math/auto-libm-test-out: Regenerated.
10368         * math/gen-libm-test.pl (cond_value): New function.
10369         (or_cond_value): Use cond_value.
10370         (generate_testfile): Handle conditional exceptions.
10372 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
10374         * math/libm-test.inc (max_valid_error): New variable.
10375         (init_max_error): Take new argument specifying whether function
10376         results are exactly determined.  Set max_valid_error and bound
10377         other variables for errors based on this argument.
10378         (set_max_error): Do not record results above max_valid_error.
10379         (check_float_internal): Only accept errors of up to 0.5ulps if
10380         also at most max_valid_error.
10381         (START): Take new argument EXACT and pass it to init_max_error.
10382         (acos_test): Update call to START.
10383         (acos_test_tonearest): Likewise.
10384         (acos_test_towardzero): Likewise.
10385         (acos_test_downward): Likewise.
10386         (acos_test_upward): Likewise.
10387         (acosh_test): Likewise.
10388         (asin_test): Likewise.
10389         (asin_test_tonearest): Likewise.
10390         (asin_test_towardzero): Likewise.
10391         (asin_test_downward): Likewise.
10392         (asin_test_upward): Likewise.
10393         (asinh_test): Likewise.
10394         (atan_test): Likewise.
10395         (atanh_test): Likewise.
10396         (atan2_test): Likewise.
10397         (cabs_test): Likewise.
10398         (cacos_test): Likewise.
10399         (cacosh_test): Likewise.
10400         (carg_test): Likewise.
10401         (casin_test): Likewise.
10402         (casinh_test): Likewise.
10403         (catan_test): Likewise.
10404         (catanh_test): Likewise.
10405         (cbrt_test): Likewise.
10406         (ccos_test): Likewise.
10407         (ccosh_test): Likewise.
10408         (ceil_test): Likewise.
10409         (cexp_test): Likewise.
10410         (cimag_test): Likewise.
10411         (clog_test): Likewise.
10412         (clog10_test): Likewise.
10413         (conj_test): Likewise.
10414         (copysign_test): Likewise.
10415         (cos_test): Likewise.
10416         (cos_test_tonearest): Likewise.
10417         (cos_test_towardzero): Likewise.
10418         (cos_test_downward): Likewise.
10419         (cos_test_upward): Likewise.
10420         (cosh_test): Likewise.
10421         (cosh_test_tonearest): Likewise.
10422         (cosh_test_towardzero): Likewise.
10423         (cosh_test_downward): Likewise.
10424         (cosh_test_upward): Likewise.
10425         (cpow_test): Likewise.
10426         (cproj_test): Likewise.
10427         (creal_test): Likewise.
10428         (csin_test): Likewise.
10429         (csinh_test): Likewise.
10430         (csqrt_test): Likewise.
10431         (ctan_test): Likewise.
10432         (ctan_test_tonearest): Likewise.
10433         (ctan_test_towardzero): Likewise.
10434         (ctan_test_downward): Likewise.
10435         (ctan_test_upward): Likewise.
10436         (ctanh_test): Likewise.
10437         (ctanh_test_tonearest): Likewise.
10438         (ctanh_test_towardzero): Likewise.
10439         (ctanh_test_downward): Likewise.
10440         (ctanh_test_upward): Likewise.
10441         (erf_test): Likewise.
10442         (erfc_test): Likewise.
10443         (exp_test): Likewise.
10444         (exp_test_tonearest): Likewise.
10445         (exp_test_towardzero): Likewise.
10446         (exp_test_downward): Likewise.
10447         (exp_test_upward): Likewise.
10448         (exp10_test): Likewise.
10449         (exp10_test_tonearest): Likewise.
10450         (exp10_test_towardzero): Likewise.
10451         (exp10_test_downward): Likewise.
10452         (exp10_test_upward): Likewise.
10453         (pow10_test): Likewise.
10454         (exp2_test): Likewise.
10455         (expm1_test): Likewise.
10456         (expm1_test_tonearest): Likewise.
10457         (expm1_test_towardzero): Likewise.
10458         (expm1_test_downward): Likewise.
10459         (expm1_test_upward): Likewise.
10460         (fabs_test): Likewise.
10461         (fdim_test): Likewise.
10462         (floor_test): Likewise.
10463         (fma_test): Likewise.
10464         (fma_test_towardzero): Likewise.
10465         (fma_test_downward): Likewise.
10466         (fma_test_upward): Likewise.
10467         (fmax_test): Likewise.
10468         (fmin_test): Likewise.
10469         (fmod_test): Likewise.
10470         (fpclassify_test): Likewise.
10471         (frexp_test): Likewise.
10472         (hypot_test): Likewise.
10473         (ilogb_test): Likewise.
10474         (isfinite_test): Likewise.
10475         (finite_test): Likewise.
10476         (isgreater_test): Likewise.
10477         (isgreaterequal_test): Likewise.
10478         (isinf_test): Likewise.
10479         (isless_test): Likewise.
10480         (islessequal_test): Likewise.
10481         (islessgreater_test): Likewise.
10482         (isnan_test): Likewise.
10483         (isnormal_test): Likewise.
10484         (issignaling_test): Likewise.
10485         (isunordered_test): Likewise.
10486         (j0_test): Likewise.
10487         (j1_test): Likewise.
10488         (jn_test): Likewise.
10489         (ldexp_test): Likewise.
10490         (lgamma_test): Likewise.
10491         (gamma_test): Likewise.
10492         (lrint_test): Likewise.
10493         (lrint_test_tonearest): Likewise.
10494         (lrint_test_towardzero): Likewise.
10495         (lrint_test_downward): Likewise.
10496         (lrint_test_upward): Likewise.
10497         (llrint_test): Likewise.
10498         (llrint_test_tonearest): Likewise.
10499         (llrint_test_towardzero): Likewise.
10500         (llrint_test_downward): Likewise.
10501         (llrint_test_upward): Likewise.
10502         (log_test): Likewise.
10503         (log10_test): Likewise.
10504         (log1p_test): Likewise.
10505         (log2_test): Likewise.
10506         (logb_test): Likewise.
10507         (logb_test_downward): Likewise.
10508         (lround_test): Likewise.
10509         (llround_test): Likewise.
10510         (modf_test): Likewise.
10511         (nearbyint_test): Likewise.
10512         (nextafter_test): Likewise.
10513         (nexttoward_test): Likewise.
10514         (pow_test): Likewise.
10515         (pow_test_tonearest): Likewise.
10516         (pow_test_towardzero): Likewise.
10517         (pow_test_downward): Likewise.
10518         (pow_test_upward): Likewise.
10519         (remainder_test): Likewise.
10520         (drem_test): Likewise.
10521         (remainder_test_tonearest): Likewise.
10522         (drem_test_tonearest): Likewise.
10523         (remainder_test_towardzero): Likewise.
10524         (drem_test_towardzero): Likewise.
10525         (remainder_test_downward): Likewise.
10526         (drem_test_downward): Likewise.
10527         (remainder_test_upward): Likewise.
10528         (drem_test_upward): Likewise.
10529         (remquo_test): Likewise.
10530         (rint_test): Likewise.
10531         (rint_test_tonearest): Likewise.
10532         (rint_test_towardzero): Likewise.
10533         (rint_test_downward): Likewise.
10534         (rint_test_upward): Likewise.
10535         (round_test): Likewise.
10536         (scalb_test): Likewise.
10537         (scalbn_test): Likewise.
10538         (scalbln_test): Likewise.
10539         (signbit_test): Likewise.
10540         (sin_test): Likewise.
10541         (sin_test_tonearest): Likewise.
10542         (sin_test_towardzero): Likewise.
10543         (sin_test_downward): Likewise.
10544         (sin_test_upward): Likewise.
10545         (sincos_test): Likewise.
10546         (sinh_test): Likewise.
10547         (sinh_test_tonearest): Likewise.
10548         (sinh_test_towardzero): Likewise.
10549         (sinh_test_downward): Likewise.
10550         (sinh_test_upward): Likewise.
10551         (sqrt_test): Likewise.
10552         (sqrt_test_tonearest): Likewise.
10553         (sqrt_test_towardzero): Likewise.
10554         (sqrt_test_downward): Likewise.
10555         (sqrt_test_upward): Likewise.
10556         (tan_test): Likewise.
10557         (tan_test_tonearest): Likewise.
10558         (tan_test_towardzero): Likewise.
10559         (tan_test_downward): Likewise.
10560         (tan_test_upward): Likewise.
10561         (tanh_test): Likewise.
10562         (tgamma_test): Likewise.
10563         (trunc_test): Likewise.
10564         (y0_test): Likewise.
10565         (y1_test): Likewise.
10566         (yn_test): Likewise.
10567         (significand_test): Likewise.
10569         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
10570         individual tests in comment.
10571         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
10572         (prev_max_error): New variable.
10573         (prev_real_max_error): Likewise.
10574         (prev_imag_max_error): Likewise.
10575         (compare_ulp_data): Don't refer to test names in comment.
10576         (find_test_ulps): Remove function.
10577         (find_function_ulps): Likewise.
10578         (find_complex_function_ulps): Likewise.
10579         (init_max_error): Take function name as argument.  Look up ulps
10580         for that function.
10581         (print_ulps): Remove function.
10582         (print_max_error): Use prev_max_error instead of calling
10583         find_function_ulps.
10584         (print_complex_max_error): Use prev_real_max_error and
10585         prev_imag_max_error instead of calling find_complex_function_ulps.
10586         (check_float_internal): Take max_ulp parameter instead of calling
10587         find_test_ulps.  Don't call print_ulps.
10588         (check_float): Update call to check_float_internal.
10589         (check_complex): Update calls to check_float_internal.
10590         (START): Pass argument to init_max_error.
10591         * math/gen-libm-test.pl (%results): Don't include "kind"
10592         information.
10593         (parse_ulps): Don't handle ulps of individual tests.
10594         (print_ulps_file): Likewise.
10595         (output_ulps): Likewise.
10596         * math/README.libm-test: Update.
10597         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
10598         individual tests.
10599         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
10600         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
10601         * sysdeps/arm/libm-test-ulps: Likewise.
10602         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
10603         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10604         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
10605         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10606         * sysdeps/microblaze/libm-test-ulps: Likewise.
10607         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10608         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10609         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10610         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10611         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10612         * sysdeps/sh/libm-test-ulps: Likewise.
10613         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10614         * sysdeps/tile/libm-test-ulps: Likewise.
10615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10617 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
10619         * math/libm-test.inc (print_complex_max_error): Check separately
10620         whether real and imaginary errors are within allowed range and
10621         pass 0 to print_complex_function_ulps instead of value within
10622         allowed range.
10624 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10626         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
10627         formatting.
10628         (get_handles_fopen): Likewise.
10629         (do_write_test): Likewise.
10631         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
10633         * libio/fileops.c (do_ftell): Use cached offset when
10634         available.
10635         * libio/iofwide.c (do_ftell_wide): Likewise.
10636         * libio/iofdopen.c (_IO_new_fdopen): Don't use
10637         _IO_file_attach.
10638         * libio/wfileops.c (_IO_fwide): Don't cache offset.
10640         [BZ #16532]
10641         * libio/libioP.h (get_file_offset): New function.
10642         * libio/fileops.c (get_file_offset): Likewise.
10643         (do_ftell): Likewise.
10644         (_IO_new_file_seekoff): Split out ftell logic.
10645         * libio/wfileops.c (do_ftell_wide): Likewise.
10646         (_IO_wfile_seekoff): Split out ftell logic.
10647         * libio/tst-ftell-active-handler.c: New test case.
10648         * libio/Makefile (tests): Add it.
10650 2014-03-03  Roland McGrath  <roland@hack.frob.com>
10652         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
10653         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
10655 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
10657         [BZ #16639]
10658         * nscd/connections.c (nscd_init): Call do_exit.
10659         (start_threads): Call do_exit and notify_parent.
10660         (begin_drop_privileges): Call do_exit.
10661         (finish_drop_privileges): Likewise.
10662         * nscd/selinux.c (preserve_capabilities): Likewise.
10663         (install_real_capabilities): Likewise.
10664         (nscd_selinux_enabled): Likewise.
10665         (avc_create_thread): Likewise.
10666         (avc_alloc_lock): Likewise.
10667         (nscd_avc_init): Likewise.
10668         * nscd/nscd.c (parent_fd): New static variable.
10669         (main): Create a pipe between parent and child processes.
10670         Skip closing parent_fd.
10671         (monitor_child): New function.
10672         (do_exit): Likewise.
10673         (notify_parent): Likewise.
10674         * nscd/nscd.h (notify_parent): Likewise.
10675         (do_exit): Likewise.
10677 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
10679         * malloc/malloc.c (__libc_calloc): Revert last change.
10681 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10685 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10687         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
10688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
10689         implementation.
10690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10691         (__libc_ifunc_impl_list): Likewise.
10692         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
10693         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
10694         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
10695         * string/strrchr.c: Define STRRCHR.
10697 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
10699         * benchtest/bench-strtok.c (simple_strtok): Delete.
10700         (strtok_string): Use as benchmark.
10701         * string/strtok (STRTOK): New macro.
10703 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
10705         * manual/threads.texi: Add header and standard comments to all
10706         functions.
10708         * elf/dl-lookup.c (check_match): New function.
10709         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
10710         (do_lookup_x): Remove nested function check_match. Use non-nested
10711         function check_match.
10713 2014-02-28  Roland McGrath  <roland@hack.frob.com>
10715         * csu/Makefile (generated, before-compile): Use += rather than =.
10716         * catgets/Makefile (generated, generated-dirs): Likewise.
10717         * debug/Makefile (generated): Likewise.
10718         * dlfcn/Makefile (generated): Likewise.
10719         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
10720         * iconvdata/Makefile (before-compile, generated): Likewise.
10721         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10722         * libio/Makefile (generated): Likewise.
10723         * malloc/Makefile (generated): Likewise.
10724         * manual/Makefile (generated, generated-dirs): Likewise.
10725         * misc/Makefile (generated): Likewise.
10726         * posix/Makefile (generated): Likewise.
10727         * resolv/Makefile (generated): Likewise.
10728         * sunrpc/Makefile (generated, generated-dirs): Likewise.
10729         * timezone/Makefile (generated, generated-dirs): Likewise.
10731         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
10733 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10735         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10736         power8 implementation.
10737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
10738         file: POWER8 llround ifunc implementation.
10739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
10740         (__lllround): Add POWER8 implementation.
10741         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
10742         POWER8 llround implementation.
10744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
10745         power8 implementation.
10746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
10747         file: POWER8 llrint ifunc implementation.
10748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
10749         Add POWER8 implementation.
10750         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
10751         POWER8 llrint implementation.
10753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
10754         power8 implementation.
10755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
10756         file: POWER8 finite ifunc implementation.
10757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
10758         Add POWER8 implementation.
10759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
10760         Likewise.
10761         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
10762         POWER8 finite implementation.
10763         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
10765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
10766         power8 implementation.
10767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
10768         file: POWER8 isinf ifunc implementation.
10769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
10770         POWER8 implementation.
10771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
10772         Likewise.
10773         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
10774         isinf implementation.
10775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
10777         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
10778         (INIT_ARCH): Add hwcap2 initialization.
10779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10780         power8 implementation.
10781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
10782         file: POWER8 isnan ifunc implementation.
10783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
10784         POWER8 implementation.
10785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
10786         Likewise.
10787         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
10788         isnan implementation.
10789         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
10791 2014-02-27  Joey Ye  <joey.ye@arm.com>
10793         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10794         (_FP_NANFRAC_Q): Set to zero.
10796 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10798         [BZ #16623]
10799         * math/auto-libm-test-in: New test inputs.
10800         * math/auto-libm-test-out: Regenerate.
10801         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
10802         and DA.
10803         (__cos): Likewise.
10804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10806 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
10808         * scripts/evaluate-test.sh: Take new argument indicating whether
10809         failure is expected.
10810         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
10811         indicating whether failure is expected.
10812         * conform/Makefile (test-xfail-run-conformtest): New variable.
10813         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
10814         level.
10815         * posix/Makefile (test-xfail-annexc): New variable.
10816         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
10818 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
10820         * argp/Makefile: Include Makeconfig immediately after defining
10821         subdir.
10822         * assert/Makefile: Likewise.
10823         * benchtests/Makefile: Likewise.
10824         * catgets/Makefile: Likewise.
10825         * conform/Makefile: Likewise.
10826         * crypt/Makefile: Likewise.
10827         * csu/Makefile: Likewise.
10828         (all): Remove target.
10829         * ctype/Makefile: Include Makeconfig immediately after defining
10830         subdir.
10831         * debug/Makefile: Likewise.
10832         * dirent/Makefile: Likewise.
10833         * dlfcn/Makefile: Likewise.
10834         * gmon/Makefile: Likewise.
10835         * gnulib/Makefile: Likewise.
10836         * grp/Makefile: Likewise.
10837         * gshadow/Makefile: Likewise.
10838         * hesiod/Makefile: Likewise.
10839         * hurd/Makefile: Likewise.
10840         (all): Remove target.
10841         * iconvdata/Makefile: Include Makeconfig immediately after
10842         defining subdir.
10843         * inet/Makefile: Likewise.
10844         * intl/Makefile: Likewise.
10845         * io/Makefile: Likewise.
10846         * libio/Makefile: Likewise.
10847         (all): Remove target.
10848         * locale/Makefile: Include Makeconfig immediately after defining
10849         subdir.
10850         * login/Makefile: Likewise.
10851         * mach/Makefile: Likewise.
10852         (all): Remove target.
10853         * malloc/Makefile: Include Makeconfig immediately after defining
10854         subdir.
10855         (all): Remove target.
10856         * manual/Makefile: Include Makeconfig immediately after defining
10857         subdir.
10858         * math/Makefile: Likewise.
10859         * misc/Makefile: Likewise.
10860         * nis/Makefile: Likewise.
10861         * nss/Makefile: Likewise.
10862         * po/Makefile: Likewise.
10863         (all): Remove target.
10864         * posix/Makefile: Include Makeconfig immediately after defining
10865         subdir.
10866         * pwd/Makefile: Likewise.
10867         * resolv/Makefile: Likewise.
10868         * resource/Makefile: Likewise.
10869         * rt/Makefile: Likewise.
10870         * setjmp/Makefile: Likewise.
10871         * shadow/Makefile: Likewise.
10872         * signal/Makefile: Likewise.
10873         * socket/Makefile: Likewise.
10874         * soft-fp/Makefile: Likewise.
10875         * stdio-common/Makefile: Likewise.
10876         * stdlib/Makefile: Likewise.
10877         * streams/Makefile: Likewise.
10878         * string/Makefile: Likewise.
10879         * sunrpc/Makefile: Likewise.
10880         (all): Remove target.
10881         * sysvipc/Makefile: Include Makeconfig immediately after defining
10882         subdir.
10883         * termios/Makefile: Likewise.
10884         * time/Makefile: Likewise.
10885         * timezone/Makefile: Likewise.
10886         (all): Remove target.
10887         * wcsmbs/Makefile: Include Makeconfig immediately after defining
10888         subdir.
10889         * wctype/Makefile: Likewise.
10891 2014-02-26  Steve Ellcey  <sellcey@mips.com>
10893         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
10894         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
10895         (libc_feholdexcept_setround_mips): Ditto.
10896         (libc_feholdsetround): New.
10897         (libc_feholdsetroundf): New.
10898         (libc_feholdsetroundl): New.
10899         (libc_feupdateenv_test_mips): New.
10900         (libc_feupdateenv_test): New.
10901         (libc_feupdateenv_testf): New.
10902         (libc_feupdateenv_testl): New.
10903         (libc_feresetround): New.
10904         (libc_feresetroundf): New.
10905         (libc_feresetroundl): New.
10906         (libc_fetestexcept_mips): New.
10907         (libc_fetestexcept): New.
10908         (libc_fetestexceptf): New.
10909         (libc_fetestexceptl): New.
10910         (HAVE_RM_CTX): New.
10911         (libc_feholdexcept_setround_mips_ctx): New.
10912         (libc_feholdexcept_setround_ctx): New.
10913         (libc_feholdexcept_setroundf_ctx): New.
10914         (libc_feholdexcept_setroundl_ctx): New.
10915         (libc_fesetenv_mips_ctx): New.
10916         (libc_fesetenv_ctx): New.
10917         (libc_fesetenv_ctxf): New.
10918         (libc_fesetenv_ctxl): New.
10919         (libc_feupdateenv_mips_ctx): New.
10920         (libc_feupdateenv_ctx): New.
10921         (libc_feupdateenvf_ctx): New.
10922         (libc_feupdateenvl_ctx): New.
10923         (libc_feholdsetround_mips_ctx): New.
10924         (libc_feholdsetround_ctx): New.
10925         (libc_feholdsetroundf_ctx): New.
10926         (libc_feholdsetroundl_ctx): New.
10927         (libc_feresetround_mips_ctx): New.
10928         (libc_feresetround_ctx): New.
10929         (libc_feresetroundf_ctx): New.
10930         (libc_feresetroundl_ctx): New.
10932 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
10934         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
10936         * manual/ipc.texi: New file.
10937         * manual/Makefile (chapters): Add ipc.
10938         * manual/job.texi: Add "Inter-Process Communication" to next.
10939         * manual/process.texi: Add "Inter-Process Communication" to prev.
10941 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10945 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
10947         * malloc/malloc.c (__libc_calloc): Simplify implementation.
10949         * manual/arith.texi: Fix spaces after sentences.
10950         * manual/charset.texi: Likewise.
10951         * manual/errno.texi: Likewise.
10952         * manual/install.texi: Likewise.
10953         * manual/llio.texi: Likewise.
10954         * manual/locale.texi: Likewise.
10955         * manual/maint.texi: Likewise.
10956         * manual/math.texi: Likewise.
10957         * manual/memory.texi: Likewise.
10958         * manual/message.texi: Likewise.
10959         * manual/probes.texi: Likewise.
10960         * manual/resource.texi: Likewise.
10961         * manual/signal.texi: Likewise.
10962         * manual/socket.texi: Likewise.
10963         * manual/stdio.texi: Likewise.
10964         * manual/string.texi: Likewise.
10965         * manual/time.texi: Likewise.
10966         * manual/users.texi: Likewise.
10968 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
10970         [BZ #16632]
10971         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
10972         _DEFAULT_SOURCE is defined.
10974 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
10975             Carlos O'Donell  <carlos@redhat.com>
10977         [BZ #16613]
10978         * elf/dl-tls.c (_dl_count_modids): New function.
10979         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
10980         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
10981         audit library and increment generation counter.
10982         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
10983         * elf/tst-audit9.c: New file.
10984         * elf/tst-auditmod9a.c: New file.
10985         * elf/tst-auditmod9b.c: New file.
10986         * elf/Makefile: Add rules to build and run tst-audit9.
10988 2014-02-25  Florian Weimer  <fweimer@redhat.com>
10990         [BZ #15347]
10991         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
10993 2014-02-25  Will Newton  <will.newton@linaro.org>
10995         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
10996         (__longjmp): Restore sp and lr before restoring callee
10997         saved registers.  Add longjmp and longjmp_target
10998         SystemTap probe point.
10999         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11000         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11001         Define to zero to match jmpbuf layout.
11002         * sysdeps/arm/setjmp.S: Include stap-probe.h.
11003         (__sigsetjmp): Save sp and lr before saving callee
11004         saved registers.  Add setjmp SystemTap probe point.
11006 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11010 2014-02-24  Andreas Schwab  <schwab@suse.de>
11012         [BZ #15804]
11013         * elf/pldd.c (wait_for_ptrace_stop): New function.
11014         (main): Call it after attaching.
11016 2014-02-22  Roland McGrath  <roland@hack.frob.com>
11018         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11019         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11020         Versions files is now verboten.
11021         * hurd/Versions (libc: GLIBC_2.0):
11022         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11023         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11024         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11025         * mach/Versions: Likewise.
11027         * csu/Versions: Remove unused %include.
11028         * resolv/Versions: Likewise.
11030 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
11032         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11033         ($(objpfx)check-local-headers.out): Likewise.
11034         ($(objpfx)begin-end-check.out): Likewise.
11035         * Makerules (check-abi-%.out): Likewise.
11036         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11037         ($(objpfx)test2.cat): Likewise.
11038         ($(objpfx)de/libc.cat): Likewise.
11039         ($(objpfx)test-gencat.out): Likewise.
11040         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11041         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11042         ($(objpfx)noload-mem): Likewise.
11043         ($(objpfx)tst-pathopt.out): Likewise.
11044         ($(objpfx)tst-rtld-load-self.out): Likewise.
11045         ($(objpfx)tst-array1-cmp.out): Likewise.
11046         ($(objpfx)tst-array1-static-cmp.out): Likewise.
11047         ($(objpfx)tst-array2-cmp.out): Likewise.
11048         ($(objpfx)tst-array3-cmp.out): Likewise.
11049         ($(objpfx)tst-array4-cmp.out): Likewise.
11050         ($(objpfx)tst-array5-cmp.out): Likewise.
11051         ($(objpfx)tst-array5-static-cmp.out): Likewise.
11052         ($(objpfx)check-textrel.out): Likewise.
11053         ($(objpfx)check-execstack.out): Likewise.
11054         ($(objpfx)check-localplt.out): Likewise.
11055         ($(objpfx)order2-cmp.out): Likewise.
11056         ($(objpfx)tst-leaks1-mem): Likewise.
11057         ($(objpfx)tst-leaks1-static-mem): Likewise.
11058         ($(objpfx)tst-initorder-cmp.out): Likewise.
11059         ($(objpfx)tst-initorder2-cmp.out): Likewise.
11060         ($(objpfx)tst-unused-dep.out): Likewise.
11061         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11062         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11063         * iconv/Makefile (test-iconvconfig): Likewise.
11064         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11065         ($(objpfx)iconv-test.out): Likewise.
11066         ($(objpfx)tst-tables.out): Likewise.
11067         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11068         ($(objpfx)tst-gettext.out): Likewise.
11069         ($(objpfx)tst-translit.out): Likewise.
11070         ($(objpfx)tst-gettext2.out): Likewise.
11071         ($(objpfx)tst-gettext4.out): Likewise.
11072         ($(objpfx)tst-gettext6.out): Likewise.
11073         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11074         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11075         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11076         ($(objpfx)tst-fopenloc-mem.out): Likewise.
11077         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11078         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11079         * posix/Makefile ($(objpfx)globtest.out): Likewise.
11080         ($(objpfx)wordexp-tst.out): Likewise.
11081         ($(objpfx)annexc.out): Likewise.
11082         ($(objpfx)tst-fnmatch-mem): Likewise.
11083         ($(objpfx)bug-regex2-mem): Likewise.
11084         ($(objpfx)bug-regex14-mem): Likewise.
11085         ($(objpfx)bug-regex21-mem): Likewise.
11086         ($(objpfx)bug-regex31-mem): Likewise.
11087         ($(objpfx)tst-vfork3-mem): Likewise.
11088         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11089         ($(objpfx)tst-pcre-mem): Likewise.
11090         ($(objpfx)tst-boost-mem): Likewise.
11091         ($(objpfx)tst-getconf.out): Likewise.
11092         ($(objpfx)bug-ga2-mem): Likewise.
11093         ($(objpfx)bug-glob2-mem): Likewise.
11094         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11095         ($(objpfx)mtrace-tst-leaks2): Likewise.
11096         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11097         ($(objpfx)tst-printf.out): Likewise.
11098         ($(objpfx)tst-setvbuf1.out): Likewise.
11099         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11100         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11101         ($(objpfx)tst-fmtmsg.out): Likewise.
11102         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11103         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11105         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11106         * bits/sigaction.h [__USE_MISC]: Likewise.
11107         * bits/waitstatus.h: Update #endif comments.
11108         * ctype/ctype.h: Likewise.
11109         * dirent/dirent.h: Likewise.
11110         [__USE_MISC]: Remove redundant conditionals.
11111         * grp/grp.h: Update #endif comments.
11112         [__USE_GNU]: Remove redundant conditionals.
11113         [__USE_MISC]: Likewise.
11114         * inet/netinet/in.h [__USE_GNU]: Likewise.
11115         * io/sys/stat.h [__USE_MISC]: Likewise.
11116         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11117         * libio/bits/stdio.h: Update #endif comments.
11118         [__USE_MISC]: Remove redundant conditionals.
11119         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11120         * libio/stdio.h: Update #endif comments.
11121         [__USE_MISC]: Remove redundant conditionals.
11122         * math/bits/math-finite.h [__USE_MISC]: Likewise.
11123         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11124         * math/math.h: Update #else and #endif comments.
11125         [__USE_MISC]: Remove redundant conditionals.
11126         * misc/sys/uio.h: Update #endif comments.
11127         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11128         * posix/glob.h [__USE_MISC]: Likewise.
11129         * posix/sys/types.h: Update #endif comments.
11130         [__USE_MISC]: Remove redundant conditionals.
11131         * posix/sys/wait.h: Update #endif comments.
11132         [__USE_MISC]: Remove redundant conditionals.
11133         * posix/unistd.h: Update #endif comments.
11134         [__USE_MISC]: Remove redundant conditionals.
11135         * pwd/pwd.h [__USE_GNU]: Likewise.
11136         [__USE_MISC]: Likewise.
11137         * resolv/netdb.h [__USE_GNU]: Likewise.
11138         * signal/signal.h: Update #endif comments.
11139         [__USE_MISC]: Remove redundant conditionals.
11140         * stdlib/stdlib.h: Update #else and #endif comments.
11141         [__USE_MISC]: Remove redundant conditionals.
11142         [__USE_GNU]: Likewise.
11143         * string/bits/string2.h [__USE_MISC]: Likewise.
11144         * string/string.h: Update #endif comments.
11145         [__USE_MISC]: Remove redundant conditionals.
11146         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11147         Likewise.
11148         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11149         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11150         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11151         Likewise.
11152         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11153         Likewise.
11154         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11155         comments.
11156         [__USE_MISC]: Remove redundant conditionals.
11157         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11158         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11159         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11160         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11161         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11162         Likewise.
11163         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11164         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11165         Likewise.
11166         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11167         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11168         Likewise.
11169         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11170         Likewise.
11171         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11172         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11173         Likewise.
11174         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11175         Likewise.
11176         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11177         * sysdeps/x86/bits/string.h: Update #endif comments.
11178         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11179         conditionals.
11180         * time/sys/time.h: Update #endif comments.
11181         * time/time.h: Likewise.
11182         [__USE_MISC]: Remove redundant conditionals.
11184 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
11186         [BZ #16600]
11187         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11189 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
11191         * Versions.def (librt): Add GLIBC_2.17.
11193 2014-02-21  Adam Conrad  <adconrad@0c3.net>
11195         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11196         synonym for _SYS_AUXV_H to allow direct inclusion.
11197         * sysdeps/sparc/bits/hwcap.h: Likewise.
11198         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11199         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11200         * sysdeps/sparc/sysdep.h: Likewise.
11202 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11204         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11206 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11208         * benchtests/bench-strrchr.c: Print length instead of position.
11210 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
11212         [BZ #16611]
11213         * sysdeps/unix/sysv/linux/kernel-features.h
11214         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11215         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11216         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11217         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11218         Likewise.
11219         [__i386__ || __powerpc__ || __sh__ || __sparc__]
11220         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11221         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11222         (__ASSUME_SENDMMSG): Define instead of using previous
11223         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11224         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11225         (__ASSUME_SENDMMSG_SYSCALL): Define.
11226         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11227         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
11228         Likewise.
11229         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11230         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11231         Likewise.
11232         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11233         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11234         Likewise.
11235         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
11236         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11237         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11238         [__ASSUME_SENDMMSG]: Change conditionals to
11239         [__ASSUME_SENDMMSG_SOCKETCALL].
11240         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11241         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
11242         Define.
11243         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11244         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
11245         Likewise.
11246         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
11247         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
11248         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
11249         [!__ASSUME_SENDMMSG]: Change conditional to
11250         [!__ASSUME_SENDMMSG_SOCKETCALL].
11251         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11252         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
11253         Define.
11255         [BZ #16610]
11256         * sysdeps/unix/sysv/linux/kernel-features.h
11257         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
11258         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
11259         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
11260         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
11261         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11262         [__i386__ || __sparc__]
11263         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11264         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
11265         (__ASSUME_RECVMMSG): Define instead of using previous
11266         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
11267         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11268         (__ASSUME_RECVMMSG_SYSCALL): Define.
11269         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11270         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11271         Likewise.
11272         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11273         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11274         Likewise.
11275         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11276         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11277         Likewise.
11278         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
11279         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11280         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11281         [__ASSUME_RECVMMSG]: Change condition to
11282         [__ASSUME_RECVMMSG_SOCKETCALL].
11283         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11284         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11285         Define.
11286         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11287         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11288         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
11289         Likewise.
11290         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
11291         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
11292         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
11293         [!__ASSUME_RECVMMSG]: Change condition to
11294         [!__ASSUME_RECVMMSG_SOCKETCALL].
11295         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11296         (__ASSUME_RECVMMSG_SYSCALL): Define.
11298         [BZ #16609]
11299         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
11300         __powerpc__ || __s390__ || __sh__ || __sparc__]
11301         (__ASSUME_SOCKETCALL): Define.
11302         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
11303         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
11304         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
11305         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
11306         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11307         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11308         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
11309         (__ASSUME_ACCEPT4): Define instead of using previous
11310         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
11311         __powerpc__ || __sparc__ || __s390__)] condition.
11312         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11313         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11314         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
11315         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11316         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11317         [!__ASSUME_ACCEPT4]: Change condition to
11318         [!__ASSUME_ACCEPT4_SOCKETCALL].
11319         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11320         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
11321         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
11322         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11323         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
11324         __ASSUME_ACCEPT4_SYSCALL.
11325         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
11326         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
11327         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11328         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
11329         __ASSUME_ACCEPT4_SYSCALL.
11330         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
11331         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
11332         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
11333         [__ASSUME_ACCEPT4]: Change condition to
11334         [__ASSUME_ACCEPT4_SOCKETCALL].
11335         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11336         (__ASSUME_SOCKETCALL): Define.
11337         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
11338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11339         (__ASSUME_SOCKETCALL): Define.
11340         (__ASSUME_ACCEPT4): Remove.
11341         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
11342         Define.
11343         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11344         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
11345         Likewise.
11346         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11347         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
11349         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
11350         macro.
11351         (HWCAP_ARM_LPAE): Likewise.
11352         (HWCAP_ARM_EVTSTRM): Likewise.
11353         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
11354         Add vpfd32, lpae and evtstrm.
11355         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
11356         Increase to 22.
11358 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
11360         * math/auto-libm-test-in: Add tests of clog10.
11361         * math/auto-libm-test-out: Regenerated.
11362         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
11363         * sysdeps/i386/fpu/libm-test-ulps: Update.
11364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11366 2014-02-18  Andreas Schwab  <schwab@suse.de>
11368         [BZ #16574]
11369         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
11370         Store non-zero if the second buffer was newly allocated.
11371         (send_dg): Likewise.
11372         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
11373         to send_vc and send_dg.
11374         (res_nsend): Pass NULL for ansp2_malloced.
11375         * resolv/res_query.c (__libc_res_nquery): Add parameter
11376         answerp2_malloced and pass it down to __libc_res_nsend.
11377         (res_nquery): Pass additional NULL to __libc_res_nquery.
11378         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
11379         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
11380         second answer buffer if answerp2_malloced was set.
11381         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
11382         (__libc_res_nquerydomain): Add parameter
11383         answerp2_malloced and pass it down to __libc_res_nquery.
11384         (res_nquerydomain): Pass additional NULL to
11385         __libc_res_nquerydomain.
11386         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
11387         additional NULL to __libc_res_nsend and __libc_res_nquery.
11388         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
11389         additional NULL to __libc_res_nsearch.
11390         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
11391         parameter of __libc_res_nsearch to check for separately allocated
11392         second buffer.
11393         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
11394         __libc_res_nquery.
11395         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
11396         additional NULL to __libc_res_nquery.
11397         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
11398         __libc_res_nsearch.
11399         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
11400         * include/resolv.h: Update prototypes of __libc_res_nquery,
11401         __libc_res_nsearch, __libc_res_nsend.
11403 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
11405         * math/auto-libm-test-in: Add tests of fma.
11406         * math/auto-libm-test-out: Regenerated.
11407         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
11408         (fma_towardzero_test_data): Likewise.
11409         (fma_downward_test_data): Likewise.
11410         (fma_upward_test_data): Likewise.
11411         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
11412         mpc_mode.
11413         (rounding_modes): Add values for new field.
11414         (func_calc_method): Add value mpfr_fff_f.
11415         (func_calc_desc): Add mpfr_fff_f union field.
11416         (test_function): Add field exact_args.
11417         (FUNC): Add macro argument EXACT_ARGS.
11418         (FUNC_mpfr_f_f): Update call to FUNC.
11419         (FUNC_mpfr_f_f): Likewise.
11420         (FUNC_mpfr_ff_f): Likewise.
11421         (FUNC_mpfr_if_f): Likewise.
11422         (FUNC_mpc_c_f): Likewise.
11423         (FUNC_mpc_c_c): Likewise.
11424         (test_functions): Add fma.  Update calls to FUNC.
11425         (handle_input_arg): Add argument exact_args.
11426         (add_test): Update call to handle_input_arg.
11427         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
11428         (output_for_one_input_case): Update call to calc_generic_results.
11429         Recalculate exact zero results in each rounding mode.
11431         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
11432         non-negative before setting low bit.
11433         * math/auto-libm-test-in: Mark one asin test possibly having
11434         spurious underflow.
11435         * math/auto-libm-test-out: Regenerated.
11436         * sysdeps/i386/fpu/libm-test-ulps: Update.
11437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11439 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
11441         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
11442         * sysdeps/unix/sysv/linux/microblaze: Move directory from
11443         ports/sysdeps/unix/sysv/linux/microblaze.
11444         * README: Add missing listing for microblaze*-*-linux-gnu.
11446 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
11448         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
11449         duplicate code
11451 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
11453         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
11454         * sysdeps/unix/sysv/linux/ia64: Move directory from
11455         ports/sysdeps/unix/sysv/linux/ia64.
11456         * README: Update listing for ia64-*-linux-gnu.
11458 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
11459             Joseph Myers  <joseph@codesourcery.com>
11461         * Makeconfig (test-name): New variable.
11462         (evaluate-test): Likewise.
11463         * Makerules (do-test-clean): Remove .test-result files.
11464         (common-mostlyclean): Likewise.
11465         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
11466         * scripts/evaluate-test.sh: New file.
11468 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
11470         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
11471         separate $(objpfx)tst-fopenloc-cmp.out and
11472         $(objpfx)tst-fopenloc-mem.out targets.
11473         (tests): Update dependencies.
11474         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
11475         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
11476         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
11477         (tst-rxspencer-no-utf8-ARGS): New variable.
11478         (tst-rxspencer-no-utf8-ENV): Likewise.
11479         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
11480         instead of $(objpfx)tst-rxspencer-mem.
11481         ($(objpfx)tst-rxspencer-mem): Change target to
11482         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
11483         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
11484         * posix/tst-rxspencer-no-utf8.c: New file.
11486         * elf/Makefile ($(objpfx)order.out): Remove rule.
11487         [$(run-built-tests) = yes] (tests): Depend on
11488         $(objpfx)order-cmp.out.
11489         ($(objpfx)order-cmp.out): New rule.
11490         [$(run-built-tests) = yes] (tests): Depend on
11491         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
11492         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
11493         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
11494         $(objpfx)tst-array5-static-cmp.out.
11495         ($(objpfx)tst-array1.out): Remove rule.
11496         ($(objpfx)tst-array1-cmp.out): New rule.
11497         ($(objpfx)tst-array1-static.out): Remove rule.
11498         ($(objpfx)tst-array1-static-cmp.out): New rule.
11499         ($(objpfx)tst-array2.out): Remove rule.
11500         ($(objpfx)tst-array2-cmp.out): New rule.
11501         ($(objpfx)tst-array3.out): Remove rule.
11502         ($(objpfx)tst-array3-cmp.out): New rule.
11503         ($(objpfx)tst-array4.out): Remove rule.
11504         ($(objpfx)tst-array4-cmp.out): New rule.
11505         ($(objpfx)tst-array5.out): Remove rule.
11506         ($(objpfx)tst-array5-cmp.out): New rule.
11507         ($(objpfx)tst-array5-static.out): Remove rule.
11508         ($(objpfx)tst-array5-static-cmp.out): New rule.
11509         [$(run-built-tests) = yes] (tests): Depend on
11510         $(objpfx)order2-cmp.out.
11511         ($(objpfx)order2.out): Remove rule.
11512         ($(objpfx)order2-cmp.out): New rule.
11513         ($(objpfx)tst-initorder.out): Remove rule.
11514         [$(run-built-tests) = yes] (tests): Depend on
11515         $(objpfx)tst-initorder-cmp.out.
11516         ($(objpfx)tst-initorder-cmp.out): New rule.
11517         ($(objpfx)tst-initorder2.out): Remove rule.
11518         [$(run-built-tests) = yes] (tests): Depend on
11519         $(objpfx)tst-initorder2-cmp.out.
11520         ($(objpfx)tst-initorder2-cmp.out): New rule.
11521         [$(run-built-tests) = yes] (tests): Depend on
11522         $(objpfx)tst-unused-dep-cmp.out.
11523         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
11524         ($(objpfx)tst-unused-dep-cmp.out): New rule.
11525         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
11526         on $(objpfx)tst-setvbuf1-cmp.out.
11527         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
11528         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
11529         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
11530         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
11531         ($(objpfx)tst-svc.out): Remove rule.
11532         ($(objpfx)tst-svc-cmp.out): New rule.
11534 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
11536         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
11537         * ctype/ctype.h [__USE_MISC]: Likewise.
11538         * dirent/dirent.h [__USE_MISC]: Likewise.
11539         * grp/grp.h [__USE_MISC]: Likewise.
11540         * io/fcntl.h [__USE_MISC]: Likewise.
11541         * io/sys/stat.h [__USE_MISC]: Likewise.
11542         * libio/stdio.h [__USE_MISC]: Likewise.
11543         * posix/unistd.h [__USE_MISC]: Likewise.
11544         * pwd/pwd.h [__USE_MISC]: Likewise.
11545         * stdlib.h [__USE_MISC]: Likewise.
11546         * string/bits/string2.h [__USE_MISC]: Likewise.
11547         * string/string.h [__USE_MISC]: Likewise.
11548         * time/time.h [__USE_MISC]: Likewise.
11550 2014-02-13  Andreas Schwab  <schwab@suse.de>
11552         [BZ #16574]
11553         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
11554         second answer buffer if it was separately allocated.
11556 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
11558         * sysdeps/mips/math-tests.h: Include <features.h>.
11559         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11560         (ROUNDING_TESTS_long_double): Do not define.
11561         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
11562         (EXCEPTION_TESTS_long_double): Likewise.
11563         * sysdeps/mips/mips64/libm-test-ulps: Update.
11565         * include/features.h (__USE_BSD): Remove macro definitions.
11566         (__USE_SVID): Likewise.
11567         (_BSD_SOURCE): Likewise.
11568         (_SVID_SOURCE): Likewise.
11569         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
11570         from definition of _DEFAULT_SOURCE.
11571         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
11572         [_DEFAULT_SOURCE].
11573         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
11574         * bits/mman.h [__USE_BSD]: Likewise.
11575         * bits/termios.h [__USE_BSD]: Likewise.
11576         * bits/waitstatus.h [__USE_BSD]: Likewise.
11577         * ctype/ctype.h [__USE_SVID]: Likewise.
11578         * dirent/dirent.h [__USE_BSD]: Likewise.
11579         * grp/grp.h [__USE_SVID]: Likewise.
11580         [__USE_BSD]: Likewise.
11581         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
11582         * io/fcntl.h [__USE_BSD]: Likewise.
11583         * io/ftw.h [__USE_BSD]: Likewise.
11584         * io/sys/stat.h [__USE_BSD]: Likewise.
11585         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
11586         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
11587         * libio/stdio.h [__USE_SVID]: Likewise.
11588         [__USE_BSD]: Likewise.
11589         * math/math.h [__USE_SVID]: Likewise.
11590         [__USE_BSD]: Likewise.
11591         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
11592         * misc/bits/syslog.h [__USE_BSD]: Likewise.
11593         * misc/search.h [__USE_SVID]: Likewise.
11594         * misc/sys/mman.h [__USE_BSD]: Likewise.
11595         * misc/sys/syslog.h [__USE_BSD]: Likewise.
11596         * misc/sys/uio.h [__USE_BSD]: Likewise.
11597         * posix/bits/unistd.h [__USE_BSD]: Likewise.
11598         * posix/glob.h [__USE_BSD]: Likewise.
11599         * posix/regex.h [__USE_BSD]: Likewise.
11600         * posix/sys/types.h [__USE_BSD]: Likewise.
11601         [__USE_SVID]: Likewise.
11602         * posix/sys/utsname.h [__USE_SVID]: Likewise.
11603         * posix/sys/wait.h [__USE_BSD]: Likewise.
11604         [__USE_SVID]: Likewise.
11605         * posix/unistd.h [__USE_BSD]: Likewise.
11606         [__USE_SVID]: Likewise.
11607         * pwd/pwd.h [__USE_SVID]: Likewise.
11608         * resolv/netdb.h [__USE_BSD]: Likewise.
11609         * setjmp/setjmp.h [__USE_BSD]: Likewise.
11610         * signal/signal.h [__USE_BSD]: Likewise.
11611         [__USE_SVID]: Likewise.
11612         * socket/sys/socket.h [__USE_BSD]: Likewise.
11613         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
11614         * stdlib/stdlib.h [__USE_BSD]: Likewise.
11615         [__USE_SVID]: Likewise.
11616         * string/bits/string2.h [__USE_BSD]: Likewise.
11617         [__USE_SVID]: Likewise.
11618         * string/bits/string3.h [__USE_BSD]: Likewise.
11619         * string/endian.h [__USE_BSD]: Likewise.
11620         * string/string.h [__USE_SVID]: Likewise.
11621         [__USE_BSD]: Likewise.
11622         * string/strings.h [__USE_BSD]: Likewise.
11623         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
11624         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
11625         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
11626         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
11627         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
11628         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
11629         Likewise.
11630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
11631         Likewise.
11632         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
11633         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
11634         Likewise.
11635         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
11636         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
11637         Likewise.
11638         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
11639         Likewise.
11640         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
11641         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
11642         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
11643         Likewise.
11644         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
11645         Likewise.
11646         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
11647         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
11648         * termios/termios.h [__USE_BSD]: Likewise.
11649         * time/sys/time.h [__USE_BSD]: Likewise.
11650         * time/time.h [__USE_BSD]: Likewise.
11651         [__USE_SVID]: Likewise.
11653         * Makefile (subdir_targets): Remove subdir_lint.out.
11655         * stdio-common/Makefile (do-tst-unbputc): Remove target.
11656         (do-tst-printf): Likewise.
11657         (tests): Depend directly on $(objpfx)tst-unbputc.out and
11658         $(objpfx)tst-printf.out.
11660         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
11662         * Makerules (check-abi-%): Change target to
11663         $(objpfx)check-abi-%.out.
11664         (check-abi target): Update dependencies.
11665         (check-abi-pattern variable): Redirect output of diff to $@.
11666         (check-abi variable): Likewise.
11667         * elf/Makefile (check-abi): Update dependencies.
11669         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
11670         unused.
11671         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
11672         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
11673         subnormal range.
11674         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
11675         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
11676         value has largest subnormal exponent.
11677         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
11678         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
11679         * sysdeps/aarch64/soft-fp/sfp-machine.h
11680         (_FP_TININESS_AFTER_ROUNDING): New macro.
11681         * sysdeps/alpha/soft-fp/sfp-machine.h
11682         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11683         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11684         Likewise.
11685         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
11686         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11687         * sysdeps/mips/soft-fp/sfp-machine.h
11688         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11689         * sysdeps/powerpc/soft-fp/sfp-machine.h
11690         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11691         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11692         Likewise.
11693         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11694         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11695         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11696         (_FP_TININESS_AFTER_ROUNDING): Likewise.
11697         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
11698         Likewise.
11700 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
11702         [BZ #16545]
11703         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
11704         model 1.
11706 2014-02-12  Richard Henderson  <rth@redhat.com>
11708         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
11709         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
11710         * sysdeps/unix/sysv/linux/alpha: Move directory from
11711         ports/sysdeps/unix/sysv/linux/alpha.
11712         * README: Update listing for alpha-*-linux-gnu.
11714 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
11716         * include/features.h: Update comment documenting feature test
11717         macros.
11718         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
11719         _DEFAULT_SOURCE.
11720         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
11721         (_SVID_SOURCE): Likewise.
11722         (_DEFAULT_SOURCE): Update description of default features.
11723         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
11724         with _GNU_SOURCE.
11725         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
11726         (S_ISVTX): Likewise.
11727         * manual/math.texi (Mathematical Constants): Likewise.
11728         * manual/signal.texi (Interrupted Primitives): Likewise.
11729         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
11730         * math/test-matherr.c (_SVID_SOURCE): Do not define.
11731         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
11732         Don't refer to _SVID_SOURCE in warning text.
11734         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11736         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
11737         already defined.
11738         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
11739         * sysdeps/mips/dl-lookup.c: Remove.
11740         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
11742 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11744         [BZ #16447]
11745         * math/auto-libm-test-in: Add testcase for expl.
11746         * math/auto-libm-test-out: Regenerate.
11747         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
11748         calculation of unsafe.
11749         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
11751 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11753         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
11754         * sysdeps/unix/sysv/linux/aarch64: Move directory from
11755         ports/sysdeps/unix/sysv/linux/aarch64.
11756         * README: Update listing for aarch64*-*-linux-gnu.
11758 2014-02-11  Will Newton  <will.newton@linaro.org>
11760         * manual/probes.texi (Mathematical Function Probes): Use
11761         "triggered" instead of "hit".
11763         * manual/probes.texi (Internal Probes): Add documentation
11764         of setjmp, longjmp and longjmp_target probes.
11766         * include/stap-probe.h: Add comment about probe argument
11767         format.
11769         * malloc/mtrace.c (attribute_hidden): Remove unused macro
11770         definition.  (tr_where, tr_freehook, tr_mallochook,
11771         tr_reallochook, tr_memalignhook): Use ANSI protoype.
11773 2014-02-11  David S. Miller  <davem@davemloft.net>
11775         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
11776         processing int_tests.
11778 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
11780         * sysdeps/mips: Move directory from ports/sysdeps/mips.
11781         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
11782         * sysdeps/unix/sysv/linux/mips: Move directory from
11783         ports/sysdeps/unix/sysv/linux/mips.
11784         * README: Update listing for mips-*-linux-gnu and
11785         mips64-*-linux-gnu.
11787 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
11789         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
11790         * sysdeps/unix/sysv/linux/m68k: Move directory from
11791         ports/sysdeps/unix/sysv/linux/m68k.
11792         * README: Update listing for m68k-*-linux-gnu.
11794 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
11796         * sysdeps/tile: Move directory from ports/sysdeps/tile.
11797         * sysdeps/unix/sysv/linux/generic: Move directory from
11798         ports/sysdeps/unix/sysv/linux/generic.
11799         * sysdeps/unix/sysv/linux/tile: Move directory from
11800         ports/sysdeps/unix/sysv/linux/tile.
11801         * README: Update listing for tile*-*-linux-gnu.
11803 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
11805         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
11806         __builtin_expect.
11807         * benchtests/bench-memmem.c (simple_memmem): Likewise.
11808         * catgets/open_catalog.c (__open_catalog): Likewise.
11809         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
11810         * debug/confstr_chk.c: Likewise.
11811         * debug/fread_chk.c (__fread_chk): Likewise.
11812         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
11813         * debug/getgroups_chk.c: Likewise.
11814         * debug/mbsnrtowcs_chk.c: Likewise.
11815         * debug/mbsrtowcs_chk.c: Likewise.
11816         * debug/mbstowcs_chk.c: Likewise.
11817         * debug/memcpy_chk.c: Likewise.
11818         * debug/memmove_chk.c: Likewise.
11819         * debug/mempcpy_chk.c: Likewise.
11820         * debug/memset_chk.c: Likewise.
11821         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11822         * debug/strcat_chk.c (__strcat_chk): Likewise.
11823         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
11824         * debug/strncat_chk.c (__strncat_chk): Likewise.
11825         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
11826         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
11827         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
11828         * debug/wcpncpy_chk.c: Likewise.
11829         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11830         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
11831         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
11832         * debug/wcsncpy_chk.c: Likewise.
11833         * debug/wcsnrtombs_chk.c: Likewise.
11834         * debug/wcsrtombs_chk.c: Likewise.
11835         * debug/wcstombs_chk.c: Likewise.
11836         * debug/wmemcpy_chk.c: Likewise.
11837         * debug/wmemmove_chk.c: Likewise.
11838         * debug/wmempcpy_chk.c: Likewise.
11839         * debug/wmemset_chk.c: Likewise.
11840         * dirent/scandirat.c (SCANDIRAT): Likewise.
11841         * dlfcn/dladdr1.c (dladdr1): Likewise.
11842         * dlfcn/dladdr.c (dladdr): Likewise.
11843         * dlfcn/dlclose.c (dlclose_doit): Likewise.
11844         * dlfcn/dlerror.c (__dlerror): Likewise.
11845         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
11846         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
11847         * dlfcn/dlopen.c (dlopen_doit): Likewise.
11848         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
11849         * dlfcn/dlsym.c (dlsym_doit): Likewise.
11850         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
11851         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
11852         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
11853         Likewise.
11854         * elf/dl-conflict.c: Likewise.
11855         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
11856         * elf/dl-dst.h: Likewise.
11857         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
11858         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
11859         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
11860         * elf/dl-init.c (call_init, _dl_init): Likewise.
11861         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
11862         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
11863         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
11864         Likewise.
11865         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
11866         Likewise.
11867         * elf/dl-minimal.c (__libc_memalign): Likewise.
11868         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
11869         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11870         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
11871         * elf/dl-sym.c (do_sym): Likewise.
11872         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
11873         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
11874         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
11875         * elf/dl-writev.h (_dl_writev): Likewise.
11876         * elf/ldconfig.c (search_dir): Likewise.
11877         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
11878         (dl_main): Likewise.
11879         * elf/setup-vdso.h (setup_vdso): Likewise.
11880         * grp/compat-initgroups.c (compat_call): Likewise.
11881         * grp/fgetgrent.c (fgetgrent): Likewise.
11882         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
11883         * grp/putgrent.c (putgrent): Likewise.
11884         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11885         Likewise.
11886         * hurd/hurdinit.c: Likewise.
11887         * iconvdata/8bit-gap.c (struct): Likewise.
11888         * iconvdata/ansi_x3.110.c : Likewise.
11889         * iconvdata/big5.c : Likewise.
11890         * iconvdata/big5hkscs.c : Likewise.
11891         * iconvdata/cp1255.c: Likewise.
11892         * iconvdata/cp1258.c : Likewise.
11893         * iconvdata/cp932.c : Likewise.
11894         * iconvdata/euc-cn.c: Likewise.
11895         * iconvdata/euc-jisx0213.c : Likewise.
11896         * iconvdata/euc-jp.c: Likewise.
11897         * iconvdata/euc-jp-ms.c : Likewise.
11898         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
11899         * iconvdata/gb18030.c : Likewise.
11900         * iconvdata/gbbig5.c (const): Likewise.
11901         * iconvdata/gbgbk.c: Likewise.
11902         * iconvdata/gbk.c : Likewise.
11903         * iconvdata/ibm1364.c : Likewise.
11904         * iconvdata/ibm930.c : Likewise.
11905         * iconvdata/ibm932.c: Likewise.
11906         * iconvdata/ibm933.c : Likewise.
11907         * iconvdata/ibm935.c : Likewise.
11908         * iconvdata/ibm937.c : Likewise.
11909         * iconvdata/ibm939.c : Likewise.
11910         * iconvdata/ibm943.c: Likewise.
11911         * iconvdata/iso_11548-1.c: Likewise.
11912         * iconvdata/iso-2022-cn.c : Likewise.
11913         * iconvdata/iso-2022-cn-ext.c : Likewise.
11914         * iconvdata/iso-2022-jp-3.c: Likewise.
11915         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
11916         * iconvdata/iso-2022-kr.c : Likewise.
11917         * iconvdata/iso646.c (gconv_end): Likewise.
11918         * iconvdata/iso_6937-2.c : Likewise.
11919         * iconvdata/iso_6937.c : Likewise.
11920         * iconvdata/iso8859-1.c: Likewise.
11921         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
11922         * iconvdata/shift_jisx0213.c : Likewise.
11923         * iconvdata/sjis.c : Likewise.
11924         * iconvdata/t.61.c : Likewise.
11925         * iconvdata/tcvn5712-1.c : Likewise.
11926         * iconvdata/tscii.c: Likewise.
11927         * iconvdata/uhc.c : Likewise.
11928         * iconvdata/unicode.c (gconv_end): Likewise.
11929         * iconvdata/utf-16.c (gconv_end): Likewise.
11930         * iconvdata/utf-32.c (gconv_end): Likewise.
11931         * iconvdata/utf-7.c (base64): Likewise.
11932         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
11933         * iconv/gconv_close.c (__gconv_close): Likewise.
11934         * iconv/gconv_open.c (__gconv_open): Likewise.
11935         * iconv/gconv_simple.c (internal_ucs4_loop_single)
11936         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
11937         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
11938         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
11939         (ucs4le_internal_loop_single): Likewise.
11940         * iconv/iconv.c (iconv): Likewise.
11941         * iconv/iconv_close.c: Likewise.
11942         * iconv/loop.c (SINGLE): Likewise.
11943         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
11944         * include/atomic.h: Likewise.
11945         * inet/inet6_option.c (option_alloc): Likewise.
11946         * intl/bindtextdom.c (set_binding_values): Likewise.
11947         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
11948         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
11949         * intl/localealias.c (read_alias_file): Likewise.
11950         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11951         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
11952         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
11953         * libio/fmemopen.c (fmemopen): Likewise.
11954         * libio/iofgets.c (_IO_fgets): Likewise.
11955         * libio/iofgets_u.c (fgets_unlocked): Likewise.
11956         * libio/iofgetws.c (fgetws): Likewise.
11957         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11958         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11959         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
11960         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
11961         * locale/findlocale.c (_nl_find_locale): Likewise.
11962         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
11963         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
11964         Likewise.
11965         * locale/setlocale.c (setlocale): Likewise.
11966         * login/programs/pt_chown.c (main): Likewise.
11967         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
11968         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
11969         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
11970         (mmap, mmap64, mremap, munmap): Likewise.
11971         * math/e_exp2l.c: Likewise.
11972         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
11973         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
11974         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
11975         * math/s_catan.c (__catan): Likewise.
11976         * math/s_catanf.c (__catanf): Likewise.
11977         * math/s_catanh.c (__catanh): Likewise.
11978         * math/s_catanhf.c (__catanhf): Likewise.
11979         * math/s_catanhl.c (__catanhl): Likewise.
11980         * math/s_catanl.c (__catanl): Likewise.
11981         * math/s_ccosh.c (__ccosh): Likewise.
11982         * math/s_ccoshf.c (__ccoshf): Likewise.
11983         * math/s_ccoshl.c (__ccoshl): Likewise.
11984         * math/s_cexp.c (__cexp): Likewise.
11985         * math/s_cexpf.c (__cexpf): Likewise.
11986         * math/s_cexpl.c (__cexpl): Likewise.
11987         * math/s_clog10.c (__clog10): Likewise.
11988         * math/s_clog10f.c (__clog10f): Likewise.
11989         * math/s_clog10l.c (__clog10l): Likewise.
11990         * math/s_clog.c (__clog): Likewise.
11991         * math/s_clogf.c (__clogf): Likewise.
11992         * math/s_clogl.c (__clogl): Likewise.
11993         * math/s_csin.c (__csin): Likewise.
11994         * math/s_csinf.c (__csinf): Likewise.
11995         * math/s_csinh.c (__csinh): Likewise.
11996         * math/s_csinhf.c (__csinhf): Likewise.
11997         * math/s_csinhl.c (__csinhl): Likewise.
11998         * math/s_csinl.c (__csinl): Likewise.
11999         * math/s_csqrt.c (__csqrt): Likewise.
12000         * math/s_csqrtf.c (__csqrtf): Likewise.
12001         * math/s_csqrtl.c (__csqrtl): Likewise.
12002         * math/s_ctan.c (__ctan): Likewise.
12003         * math/s_ctanf.c (__ctanf): Likewise.
12004         * math/s_ctanh.c (__ctanh): Likewise.
12005         * math/s_ctanhf.c (__ctanhf): Likewise.
12006         * math/s_ctanhl.c (__ctanhl): Likewise.
12007         * math/s_ctanl.c (__ctanl): Likewise.
12008         * math/w_pow.c: Likewise.
12009         * math/w_powf.c: Likewise.
12010         * math/w_powl.c: Likewise.
12011         * math/w_scalb.c (sysv_scalb): Likewise.
12012         * math/w_scalbf.c (sysv_scalbf): Likewise.
12013         * math/w_scalbl.c (sysv_scalbl): Likewise.
12014         * misc/error.c (error_tail): Likewise.
12015         * misc/pselect.c (__pselect): Likewise.
12016         * nis/nis_callback.c (__nis_create_callback): Likewise.
12017         * nis/nis_call.c (__nisfind_server): Likewise.
12018         * nis/nis_creategroup.c (nis_creategroup): Likewise.
12019         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12020         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12021         * nis/nis_getservlist.c (nis_getservlist): Likewise.
12022         * nis/nis_lookup.c (nis_lookup): Likewise.
12023         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12024         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12025         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12026         * nis/nis_xdr.c (xdr_endpoint): Likewise.
12027         * nis/nss_compat/compat-grp.c (getgrent_next_file)
12028         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12029         * nis/nss_compat/compat-initgroups.c (add_group)
12030         (internal_getgrent_r): Likewise.
12031         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12032         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12033         * nis/nss_compat/compat-spwd.c (getspent_next_file)
12034         (internal_getspnam_r): Likewise.
12035         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12036         (_nss_nis_getaliasbyname_r): Likewise.
12037         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12038         (_nss_nis_getntohost_r): Likewise.
12039         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12040         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12041         (_nss_nis_getgrgid_r): Likewise.
12042         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12043         (internal_nis_gethostent_r, internal_gethostbyname2_r)
12044         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12045         (_nss_nis_gethostbyname4_r): Likewise.
12046         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12047         (initgroups_netid): Likewise.
12048         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12049         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12050         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12051         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12052         (_nss_nis_getprotobynumber_r): Likewise.
12053         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12054         (_nss_nis_getsecretkey): Likewise.
12055         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12056         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12057         (_nss_nis_getpwuid_r): Likewise.
12058         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12059         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12060         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12061         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12062         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12063         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12064         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12065         Likewise.
12066         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12067         (_nss_nisplus_getntohost_r): Likewise.
12068         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12069         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12070         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12071         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12072         Likewise.
12073         * nis/nss_nisplus/nisplus-initgroups.c
12074         (_nss_nisplus_initgroups_dyn): Likewise.
12075         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12076         (_nss_nisplus_getnetbyaddr_r): Likewise.
12077         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12078         (_nss_nisplus_getprotobynumber_r): Likewise.
12079         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12080         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12081         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12082         Likewise.
12083         * nis/nss_nisplus/nisplus-service.c
12084         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12085         (_nss_nisplus_getservbyport_r): Likewise.
12086         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12087         (_nss_nisplus_getspnam_r): Likewise.
12088         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12089         Likewise.
12090         * nscd/aicache.c (addhstaiX): Likewise.
12091         * nscd/cache.c (cache_search, prune_cache): Likewise.
12092         * nscd/connections.c (register_traced_file, send_ro_fd)
12093         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12094         (main_loop_epoll): Likewise.
12095         * nscd/grpcache.c (addgrbyX): Likewise.
12096         * nscd/hstcache.c (addhstbyX): Likewise.
12097         * nscd/initgrcache.c (addinitgroupsX): Likewise.
12098         * nscd/mem.c (gc, mempool_alloc): Likewise.
12099         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12100         (addinnetgrX): Likewise.
12101         * nscd/nscd-client.h (__nscd_acquire_maplock)
12102         (__nscd_drop_map_ref): Likewise.
12103         * nscd/nscd_getai.c (__nscd_getai): Likewise.
12104         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12105         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12106         Likewise.
12107         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12108         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12109         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12110         (__nscd_get_map_ref): Likewise.
12111         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12112         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12113         Likewise.
12114         * nscd/pwdcache.c (addpwbyX): Likewise.
12115         * nscd/selinux.c (preserve_capabilities): Likewise.
12116         * nscd/servicescache.c (addservbyX): Likewise.
12117         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12118         * posix/fnmatch.c (fnmatch): Likewise.
12119         * posix/getopt.c (_getopt_internal_r): Likewise.
12120         * posix/glob.c (glob, glob_in_dir): Likewise.
12121         * posix/wordexp.c (exec_comm_child): Likewise.
12122         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12123         (getanswer_r, gaih_getanswer_slice): Likewise.
12124         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12125         * resolv/res_init.c: Likewise.
12126         * resolv/res_mkquery.c (res_nmkquery): Likewise.
12127         * resolv/res_query.c (__libc_res_nquery): Likewise.
12128         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12129         Likewise.
12130         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12131         * stdio-common/perror.c (perror): Likewise.
12132         * stdio-common/printf_fp.c (___printf_fp): Likewise.
12133         * stdio-common/tmpnam.c (tmpnam): Likewise.
12134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12135         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12136         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12137         Likewise.
12138         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12139         * stdlib/putenv.c (putenv): Likewise.
12140         * stdlib/setenv.c (__add_to_environ): Likewise.
12141         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12142         * stdlib/strtol_l.c (INTERNAL): Likewise.
12143         * string/memmem.c (memmem): Likewise.
12144         * string/strerror.c (strerror): Likewise.
12145         * string/strnlen.c (__strnlen): Likewise.
12146         * string/test-memmem.c (simple_memmem): Likewise.
12147         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12148         * sunrpc/pm_getport.c (__get_socket): Likewise.
12149         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12150         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12151         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12152         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12153         Likewise.
12154         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12155         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12156         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12157         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12158         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12159         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12160         Likewise.
12161         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12162         Likewise.
12163         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12164         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12166         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12167         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12169         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12170         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12171         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12172         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12173         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12174         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12175         Likewise.
12176         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12177         Likewise.
12178         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12179         Likewise.
12180         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12181         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12182         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12183         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12184         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12185         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12186         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12188         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12189         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12190         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12191         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12192         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12193         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12194         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12195         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12196         Likewise.
12197         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12198         Likewise.
12199         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12200         Likewise.
12201         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12202         Likewise.
12203         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12205         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12206         Likewise.
12207         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12208         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12209         * sysdeps/posix/opendir.c (__opendirat): Likewise.
12210         * sysdeps/posix/sleep.c: Likewise.
12211         * sysdeps/posix/tempname.c: Likewise.
12212         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12213         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12214         Likewise.
12215         * sysdeps/powerpc/powerpc32/dl-machine.h
12216         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12217         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12218         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12219         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12220         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12221         Likewise.
12222         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12223         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12224         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12225         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
12226         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12227         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
12228         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
12229         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
12230         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12231         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
12232         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
12233         (elf_machine_lazy_rel): Likewise.
12234         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12235         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
12236         (elf_machine_lazy_rel): Likewise.
12237         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
12238         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
12239         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
12240         * sysdeps/unix/grantpt.c (grantpt): Likewise.
12241         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
12242         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
12243         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
12244         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
12245         Likewise.
12246         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12247         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12248         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
12249         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
12250         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12251         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12252         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
12253         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
12254         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
12255         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12256         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12257         Likewise.
12258         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
12259         (__posix_fallocate64_l64): Likewise.
12260         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
12261         (posix_fallocate): Likewise.
12262         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12263         Likewise.
12264         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12265         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
12266         (getifaddrs_internal): Likewise.
12267         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
12268         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
12269         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12270         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
12271         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12272         (__posix_fallocate64_l64): Likewise.
12273         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12274         Likewise.
12275         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
12276         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
12277         (__get_clockfreq): Likewise.
12278         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
12279         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
12280         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
12281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12282         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12283         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
12284         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
12285         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
12286         Likewise.
12287         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
12288         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
12289         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
12290         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
12291         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12292         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
12293         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
12294         Likewise.
12295         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12296         (posix_fallocate): Likewise.
12297         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12298         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12299         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
12300         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
12301         (elf_machine_rela, elf_machine_rela_relative)
12302         (elf_machine_lazy_rel): Likewise.
12303         * time/asctime.c (asctime_internal): Likewise.
12304         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
12305         * time/tzset.c (__tzset_parse_tz): Likewise.
12306         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12307         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12308         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
12309         * wcsmbs/wcsmbsload.h: Likewise.
12311         [BZ #15894]
12312         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
12314         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
12315         (arena_get2): Remove THREAD_STATS conditionals.
12316         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
12317         (__malloc_stats, int): Likewise.
12319 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
12321         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
12322         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
12324         * manual/setjmp.texi: Fix typos/grammar errors.
12326         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
12327         Only return early when n is <= 0.  Delete unused return statement.
12329         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
12330         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
12331         * debug/tst-longjmp_chk3.c: New file.
12333         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
12334         (test_main): Replace code with set_fortify_handler call.
12335         * debug/test-strcpy_chk.c: Likewise.
12336         * debug/tst-chk1.c: Likewise.
12337         * debug/tst-longjmp_chk.c: Likewise.
12338         * test-skeleton.c: Include fcntl.h & paths.h
12339         (set_fortify_handler): Define.
12341         * debug/tst-longjmp_chk.c: Add header comment and include
12342         ../test-skeleton.c.
12343         (do_test): Mark static.
12344         (TEST_FUNCTION): Define.
12346         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
12347         (IP_PMTUDISC_INTERFACE): Likewise.
12348         (IP_MULTICAST_IF): Likewise.
12349         (IP_MULTICAST_TTL): Likewise.
12350         (IP_MULTICAST_LOOP): Likewise.
12351         (IP_ADD_MEMBERSHIP): Likewise.
12352         (IP_DROP_MEMBERSHIP): Likewise.
12353         (IP_UNBLOCK_SOURCE): Likewise.
12354         (IP_BLOCK_SOURCE): Likewise.
12355         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
12356         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
12357         (IP_MSFILTER): Likewise.
12358         (MCAST_JOIN_GROUP): Likewise.
12359         (MCAST_BLOCK_SOURCE): Likewise.
12360         (MCAST_UNBLOCK_SOURCE): Likewise.
12361         (MCAST_LEAVE_GROUP): Likewise.
12362         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12363         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12364         (MCAST_MSFILTER): Likewise.
12365         (IP_MULTICAST_ALL): Likewise.
12366         (IP_UNICAST_IF): Likewise.
12368         * timezone/Makefile: Delete $(have-ksh) check.
12369         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
12370         * timezone/tzselect.ksh: Add +x mode bits.
12372         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
12373         (ANON_INODE_FS_MAGIC): Likewise.
12374         (BDEVFS_MAGIC): Likewise.
12375         (BINFMTFS_MAGIC): Likewise.
12376         (BTRFS_TEST_MAGIC): Likewise.
12377         (CRAMFS_MAGIC_WEND): Likewise.
12378         (DEBUGFS_MAGIC): Likewise.
12379         (ECRYPTFS_SUPER_MAGIC): Likewise.
12380         (EXT3_SUPER_MAGIC): Likewise.
12381         (EXT4_SUPER_MAGIC): Likewise.
12382         (FUTEXFS_SUPER_MAGIC): Likewise.
12383         (HOSTFS_SUPER_MAGIC): Likewise.
12384         (HUGETLBFS_MAGIC): Likewise.
12385         (MINIX3_SUPER_MAGIC): Likewise.
12386         (MTD_INODE_FS_MAGIC): Likewise.
12387         (NILFS_SUPER_MAGIC): Likewise.
12388         (OPENPROM_SUPER_MAGIC): Likewise.
12389         (PIPEFS_MAGIC): Likewise.
12390         (PSTOREFS_MAGIC): Likewise.
12391         (QNX6_SUPER_MAGIC): Likewise.
12392         (RAMFS_MAGIC): Likewise.
12393         (REISERFS_SUPER_MAGIC_STRING): Likewise.
12394         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
12395         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
12396         (SECURITYFS_MAGIC): Likewise.
12397         (SELINUX_MAGIC): Likewise.
12398         (SMACK_MAGIC): Likewise.
12399         (SOCKFS_MAGIC): Likewise.
12400         (SQUASHFS_MAGIC): Likewise.
12401         (STACK_END_MAGIC): Likewise.
12402         (TMPFS_MAGIC): Likewise.
12403         (USBDEVICE_SUPER_MAGIC): Likewise.
12404         (V9FS_MAGIC): Likewise.
12405         (XENFS_SUPER_MAGIC): Likewise.
12406         (CRAMFS_MAGIC): Fix typo in comment.
12407         (EXT2_SUPER_MAGIC): Update comment.
12408         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
12410 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
12412         * sysdeps/arm: Move directory from ports/sysdeps/arm.
12413         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
12414         * sysdeps/unix/sysv/linux/arm: Move directory from
12415         ports/sysdeps/unix/sysv/linux/arm.
12416         * README: Update listing for arm-*-linux-gnueabi.
12418         * README: Remove mention of am33.
12420 2014-02-07  Roland McGrath  <roland@hack.frob.com>
12422         * bits/sigset.h (__sigemptyset): Use a statement expression rather
12423         than the comma operator, to avoid "rhs of comma has no effect"
12424         compiler warnings.
12425         (__sigfillset, __sigandset, __sigorset): Likewise.
12426         * include/signal.h (__sigemptyset): Likewise.
12427         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
12429 2014-02-07  Allan McRae  <allan@archlinux.org>
12431         * version.h (RELEASE): Set to "development".
12432         (VERSION): Set to "2.19.90"
12433         * NEWS: Add 2.20 section.
12435 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
12437         [BZ #16529]
12438         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
12440 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
12442         * manual/contrib.texi: Update entry for Carlos O'Donell,
12443         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
12445 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
12447         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
12449         * sysdeps/unix/sysv/linux/kernel-features.h
12450         [__LINUX_KERNEL_VERSION >= 0x020621]
12451         (__ASSUME_PROC_PID_TASK_COMM): Define.
12453 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12455         [BZ #16398]
12456         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
12457         conversion when destination buffer does not have enough space.
12458         * libio/tst-ftell-partial-wide.c: New test case.
12459         * libio/Makefile (tests): Add tst-ftell-partial-wide.
12461         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
12462         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
12463         Leonard and Allan McRae.
12465 2014-02-04  David S. Miller  <davem@davemloft.net>
12467         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
12468         32-bit.
12470 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12473         New file
12474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12475         New file
12476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12477         New file.
12478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12479         New file.
12480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12481         New file.
12482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12483         New file.
12484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12485         New file.
12486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12487         New file.
12488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12489         New file.
12490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12491         New file.
12492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12493         New file.
12494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12495         New file.
12496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12497         New file.
12499 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12501         * nptl/shlib-versions: Change powerpc*le start to 2.17.
12502         * shlib-versions: Likewise.
12504 2014-02-04  Roland McGrath  <roland@hack.frob.com>
12505             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12507         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
12508         (abilist-pattern): New variable, set to %-le.abilist.
12510         * Makerules (abilist-pattern): New variable.
12511         (vpath): Use $(abilist-pattern) in place of %.abilist.
12512         (check-abi-% pattern rule): Likewise.
12513         (check-abi, update-abi): Likewise.
12515 2014-02-04  Eric Wong  <normalperson@yhbt.net>
12517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12519 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
12521         * manual/startup.texi: Add next, previous, and top entries for
12522         the `Program Arguments' and `Environment Variables' nodes.
12524 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
12526         * manual/macros.texi: Add comments before MTASC-safety macros.
12528         * manual/users.texi: Document MTASC-safety properties.
12530         * manual/threads.texi (pthread_key_create, pthread_key_delete)
12531         (pthread_getspecific, pthread_setspecific): Format with
12532         @deftypefun, and add @safety note.
12533         * manual/signal.texi: Move comments that analyze the above
12534         functions to their home place.
12536 2014-02-03  Allan McRae  <allan@archlinux.org>
12538         * po/sl.po: Update Slovenian translation from translation project.
12540 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
12542         * manual/time.texi (timegm): Add missing blank after @c.
12543         Reported by Joseph Myers <joseph@codesourcery.com>.
12545 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
12547         * manual/check-safety.sh: New.
12548         * manual/Makefile ($(objpfx)stamp-summary): Run it.
12550         * manual/terminal.texi: Document MTASC-safety properties.
12552         * manual/filesys.texi: Document MTASC-safety properties.
12554         * manual/errno.texi: Document MTASC-safety properties.
12556         * manual/intro.texi: Document safety identifiers and
12557         conditionals.
12559         * manual/string.texi (wcstok): Fix prototype.
12560         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
12562         * manual/time.texi: Document MTASC-safety properties.
12564         * manual/string.texi: Document MTASC-safety properties.
12566         * manual/threads.texi: Document MTASC-safety properties.
12568         * manual/stdio.texi: Document MTASC-safety properties.
12570         * manual/syslog.texi: Document MTASC-safety properties.
12572         * manual/sysinfo.texi: Document MTASC-safety properties.
12574         * manual/startup.texi: Document MTASC-safety properties.
12576         * manual/socket.texi: Document MTASC-safety properties.
12578         * manual/signal.texi: Document MTASC-safety properties.
12580 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
12582         * manual/setjmp.texi: Document MTASC-safety properties.
12584         * manual/search.texi: Document MTASC-safety properties.
12586         * manual/resource.texi: Document MTASC-safety properties.
12588         * manual/process.texi: Document MTASC-safety properties.
12590         * manual/platform.texi: Document MTASC-safety properties.
12592         * manual/pipe.texi: Document MTASC-safety properties.
12594         * manual/pattern.texi: Document MTASC-safety properties.
12596         * manual/message.texi: Document MTASC-safety properties.
12598         [BZ #12751]
12599         * manual/memory.texi: Document MTASC-safety properties.
12601         * manual/math.texi: Document MTASC-safety properties.
12603         * manual/locale.texi: Document MTASC-safety properties.
12605         * manual/llio.texi: Document MTASC-safety properties.
12607         * manual/libdl.texi: New.
12609         * manual/lang.texi: Document MTASC-safety properties.
12611         * manual/job.texi: Document MTASC-safety properties.
12613         * manual/getopt.texi: Document MTASC-safety properties.
12615         * manual/ctype.texi: Document MTASC-safety properties.
12617 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
12619         [BZ #16046]
12620         * csu/libc-tls.c (static_map): Remove variable.
12621         (__libc_setup_tls): Use main executable's link map for TLS data.
12622         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
12623         casing for LM_ID_BASE and GL(dl_nns).
12624         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
12625         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
12626         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
12627         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
12628         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
12629         member.
12630         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
12631         l_phnum members.
12633 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
12635         * manual/debug.texi: Document MTASC-safety properties.
12637 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
12639         [BZ #16510]
12640         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
12641         of __x86_64__ when disabling x87 inline functions.
12643 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
12645         * manual/charset.texi: Document MTASC-safety properties.
12647         * manual/crypt.texi: Document MTASC-safety properties.
12649         * manual/conf.texi: Document MTASC-safety properties.
12651         * manual/arith.texi: Document MTASC-safety properties.
12653         * manual/argp.texi: Document MTASC-safety properties.
12655         * manual/macros.texi: Introduce macros to document multi
12656         thread, asynchronous signal and asynchronous cancellation
12657         safety properties.
12658         * manual/intro.texi: Introduce the properties themselves.
12660 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12662         * sysdeps/sh/sh4/Makefile: New file.
12664 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
12666         * math/gen-libm-test.pl ($srcdir): New variable.
12667         ($auto_input): Use it.
12669 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12671         [BZ #16506]
12672         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
12673         access beyond array bounds when parsing netgroups file.
12675         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
12676         the old buffer before realloc.
12678 2014-01-27  Allan McRae  <allan@archlinux.org>
12680         * po/fr.po: Update French translation from translation project.
12682 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12684         * sysdeps/sh/libm-test-ulps: Regenerate.
12686 2014-01-24  David S. Miller  <davem@davemloft.net>
12688         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
12690 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12692         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
12693         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
12695 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12697         [BZ #16474]
12698         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
12699         string pointers after reallocation.
12701 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12703         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
12704         __SH4A__ instead of __SH_FPU_ANY__.
12706 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12708         * sysdeps/sh/fpu_control.h: New file.
12709         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
12710         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
12711         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
12712         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
12713         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
12714         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
12715         * sysdeps/sh/sys/ucontext.h: Remove.
12716         * sysdeps/sh/sys: Remove directory.
12718 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12720         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
12721         s390/sys/ucontext.h.
12722         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
12723         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
12725 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
12727         [BZ #15605]
12728         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
12730 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12732         [BZ#16431]
12733         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12734         Adjust the vDSO correctly for internal calls.
12735         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12737 2014-01-20  Allan McRae  <allan@archlinux.org>
12739         * po/ca.po: Update Catalan translation from translation project.
12741 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
12743         * sysdeps/s390/sotruss-lib.c: New file.
12745 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12747         [BZ#16430]
12748         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
12749         (__GI___gettimeofday): Alias for a different internal symbol to avoid
12750         local calls issues by not having a PLT stub required for IFUNC calls.
12751         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
12753 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
12755         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
12756         * math/test-fpucw-static.c: Likewise.
12758 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12760         [BZ #16453]
12761         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
12763 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12765         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
12766         implementation for powerpc.
12768 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
12770         [BZ #14782]
12771         * sysdeps/posix/system.c (__libc_system): Do not enable
12772         asynchronous cancellation.
12774 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12776         [BZ #16427]
12777         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
12778         handling only for numbers special also in the IEEE case.
12780 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12782         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12784 2014-01-11  Allan McRae  <allan@archlinux.org>
12786         * po/bg.po: Update Bulgarian translation from translation project.
12788         * po/de.po: Update German translation from translation project.
12790 2014-01-10  Roland McGrath  <roland@hack.frob.com>
12792         * sysdeps/generic/gcc-compat.h: New file.
12794 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12796         * benchtests/asin-inputs: Correct slow inputs.
12797         * benchtests/acos-inputs: Likewise.
12799 2014-01-10  Allan McRae  <allan@archlinux.org>
12801         * po:sv.po: Update Swedish translation from translation project.
12803         * po/vi.po: Update Vietnamese translation from translation project.
12805         * po/eo.po: Update Esperanto translation from translation project.
12807         * po/cs.po: Update Czech translation from translation project.
12809         * po/nl.po: Update Dutch translation from translation project.
12811         * po/pl.po: Update Polish translation from translation project.
12813         * po/ru.po: Update Russian translation from translation project.
12815         * po/uk.po: Update Ukrainian translation from translation project.
12817 2014-01-08  Brooks Moses  <bmoses@google.com>
12819         * elf/dl-load.c: Fix comment typo.
12821 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
12823         * po/header.pot: Rename to...
12824         * po/pot.header: ... this.
12825         * po/Makefile: Use pot.header.
12827 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
12828             Maxim Kuvyrkov  <maxim@kugelworks.com>
12830         [BZ #16394]
12831         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
12832         SRC and DEST against LEN.
12834 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12836         [BZ #16414]
12837         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
12838         implementation.
12839         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
12841 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12845 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
12847         [BZ #16408]
12848         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
12849         for large positive arguments.
12851 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
12853         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12855         * math/auto-libm-test-in: Mark various tests with
12856         xfail-rounding:ldbl-128ibm.
12857         * math/auto-libm-test-out: Regenerated.
12859         [BZ #16407]
12860         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12861         Increase overflow threshold.
12863 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
12865         [BZ #14286]
12866         * stdio-common/vfprintf.c: Check for integer overflow.
12868 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12870         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
12871         the first argument and return value of __tls_get_addr_internal.
12873 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12875         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
12876         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
12878 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12880         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
12881         * sysdeps/s390/rtld-global-offsets.sym: New file.
12882         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
12883         GLIBC_2.19 symbol.
12884         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
12885         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
12886         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12887         ... this.
12888         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
12889         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12890         ... this.
12891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12892         Regenerate.
12893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12894         Regenerate.
12895         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
12896         halfs of GPRs for high_gprs contexts.
12897         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
12898         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
12899         field.
12900         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
12901         uc_flags field.
12902         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
12903         64 bit versions:
12904         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
12905         for high GPRs (uc_high_gprs) and for future extensions
12906         (__reserved).
12907         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
12908         for future extensions (__reserved).
12909         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
12910         64 bit versions:
12911         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
12912         SC_HIGHGPRS offset definition.
12913         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
12914         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
12916         * Versions.def: Add GLIBC_2.19 for libpthread.
12917         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
12918         siglongjmp for libpthread with GLIBC_2.19 symver.
12919         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
12920         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
12921         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
12922         * sysdeps/s390/__longjmp.c: New file.
12923         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
12924         * sysdeps/s390/longjmp.c: New file.
12925         * sysdeps/s390/setjmp.S: New file.
12926         * sysdeps/s390/sigjmp.S: New file.
12927         * sysdeps/s390/v1-longjmp.c: New file.
12928         * sysdeps/s390/v1-setjmp.h: New file.
12929         * sysdeps/s390/v1-sigjmp.c: New file.
12930         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
12931         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
12932         GLIBC_2.19 version.
12933         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
12934         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
12935         versioned symbols for ____longjmp_chk.
12936         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12937         Likewise.
12938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12939         Regenerate.
12940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12941         Regenerate.
12942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12943         Regenerate.
12944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12945         Regenerate.
12946         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
12947         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
12948         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
12949         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
12950         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
12951         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
12952         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
12953         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
12954         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
12955         * sysdeps/s390/rtld-__longjmp.c: New file.
12956         * sysdeps/s390/rtld-setjmp.S: New file.
12958 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
12960         [BZ #16400]
12961         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12962         Return -__logl (x) for small positive arguments without evaluating
12963         a polynomial.
12965 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
12967         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
12968         Rename to ...
12969         (__ptrace_peeksiginfo_args): ... this.
12970         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12971         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12972         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12974 2014-01-06  Allan McRae  <allan@archlinux.org>
12976         * inet/netinet/in.h: Fix typo in comment.
12978 2014-01-05  Andreas Jaeger  <aj@suse.de>
12980         * sysdeps/i386/fpu/libm-test-ulps: Update.
12982 2014-01-05  Allan McRae  <allan@archlinux.org>
12984         * po/libc.pot: Regenerated.
12986         * malloc/memusagestat.c: Fix gettext call formatting.
12988 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
12990         * nscd/nscd.c: Improve usage() output.
12992 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
12994         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
12995         * sysdeps/unix/sysv/linux/configure: Regenerated.
12996         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
12997         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
12999 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13001         [BZ #16390]
13002         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13003         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13005 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13007         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13008         extra tokens at end of #undef directive.
13009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13010         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13011         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13013 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
13015         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13017         * math/auto-libm-test-in: Mark various tests with
13018         xfail-rounding:ldbl-128ibm.
13019         * math/auto-libm-test-out: Regenerated.
13021 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
13023         [BZ #16386]
13024         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13025         numbers with subnormal high part when calculating exponent.
13027         [BZ #16385]
13028         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13029         fabs.
13031         [BZ #16384]
13032         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13033         M_LN2l.
13034         (__ieee754_acoshl): Use __log1pl not __log1p.
13036 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
13038         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13039         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13040         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13041         (grow_heap, heap_trim, _int_new_arena, get_free_list)
13042         (reused_arena, arena_get2): Convert to GNU style.
13043         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13044         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13045         (memalign_check, __malloc_set_state): Likewise.
13046         * malloc/mallocbug.c (main): Likewise.
13047         * malloc/malloc.c (__malloc_assert, malloc_init_state)
13048         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13049         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13050         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13051         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13052         (__posix_memalign, malloc_info): Likewise.
13053         * malloc/malloc.h: Likewise.
13054         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13055         (mallochook, memalignhook, reallochook, mabort): Likewise.
13056         * malloc/mcheck.h: Likewise.
13057         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13058         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13059         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13060         * malloc/morecore.c (__default_morecore): Likewise.
13061         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13062         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13063         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13064         (print_and_abort): Likewise.
13065         * malloc/obstack.h: Likewise.
13066         * malloc/set-freeres.c (__libc_freeres): Likewise.
13067         * malloc/tst-mallocstate.c (main): Likewise.
13068         * malloc/tst-mtrace.c (main): Likewise.
13069         * malloc/tst-realloc.c (do_test): Likewise.
13071 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13073         [BZ #16366]
13074         * nscd/netgroupcache.c (do_notfound): New function.
13075         (addgetnetgrentX): Use it.
13077         [BZ # 16365]
13078         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13079         NSS_STATUS_NOTFOUND.
13081 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
13083         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13086 2014-01-01  Allan McRae  <allan@archlinux.org>
13088         * scripts/update-copyrights: Update configure input file suffix.
13090         * NEWS: Update copyright year.
13091         * catgets/gencat.c: Likewise.
13092         * csu/version.c: Likewise.
13093         * debug/catchsegv.sh: Likewise.
13094         * debug/pcprofiledump.c: Likewise.
13095         * debug/xtrace.sh: Likewise.
13096         * elf/ldconfig.c: Likewise.
13097         * elf/ldd.bash.in: Likewise.
13098         * elf/pldd.c: Likewise.
13099         * elf/sotruss.ksh: Likewise.
13100         * elf/sprof.c: Likewise.
13101         * iconv/iconv_prog.c: Likewise.
13102         * iconv/iconvconfig.c: Likewise.
13103         * locale/programs/locale.c: Likewise.
13104         * locale/programs/localedef.c: Likewise.
13105         * login/programs/pt_chown.c: Likewise.
13106         * malloc/memusage.sh: Likewise.
13107         * malloc/memusagestat.c: Likewise.
13108         * malloc/mtrace.pl: Likewise.
13109         * manual/libc.texinfo: Likewise.
13110         * nscd/nscd.c: Likewise.
13111         * nss/getent.c: Likewise.
13112         * nss/makedb.c: Likewise.
13113         * posix/getconf.c: Likewise.
13114         * scripts/test-installation.pl: Likewise.
13116         * All files with FSF copyright notices: Update copyright dates
13117         using scripts/update-copyrights.
13118         * intl/plural.c: Regenerated.
13119         * locale/programs/charmap-kw.h: Likewise.
13120         * locale/programs/locfile-kw.h: Likewise.
13122 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
13124         * sysdeps/unix/sysv/linux/configure: Regenerated.
13125         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13126         the linux/fanotify.h header.
13127         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13128         HAVE_LINUX_FANOTIFY_H is defined.
13130 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13132         * benchtests/cos-inputs: New inputs.
13133         * benchtests/sin-inputs: Likewise.
13135         * benchtests/atan-inputs: New inputs. Fix name of multiple
13136         precision fallback inputs.
13138         * benchtests/atanh-inputs: New inputs.
13139         * benchtests/tanh-inputs: Likewise.
13141         * benchtests/acosh-inputs: New inputs.
13142         * benchtests/asinh-inputs: Likewise.
13144         * benchtests/cosh-inputs: New inputs.
13145         * benchtests/sinh-inputs: Likewise.
13147         * benchtests/acos-inputs: Add more inputs.
13148         * benchtests/asin-inputs: Likewise.
13150 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
13152         [BZ #16375]
13153         * manual/arith.texi: Fix spelling.
13154         * manual/charset.texi: Likewise.
13155         * manual/errno.texi: Likewise.
13156         * manual/filesys.texi: Likewise.
13157         * manual/lang.texi: Likewise.
13158         * manual/llio.texi: Likewise.
13159         * manual/locale.texi: Likewise.
13160         * manual/message.texi: Likewise.
13161         * manual/resource.texi: Likewise.
13162         * manual/search.texi: Likewise.
13163         * manual/setjmp.texi: Likewise.
13164         * manual/stdio.texi: Likewise.
13165         * manual/string.texi: Likewise.
13166         * manual/sysinfo.texi: Likewise.
13167         * manual/time.texi: Likewise.
13169 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
13171         * po/sl.po: New file.
13173 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
13175         * .gitignore: Add core/.gdbinit/.gdb_history.
13177 2013-12-27  Allan McRae  <allan@archlinux.org>
13179         [BZ #16369]
13180         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13181         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13183 2013-12-24  Brooks Moses  <bmoses@google.com>
13185         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13186         all compilers that claim C++98 compliance, not just GCC.
13187         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13188         Likewise.
13190 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13192         * NEWS: Restore accidentally deleted bug-fix entries.
13194 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
13195             Ondřej Bílka  <neleai@seznam.cz>
13197         [BZ #15073]
13198         * malloc/malloc.c (_int_free): Perform sanity check only if we
13199         have_lock.
13201 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
13203         [BZ #12986]
13204         * manual/stdio.texi (String Input Conversions): Clarify that character
13205         classes are not supported.
13207 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13211 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
13213         [BZ #16337]
13214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13215         Calculate results for small negative arguments directly rather
13216         than using reflection formula with special underflow handling.
13218         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13219         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13220         sysdeps/unix/bsd/bsd4.4/syscalls.list.
13221         (fchflags): Likewise.
13222         (revoke): Likewise.
13223         (setlogin): Likewise.
13224         (sigaltstack): Likewise.
13225         (wait4): Likewise.
13226         (sigblock): Remove.
13227         (sigsetmask): Likewise.
13228         (wait3): Likewise.
13229         (waitpid): Likewise.
13230         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
13231         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
13232         file.
13233         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
13234         * sysdeps/unix/bsd/Makefile: ... here.
13235         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
13236         * sysdeps/unix/bsd/Versions: ... here.
13237         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
13238         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
13239         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
13240         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
13241         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
13242         * sysdeps/unix/bsd/sigblock.c: ... here.
13243         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
13244         * sysdeps/unix/bsd/sigsetmask.c: ... here.
13245         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
13246         * sysdeps/unix/bsd/sigvec.c: ... here.
13247         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
13248         * sysdeps/unix/bsd/tcdrain.c: ... here.
13249         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
13250         * sysdeps/unix/bsd/tcgetattr.c: ... here.
13251         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
13252         * sysdeps/unix/bsd/tcsetattr.c: ... here.
13253         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
13254         * sysdeps/unix/bsd/wait.c: ... here.
13255         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
13256         * sysdeps/unix/bsd/wait3.c: ... here.
13257         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
13258         * sysdeps/unix/bsd/waitpid.c: ... here.
13260 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
13262         [BZ #16356]
13263         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
13264         round-to-nearest for [!USE_AS_EXPM1L].
13265         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13266         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
13267         more tests of exp and exp10.  Expect some exp10 tests to miss
13268         exceptions or fail in directed rounding modes.
13269         * math/auto-libm-test-out: Regenerated.
13270         * math/libm-test.inc (exp10_tonearest_test_data): New array.
13271         (exp10_test_tonearest): New function.
13272         (exp10_towardzero_test_data): New array.
13273         (exp10_test_towardzero): New function.
13274         (exp10_downward_test_data): New array.
13275         (exp10_test_downward): New function.
13276         (exp10_upward_test_data): New array.
13277         (exp10_test_upward): New function.
13278         (main): Call the new functions.
13279         * sysdeps/i386/fpu/libm-test-ulps: Update.
13280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13282 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
13284         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13285         asinh, atan, atan2, atanh, cbrt, cos and cosh.
13286         * math/auto-libm-test-out: Regenerated.
13287         * math/libm-test.inc (acosh_test_data): Add more tests.
13288         (atanh_test_data): Likewise.
13289         (ceil_test_data): Likewise.
13290         (copysign_test_data): Likewise.
13291         * sysdeps/i386/fpu/libm-test-ulps: Update.
13292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13294         * timezone/checktab.awk: Update from tzcode 2013i.
13295         * timezone/private.h: Likewise.
13296         * timezone/scheck.c: Likewise.
13297         * timezone/tzfile.h: Likewise.
13298         * timezone/tzselect.ksh: Likewise.
13299         * timezone/zdump.c: Likewise.
13300         * timezone/zic.c: Likewise.
13302         * math/auto-libm-test-in: Add tests of cpow.
13303         * math/auto-libm-test-out: Regenerated.
13304         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
13305         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13306         mpc_cc_c.
13307         (func_calc_desc): Add mpc_cc_c union field.
13308         (test_functions): Add cpow.
13309         (special_fill_2pi): New function.
13310         (special_real_inputs): Add 2pi.
13311         (calc_generic_results): Handle mpc_cc_c.
13312         * sysdeps/i386/fpu/libm-test-ulps: Update.
13313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13315         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
13316         csqrt, ctan and ctanh.
13317         * math/auto-libm-test-out: Regenerated.
13318         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13319         (TEST_COND_x86): Likewise.
13320         (ccos_test_data): Use AUTO_TESTS_c_c.
13321         (ccosh_test_data): Likewise.
13322         (cexp_test_data): Likewise.
13323         (clog_test_data): Likewise.
13324         (csqrt_test_data): Likewise.
13325         (ctan_test_data): Likewise.
13326         (ctan_tonearest_test_data): Likewise.
13327         (ctan_towardzero_test_data): Likewise.
13328         (ctan_downward_test_data): Likewise.
13329         (ctan_upward_test_data): Likewise.
13330         (ctanh_test_data): Likewise.
13331         (ctanh_tonearest_test_data): Likewise.
13332         (ctanh_towardzero_test_data): Likewise.
13333         (ctanh_downward_test_data): Likewise.
13334         (ctanh_upward_test_data): Likewise.
13335         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13336         mpc_c_c.
13337         (func_calc_desc): Add mpc_c_c union field.
13338         (FUNC_mpc_c_c): New macro.
13339         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
13340         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
13341         ctanh.
13342         (special_fill_min_subnorm_p120): New function.
13343         (special_real_inputs): Add min_subnorm_p120.
13344         (calc_generic_results): Handle mpc_c_c.
13345         * sysdeps/i386/fpu/libm-test-ulps: Update.
13346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13348 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13350         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
13351         (do_sin_slow): New functions.
13352         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
13353         (cslow2, csloww1, csloww2): Use the new functions.
13355         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
13356         Use M to change sign of result instead of X.  Assume X is
13357         positive.
13358         (csloww1): Likewise.
13359         (__sin): Adjust.
13360         (__cos): Adjust.
13362         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
13363         arguments A and DA.
13364         (__sin): Adjust.
13365         (__cos): Likewise.
13367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
13368         (__cos): Likewise.
13369         (sloww1): Don't adjust sign of DX.
13370         (csloww1): Likewise.
13371         (sloww2): Use X directly and don't adjust sign of DX.
13372         (csloww2): Likewise.
13374 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13376         * math/auto-libm-test-in: Add tests of cabs and carg.
13377         * math/auto-libm-test-out: Regenerated.
13378         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
13379         (carg_test_data): Likewise.
13380         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13381         mpc_c_f.
13382         (func_calc_desc): Add mpc_c_f union field.
13383         (test_functions): Add cabs and carg.
13384         (calc_generic_results): Handle mpc_c_f.
13386         * sysdeps/powerpc/powerpc32/libgcc-compat.S
13387         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
13388         as a macro and a compat symbol.
13389         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
13390         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
13391         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
13392         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
13393         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
13394         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
13395         not use .hidden.
13396         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
13397         Likewise.
13398         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
13399         Likewise.
13400         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
13401         Likewise.
13402         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
13403         Likewise.
13404         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
13405         Likewise.
13406         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
13407         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
13408         from GLIBC_2.3.2.
13410 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13414 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13416         * manual/texinfo.tex: Update to version 2013-11-26.10 with
13417         trailing whitespace removed.
13418         * scripts/config.guess: Update to version 2013-11-29.
13419         * scripts/config.sub: Update to version 2013-10-01.
13421         * math/auto-libm-test-in: Add tests of sincos.
13422         * math/auto-libm-test-out: Regenerated.
13423         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
13424         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13425         mpfr_f_11.
13426         (func_calc_desc): Add mpfr_f_11 union field.
13427         (test_functions): Add sincos.
13428         (calc_generic_results): Handle mpfr_f_11.
13429         * sysdeps/i386/fpu/libm-test-ulps: Update.
13430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13432 2013-12-19  Andreas Schwab  <schwab@suse.de>
13434         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
13435         CALL_MCOUNT.
13436         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13437         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
13438         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
13440 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
13442         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
13443         * sysdeps/i386/fpu/libm-test-ulps: Update.
13444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13446         [BZ #16293]
13447         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
13448         round-to-nearest mode when using frndint.
13449         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
13450         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
13451         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13452         Likewise.
13453         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
13454         sinh test to fail.
13455         * math/auto-libm-test-out: Regenerated.
13456         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
13457         (TEST_COND_x86): Likewise.
13458         (expm1_tonearest_test_data): New array.
13459         (expm1_test_tonearest): New function.
13460         (expm1_towardzero_test_data): New array.
13461         (expm1_test_towardzero): New function.
13462         (expm1_downward_test_data): New array.
13463         (expm1_test_downward): New function.
13464         (expm1_upward_test_data): New array.
13465         (expm1_test_upward): New function.
13466         (main): Run the new test functions.
13467         * sysdeps/i386/fpu/libm-test-ulps: Update.
13468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13470         * include/features.h: Update comment documenting feature test
13471         macros.  Mention _DEFAULT_SOURCE in comment.
13472         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
13473         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
13474         _BSD_SOURCE and _SVID_SOURCE.
13475         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
13476         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
13477         !_SVID_SOURCE]: Likewise.
13478         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13479         (__USE_POSIX_IMPLICITLY): Define.
13480         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13481         (_POSIX_SOURCE): Undefine and redefine.
13482         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
13483         (_POSIX_C_SOURCE): Likewise.
13484         * manual/creature.texi (_DEFAULT_SOURCE): Document.
13485         (Feature Test Macros): Update documentation of default features.
13487 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13489         * benchtests/Makefile: Add bench-strtok.
13490         * benchtests/bench-strtok.c: New file: strtok benchtest.
13492 2013-12-19  Allan McRae  <allan@archlinux.org>
13494         * manual/install.texi: Suppress menu for plain text output.
13495         * INSTALL: Regenerated.
13497 2013-12-18  Brooks Moses  <bmoses@google.com>
13499         [BZ #15846]
13500         * misc/getauxval.c: Include errno.h.
13501         (__getauxval): Set errno to ENOENT if the requested type is not
13502         found.
13503         * misc/sys/auxv.h (getauxval): Document that it may set errno;
13504         don't declare with __attribute_const__.
13505         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
13506         * manual/startup.texi: Document that getauxval sets errno.
13508 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13510         * math/auto-libm-test-in: Add tests of jn and yn.
13511         * math/auto-libm-test-out: Regenerated.
13512         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
13513         (yn_test_data): Likewise.
13514         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13515         mpfr_if_f.
13516         (func_calc_desc): Add mpfr_if_f union field.
13517         (FUNC_mpfr_if_f): New macro.
13518         (test_functions): Add jn and yn.
13519         (calc_generic_results): Assert type of second input for
13520         mpfr_ff_f.  Handle mpfr_if_f.
13521         (output_for_one_input_case): Disable all checking for arguments
13522         fitting floating-point types in case of an integer argument.
13523         * sysdeps/i386/fpu/libm-test-ulps: Update.
13524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13527         Don't expect fegetround reference in libm.so.
13529 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13531         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
13532         $(config-cflags-nofma).
13534 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
13536         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
13537         * math/auto-libm-test-out: Regenerated.
13539         [BZ #16338]
13540         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
13541         to determine exponent and adjust argument to have exponent of -1.
13542         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13543         log2.
13544         * math/auto-libm-test-out: Regenerated.
13545         * sysdeps/i386/fpu/libm-test-ulps: Update.
13546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13548 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
13550         * manual/probes.texi: Remove cases when per-thread arenas are
13551         disabled.
13553 2013-12-18  Andreas Schwab  <schwab@suse.de>
13555         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
13556         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
13557         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
13558         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
13559         * sysdeps/i386/i686/multiarch/Makefile: Update.
13560         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
13562 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13564         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
13565         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
13567 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
13569         [BZ #15968]
13570         Support TZ transition times < 00:00:00.
13571         This is needed for version-3 tz-format files; it supports time
13572         stamps past 2037 for America/Godthab (the only entry in the tz
13573         database for which this change is relevant).
13574         * manual/time.texi (TZ Variable): Document transition times
13575         from -167:59:59 through -00:00:01.
13576         * time/tzset.c (tz_rule): Time of day is now signed.
13577         (__tzset_parse_tz): Parse negative time of day.
13579         Document TZ transition times >= 25:00:00.
13580         * manual/time.texi (TZ Variable): Document transition times from
13581         25:00:00 through 167:59:59.  These are already supported, and this
13582         support will help with version-3 tz-format files.
13584         * manual/time.texi (TZ Variable): Modernize North America example
13585         to reflect current (i.e., 2007-and-later) daylight saving rules.
13587         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
13589 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13591         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
13592         * sysdeps/unix/bsd/bits/stat.h: Likewise.
13593         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
13594         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13595         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
13596         * sysdeps/unix/bsd/bsdstat.h: Likewise.
13597         * sysdeps/unix/bsd/clock.c: Likewise.
13598         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
13599         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
13600         * sysdeps/unix/bsd/init-posix.c: Likewise.
13601         * sysdeps/unix/bsd/poll.c: Likewise.
13602         * sysdeps/unix/bsd/ptsname.c: Likewise.
13603         * sysdeps/unix/bsd/seekdir.c: Likewise.
13604         * sysdeps/unix/bsd/setegid.c: Likewise.
13605         * sysdeps/unix/bsd/seteuid.c: Likewise.
13606         * sysdeps/unix/bsd/setgid.c: Likewise.
13607         * sysdeps/unix/bsd/setrgid.c: Likewise.
13608         * sysdeps/unix/bsd/setruid.c: Likewise.
13609         * sysdeps/unix/bsd/setsid.c: Likewise.
13610         * sysdeps/unix/bsd/setuid.c: Likewise.
13611         * sysdeps/unix/bsd/sigaction.c: Likewise.
13612         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
13613         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
13614         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
13615         * sysdeps/unix/bsd/telldir.c: Likewise.
13616         * sysdeps/unix/bsd/times.c: Likewise.
13617         * sysdeps/unix/bsd/usleep.c: Likewise.
13619         * misc/Makefile (install-lib): Remove libbsd-compat.a.
13620         ($(objpfx)libbsd-compat.a): Remove rule.
13622         * include/features.h (__FAVOR_BSD): Do not define.
13623         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
13624         features conflicting with POSIX.
13625         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
13626         (_BSD_SOURCE): Remove description of not being a subset of other
13627         feature test macros.
13628         * manual/job.texi (getpgrp): Do not document BSD version.
13629         (getpgid): Do not document by reference to BSD getpgrp.
13630         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
13631         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
13632         * signal/signal.h [__FAVOR_BSD]: Likewise.
13633         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
13634         instead of making contents conditional on [__FAVOR_BSD].
13635         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
13637 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13641 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
13643         [BZ #16314]
13644         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
13645         values below 2**-450, not 2**-500.
13646         * math/auto-libm-test-in: Don't allow spurious underflow from
13647         hypot.
13648         * math/auto-libm-test-out: Regenerated.
13650         [BZ #16316]
13651         [BZ #16330]
13652         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
13653         values of ha and hb and sort them after adjusting subnormal
13654         arguments.
13655         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13656         Likewise.
13657         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
13658         values of ea and eb and sort them after adjusting subnormal
13659         arguments.
13660         * math/auto-libm-test-in: Do not expect some hypot tests of
13661         subnormals to fail.  Add more hypot tests.
13662         * math/auto-libm-test-out: Regenerated.
13664 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13666         [BZ #13304]
13667         * sysdeps/sh/s_fma.c: New file.
13668         * sysdeps/sh/s_fmaf.c: New file.
13669         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
13670         version.
13671         * sysdeps/sh/Implies: Add sh/soft-fp.
13673 2013-12-16  Roland McGrath  <roland@hack.frob.com>
13675         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
13676         level of indirection to members `objname', `errstring', `malloced'.
13677         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
13678         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
13679         it as the __longjmp argument (just pass 1 instead).
13680         (_dl_catch_error): Initialize C with argument pointers and address of
13681         volatile local ERRCODE rather than copying values out of C at return.
13683 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
13685         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
13686         * math/auto-libm-test-out: Regenerated.
13687         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
13688         (hypot_test_data): Likewise.
13689         (pow_test_data): Likewise.
13690         (pow_tonearest_test_data): Likewise.
13691         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13692         mpfr_ff_f.
13693         (func_calc_desc): Add mpfr_ff_f union field.
13694         (FUNC_mpfr_ff_f): New macro.
13695         (test_functions): Add atan2, hypot and pow.
13696         (special_fill_min): New function.
13697         (special_fill_minus_min): Likewise.
13698         (special_fill_min_subnorm): Likewise.
13699         (special_fill_minus_min_subnorm): Likewise.
13700         (special_real_inputs): Add min, -min, min_subnorm and
13701         -min_subnorm.
13702         (calc_generic_results): Handle mpfr_ff_f.
13703         * sysdeps/i386/fpu/libm-test-ulps: Update.
13704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13706 2013-12-16  Will Newton  <will.newton@linaro.org>
13708         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
13709         (Aligned Memory Blocks): Add documentation for aligned_alloc
13710         and suggest it as an alternative to posix_memalign.
13711         (Hooks for Malloc): Document __memalign_hook is also called
13712         for aligned_alloc.  (Summary of Malloc): Add summary for
13713         aligned alloc.  Document __memalign_hook is also called
13714         for aligned_alloc.
13716 2013-12-16  Will Newton  <will.newton@linaro.org>
13718         * manual/memory.texi (Malloc Examples): Clarify default
13719         alignment documentation.  Suggest posix_memalign rather
13720         than memalign or valloc.
13721         (Aligned Memory Blocks): Remove suggestion to use memalign
13722         or valloc.  Remove obsolete comment about BSD.
13723         Document memalign errno values and mark the function obsolete.
13724         Document posix_memalign returned error codes.  Mark valloc
13725         as obsolete.  (Hooks for Malloc): __memalign_hook is also
13726         called for posix_memalign and valloc.
13727         (Summary of Malloc): Add posix_memalign to function summary.
13728         __memalign_hook is also called for posix_memalign and valloc.
13730 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13732         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
13733         TAYLOR_SIN.
13734         (__sin): Adjust.
13735         (__cos): Likewise.
13736         (sloww): Use mynumber union.  Expand ternary operator into
13737         if-else statements.
13738         (cslow): use mynumber union.
13740 2013-12-16  Allan McRae  <allan@archlinux.org>
13742         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
13743         * configure: Regenerated.
13745         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
13747         [BZ #14120]
13748         * configure.ac: Added --enable-maintainer-mode. Check for
13749         autoconf when enabled.
13750         * configure: Regenerated.
13752         * nscd/nscd.service: New file.
13753         * nscd/nscd.tmpfiles: New file.
13755 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
13757         [BZ #12100]
13758         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
13759         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
13760         * sysdeps/x86_64/multiarch/strstr.c: ... here.
13761         (strstr): Add __strstr_sse2_unaligned ifunc.
13762         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
13763         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
13764         (strcasestr): Remove __strcasestr_sse42 ifunc.
13765         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
13766         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13769 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13771         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
13772         * sysdeps/sh/bits/fenv.h: ... here.
13773         * sysdeps/sh/sh4/fpu/bits: Remove directory.
13775 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13777         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
13779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
13780         hypotf multiarch implementations.
13781         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
13782         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
13783         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
13784         multiarch hypot for PPC64.
13785         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
13786         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
13787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
13788         multiarch hypotf for PPC64.
13790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
13791         modff multiarch implementations.
13792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
13793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
13794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
13795         multiarch modf for PPC64.
13796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
13797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
13798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
13799         multiarch modff for PPC64.
13801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
13802         and logl multiarch implementations.
13803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
13804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
13805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
13806         multiarch logb for PPC64.
13807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
13808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
13809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
13810         multiarch logb for PPC64.
13811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
13812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
13813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
13814         multiarch logb for PPC64.
13816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
13817         isinff multiarch implementation.
13818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
13819         file.
13820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
13821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
13822         multiarch isinf for PPC64.
13823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
13824         file.
13825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
13826         multiarch isinff for PPC64.
13828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
13829         finitef multiarch implementation.
13830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
13831         file.
13832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
13833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
13834         multiarch finite for PPC64.
13835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
13836         file.
13837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
13838         multiarch finitef for PPC64.
13840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
13841         lrint multiarch implementation.
13842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
13843         file.
13844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
13845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
13846         multiarch llrint for PPC64.
13847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
13848         multiarch lrint for PPC64.
13850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
13851         copysignf multiarch implementation.
13852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
13853         file.
13854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
13855         file.
13856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
13857         multiarch copysign for PPC64.
13858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
13859         multiarch copysignf for PPC64.
13861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
13862         multiarch implementation.
13863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
13864         file.
13865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
13866         file.
13867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
13868         file.
13869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
13870         file.
13871         multiarch llround for PPC64.
13872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
13873         multiarch trunc for PPC64.
13874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
13875         multiarch truncf for PPC64.
13877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
13878         multiarch implementation.
13879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
13880         file.
13881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
13882         file.
13883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
13884         file.
13885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
13886         file.
13887         multiarch llround for PPC64.
13888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
13889         multiarch round for PPC64.
13890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
13891         multiarch roundf for PPC64.
13893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
13894         multiarch implementation.
13895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
13896         file.
13897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
13898         file.
13899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
13900         file.
13901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
13902         file.
13903         multiarch llround for PPC64.
13904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
13905         multiarch floor for PPC64.
13906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
13907         multiarch floorf for PPC64.
13909         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
13910         multiarch implementation.
13911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
13912         file.
13913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
13914         file.
13915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
13916         file.
13917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
13918         file.
13919         multiarch llround for PPC64.
13920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
13921         multiarch ceil for PPC64.
13922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
13923         multiarch ceilf for PPC64.
13925         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13926         multiarch implementation.
13927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
13928         file.
13929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
13930         file.
13931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
13932         file.
13933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
13934         multiarch llround for PPC64.
13935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
13936         multiarch lround for PPC64.
13938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13939         multiarch implementation.
13940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
13941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
13942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
13943         file.
13944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
13945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
13946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
13947         multiarch isnan for PPC64.
13948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
13949         multiarch isnanf for PPC64.
13951         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
13952         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
13953         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
13954         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
13955         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
13956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
13958         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
13959         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13960         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
13964         multiarch implementations.
13965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13966         (__libc_ifunc_impl_list): Likewise.
13967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
13968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
13969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
13970         multiarch stpcpy for PPC64.
13972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
13973         multiarch implementations.
13974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13975         (__libc_ifunc_impl_list): Likewise.
13976         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
13977         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
13978         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
13979         multiarch strcpy for PPC64.
13981         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
13982         redefine function name.
13983         (_wordcopy_fwd_dest_aligned): Likewise.
13984         (_wordcopy_bwd_aligned): Likewise.
13985         (_wordcopy_bwd_dest_aligned): Likewise.
13986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
13987         multiarch implementations.
13988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13989         (__libc_ifunc_impl_list): Likewise.
13990         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
13991         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
13992         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
13993         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
13994         multiarch wcscpy for PPC64.
13996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
13997         multiarch implementations.
13998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13999         (__libc_ifunc_impl_list): Likewise.
14000         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14001         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14002         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14003         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14004         multiarch wcscpy for PPC64.
14006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14007         multiarch implementations.
14008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14009         (__libc_ifunc_impl_list): Likewise.
14010         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14011         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14012         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14013         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14014         multiarch wcsrchr for PPC64.
14016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14017         multiarch implementations.
14018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14019         (__libc_ifunc_impl_list): Likewise.
14020         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14021         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14022         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14023         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14024         multiarch wcschr for PPC64.
14026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14027         multiarch implementations.
14028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14029         (__libc_ifunc_impl_list): Likewise.
14030         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14031         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14032         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14033         multiarch strchrnul for PPC64.
14035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14036         implementations.
14037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14038         (__libc_ifunc_impl_list): Likewise.
14039         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14040         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14041         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14042         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14043         strchr for PPC64.
14045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14046         implementations.
14047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14048         (__libc_ifunc_impl_list): Likewise.
14049         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14050         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14051         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14052         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14053         strncmp for PPC64.
14055         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14056         multiarch implementations.
14057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14058         (__libc_ifunc_impl_list): Likewise.
14059         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14060         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14061         strncasecmp for PPC64.
14062         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14063         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14064         multiarch strncasecmp_l for PPC64.
14066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14067         multiarch implementations.
14068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14069         (__libc_ifunc_impl_list): Likewise.
14070         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14071         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14072         multiarch strcasecmp for PPC64.
14073         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14074         file.
14075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14076         multiarch strcasecmp_l for PPC64.
14078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14079         implementations.
14080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14081         (__libc_ifunc_impl_list): Likewise.
14082         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14083         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14084         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14085         strnlen for PPC64.
14087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14088         implementations.
14089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14090         (__libc_ifunc_impl_list): Likewise.
14091         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14092         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14093         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14094         strlen for PPC64.
14096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14097         implementations.
14098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14099         (__libc_ifunc_impl_list): Likewise.
14100         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14101         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14102         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14103         rawmemrchr for PPC64.
14105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14106         implementation.
14107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14108         (__libc_ifunc_impl_list): Likewise.
14109         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14110         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14111         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14112         memrchr for PPC64.
14114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14115         implementation.
14116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14117         (__libc_ifunc_impl_list): Likewise.
14118         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14119         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14120         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14121         memchr for PPC64.
14123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14124         implementation.
14125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14126         (__libc_ifunc_impl_list): Likewise.
14127         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14128         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14129         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14130         mempcpy for PPC64.
14132         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14133         avoid cretion of __bzero symbol.
14134         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14135         Likewise.
14136         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14137         Likewise.
14138         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14139         Likewise.
14140         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14141         multiarch implementations.
14142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14143         (__libc_ifunc_impl_list): Likewise.
14144         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14145         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14146         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14147         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14148         bzero for PPC32.
14149         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14150         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14151         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14152         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14153         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14154         memset for PPC64.
14155         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14157         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14159         implementations.
14160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14161         (__libc_ifunc_impl_list): Likewise.
14162         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14163         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14164         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14165         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14166         memcmp for PPC64.
14168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14169         multiarch for POWER/PPC64.
14170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14171         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14172         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14173         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14174         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14175         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14176         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14178         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14179         memcpy for PPC64.
14181         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14182         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14183         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14184         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14185         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14186         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14187         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14188         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14189         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14190         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14191         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14192         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14193         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14194         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14195         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14204 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14206         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14208 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14210         * benchtests/Makefile (bench): Add exp2 and log2.
14211         (LDLIBS-bench-exp2): Add -lm.
14212         (LDLIBS-bench-log2): Likewise.
14213         * benchtests/exp2-inputs: New inputs file.
14214         * benchtests/log2-inputs: New inputs file.
14215         * benchtests/log-inputs: Add new inputs.
14216         * benchtests/tan-inputs: Likewise.
14218 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14220         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14221         definition...
14222         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14223         (csloww2): ... from here.
14225         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
14226         instead of structures.
14227         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
14228         (POLYNOMIAL): Likewise.
14229         (TAYLOR_SLOW): Likewise.
14230         (__sin): Likewise.
14231         (__cos): Likewise.
14232         (slow1): Likewise.
14233         (slow2): Likewise.
14234         (sloww): Likewise.
14235         (sloww1); Likewise.
14236         (sloww2): Likewise.
14237         (bsloww1): Likewise.
14238         (bsloww2): Likewise.
14239         (cslow2): Likewise.
14240         (csloww): Likewise.
14241         (csloww1): Likewise.
14242         (csloww2): Likewise.
14244 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
14246         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
14247         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
14248         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
14249         * malloc/hooks.c (realloc_check): Likewise.
14251         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
14252         * malloc/arena.c: Remove PER_THREAD conditional.
14253         [!PER_THREAD]: Remove code.
14254         (ptmalloc_unlock_all2): Likewise.
14255         (ptmalloc_init): Likewise.
14256         (_int_new_arena): Likewise.
14257         (arena_get2): Likewise.
14258         * malloc/hooks.c (__malloc_get_state): Likewise.
14259         (__malloc_set_state): Likewise.
14260         * malloc/malloc.c: Likewise.
14261         (struct malloc_state): Likewise.
14262         (struct malloc_par): Likewise.
14263         (__libc_realloc): Likewise.
14264         (__libc_mallopt): Likewise.
14266 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14268         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
14270 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
14272         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
14273         macro to a function.  Check for zero perturb_byte.
14274         (_int_malloc, _int_free): Remove zero perturb_byte checks.
14276         * malloc/malloc.c: (force_reg): Remove.
14277         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
14278         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
14279         force_reg by atomic_forced_read.
14280         * malloc/arena.c (ptmalloc_init): Likewise.
14281         * malloc/hooks.c (top_check): Likewise.
14283 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14287 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
14289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14291 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
14293         * math/auto-libm-test-in: Add tests of lgamma.
14294         * math/auto-libm-test-out: Regenerated.
14295         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
14296         (M_LOG_2_SQRT_PIl): Likewise.
14297         (lgamma_test_data): Use AUTO_TESTS_f_f1.
14298         * math/gen-auto-libm-tests.c (func_calc_method): Add value
14299         mpfr_f_f1.
14300         (func_calc_desc): Add mpfr_f_f1 union field.
14301         (ARGS1): New macro.
14302         (ARGS2): Likewise.
14303         (ARGS3): Likewise.
14304         (ARGS4): Likewise.
14305         (RET1): Likewise.
14306         (RET2): Likewise.
14307         (CALC): Likewise.
14308         (FUNC): Likewise.
14309         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
14310         (test_functions): Add lgamma.
14311         (calc_generic_results): Handle mpfr_f_f1.
14312         * sysdeps/i386/fpu/libm-test-ulps: Update.
14313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14315 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14317         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
14318         __mpn_add_n for PowerPC64/POWER7.
14319         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
14320         __mpn_sub_n for PowerPC64/POWER7.
14322         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
14323         __mpn_addmul_1 for PowerPC64.
14324         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
14325         __mpn_submul_1 for PowerPC64.
14326         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
14327         for PowerPC64.
14328         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
14329         for PowerPC64.
14331 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
14333         [BZ #15089]
14334         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
14336 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14338         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
14340         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
14341         add multiarch folders.
14342         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
14343         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
14344         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
14345         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
14346         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
14347         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
14348         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
14349         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
14350         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
14351         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
14352         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
14353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
14354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
14355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
14356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
14357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
14358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
14360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14361         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
14362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
14363         New file.
14364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
14365         New file.
14366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
14367         multiarch __ieee754_hypot for PowerPC32.
14368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
14369         New file.
14370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
14371         New file.
14372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
14373         multiarch __ieee754_hypotf for PowerPC32.
14375         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
14376         long_double_symbol only if __logbl is defined.
14377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
14378         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
14379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
14380         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
14381         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
14382         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
14383         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
14384         path for implementation.
14385         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
14386         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
14387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
14388         logb, and logbl multiarch implementations for PowerPC32.
14389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
14390         file.
14391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
14392         file.
14393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
14394         multiarch logb for PowerPC32.
14395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
14396         file.
14397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
14398         file.
14399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
14400         multiarch logbf for PowerPC32.
14401         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
14402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
14403         file.
14404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
14405         multiarch logbl implementation for PowerPC32.
14407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
14408         and modff multiarch implementations.
14409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
14410         New file.
14411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
14412         New file.
14413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
14414         multiarch modf for PowerPC32.
14415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
14416         New file.
14417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
14418         New file.
14419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
14420         multiarch modff for PowerPC32.
14422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
14423         and lrintf multiarch implementations.
14424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
14425         New file.
14426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
14427         New file.
14428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
14429         multiarch lrint for PowerPC32.
14430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
14431         file: multiarch lrintf for PowerPC32.
14433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
14434         and lroundf multiarch implementations.
14435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
14436         New file.
14437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
14438         New file.
14439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
14440         New file.
14441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
14442         multiarch lround for PowerPC32.
14443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
14444         file: multiarch lroundf for PowerPC32.
14446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
14447         copysign and copysignf multiarch implementations.
14448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
14449         New file.
14450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
14451         New file.
14452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
14453         file: multiarch copysign for PowerPC32.
14454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
14455         file: multiarch copysignf for PowerPC32.
14457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
14458         and truncf multiarch implementations.
14459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
14460         New file.
14461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
14462         file.
14463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
14464         multiarch trunc for PowerPC32.
14465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
14466         New file.
14467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
14468         New file.
14469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
14470         multiarch truncf for PowerPC32.
14472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
14473         and roundf multiarch implementations.
14474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
14475         New file.
14476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
14477         file.
14478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
14479         multiarch round for PowerPC32.
14480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
14481         New file.
14482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
14483         New file.
14484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
14485         multiarch roundf for PowerPC32.
14487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
14488         and floorf multiarch implementations.
14489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
14490         New file.
14491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
14492         file.
14493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
14494         multiarch floor for PowerPC32.
14495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
14496         New file.
14497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
14498         New file.
14499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
14500         multiarch floorf for PowerPC32.
14502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
14503         and ceilf multiarch implementations.
14504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
14505         New file.
14506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
14507         file.
14508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
14509         multiarch ceil for PowerPC32.
14510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
14511         New file.
14512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
14513         file.
14514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
14515         multiarch ceilf for PowerPC32.
14517         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
14518         is defined.
14519         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
14520         FINITEF is defined.
14521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
14522         and finitef multiarch implementations.
14523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
14524         New file.
14525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
14526         file.
14527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
14528         multiarch finite for PowerPC32.
14529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
14530         New file.
14531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
14532         file: multiarch finitef for PowerPC32.
14534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
14535         and isinff multiarch implementations.
14536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
14537         file.
14538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
14539         file.
14540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
14541         multiarch isinf for PowerPC32.
14542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
14543         New file.
14544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
14545         multiarch isinff for PowerPC32.
14547         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
14548         alias when __isnan is defined.
14549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
14550         and isnanf multiarch implementations.
14551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
14552         file.
14553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
14554         file.
14555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
14556         file.
14557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
14558         file.
14559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
14560         multiarch isnan for PowerPC32.
14561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
14562         New file.
14563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
14564         New file.
14565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
14566         multiarch isnanf for PowerPC32.
14568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
14569         and sqrtf multiarch implementations.
14570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
14571         file.
14572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
14573         file.
14574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
14575         multiarch sqrt for PowerPC32.
14576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
14577         file.
14578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
14579         file.
14580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
14581         multiarch sqrtf for PowerPC32.
14583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
14584         and llroundf multiarch implementations.
14585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
14586         New file.
14587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
14588         New file.
14589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
14590         New file.
14591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
14592         file: multiarch llround for PowerPC32.
14593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
14594         file: multiarch llroundf for PowerPC32.
14596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
14597         multiarch PowerPC32 fpu implementations.
14598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
14599         New file.
14600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
14601         New file.
14602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
14603         multiarch llrint for PowerPC32.
14604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
14605         New file.
14606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
14607         New file.
14608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
14609         file.
14611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
14613         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
14614         file.
14615         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
14616         file.
14617         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
14618         file.
14619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
14620         multiarch wordcopy for PPC32.
14621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14622         wordcopy objects.
14623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14624         (__libc_ifunc_impl_list): Likewise.
14625         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
14626         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
14627         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
14628         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
14629         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
14630         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
14632         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
14633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
14634         file.
14635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
14636         file.
14637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
14638         file.
14639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
14640         multiarch wcscpy for PPC32.
14641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
14642         multiarch objects.
14643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14644         (__libc_ifunc_impl_list): Likewise.
14645         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14646         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14647         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
14648         sysdeps/powerpc/power6/wcscpy.c.
14650         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
14651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
14652         file.
14653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
14654         file.
14655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
14656         file.
14657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
14658         multiarch wcsrchr for PPC32.
14659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14660         multiarch objects.
14661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14662         (__libc_ifunc_impl_list): Likewise.
14663         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
14664         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
14665         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
14666         sysdeps/powerpc/power6/wcsrchr.c.
14668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
14669         file.
14670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
14671         file.
14672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
14673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
14674         multiarch wcschr for PPc32.
14675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
14676         multiarch objects.
14677         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14678         (__libc_ifunc_impl_list): Likewise.
14679         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
14680         * sysdeps/powerpc/power6/wcschr.c: ... to here.
14681         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
14682         sysdeps/powerpc/power6/wcschr.c.
14684         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
14685         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
14686         file.
14687         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
14688         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
14689         file: multiarch strchr for PPC32.
14690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
14691         multiarch objects.
14692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14693         (__libc_ifunc_impl_list): Likewise.
14695         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
14696         name.
14697         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
14698         file.
14699         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
14700         file.
14701         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
14702         multiarch strchrnul for PPC32.
14703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
14704         multiarch objects.
14705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14706         (__libc_ifunc_impl_list): Likewise.
14708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
14709         file.
14710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
14711         multiarch strncasecmp for PPC32.
14712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
14713         file.
14714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
14715         multiarch strncasecmp_l for PPC32.
14716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
14717         strncasecmp multiarch objects.
14718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14719         (__libc_ifunc_impl_list): Likewise.
14721         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
14722         file.
14723         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
14724         multiarch strncasecmp for PPC32.
14725         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14726         New file.
14727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
14728         multiarch strcasecmp_l for PPC32.
14729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
14730         multiarch objects.
14731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14732         (__libc_ifunc_impl_list): Likewise.
14734         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
14735         file.
14736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
14737         file.
14738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
14739         multiarch strncmp for PPC32.
14740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
14741         multiarch objects.
14742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14743         (__libc_ifunc_impl_list): Likewise.
14745         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
14746         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
14747         file.
14748         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
14749         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
14750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
14751         multiarch objects.
14752         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14753         (__libc_ifunc_impl_list): Likewise.
14755         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
14756         file.
14757         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
14758         file.
14759         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
14760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
14761         multiarch objects.
14762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14763         (__libc_ifunc_impl_list): Likewise.
14765         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
14766         file.
14767         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
14768         file.
14769         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
14770         multiarch rawmemchr for PPC32.
14771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
14772         multiarch objects.
14773         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14774         (__libc_ifunc_impl_list): Likewise.
14776         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
14777         file.
14778         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
14779         file.
14780         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
14781         file: memrchr multiarch for PPC32.
14782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
14783         multiarch objects.
14784         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
14785         (__libc_ifunc_impl_list): Likewise.
14787         * string/memchr.c (__memchr): Using macro to redefine symbol name.
14788         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
14789         file.
14790         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
14791         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
14792         multiarch memchr for PPC32.
14793         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
14794         multiarch objects.
14795         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14796         (__libc_ifunc_impl_list): Likewise.
14798         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
14799         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
14800         file.
14801         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
14802         file.
14803         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
14804         file: multiarch mempcpy for PPC32.
14805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
14806         multiarch objects.
14807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14808         (__libc_ifunc_impl_list): Likewise.
14810         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
14811         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
14812         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
14813         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
14814         multiarch bzero for PPC32.
14815         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
14816         file.
14817         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
14818         file.
14819         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
14820         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
14821         file: multiarch memset for PPC32.
14822         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
14823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
14824         memset multiarch objects.
14825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14826         (__libc_ifunc_impl_list): Likewise.
14828         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
14829         file.
14830         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
14831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
14832         memcmp for PPC32.
14833         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
14834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
14835         multiarch objects.
14836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14837         (__libc_ifunc_impl_list): Likewise.
14839         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
14840         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
14841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
14842         file.
14843         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
14844         file.
14845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
14846         file.
14847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
14848         multiarch memcpy for PPC32.
14849         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14850         multiarch objects.
14851         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
14852         (__libc_ifunc_impl_list): Likewise.
14854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
14855         support multiarch for POWER/PPC32.
14856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
14857         Likewise.
14858         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
14860         Implies file to make multiarch folder appers before the fpu and
14861         default folder for power4 configuration.
14863 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14865         * scripts/bench.pl: Append volatile keyword to type.
14867 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14869         * sysdeps/sh/sotruss-lib.c: New file.
14870         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
14872 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14876 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
14878         [BZ #6810]
14879         * math/w_tgamma.c: Include <errno.h>.
14880         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
14881         * math/w_tgammaf.c: Include <errno.h>.
14882         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
14883         * math/w_tgammal.c: Include <errno.h>.
14884         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
14885         * math/auto-libm-test-in: Do not allow missing errno on tgamma
14886         underflow.  Add more tgamma tests.
14887         * math/auto-libm-test-out: Regenerated.
14888         * sysdeps/i386/fpu/libm-test-ulps: Update.
14889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14891         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
14892         sin, sinh, tan, tanh, tgamma, y0 and y1.
14893         * math/auto-libm-test-out: Regenerated.
14894         * math/libm-test.inc (TEST_COND_x86_64): New macro.
14895         (TEST_COND_x86): Likewise.
14896         (M_E2l): Remove macro.
14897         (M_E3l): Likewise.
14898         (M_2_SQRT_PIl): Likewise.
14899         (M_SQRT_PIl): Likewise.
14900         (M_1_DIV_El): Likewise.
14901         (log_test_data): Use AUTO_TESTS_f_f.
14902         (log10_test_data): Likewise.
14903         (log1p_test_data): Likewise.
14904         (log2_test_data): Likewise.
14905         (sin_test_data): Likewise.
14906         (sin_tonearest_test_data): Likewise.
14907         (sin_towardzero_test_data): Likewise.
14908         (sin_downward_test_data): Likewise.
14909         (sin_upward_test_data): Likewise.
14910         (sinh_test_data): Likewise.
14911         (sinh_tonearest_test_data): Likewise.
14912         (sinh_towardzero_test_data): Likewise.
14913         (sinh_downward_test_data): Likewise.
14914         (sinh_upward_test_data): Likewise.
14915         (tan_test_data): Likewise.
14916         (tan_tonearest_test_data): Likewise.
14917         (tan_towardzero_test_data): Likewise.
14918         (tan_downward_test_data): Likewise.
14919         (tan_upward_test_data): Likewise.
14920         (tanh_test_data): Likewise.
14921         (tgamma_test_data): Likewise.
14922         (y0_test_data): Likewise.
14923         (y1_test_data): Likewise.
14924         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
14925         (special_real_inputs): Add pi/4.
14926         * sysdeps/i386/fpu/libm-test-ulps: Update.
14927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14929 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14931         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
14932         "longjmp_target" static probes.
14933         (__longjmp): Rename to __longjmp_symbol.
14934         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14935         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
14936         on which longjmp to generate.
14937         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14938         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
14939         probe.
14940         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14941         (__sigjmp_save): Rename to __sigjmp_save_symbol.
14942         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14943         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
14944         and __sigjmp_save_symbol based on which sigsetjmp to generated.
14945         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
14946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
14947         __longjmp_symbol based on which __longjmp to generate.
14948         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
14949         probe.
14950         (setjmp): Rename to setjmp_symbol.
14951         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14952         (_setjmp): Rename to _setjmp_symbol.
14953         (__sigsetjmp): Rename to __sigsetjmp_symbol.
14954         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
14955         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
14956         which setjmp to generate.
14957         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
14958         "longjmp_target" static probes.
14960 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14962         * benchtests/README: Add note about output arguments.
14963         * benchtests/bench-sincos.c: Remove file.
14964         * benchtests/sincos-inputs: New file.
14965         * scripts/bench.pl: Identify output arguments and define
14966         static variables for them.
14968         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
14970         [BZ #15941]
14971         * Makefile (INSTALL): Add install-plain.texi as the primary
14972         dependency.
14973         * manual/install-plain.texi: New file.
14974         * manual/install.texi: Include node directive only for
14975         non-plaintext output.
14977 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
14979         * stdlib/longlong.h: Update from GCC.
14981         [BZ #6807]
14982         [BZ #15901]
14983         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
14984         * math/w_j0f.c (y0f): Likewise.
14985         * math/w_j0l.c (__y0l): Likewise.
14986         * math/w_j1.c (y1): Likewise.
14987         * math/w_j1f.c (y1f): Likewise.
14988         * math/w_j1l.c (__y1l): Likewise
14989         * math/w_jn.c (yn): Likewise.
14990         * math/w_jnf.c (ynf): Likewise.
14991         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
14992         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
14993         value for Bessel function domain errors outside _SVID_ mode.
14994         Adjust sign of return value for yn (negative integer, 0).
14995         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
14996         by zero in return for negative x and set sign appropriately for
14997         negative n.
14998         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
14999         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15000         * math/libm-test.inc (y0_test_data): Add more tests and adjust
15001         expectations in error cases.
15002         (y1_test_data): Likewise.
15003         (yn_test_data): Likewise.
15004         * sysdeps/i386/fpu/libm-test-ulps: Update.
15005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15007 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15009         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15010         "64" to "64-v1".  Add "64-v2".
15011         (abi-64-options): Rename to ...
15012         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
15013         (abi-64-condition): Rename to ...
15014         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
15015         (abi-64-ld-soname): Rename to ...
15016         (abi-64-v1-ld-soname): ... this.
15017         (abi-64-v2-options): Define.
15018         (abi-64-v2-condition): Likewise.
15019         (abi-64-v2-ld-soname): Likewise.
15020         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15021         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15026 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15027             Alan Modra  <amodra@gmail.com>
15029         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15030         New versions for use with the ELFv2 ABI.
15031         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15032         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15033         declaration.
15034         (struct La_ppc64v2_retval): Likewise.
15035         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15036         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15037         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15038         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15039         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15040         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15041         Do not save or restore CR.
15042         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15043         (_dl_profile_resolve): Do no save or restore CR.  Support extended
15044         return values for ELFv2 ABI.  Fix location of FPR return registers.
15045         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15046         updated values for _CALL_ELF == 2.
15047         (La_regs, La_retval, int_retval): Likewise.
15049 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15051         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15052         (FRAME_MIN_SIZE_PARM): Likewise.
15053         (FRAME_BACKCHAIN): Likewise.
15054         (FRAME_CR_SAVE): Likewise.
15055         (FRAME_LR_SAVE): Likewise.
15056         (FRAME_TOC_SAVE): Likewise.
15057         (FRAME_PARM_SAVE): Likewise.
15058         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15059         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15060         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15061         (call_mcount_parm_offset): New macro.
15062         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15063         (PROF): Use symbolic stack frame offsets.
15064         (TAIL_CALL_SYSCALL_ERROR): Likewise.
15065         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15066         Redefine in terms of FRAME_MIN_SIZE.
15067         (_dl_runtime_resolve): Use symbolic stack frame offsets.
15068         (_dl_profile_resolve): Likewise.  Update comment.
15069         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15070         symbols stack frame offsets.
15071         (__sigsetjmp): Likewise.
15072         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15073         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15074         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15075         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15078         (FRAME_BACKCHAIN): Remove.
15079         (FRAME_CR_SAVE): Likewise.
15080         (FRAME_LR_SAVE): Likewise.
15081         (FRAME_COMPILER_DW): Likewise.
15082         (FRAME_LINKER_DW): Likewise.
15083         (FRAME_TOC_SAVE): Likewise.
15084         (FRAME_PARM_SAVE): Likewise.
15085         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15086         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15087         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15089         (CHECK_SP): Use symbolic stack frame offsets.
15090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15091         zone" instead of caller's parameter save area for temp storage.
15092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15093         Likewise.  Also, use symbolic stack frame offsets.
15094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15095         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15096         our own stack frame instead of the caller's.
15097         (__socket): Use symbolic stack frame offsets.
15099 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15100             Alan Modra  <amodra@gmail.com>
15102         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15103         Define.
15104         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15105         (PPC64_LOCAL_ENTRY_OFFSET): Define.
15106         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15107         New function.
15108         (elf_machine_fixup_plt): Call it.
15109         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
15110         reloc arguments.
15111         (elf_machine_rela): Update call to elf_machine_plt_conflict.
15112         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15113         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15114         r2 before calling target.
15116 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15117             Alan Modra  <amodra@gmail.com>
15119         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15120         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15121         versions of macros to support ELFv2 ABI.
15122         (LOCALENTRY): New macro.
15123         (ENTRY, EALIGN): Use it.
15124         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15125         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15126         fall through into ENTRY entry point.
15127         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15128         Only define if _CALL_ELF != 2.
15130         (elf_machine_matches_host): Verify ABI version matches.
15131         (RTLD_START): Use LOCALENTRY.
15132         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15133         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15134         (PLT_ENTRY_WORDS): New macro.
15135         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15136         (elf_machine_runtime_setup): Support ELFv2 ABI.
15137         (elf_machine_fixup_plt): Likewise.
15138         (elf_machine_plt_conflict): Likewise.
15139         (resolve_ifunc): Likewise.
15140         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15141         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15142         Likewise.
15143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15144         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15146         (makecontext): Support ELFv2 ABI.
15147         * elf/elf.h (EF_PPC64_ABI): Define.
15149 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15151         * sysdeps/powerpc/powerpc64/sysdep.h
15152         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15153         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15154         (ENTRY) [ASSEMBLER]: ... but instead here ...
15155         (EALIGN) [ASSEMBLER]: ... and here.
15156         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15157         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15158         (ENTRY_2) [!ASSEMBLER]: Use it.
15159         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15160         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
15161         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15162         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15163         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15165         Use PPC64_LOAD_FUNCPTR.
15167         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15169 2013-12-04  Alan Modra  <amodra@gmail.com>
15171         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15172         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15173         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15174         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15177         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15178         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15179         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15180         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15181         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15183 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
15185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15186         (__makecontext): Fix incorrect CFI when backtracing out of
15187         context created via makecontext.
15188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15189         (__setcontext): Fix incorrect CFI during switch to new context.
15190         (__novec_setcontext): Likewise.
15192 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15194         [BZ #4772]
15195         * time/strptime_l.c (__strptime_internal): Allow modifiers
15196         in strptime.
15197         * time/tst-strptime.c (day_tests): Add testcase.
15199 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15201         * scripts/bench.pl: Skip over blank lines.
15203 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15205         [BZ #926]
15206         * manual/time.texi (Calendar Time): Clarify what timezone functions
15207         use.
15209 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15213 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
15215         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15216         implementation.
15217         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15218         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15219         * debug/memset_chk.c (__memset_chk): Likewise.
15220         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15221         * debug/strncpy_chk.c: Likewise.
15223 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15225         [BZ #15268]
15226         [BZ #15425]
15227         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
15228         (__ieee754_exp): For possibly underflowing results, check size of
15229         result and force underflow exception if required.
15230         * math/auto-libm-test-in: Add more tests of exp.
15231         * math/auto-libm-test-out: Regenerated.
15232         * sysdeps/i386/fpu/libm-test-ulps: Update.
15233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15235         [BZ #16283]
15236         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
15237         * math/w_exp2f.c (__exp2f): Likewise.
15238         * math/w_exp2l.c (__exp2l): Likewise.
15239         * math/auto-libm-test-in: Do not allow missing errno on exp2
15240         underflow.
15241         * math/auto-libm-test-out: Regenerated.
15243 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
15245         [BZ #16274]
15246         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
15247         handle filename validation.
15248         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
15249         (do_open): Delete.
15251 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
15253         [BZ #6786]
15254         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
15255         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
15256         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
15257         <float.h>.
15258         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
15259         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
15260         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15261         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
15262         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15263         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
15264         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
15265         * math/auto-libm-test-in: Don't allow missing errno from erfc.
15266         Add more erfc tests.
15267         * math/auto-libm-test-out: Regenerated.
15268         * sysdeps/i386/fpu/libm-test-ulps: Update.
15269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15271         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
15272         exp2, expm1, j0 and j1.
15273         * math/auto-libm-test-out: Regenerated.
15274         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
15275         (erfc_test_data): Likewise.
15276         (exp_test_data): Likewise.
15277         (exp_tonearest_test_data): Likewise.
15278         (exp_towardzero_test_data): Likewise.
15279         (exp_downward_test_data): Likewise.
15280         (exp_upward_test_data): Likewise.
15281         (exp10_test_data): Likewise.
15282         (exp2_test_data): Likewise.
15283         (expm1_test_data): Likewise.
15284         (j0_test_data): Likewise.
15285         (j1_test_data): Likewise.
15286         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
15287         (input_flag_type): Add flag_xfail_rounding.
15288         (input_flags): Add xfail-rounding.
15289         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
15290         (output_for_one_input_case): Handle flag_xfail_rounding.
15291         * sysdeps/i386/fpu/libm-test-ulps: Update.
15292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15294 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
15296         [BZ #16289]
15297         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
15298         division by 0.
15300 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
15302         [BZ #16195]
15303         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
15304         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
15305         (STAP_PROBE0): New macro.
15306         (STAP_PROBE1): Likewise.
15307         (STAP_PROBE2): Likewise.
15308         (STAP_PROBE3): Likewise.
15309         (STAP_PROBE4): Likewise.
15311 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
15313         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
15315 2013-12-02  Steve Ellcey  <sellcey@mips.com>
15317         * benchtests/Makefile (bench): Add sqrt.
15318         (LDLIBS-bench-sqrt): New.
15319         * benchtests/sqrt-input: New.
15321 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
15323         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
15324         (GAIH_EAI): Likewise.
15325         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
15326         (gaih_inet): Likewise.
15327         (getaddrinfo): Don't use GAIH_EAI.
15329         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
15330         (struct gaih): Remove definition.
15332 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15334         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
15335         Use HERRNOP directly.
15337 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15341 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
15343         * math/gen-auto-libm-tests.c (test_functions): Add more
15344         single-argument functions.
15345         (special_fill_pi_2): New function.
15346         (special_fill_minus_pi_2): Likewise.
15347         (special_fill_pi_6): Likewise.
15348         (special_fill_minus_pi_6): Likewise.
15349         (special_fill_pi_3): Likewise.
15350         (special_fill_2pi_3): Likewise.
15351         (special_fill_e): Likewise.
15352         (special_fill_1_e): Likewise.
15353         (special_fill_e_minus_1): Likewise.
15354         (special_real_inputs): Add more special inputs.
15355         (output_for_one_input_case): Do not require ERANGE on underflow to
15356         zero if round-to-nearest result does not underflow to zero, unless
15357         exact results required.
15358         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
15359         atan, atanh, cbrt, cos and cosh.
15360         * math/auto-libm-test-out: Regenerated.
15361         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
15362         (acos_tonearest_test_data): Likewise.
15363         (acos_towardzero_test_data): Likewise.
15364         (acos_downward_test_data): Likewise.
15365         (acos_upward_test_data): Likewise.
15366         (acosh_test_data): Likewise.
15367         (asin_test_data): Likewise.
15368         (asin_tonearest_test_data): Likewise.
15369         (asin_towardzero_test_data): Likewise.
15370         (asin_upward_test_data): Likewise.
15371         (asinh_test_data): Likewise.
15372         (atan_test_data): Likewise.
15373         (atanh_test_data): Likewise.
15374         (cbrt_test_data): Likewise.
15375         (cos_test_data): Likewise.
15376         (cos_tonearest_test_data): Likewise.
15377         (cos_towardzero_test_data): Likewise.
15378         (cos_downward_test_data): Likewise.
15379         (cos_upward_test_data): Likewise.
15380         (cosh_test_data): Likewise.
15381         (cosh_tonearest_test_data): Likewise.
15382         (cosh_towardzero_test_data): Likewise.
15383         (cosh_downward_test_data): Likewise.
15384         (cosh_upward_test_data): Likewise.
15385         * sysdeps/i386/fpu/libm-test-ulps: Update.
15386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15388 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
15390         [BZ #6787]
15391         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
15392         * math/w_exp10f.c (__exp10f): Likewise.
15393         * math/w_exp10l.c (__exp10l): Likewise.
15394         * math/libm-test.inc (exp10_test_data): Add more tests and expect
15395         errno settings in existing tests.
15397         [BZ #14032]
15398         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
15399         precision control set to double precision.
15400         * sysdeps/i386/fpu/w_sqrt.c: New file.
15401         * math/auto-libm-test-in: Add more tests.
15402         * math/auto-libm-test-out: Update.
15404         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
15405         (sqrt_test_tonearest): New function.
15406         (sqrt_towardzero_test_data): New variable.
15407         (sqrt_test_towardzero): New function.
15408         (sqrt_downward_test_data): New variable.
15409         (sqrt_test_downward): New function.
15410         (sqrt_upward_test_data): New variable.
15411         (sqrt_test_upward): New function.
15412         (main): Call the new functions.
15414         * math/gen-auto-libm-tests.c: New file.
15415         * math/auto-libm-test-in: Likewise.
15416         * math/auto-libm-test-out: New generated file.
15417         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
15418         variables.
15419         (%beautify): Add generated representations of zero.
15420         (top level): Set $auto_input and call parse_auto_input.
15421         (beautify): Remove trailing "f" from hex float constants.
15422         (parse_args): Handle XFAIL_TEST.
15423         (convert_condition): New function.
15424         (or_value): Likewise.
15425         (or_cond_value): Likewise.
15426         (generate_testfile): Handle AUTO_TESTS_* lines.
15427         (parse_auto_input): New function.
15428         * math/libm-test.inc (XFAIL_TEST): New macro.
15429         (ERRNO_UNCHANGED): Update value.
15430         (ERRNO_EDOM): Likewise.
15431         (ERRNO_ERANGE): Likewise.
15432         (IGNORE_RESULT): Likewise.
15433         (TEST_COND_flt_32): New macro.
15434         (TEST_COND_dbl_64): Likewise.
15435         (TEST_COND_ldbl_96_intel): Likewise.
15436         (TEST_COND_ldbl_96_m68k): Likewise.
15437         (TEST_COND_ldbl_128): Likewise.
15438         (TEST_COND_ldbl_128ibm): Likewise.
15439         (TEST_COND_long32): Likewise.
15440         (TEST_COND_long64): Likewise.
15441         (TEST_COND_before_rounding): Likewise.
15442         (TEST_COND_after_rounding): Likewise.
15443         (enable_test): Handle XFAIL_TEST flag.
15444         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
15445         with finite results.
15446         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
15447         auto-libm-test-out.
15449 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15450             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15452         [BZ #16214]
15453         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
15454         __tls_get_addr_internal instead of __tls_get_offset in order to
15455         avoid GOT pointer dependency.  Make rtld export
15456         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
15457         __tls_get_addr since we are a __tls_get_offset platform.
15458         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
15459         GOT pointer being set up before.
15460         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
15462 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
15464         * manual/math.texi (Errors in Math Functions): Document accuracy
15465         goals.
15467         [BZ #15004]
15468         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
15469         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
15470         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15471         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15472         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15473         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15474         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15475         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15476         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15477         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15478         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15479         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15480         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15481         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15482         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15483         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15485         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
15486         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
15487         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
15488         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
15489         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
15490         Likewise.
15491         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
15492         Likewise.
15493         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
15494         Likewise.
15495         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
15496         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
15497         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
15498         atomic-feupdateenv and flt-rounds.
15499         * sysdeps/powerpc/nofpu/Versions (libc): Add
15500         __atomic_feholdexcept, __atomic_feclearexcept,
15501         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
15502         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
15503         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
15504         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
15505         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
15506         here.
15507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15508         Update.
15510         * manual/arith.texi (FP Exceptions): Document that exceptions may
15511         not be raised when matherr is used.
15512         (Math Error Reporting): Document overflow in directed rounding
15513         modes.  Document that errno may not be set when finite values are
15514         returned on overflow.  Document intent to set errno on underflow
15515         only for underflow to zero.
15517         [BZ #16271]
15518         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
15519         round-to-nearest then adjust result for other rounding modes.
15520         * include/fenv.h (fegetround): Use libm_hidden_proto.
15521         * math/fegetround.c (fegetround): Use libm_hidden_def.
15522         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15523         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15524         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15525         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15526         Likewise.
15527         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
15528         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15529         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15530         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
15532 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15534         [BZ #16077]
15535         * nss/Versions (libnss_files): Add
15536         _nss_files_gethostbyname3_r.
15537         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
15538         New function.
15539         (HOST_DB_LOOKUP): Remove macro.
15540         (_nss_files_gethostbyname_r): Implement function without the
15541         HOST_DB_LOOKUP macro.
15542         (_nss_files_gethostbyname2_r): Likewise.
15544 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
15546         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
15548 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
15550         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
15551         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
15552         warning.
15554 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15556         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
15557         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
15558         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15559         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15560         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
15561         __fe_nomask_env_priv and attribute_hidden.
15562         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
15563         (libc_feupdateenv_test_ppc): Likewise.
15564         (libc_feresetround_ppc): Likewise.
15565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15566         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
15567         compat_symbol macro.
15568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15569         (__fe_nomask_env): Likewise.
15570         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
15572 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15574         * string/Makefile: Remove ifunc tests.
15575         * string/test-string.h: Define TEST_IFUNC.
15576         * string/test-bcopy-ifunc.c: Remove.
15577         * string/test-bzero-ifunc.c: Likewise.
15578         * string/test-memccpy-ifunc.c: Likewise.
15579         * string/test-memchr-ifunc.c: Likewise.
15580         * string/test-memcmp-ifunc.c: Likewise.
15581         * string/test-memcpy-ifunc.c: Likewise.
15582         * string/test-memmem-ifunc.c: Likewise.
15583         * string/test-memmove-ifunc.c: Likewise.
15584         * string/test-mempcpy-ifunc.c: Likewise.
15585         * string/test-memrchr-ifunc.c: Likewise.
15586         * string/test-memset-ifunc.c: Likewise.
15587         * string/test-rawmemchr-ifunc.c: Likewise.
15588         * string/test-stpcpy-ifunc.c: Likewise.
15589         * string/test-stpncpy-ifunc.c: Likewise.
15590         * string/test-strcasecmp-ifunc.c: Likewise.
15591         * string/test-strcasestr-ifunc.c: Likewise.
15592         * string/test-strcat-ifunc.c: Likewise.
15593         * string/test-strchr-ifunc.c: Likewise.
15594         * string/test-strchrnul-ifunc.c: Likewise.
15595         * string/test-strcmp-ifunc.c: Likewise.
15596         * string/test-strcpy-ifunc.c: Likewise.
15597         * string/test-strcspn-ifunc.c: Likewise.
15598         * string/test-strlen-ifunc.c: Likewise.
15599         * string/test-strncasecmp-ifunc.c: Likewise.
15600         * string/test-strncat-ifunc.c: Likewise.
15601         * string/test-strncmp-ifunc.c: Likewise.
15602         * string/test-strncpy-ifunc.c: Likewise.
15603         * string/test-strnlen-ifunc.c: Likewise.
15604         * string/test-strpbrk-ifunc.c: Likewise.
15605         * string/test-strrchr-ifunc.c: Likewise.
15606         * string/test-strspn-ifunc.c: Likewise.
15607         * string/test-strstr-ifunc.c: Likewise.
15609 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15611         * benchtests/Makefile: Remove ifunc tests.
15612         * benchtests/bench-string.h: Define TEST_IFUNC.
15613         * benchtests/bench-bcopy-ifunc.c: Remove.
15614         * benchtests/bench-bzero-ifunc.c: Likewise.
15615         * benchtests/bench-memccpy-ifunc.c: Likewise.
15616         * benchtests/bench-memchr-ifunc.c: Likewise.
15617         * benchtests/bench-memcmp-ifunc.c: Likewise.
15618         * benchtests/bench-memcpy-ifunc.c: Likewise.
15619         * benchtests/bench-memmem-ifunc.c: Likewise.
15620         * benchtests/bench-memmove-ifunc.c: Likewise.
15621         * benchtests/bench-mempcpy-ifunc.c: Likewise.
15622         * benchtests/bench-memrchr-ifunc.c: Likewise.
15623         * benchtests/bench-memset-ifunc.c: Likewise.
15624         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
15625         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
15626         * benchtests/bench-stpcpy-ifunc.c: Likewise.
15627         * benchtests/bench-stpncpy-ifunc.c: Likewise.
15628         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
15629         * benchtests/bench-strcasestr-ifunc.c: Likewise.
15630         * benchtests/bench-strcat-ifunc.c: Likewise.
15631         * benchtests/bench-strchr-ifunc.c: Likewise.
15632         * benchtests/bench-strchrnul-ifunc.c: Likewise.
15633         * benchtests/bench-strcmp-ifunc.c: Likewise.
15634         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
15635         * benchtests/bench-strcpy-ifunc.c: Likewise.
15636         * benchtests/bench-strcspn-ifunc.c: Likewise.
15637         * benchtests/bench-strlen-ifunc.c: Likewise.
15638         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
15639         * benchtests/bench-strncat-ifunc.c: Likewise.
15640         * benchtests/bench-strncmp-ifunc.c: Likewise.
15641         * benchtests/bench-strncpy-ifunc.c: Likewise.
15642         * benchtests/bench-strnlen-ifunc.c: Likewise.
15643         * benchtests/bench-strpbrk-ifunc.c: Likewise.
15644         * benchtests/bench-strrchr-ifunc.c: Likewise.
15645         * benchtests/bench-strsep-ifunc.c: Likewise.
15646         * benchtests/bench-strspn-ifunc.c: Likewise.
15647         * benchtests/bench-strstr-ifunc.c: Likewise.
15649 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15651         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
15653 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
15655         * resolv/netdb.h: Use __glibc_reserved instead __unused.
15656         * rt/aio.h: Likewise.
15657         * sysdeps/gnu/bits/utmp.h: Likewise.
15658         * sysdeps/gnu/bits/utmpx.h: Likewise.
15659         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15660         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
15661         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
15662         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
15663         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
15664         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
15665         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
15666         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
15667         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
15668         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
15669         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
15670         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
15671         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
15673         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15674         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
15675         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
15676         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
15677         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
15678         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
15679         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
15680         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
15681         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
15682         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
15683         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
15684         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15685         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
15686         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
15687         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
15688         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
15689         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
15690         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
15691         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
15692         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
15693         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
15694         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
15695         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
15696         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
15697         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
15698         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
15699         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
15700         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15702 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
15704         [BZ #16245]
15705         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
15706         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
15708 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
15710         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
15711         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15712         Likewise.
15714 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15716         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
15717         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
15718         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
15719         (__fesetround): Remove define.
15720         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
15721         rounding and exceptions handling.
15722         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
15723         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
15724         (__fe_nomask_env): Likewise.
15725         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
15726         __fegetround instead of fegetround.
15727         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15728         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15730 2013-11-21  Roland McGrath  <roland@hack.frob.com>
15732         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
15733         it's there.
15735         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
15737 2013-11-21  Meador Inge  <meadori@codesourcery.com>
15739         [BZ #11157]
15740         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
15741         (encrypt_r): Likewise.
15742         * malloc/obstack.h (obstack_free): Likewise.
15743         * posix/unistd.h (encrypt): Likewise.
15745 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
15747         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
15748         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
15749         DL_CALL_DT_FINI() that call the functions directly.
15750         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
15751         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
15752         * elf/dl-fini.c: Likewise.
15754 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
15756         * malloc/hooks.c (memalign_check): Add alignment rounding.
15757         * malloc/malloc.c (_mid_memalign): New function.
15758         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
15759         Implement by calling _mid_memalign.
15760         * manual/probes.texi (Memory Allocation Probes): Remove
15761         memory_valloc_retry and memory_pvalloc_retry.
15763 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15765         * locale/programs/locarchive.c (open_archive): Add const
15766         qualifier to ARCHIVEFNAME and copy default fname to
15767         DEFAULT_FNAME.
15769         [BZ #15601]
15770         * libio/tst-widetext.input: Rename Oriya to Odia.
15771         * locale/iso-639.def: Likewise.
15773         * manual/probes.texi (Mathematical Function Probes): Add
15774         documentation for sin, cos, asin and acos probes.
15775         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
15776         (__sin32): Add slowasin probe.
15777         (__cos32): Add slowacos probe.
15778         (__mpsin): Add slowsin probe.
15779         (__mpcos): Add slowcos probe.
15781 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
15783         [BZ #15483]
15784         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
15785         thread-local __sim_exceptions_thread and global
15786         __sim_exceptions_global.
15787         (__sim_disabled_exceptions): Change to thread-local
15788         __sim_disabled_exceptions_thread and global
15789         __sim_disabled_exceptions_global.
15790         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15791         and global __sim_round_mode_global.
15792         (__simulate_exceptions): Use thread-local floating-point state and
15793         set global state from it as needed.
15794         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
15795         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
15796         __sim_round_mode_thread.
15797         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
15798         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
15799         and global __sim_exceptions_global.
15800         (__sim_disabled_exceptions): Change to thread-local
15801         __sim_disabled_exceptions_thread and global
15802         __sim_disabled_exceptions_global.
15803         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
15804         and global __sim_round_mode_global.
15805         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
15806         (SIM_SET_GLOBAL): Likewise.
15807         * sysdeps/powerpc/soft-fp/sfp-machine.h
15808         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
15809         __sim_round_mode_thread.
15810         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
15811         __sim_disabled_exceptions_thread.
15812         (__sim_exceptions): Change to __sim_exceptions_thread.
15813         (__sim_disabled_exceptions): Change to
15814         __sim_disabled_exceptions_thread.
15815         (__sim_round_mode): Change to __sim_round_mode_thread.
15816         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
15817         thread-local floating-point state and set global state from it as
15818         needed.
15819         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
15820         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
15821         (__sim_disabled_exceptions): Remove extern declaration.
15822         (feenableexcept): Use thread-local floating-point state and set
15823         global state from it as needed.
15824         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
15825         extern declaration.
15826         (__sim_disabled_exceptions): Likewise.
15827         (__sim_round_mode): Likewise.
15828         (__fegetenv): Use thread-local floating-point state.
15829         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
15830         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
15831         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
15832         floating-point state and set global state from it as needed.
15833         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
15834         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
15835         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
15836         Likewise.
15837         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15838         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
15839         Likewise.
15840         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
15841         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
15842         Use __sim_round_mode_thread.
15843         * math/test-fenv-tls.c: New file.
15844         * math/Makefile (tests): Add test-fenv-tls.
15845         ($(objpfx)test-fenv-tls): Depend on
15846         $(common-objpfx)nptl/libpthread.so.
15848 2013-11-19  Andreas Schwab  <schwab@suse.de>
15850         * locale/programs/locale.c (show_info): Decode wordarray elements.
15851         * locale/categories.def (LC_MONETARY): Add element for
15852         _NL_MONETARY_CRNCYSTR.
15853         * locale/C-monetary.c (conversion_rate): New variable.
15854         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
15855         element.
15857 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
15859         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
15860         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
15862 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
15864         * elf/Makefile (tst-auxv): New test.
15865         * elf/tst-auxv.c: New
15866         * elf/rtld.c (dl_main): Adjust AT_EXECFN
15868 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
15870         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
15871         (hidden_proto): Caller changed.
15872         (hidden_tls_proto): New macro.
15873         (libc_hidden_tls_proto): Likewise.
15874         (rtld_hidden_tls_proto): Likewise.
15875         (libm_hidden_tls_proto): Likewise.
15876         (libresolv_hidden_tls_proto): Likewise.
15877         (librt_hidden_tls_proto): Likewise.
15878         (libdl_hidden_tls_proto): Likewise.
15879         (libnss_files_hidden_tls_proto): Likewise.
15880         (libnsl_hidden_tls_proto): Likewise.
15881         (libnss_nisplus_hidden_tls_proto): Likewise.
15882         (libutil_hidden_tls_proto): Likewise.
15884 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
15886         [BZ #10253]
15887         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
15888         (decompose_rpath): Defer expansion to fillin_rpath.
15889         (_dl_init_paths): Pass linkmap to fillin_rpath.
15891 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15893         * benchtests/Makefile: Add strsep.
15894         * benchtests/bench-strsep.c: New file: strsep benchtest.
15895         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
15897 2013-11-18  Andreas Schwab  <schwab@suse.de>
15899         * locale/programs/locale.c (show_info) [case byte]: Check for
15900         '\377' instead of '\177'.
15901         * locale/C-monetary.c (not_available): Always use "\377".
15902         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
15903         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
15904         detect unavailable sign_posn locale elements.
15905         * locale/localeconv.c (__localeconv): For grouping and
15906         mon_grouping handle "\177" and "\377" like no grouping.
15907         (INT_ELEM): New macro.  Use it to set all numeric members.
15908         * locale/programs/ld-monetary.c (monetary_read)
15909         <tok_mon_grouping>: Normalize single -1 to the empty string.
15910         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15911         Likewise.
15913 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
15915         [BZ #16055]
15916         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
15917         when we match (nil).
15918         * stdio-common/tst-sscanf.c (struct test): Add testcase.
15920 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
15922         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
15923         (NO_TEST_INLINE): Update value.
15924         (ERRNO_UNCHANGED): Likewise.
15925         (ERRNO_EDOM): Likewise.
15926         (ERRNO_ERANGE): Likewise.
15927         (IGNORE_RESULT): Likewise.
15928         (check_float_internal): Check signs of NaN results if
15929         TEST_NAN_SIGN used.
15930         (check_complex): Pass TEST_NAN_SIGN flag through to second
15931         check_float_internal call.
15932         (copysign_test_data): Add tests with quiet NaNs as second
15933         argument.  Use TEST_NAN_SIGN.
15934         (fabs_test_data): Add test of negative quiet NaN argument.  Use
15935         TEST_NAN_SIGN.
15936         (signbit_test_data): Add tests of quiet NaN argument.
15937         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
15939         * math/gen-libm-test.pl (show_exceptions): Take extra argument
15940         $ignore_result.
15941         (parse_args): Handle function results specified as IGNORE.
15942         * math/libm-test.inc (IGNORE_RESULT): New macro.
15943         (check_float_internal): Do not check numerical result if flag
15944         IGNORE_RESULT set.
15945         (check_complex): Pass through IGNORE_RESULT to second
15946         check_float_internal call.
15947         (check_int): Do not check numerical result if flag IGNORE_RESULT
15948         set.
15949         (check_long): Likewise.
15950         (check_bool): Likewise.
15951         (check_longlong): Likewise.
15952         (lrint_test_data): Add tests of infinite and NaN arguments.
15953         (lrint_tonearest_test_data): Likewise.
15954         (lrint_towardzero_test_data): Likewise.
15955         (lrint_downward_test_data): Likewise.
15956         (lrint_upward_test_data): Likewise.
15957         (llrint_test_data): Likewise.
15958         (llrint_tonearest_test_data): Likewise.
15959         (llrint_towardzero_test_data): Likewise.
15960         (llrint_downward_test_data): Likewise.
15961         (llrint_upward_test_data): Likewise.
15962         (lround_test_data): Likewise.
15963         (llround_test_data): Likewise.
15965         * math/libm-test.inc (NO_TEST_INLINE): New macro.
15966         (ERRNO_UNCHANGED): Update value.
15967         (ERRNO_EDOM): Likewise.
15968         (ERRNO_ERANGE): Likewise.
15969         (NO_TEST_INLINE_FLOAT): New macro.
15970         (NO_TEST_INLINE_DOUBLE): Likewise.
15971         (enable_test): New function.
15972         (RUN_TEST_f_f): Check enable_test before running test.
15973         (RUN_TEST_2_f): Likewise.
15974         (RUN_TEST_fff_f): Likewise.
15975         (RUN_TEST_c_f): Likewise.
15976         (RUN_TEST_f_f1): Likewise.
15977         (RUN_TEST_fF_f1): Likewise.
15978         (RUN_TEST_fI_f1): Likewise.
15979         (RUN_TEST_ffI_f1): Likewise.
15980         (RUN_TEST_c_c): Likewise.
15981         (RUN_TEST_cc_c): Likewise.
15982         (RUN_TEST_f_i): Likewise.
15983         (RUN_TEST_f_i_tg): Likewise.
15984         (RUN_TEST_ff_i_tg): Likewise.
15985         (RUN_TEST_f_b): Likewise.
15986         (RUN_TEST_f_b_tg): Likewise.
15987         (RUN_TEST_f_l): Likewise.
15988         (RUN_TEST_f_L): Likewise.
15989         (RUN_TEST_fFF_11): Likewise.
15990         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
15991         conditionals.
15992         (cosh_test_data): Likewise.
15993         (exp_test_data): Likewise.
15994         (expm1_test_data): Likewise.
15995         (hypot_test_data): Likewise.
15996         (pow_test_data): Likewise.
15997         (sinh_test_data): Likewise.
15998         (tanh_test_data): Likewise.
15999         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16000         flags argument.
16002         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16003         tests with quiet NaN input and output.
16004         (acosh_test_data): Likewise.
16005         (asin_test_data): Likewise.
16006         (asinh_test_data): Likewise.
16007         (atan_test_data): Likewise.
16008         (atanh_test_data): Likewise.
16009         (atan2_test_data): Likewise.
16010         (cbrt_test_data): Likewise.
16011         (cos_test_data): Likewise.
16012         (cosh_test_data): Likewise.
16013         (erf_test_data): Likewise.
16014         (erfc_test_data): Likewise.
16015         (exp_test_data): Likewise.
16016         (exp10_test_data): Likewise.
16017         (exp2_test_data): Likewise.
16018         (expm1_test_data): Likewise.
16019         (hypot_test_data): Likewise.
16020         (j0_test_data): Likewise.
16021         (j1_test_data): Likewise.
16022         (jn_test_data): Likewise.
16023         (lgamma_test_data): Likewise.
16024         (log_test_data): Likewise.
16025         (log10_test_data): Likewise.
16026         (log1p_test_data): Likewise.
16027         (log2_test_data): Likewise.
16028         (pow_test_data): Likewise.
16029         (scalb_test_data): Likewise.
16030         (sin_test_data): Likewise.
16031         (sincos_test_data): Likewise.
16032         (sinh_test_data): Likewise.
16033         (tan_test_data): Likewise.
16034         (tanh_test_data): Likewise.
16035         (tgamma_test_data): Likewise.
16036         (y0_test_data): Likewise.
16037         (y1_test_data): Likewise.
16038         (yn_test_data): Likewise.
16040         [BZ #16167]
16041         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16042         argument being NaN and avoid computations with second argument in
16043         that case.
16044         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16045         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16046         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16048 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
16050         * locale/iso-639.def: Add Chitwani Tharu (the).
16052 2013-11-14  Andreas Schwab  <schwab@suse.de>
16054         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16055         word instead of empty string.
16057 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16060         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16062         (__fe_nomask_env): Likewise.
16064 2013-11-13  Steve Ellcey  <sellcey@mips.com>
16066         * benchtests/bench-timing.h: Include time.h.
16068 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
16070         [BZ #15997]
16071         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16072         to 3.4.0 for x32.
16073         * sysdeps/unix/sysv/linux/configure: Regenerated.
16075 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
16077         [BZ #16151]
16078         * stdlib/strtod_l.c (round_and_return): Do not consider
16079         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16080         exponent one less than half the least subnormal exponent.
16081         * stdlib/test-strtod-round-data: Add more tests.
16082         * stdlib/tst-strtod-round.c (tests): Regenerated.
16084 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16086         [BZ #14143]
16087         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16088         (__fe_mask_env): Likewise.
16089         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16090         libm_hidden_proto and add function prototype.
16091         (__fe_mask_env): Add function prototype.
16092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16093         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16095         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16097         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16099 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16101         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16102         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16104 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16106         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16107         of htab_find_slot().
16109 2013-11-11  David S. Miller  <davem@davemloft.net>
16111         [BZ #16150]
16112         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16113         symbol in the non-vis3 case in static builds.
16114         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16115         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16116         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16117         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16119 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
16121         [BZ #387]
16122         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16123         it is empty.
16125 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16127         * benchtests/Makefile: Add bench-strtod.
16128         * benchtests/bench-strtod.c: New file: strtod benchtest
16130 2013-11-11  Andreas Schwab  <schwab@suse.de>
16132         [BZ #16153]
16133         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16134         terminating NUL in key length.
16136 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16138         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16139         Add artificial ODP entry for vDSO symbol for PPC64.
16140         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16141         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16143 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
16145         [BZ #15374]
16146         * nss/getent.c (services_keys): Recognize services starting with digit.
16148 2013-11-06  David S. Miller  <davem@davemloft.net>
16150         [BZ #15985]
16151         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16152         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16154 2013-11-06  Will Newton  <will.newton@linaro.org>
16156         * manual/memory.texi (Malloc Examples): Remove register
16157         keyword from examples.
16159 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
16161         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16163 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
16165         [BZ #6981]
16166         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16167         depending on [__GCC_IEC_559 > 0].
16168         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16169         depending on [__GCC_IEC_559_COMPLEX > 0].
16171 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
16173         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16174         to iso-639.def.
16176 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
16178         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16180 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
16182         [BZ #16112]
16183         * malloc/malloc (malloc_info): Do not handle first bin as
16184         special case.
16186 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
16188         * locale/iso-639.def: Add Central Nahuatl (nhn).
16190 2013-11-01  Bruno Haible  <bruno@clisp.org>
16192         [BZ #7003]
16193         * manual/math.texi (BSD Random): Specify range upper bound as
16194         in POSIX.
16196 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
16198         * locale/iso-639.def: Add Meadow Mari (mhr).
16200 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
16202         [BZ #14752], [BZ #15763]
16203         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16204         Validate name.
16205         * rt/tst_shm.c: Add test for escaping directory.
16207 2013-10-31  Andreas Schwab  <schwab@suse.de>
16209         [BZ #15917]
16210         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16211         followed by 'x' as part of digit sequence.
16212         * stdio-common/tst-sscanf.c (double_tests2): New tests.
16214 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16216         [BZ #16037]
16217         * configure.ac: allow GNU Make 4.0 and greater.
16218         * configure: Regenerated.
16220 2013-10-30  Will Newton  <will.newton@linaro.org>
16222         [BZ #16038]
16223         * malloc/hooks.c (memalign_check): Limit alignment to the
16224         maximum representable power of two.
16225         * malloc/malloc.c (__libc_memalign): Likewise.
16226         * malloc/tst-memalign.c (do_test): Add test for very
16227         large alignment values.
16228         * malloc/tst-posix_memalign.c (do_test): Likewise.
16230 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16232         [BZ #11087]
16233         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
16234         (munmap_chunk): Likewise.
16235         (mremap_chunk): Likewise.
16237 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
16239         [BZ #15799]
16240         * stdlib/div.c (div): Remove obsolete code.
16241         * stdlib/ldiv.c (ldiv): Likewise.
16242         * stdlib/lldiv.c (lldiv): Likewise.
16244 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16246         [BZ #16071]
16247         * nss/nss_files/files-XXX.c (get_contents_ret): New
16248         enumerator.
16249         (get_contents): New function.
16250         (internal_getent): Use it.  Expand size of LINEBUFLEN.
16252 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
16254         * configure.in: Moved to ...
16255         * configure.ac: ... here. Change reference to configure.in
16256         to configure.ac.
16257         * sysdeps/arm/preconfigure.ac: ... here.
16258         configure.in to configure.ac.
16259         * sysdeps/gnu/configure.in: Moved to ...
16260         * sysdeps/gnu/configure.ac: ... here.
16261         * sysdeps/i386/configure.in: Moved to ...
16262         * sysdeps/i386/configure.ac: ... here.
16263         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
16264         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
16265         * sysdeps/mach/configure.in: Moved to ...
16266         * sysdeps/mach/configure.ac: ... here.
16267         * sysdeps/mach/hurd/configure.in: Moved to ...
16268         * sysdeps/mach/hurd/configure.ac: ... here.
16269         * sysdeps/powerpc/configure.in: Moved to ...
16270         * sysdeps/powerpc/configure.ac: ... here.
16271         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
16272         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
16273         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
16274         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
16275         * sysdeps/s390/s390-32/configure.in: Moved to ...
16276         * sysdeps/s390/s390-32/configure.ac: ... here.
16277         * sysdeps/s390/s390-64/configure.in: Moved to ...
16278         * sysdeps/s390/s390-64/configure.ac: ... here.
16279         * sysdeps/sh/configure.in: Moved to ...
16280         * sysdeps/sh/configure.ac: ... here.
16281         * sysdeps/sparc/configure.in: Moved to ...
16282         * sysdeps/sparc/configure.ac: ... here.
16283         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
16284         * sysdeps/unix/sysv/linux/configure.ac: ... here.
16285         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
16286         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
16287         * sysdeps/x86_64/configure.in: Moved to ...
16288         * sysdeps/x86_64/configure.ac: ... here.
16289         * sysdeps/x86_64/preconfigure.in: Moved to ...
16290         * sysdeps/x86_64/preconfigure.ac: ... here.
16291         * aclocal.m4: Change reference to configure.in to configure.ac.
16292         * config.h.in: Likewise.
16293         * manual/install.texi: Likewise.
16294         * manual/maint.texi: Likewise.
16295         * Makefile: Likewise.
16296         * malloc/Makefile: Likewise.
16297         * nscd/Makefile: Likewise.
16298         * Makeconfig: Change reference to configure.in and
16299         preconfigure.in to configure.ac and preconfigure.ac
16300         respectively.
16301         * INSTALL: Regenerated.
16302         * configure: Likewise.
16303         * sysdeps/gnu/configure: Likewise.
16304         * sysdeps/i386/configure: Likewise.
16305         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
16306         * sysdeps/mach/configure: Likewise.
16307         * sysdeps/mach/hurd/configure: Likewise.
16308         * sysdeps/powerpc/configure: Likewise.
16309         * sysdeps/powerpc/powerpc32/configure: Likewise.
16310         * sysdeps/powerpc/powerpc64/configure: Likewise.
16311         * sysdeps/s390/s390-32/configure: Likewise.
16312         * sysdeps/s390/s390-64/configure: Likewise.
16313         * sysdeps/sh/configure: Likewise.
16314         * sysdeps/sparc/configure: Likewise.
16315         * sysdeps/unix/sysv/linux/configure: Likewise.
16316         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
16317         * sysdeps/x86_64/configure: Likewise.
16318         * sysdeps/x86_64/preconfigure: Likewise.
16320 2013-10-29  Andreas Schwab  <schwab@suse.de>
16322         * stdio-common/Makefile (tst-swscanf-ENV): Define.
16324 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16326         * benchtests/pow-inputs: Add new inputs.
16328         * benchtests/exp-inputs: Add new inputs.
16330         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
16331         conditional check for return value.
16332         (__cos32): Likewise.
16334 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16336         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
16337         to provide a boost for large inputs with word alignment.
16338         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16339         implementation based on optimized PPC64 strcpy.
16340         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
16341         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
16342         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
16343         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
16345 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16347         [BZ #2801]
16348         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
16350 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16352         [BZ #14876]
16353         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
16354         * time/tst-strptime.c (day_tests): Add testcase.
16356 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
16358         [BZ #14029]
16359         * manual/pattern.texi: Acknowledge that fnmatch can fail.
16361 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
16363         [BZ #16074]
16364         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
16365         MAP_FAILED on error.
16367 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16369         [BZ #16072]
16370         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
16371         heap for large requests.
16373 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
16375         [BZ #9954]
16376         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
16377         result if the result has no associated interface.
16378         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
16379         interface for all 127.X.Y.Z addresses.
16381 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
16383         * locale/iso-639.def: Add Ligurian (lij)
16385 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
16387         [BZ #15825]
16388         * sunrpc/rpc_main.c: Document rpcgen -5.
16390 2013-10-19  Michael Stahl  <mstahl@redhat.com>
16392         * elf/rtld.c (do_preload): Print the reason why preloading failed.
16394 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16396         [BZ #10278]
16397         * posix/glob.c: Match only directories when trailing slash is present.
16398         * posix/tst-gnuglob.c (my_opendir): Do not open files.
16399         (main): Add testcase.
16401 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
16403         [BZ #15670]
16404         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
16406 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
16408         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
16409         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
16410         AUTH_DES and cindex for FIPS 140-2.
16411         (DES Encryption): Add cindex FIPS 46-3.
16413         * locale/locarchive.h (struct locarhandle): Add fname.
16414         * locale/programs/localedef.c (main): Pass ARGV[remaining]
16415         if an optional argument was specified to --list-archive,
16416         otherwise NULL.
16417         * locale/programs/locarchive.c (show_archive_content): Take new
16418         argument fname and pass it via ah.fname to open_archive.
16419         * locale/programs/localedef.h: Update decl.
16420         (open_archive): If AH->fname is non-null, open that file
16421         rather than the default file name, and don't ignore ENOENT.
16422         (create_archive): Set AH.fname to NULL.
16423         (delete_locales_from_archive): Likewise.
16424         (add_locales_to_archive): Likewise.
16425         * locale/programs/locfile.c (write_all_categories): Likewise.
16427 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
16428             Aldy Hernandez  <aldyh@redhat.com>
16430         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
16431         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
16432         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
16433         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
16434         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
16435         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
16436         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
16437         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
16438         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
16439         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
16440         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
16441         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
16442         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
16443         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
16444         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
16445         Likewise.
16446         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
16447         Likewise.
16448         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
16449         Likewise.
16450         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
16451         Likewise.
16452         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
16453         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
16454         Likewise.
16455         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
16456         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
16457         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
16458         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
16459         Likewise.
16460         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
16461         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
16462         * sysdeps/powerpc/preconfigure: Likewise.
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
16464         Likewise.
16465         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
16466         Replace contents of file by #include of <fenv_libc.h>.
16467         * sysdeps/powerpc/soft-fp/sfp-machine.h
16468         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
16469         and <sys/prctl.h>.
16470         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
16471         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
16472         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
16473         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
16474         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
16475         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
16476         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
16477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
16478         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
16479         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
16480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
16481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
16482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16483         Allow copysignl PLT reference to be missing.
16485 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
16486             Joseph Myers  <joseph@codesourcery.com
16488         [BZ #15948]
16489         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
16490         single character.
16491         (add_to_tablewc): Assert sequence of wide characters is nonempty.
16493 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16495         * elf/tst-tls-dlinfo.c: Don't include tls.h.
16496         * elf/tst-tls1.c: Likewise.
16497         * elf/tst-tls10.h: Likewise.
16498         * elf/tst-tls14.c: Likewise.
16499         * elf/tst-tls2.c: Likewise.
16500         * elf/tst-tls3.c: Likewise.
16501         * elf/tst-tls4.c: Likewise.
16502         * elf/tst-tls5.c: Likewise.
16503         * elf/tst-tls6.c: Likewise.
16504         * elf/tst-tls7.c: Likewise.
16505         * elf/tst-tls8.c: Likewise.
16506         * elf/tst-tls9.c: Likewise.
16507         * elf/tst-tlsmod1.c: Likewise.
16508         * elf/tst-tlsmod13.c: Likewise.
16509         * elf/tst-tlsmod13a.c: Likewise.
16510         * elf/tst-tlsmod14a.c: Likewise.
16511         * elf/tst-tlsmod16a.c: Likewise.
16512         * elf/tst-tlsmod16b.c: Likewise.
16513         * elf/tst-tlsmod2.c: Likewise.
16514         * elf/tst-tlsmod3.c: Likewise.
16515         * elf/tst-tlsmod4.c: Likewise.
16516         * elf/tst-tlsmod5.c: Likewise.
16517         * elf/tst-tlsmod6.c: Likewise.
16519 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
16521         [BZ #12486]
16522         * malloc/malloc.c: remove checks for statistics.
16524 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16526         [BZ #15277]
16527         * inet/inet_net.c (inet_network): Detect additional invalid strings.
16528         * inet/tst-network.c: Add testcase.
16530 2013-10-17  Andreas Schwab  <schwab@suse.de>
16532         [BZ #15218]
16533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
16534         to determine canonical name.
16536 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
16538         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
16539         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
16540         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
16541         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16542         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16543         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16544         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16545         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16546         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16547         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16548         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16549         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16550         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16551         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16552         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16553         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16554         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16555         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16556         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
16557         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16558         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16560         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16561         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
16562         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
16563         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
16564         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
16565         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
16566         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
16567         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
16568         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16569         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
16570         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
16571         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
16572         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16573         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16574         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16575         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16576         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16577         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16578         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16579         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
16580         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
16581         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16582         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
16583         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16584         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16585         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
16586         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
16587         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16588         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
16589         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
16590         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16591         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
16592         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
16593         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
16594         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
16595         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16597 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
16599         [BZ #16041]
16600         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
16601         make result into a quiet NaN.
16603 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
16605         * soft-fp/adddf3.c: Fix horizontal whitespace.
16606         * soft-fp/addsf3.c: Likewise.
16607         * soft-fp/addtf3.c: Likewise.
16608         * soft-fp/divdf3.c: Likewise.
16609         * soft-fp/divsf3.c: Likewise.
16610         * soft-fp/divtf3.c: Likewise.
16611         * soft-fp/double.h: Likewise.
16612         * soft-fp/eqdf2.c: Likewise.
16613         * soft-fp/eqsf2.c: Likewise.
16614         * soft-fp/eqtf2.c: Likewise.
16615         * soft-fp/extenddftf2.c: Likewise.
16616         * soft-fp/extended.h: Likewise.
16617         * soft-fp/extendsfdf2.c: Likewise.
16618         * soft-fp/extendsftf2.c: Likewise.
16619         * soft-fp/extendxftf2.c: Likewise.
16620         * soft-fp/fixdfdi.c: Likewise.
16621         * soft-fp/fixdfsi.c: Likewise.
16622         * soft-fp/fixdfti.c: Likewise.
16623         * soft-fp/fixsfdi.c: Likewise.
16624         * soft-fp/fixsfsi.c: Likewise.
16625         * soft-fp/fixsfti.c: Likewise.
16626         * soft-fp/fixtfdi.c: Likewise.
16627         * soft-fp/fixtfsi.c: Likewise.
16628         * soft-fp/fixtfti.c: Likewise.
16629         * soft-fp/fixunsdfdi.c: Likewise.
16630         * soft-fp/fixunsdfsi.c: Likewise.
16631         * soft-fp/fixunsdfti.c: Likewise.
16632         * soft-fp/fixunssfdi.c: Likewise.
16633         * soft-fp/fixunssfsi.c: Likewise.
16634         * soft-fp/fixunssfti.c: Likewise.
16635         * soft-fp/fixunstfdi.c: Likewise.
16636         * soft-fp/fixunstfsi.c: Likewise.
16637         * soft-fp/fixunstfti.c: Likewise.
16638         * soft-fp/floatdidf.c: Likewise.
16639         * soft-fp/floatdisf.c: Likewise.
16640         * soft-fp/floatditf.c: Likewise.
16641         * soft-fp/floatsidf.c: Likewise.
16642         * soft-fp/floatsisf.c: Likewise.
16643         * soft-fp/floatsitf.c: Likewise.
16644         * soft-fp/floattidf.c: Likewise.
16645         * soft-fp/floattisf.c: Likewise.
16646         * soft-fp/floattitf.c: Likewise.
16647         * soft-fp/floatundidf.c: Likewise.
16648         * soft-fp/floatundisf.c: Likewise.
16649         * soft-fp/floatunditf.c: Likewise.
16650         * soft-fp/floatunsidf.c: Likewise.
16651         * soft-fp/floatunsisf.c: Likewise.
16652         * soft-fp/floatunsitf.c: Likewise.
16653         * soft-fp/floatuntidf.c: Likewise.
16654         * soft-fp/floatuntisf.c: Likewise.
16655         * soft-fp/floatuntitf.c: Likewise.
16656         * soft-fp/fmadf4.c: Likewise.
16657         * soft-fp/fmasf4.c: Likewise.
16658         * soft-fp/fmatf4.c: Likewise.
16659         * soft-fp/gedf2.c: Likewise.
16660         * soft-fp/gesf2.c: Likewise.
16661         * soft-fp/getf2.c: Likewise.
16662         * soft-fp/ledf2.c: Likewise.
16663         * soft-fp/lesf2.c: Likewise.
16664         * soft-fp/letf2.c: Likewise.
16665         * soft-fp/muldf3.c: Likewise.
16666         * soft-fp/mulsf3.c: Likewise.
16667         * soft-fp/multf3.c: Likewise.
16668         * soft-fp/negdf2.c: Likewise.
16669         * soft-fp/negsf2.c: Likewise.
16670         * soft-fp/negtf2.c: Likewise.
16671         * soft-fp/op-1.h: Likewise.
16672         * soft-fp/op-2.h: Likewise.
16673         * soft-fp/op-4.h: Likewise.
16674         * soft-fp/op-8.h: Likewise.
16675         * soft-fp/op-common.h: Likewise.
16676         * soft-fp/quad.h: Likewise.
16677         * soft-fp/single.h: Likewise.
16678         * soft-fp/soft-fp.h: Likewise.
16679         * soft-fp/sqrtdf2.c: Likewise.
16680         * soft-fp/sqrtsf2.c: Likewise.
16681         * soft-fp/sqrttf2.c: Likewise.
16682         * soft-fp/subdf3.c: Likewise.
16683         * soft-fp/subsf3.c: Likewise.
16684         * soft-fp/subtf3.c: Likewise.
16685         * soft-fp/truncdfsf2.c: Likewise.
16686         * soft-fp/trunctfdf2.c: Likewise.
16687         * soft-fp/trunctfsf2.c: Likewise.
16688         * soft-fp/trunctfxf2.c: Likewise.
16689         * soft-fp/unorddf2.c: Likewise.
16690         * soft-fp/unordsf2.c: Likewise.
16691         * soft-fp/unordtf2.c: Likewise.
16693 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
16695         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
16696         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
16698 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
16700         * elf/dl-libc.c: Clear initfini list after freeing.
16702 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
16704         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
16705         * soft-fp/addsf3.c: Likewise.
16706         * soft-fp/addtf3.c: Likewise.
16707         * soft-fp/divdf3.c: Likewise.
16708         * soft-fp/divsf3.c: Likewise.
16709         * soft-fp/divtf3.c: Likewise.
16710         * soft-fp/double.h: Likewise.
16711         * soft-fp/eqdf2.c: Likewise.
16712         * soft-fp/eqsf2.c: Likewise.
16713         * soft-fp/eqtf2.c: Likewise.
16714         * soft-fp/extenddftf2.c: Likewise.
16715         * soft-fp/extended.h: Likewise.
16716         * soft-fp/extendsfdf2.c: Likewise.
16717         * soft-fp/extendsftf2.c: Likewise.
16718         * soft-fp/extendxftf2.c: Likewise.
16719         * soft-fp/fixdfdi.c: Likewise.
16720         * soft-fp/fixdfsi.c: Likewise.
16721         * soft-fp/fixdfti.c: Likewise.
16722         * soft-fp/fixsfdi.c: Likewise.
16723         * soft-fp/fixsfsi.c: Likewise.
16724         * soft-fp/fixsfti.c: Likewise.
16725         * soft-fp/fixtfdi.c: Likewise.
16726         * soft-fp/fixtfsi.c: Likewise.
16727         * soft-fp/fixtfti.c: Likewise.
16728         * soft-fp/fixunsdfdi.c: Likewise.
16729         * soft-fp/fixunsdfsi.c: Likewise.
16730         * soft-fp/fixunsdfti.c: Likewise.
16731         * soft-fp/fixunssfdi.c: Likewise.
16732         * soft-fp/fixunssfsi.c: Likewise.
16733         * soft-fp/fixunssfti.c: Likewise.
16734         * soft-fp/fixunstfdi.c: Likewise.
16735         * soft-fp/fixunstfsi.c: Likewise.
16736         * soft-fp/fixunstfti.c: Likewise.
16737         * soft-fp/floatdidf.c: Likewise.
16738         * soft-fp/floatdisf.c: Likewise.
16739         * soft-fp/floatditf.c: Likewise.
16740         * soft-fp/floatsidf.c: Likewise.
16741         * soft-fp/floatsisf.c: Likewise.
16742         * soft-fp/floatsitf.c: Likewise.
16743         * soft-fp/floattidf.c: Likewise.
16744         * soft-fp/floattisf.c: Likewise.
16745         * soft-fp/floattitf.c: Likewise.
16746         * soft-fp/floatundidf.c: Likewise.
16747         * soft-fp/floatundisf.c: Likewise.
16748         * soft-fp/floatunsidf.c: Likewise.
16749         * soft-fp/floatunsisf.c: Likewise.
16750         * soft-fp/floatuntidf.c: Likewise.
16751         * soft-fp/floatuntisf.c: Likewise.
16752         * soft-fp/floatuntitf.c: Likewise.
16753         * soft-fp/fmadf4.c: Likewise.
16754         * soft-fp/fmasf4.c: Likewise.
16755         * soft-fp/fmatf4.c: Likewise.
16756         * soft-fp/gedf2.c: Likewise.
16757         * soft-fp/gesf2.c: Likewise.
16758         * soft-fp/getf2.c: Likewise.
16759         * soft-fp/ledf2.c: Likewise.
16760         * soft-fp/lesf2.c: Likewise.
16761         * soft-fp/letf2.c: Likewise.
16762         * soft-fp/muldf3.c: Likewise.
16763         * soft-fp/mulsf3.c: Likewise.
16764         * soft-fp/multf3.c: Likewise.
16765         * soft-fp/negdf2.c: Likewise.
16766         * soft-fp/negsf2.c: Likewise.
16767         * soft-fp/negtf2.c: Likewise.
16768         * soft-fp/op-1.h: Likewise.
16769         * soft-fp/op-2.h: Likewise.
16770         * soft-fp/op-4.h: Likewise.
16771         * soft-fp/op-8.h: Likewise.
16772         * soft-fp/op-common.h: Likewise.
16773         * soft-fp/quad.h: Likewise.
16774         * soft-fp/single.h: Likewise.
16775         * soft-fp/soft-fp.h: Likewise.
16776         * soft-fp/sqrtdf2.c: Likewise.
16777         * soft-fp/sqrtsf2.c: Likewise.
16778         * soft-fp/sqrttf2.c: Likewise.
16779         * soft-fp/subdf3.c: Likewise.
16780         * soft-fp/subsf3.c: Likewise.
16781         * soft-fp/subtf3.c: Likewise.
16782         * soft-fp/truncdfsf2.c: Likewise.
16783         * soft-fp/trunctfdf2.c: Likewise.
16784         * soft-fp/trunctfsf2.c: Likewise.
16785         * soft-fp/trunctfxf2.c: Likewise.
16786         * soft-fp/unorddf2.c: Likewise.
16787         * soft-fp/unordsf2.c: Likewise.
16788         * soft-fp/unordtf2.c: Likewise.
16790 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
16792         [BZ #15672]
16793         * misc/error.c (error_tail): Fix possible buffer overflow.
16795 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
16797         [BZ #13028]
16798         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
16799         address.
16801 2013-10-14  P. J. McDermott  <pj@pehjota.net>
16803         [BZ #832]
16804         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
16805         testing pipefail option.
16807 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16809         * soft-fp/double.h: Indent preprocessor directives inside #if.
16810         * soft-fp/extended.h: Likewise.
16811         * soft-fp/op-2.h: Likewise.
16812         * soft-fp/op-4.h: Likewise.
16813         * soft-fp/op-common.h: Likewise.
16814         * soft-fp/quad.h: Likewise.
16815         * soft-fp/single.h: Likewise.
16816         * soft-fp/soft-fp.h: Likewise.
16818 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
16820         * iconv/iconv_prog.c: Fix typos.
16821         * stdio-common/psiginfo-data.h: Likewise.
16823 2013-10-12   Reuben Thomas <rrt@sc3d.org>
16825         [BZ #15764]
16826         * locale/setlocale.c: Fix typo.
16828 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
16830         [BZ #16036]
16831         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
16832         signaling NaN arguments.
16833         * soft-fp/unordsf2.c (__unordsf2): Likewise.
16834         * soft-fp/unordtf2.c (__unordtf2): Likewise.
16836         [BZ #14910]
16837         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
16838         unordered operands.
16839         * soft-fp/gesf2.c (__gesf2): Likewise.
16840         * soft-fp/getf2.c (__getf2): Likewise.
16841         * soft-fp/ledf2.c (__ledf2): Likewise.
16842         * soft-fp/lesf2.c (__lesf2): Likewise.
16843         * soft-fp/letf2.c (__letf2): Likewise.
16845         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
16846         * soft-fp/eqsf2.c (__eqsf2): Likewise.
16847         * soft-fp/eqtf2.c (__eqtf2): Likewise.
16848         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
16849         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
16850         * soft-fp/fixdfti.c (__fixdfti): Likewise.
16851         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
16852         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
16853         * soft-fp/fixsfti.c (__fixsfti): Likewise.
16854         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
16855         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
16856         * soft-fp/fixtfti.c (__fixtfti): Likewise.
16857         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
16858         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
16859         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
16860         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
16861         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
16862         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
16863         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
16864         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
16865         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
16866         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
16867         * soft-fp/floatdisf.c (__floatdisf): Likewise.
16868         * soft-fp/floatsisf.c (__floatsisf): Likewise.
16869         * soft-fp/floattidf.c (__floattidf): Likewise.
16870         * soft-fp/floattisf.c (__floattisf): Likewise.
16871         * soft-fp/floattitf.c (__floattitf): Likewise.
16872         * soft-fp/floatundidf.c (__floatundidf): Likewise.
16873         * soft-fp/floatundisf.c (__floatundisf): Likewise.
16874         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
16875         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
16876         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
16877         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
16878         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
16879         * soft-fp/gesf2.c (__gesf2): Likewise.
16880         * soft-fp/getf2.c (__getf2): Likewise.
16881         * soft-fp/ledf2.c (__ledf2): Likewise.
16882         * soft-fp/lesf2.c (__lesf2): Likewise.
16883         * soft-fp/letf2.c (__letf2): Likewise.
16885         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
16886         Undefine and redefine.
16887         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
16888         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
16889         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
16890         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
16891         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16892         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
16893         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16894         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
16895         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16896         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
16897         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16898         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
16899         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16900         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
16901         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
16903         [BZ #16032]
16904         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
16905         without decrementing exponent if mantissa >= that for the
16906         denominator, not >.
16907         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
16908         denominator, not >.  Decrement exponent in < case instead of
16909         incrementing in >= case.
16910         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
16911         without decrementing exponent if mantissa >= that for the
16912         denominator, not >.
16914         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
16915         computing saturated result for unsigned overflow.
16917 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16918             Jeff Law  <law@redhat.com>
16920         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
16921         (atan2Mp): Add systemtap probe marker.
16922         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
16923         (__ieee754_log): Add systemtap probe marker.
16924         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
16925         (atanMp): Add systemtap probe marker.
16926         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
16927         (tanMp): Add systemtap probe marker.
16928         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
16929         (__slowexp): Add systemtap probe marker.
16930         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
16931         (__slowpow): Add systemtap probe marker.
16932         * manual/probes.texi: Document probes.
16934 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
16936         [BZ #15362]
16937         * libio/fileops.c (_IO_new_file_write): Return count of bytes
16938         written.
16939         (_IO_new_file_xsputn): Don't return EOF if nothing has been
16940         written.
16941         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
16942         written to buffer but not flushed.
16943         * libio/iofwrite_u.c:  Likewise.
16944         * libio/iopadn.c:  Return bytes returned even if EOF was
16945         encountered.
16946         * libio/iowpadn.c:  Likewise.
16947         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
16948         if _IO_padn does not write the whole buffer.
16949         [!COMPILE_WPRINTF] (PAD): Likewise.
16951 2013-10-10  David S. Miller  <davem@davemloft.net>
16953         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
16954         directory block.
16956 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
16958         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
16959         instead of FSF address.
16960         * soft-fp/fixdfti.c: Likewise.
16961         * soft-fp/fixsfti.c: Likewise.
16962         * soft-fp/fixtfti.c: Likewise.
16963         * soft-fp/fixunsdfti.c: Likewise.
16964         * soft-fp/fixunssfti.c: Likewise.
16965         * soft-fp/fixunstfti.c: Likewise.
16966         * soft-fp/floattidf.c: Likewise.
16967         * soft-fp/floattisf.c: Likewise.
16968         * soft-fp/floattitf.c: Likewise.
16969         * soft-fp/floatuntidf.c: Likewise.
16970         * soft-fp/floatuntisf.c: Likewise.
16971         * soft-fp/floatuntitf.c: Likewise.
16972         * soft-fp/trunctfxf2.c: Likewise.
16974         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
16975         * soft-fp/fixdfti.c: Likewise.
16976         * soft-fp/fixsfti.c: Likewise.
16977         * soft-fp/fixtfti.c: Likewise.
16978         * soft-fp/fixunsdfti.c: Likewise.
16979         * soft-fp/fixunssfti.c: Likewise.
16980         * soft-fp/fixunstfti.c: Likewise.
16981         * soft-fp/floattidf.c: Likewise.
16982         * soft-fp/floattisf.c: Likewise.
16983         * soft-fp/floattitf.c: Likewise.
16984         * soft-fp/floatuntidf.c: Likewise.
16985         * soft-fp/floatuntisf.c: Likewise.
16986         * soft-fp/floatuntitf.c: Likewise.
16987         * soft-fp/trunctfxf2.c: Likewise.
16989 2013-10-10  David S. Miller  <davem@davemloft.net>
16991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16993 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
16995         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16996         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
16997         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
16998         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
16999         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17000         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17001         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17004         for NaNs before doing comparisons on argument.
17005         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17006         Likewise.
17008 2013-10-10  Will Newton  <will.newton@linaro.org>
17010         * malloc/hooks.c (memalign_check): Ensure the value of bytes
17011         passed to _int_memalign does not overflow.
17013 2013-10-10  Torvald Riegel  <triegel@redhat.com>
17015         * scripts/bench.pl: Add include-sources directive.
17016         * benchtests/README: Update documentation.
17018 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
17020         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17021         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17022         instead of FP_INIT_ROUNDMODE.
17023         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17024         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17026         [BZ #16034]
17027         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
17028         copy class of input value.
17029         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
17030         not handle exceptions.
17031         * soft-fp/negsf2.c (__negsf2): Likewise.
17032         * soft-fp/negtf2.c (__negtf2): Likewise.
17033         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17035 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
17037         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17038         semicolon.  From Linux kernel.
17040 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
17042         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17044 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
17046         [BZ #156]
17047         * manual/socket.texi: Added statement about buffer
17048         for gethostbyname2_r.
17050 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
17052         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17053         Use .p2align directive instead, throughout.
17054         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17055         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17056         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17057         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17058         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17059         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17060         * sysdeps/x86_64/strchr.S: Likewise.
17061         * sysdeps/x86_64/strrchr.S: Likewise.
17063 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17065         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17067         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17069         * sysdeps/generic/math_private.h (__mpsin1): Remove
17070         declaration.
17071         (__mpcos1): Likewise.
17072         (__mpsin): New argument __range_reduce.
17073         (__mpcos): Likewise.
17074         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17075         (slow): Use __mpsin and __mpcos.
17076         (slow1): Likewise.
17077         (slow2): Likewise.
17078         (sloww): Likewise.
17079         (sloww1): Likewise.
17080         (sloww2): Likewise.
17081         (bsloww): Likewise.
17082         (bsloww1): Likewise.
17083         (bsloww2): Likewise.
17084         (cslow2): Likewise.
17085         (csloww): Likewise.
17086         (csloww1): Likewise.
17087         (csloww2): Likewise.
17088         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17089         range_reduce.  Merge in __mpsin1.
17090         (__mpcos): Likewise.
17091         (__mpsin1): Remove.
17092         (__mpcos1): Likewise.
17094 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
17096         * locale/loadlocale.c (_nl_intern_locale_data): Use
17097         LOCFILE_ALIGNED_P.
17098         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17099         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17100         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17101         obstack data is appropriately aligned.
17102         (obstack_int32_grow_fast): Likewise.
17103         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17104         * locale/programs/locfile.c (add_locale_uint32): Likewise.
17105         (add_locale_uint32_array): Likewise.
17107 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17109         * benchtests/Makefile: Remove ARGLIST and RET variables.
17110         ($(objpfx)bench-%.c): Pass only function name to the script.
17111         * benchtests/README: Update documentation.
17112         * benchtests/acos-inputs: Add new directives.
17113         * benchtests/acosh-inputs: Likewise.
17114         * benchtests/asin-inputs: Likewise.
17115         * benchtests/asinh-inputs: Likewise.
17116         * benchtests/atan-inputs: Likewise.
17117         * benchtests/atanh-inputs: Likewise.
17118         * benchtests/cos-inputs: Likewise.
17119         * benchtests/cosh-inputs: Likewise.
17120         * benchtests/exp-inputs: Likewise.
17121         * benchtests/log-inputs: Likewise.
17122         * benchtests/pow-inputs: Likewise.
17123         * benchtests/rint-inputs: Likewise.
17124         * benchtests/sin-inputs: Likewise.
17125         * benchtests/sinh-inputs: Likewise.
17126         * benchtests/tan-inputs: Likewise.
17127         * benchtests/tanh-inputs: Likewise.
17128         * scripts/bench.pl: Add support for new directives.
17130 2013-10-07  Alan Modra  <amodra@gmail.com>
17132         * README: Fix careless merge.
17134 2013-10-05  Alan Modra  <amodra@gmail.com>
17136         * NEWS: Mention powerpc64le support and bugs fixed.
17137         * README: Both big-endian and little-endian powerpc64 supported.
17139 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17141         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17142         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17143         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17144         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17146 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
17148         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17149         match prototype.
17151 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
17153         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17154         Move -mhard-float appending from
17155         ports/sysdeps/powerpc/powerpc32/Makefile.
17156         [$(with-fp) = yes] (ASFLAGS): Likewise.
17157         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17158         * sysdeps/powerpc/nofpu: Move directory from
17159         ports/sysdeps/powerpc/nofpu.
17160         * sysdeps/powerpc/soft-fp: Move directory from
17161         ports/sysdeps/powerpc/soft-fp.
17162         * sysdeps/powerpc/powerpc32/405: Move directory from
17163         ports/sysdeps/powerpc/powerpc32/405.
17164         * sysdeps/powerpc/powerpc32/440: Move directory from
17165         ports/sysdeps/powerpc/powerpc32/440.
17166         * sysdeps/powerpc/powerpc32/464: Move directory from
17167         ports/sysdeps/powerpc/powerpc32/464.
17168         * sysdeps/powerpc/powerpc32/476: Move directory from
17169         ports/sysdeps/powerpc/powerpc32/476.
17170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17171         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17173         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17175         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17177         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17179         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17180         * README: Update for powerpc-*-linux-gnu software floating point
17181         support in libc.
17183         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17184         case to powerpc/powerpc32*.
17185         * sysdeps/unix/sysv/linux/configure: Regenerated.
17187         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17188         (_FPU_MASK_OM): Define as 0x04.
17189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17191         0x00c10080.
17192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17193         0x0000003c.
17194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17197         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17198         getcontext_e500.
17199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17200         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17201         setcontext_e500.
17202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17203         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17204         and setcontext_e500.
17206 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
17208         * locale/iso-3166.def: Update iso-1366.def and related occurrences
17210 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17212         * manual/threads.texi (Default Thread Attributes): Fix typo.
17214 2013-10-04  Will Newton  <will.newton@linaro.org>
17216         * malloc/Makefile: Add tst-memalign.
17217         * malloc/tst-memalign.c: New file.
17219         * malloc/tst-posix_memalign.c: Add comments.
17220         (do_test): Add comments and call free on all potentially
17221         allocated pointers. Add space after cast.
17223         * malloc/tst-pvalloc.c: Add comments.
17224         (do_test): Add comments and call free on all potentially
17225         allocated pointers. Remove duplicate check for NULL pointer.
17226         Add space after cast.
17228         * malloc/tst-valloc.c: Add comments.
17229         (do_test): Add comments and call free on all potentially
17230         allocated pointers. Remove duplicate check for NULL pointer.
17231         Add space after cast.
17233 2013-10-04  Alan Modra  <amodra@gmail.com>
17235         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17236         Use stdint types in rather than __attribute__((mode())).
17237         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17239 2013-10-04  Alan Modra  <amodra@gmail.com>
17241         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17242         Correct handling of unaligned relocs for little-endian.
17243         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17245 2013-10-04  Alan Modra  <amodra@gmail.com>
17247         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
17248         * configure: Regenerate.
17249         * nptl/shlib-versions: Powerpc*le starts at 2.18.
17250         * shlib-versions: Likewise.
17252 2013-10-04  Alan Modra  <amodra@gmail.com>
17254         * string/tester.c (test_memrchr): Increment reported test cycle.
17256 2013-10-04  Alan Modra  <amodra@gmail.com>
17258         * string/test-memcpy.c (do_one_test): When reporting errors, print
17259         string address and don't overrun end of string.
17261 2013-10-04  Alan Modra  <amodra@gmail.com>
17263         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
17264         insrdi.  Make better use of reg selection to speed exit slightly.
17265         Schedule entry path a little better.  Remove useless "are we done"
17266         checks on entry to main loop.  Handle wrapping around zero address.
17267         Correct main loop count.  Handle single left-over word from main
17268         loop inline rather than by using loop_small.  Remove extra word
17269         case in loop_small caused by wrong loop count.  Add little-endian
17270         support.
17271         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
17272         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
17273         cache hint.
17274         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
17275         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
17276         support.  Avoid rlwimi.
17277         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
17279 2013-10-04  Alan Modra  <amodra@gmail.com>
17281         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
17282         insrdi.  Formatting.
17283         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
17284         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17285         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17286         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17287         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17288         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
17290 2013-10-04  Alan Modra  <amodra@gmail.com>
17292         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
17293         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17294         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
17295         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
17296         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
17297         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17298         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17299         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17300         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
17301         use of regs.  Use power7 mtocrf.  Tidy function tails.
17303 2013-10-04  Alan Modra  <amodra@gmail.com>
17305         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17306         Formatting.  Consistently use rXXX register defines or rN defines.
17307         Use early exit labels that avoid restoring unused non-volatile regs.
17308         Make cr field use more consistent with rWORDn compares.  Rename
17309         regs used as shift registers for unaligned loop, using rN defines
17310         for short lifetime/multiple use regs.
17311         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17312         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
17313         addi 1,1,64 to pop stack frame.  Simplify return value code.
17314         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17316 2013-10-04  Alan Modra  <amodra@gmail.com>
17318         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
17319         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
17320         rather than rlwimi.
17321         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
17322         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
17323         little-endian support.  Correct typos.
17324         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
17325         rather than rlwimi.
17326         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
17327         in loop and entry code to keep "and." results.
17328         (strchr): Add little-endian support.  Comment.  Move cntlzd
17329         earlier in tail.
17330         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
17332 2013-10-04  Alan Modra  <amodra@gmail.com>
17334         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
17335         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
17336         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
17337         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
17339 2013-10-04  Alan Modra  <amodra@gmail.com>
17341         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
17342         (rTMP): Define as r11.
17343         (strcmp): Add little-endian support.  Optimise tail.
17344         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
17345         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17346         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
17347         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
17348         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
17349         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17350         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
17352 2013-10-04  Alan Modra  <amodra@gmail.com>
17354         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
17355         little-endian support.  Remove unnecessary "are we done" tests.
17356         Handle "s" wrapping around zero and extremely large "size".
17357         Correct main loop count.  Handle single left-over word from main
17358         loop inline rather than by using small_loop.  Correct comments.
17359         Delete "zero" tail, use "end_max" instead.
17360         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
17362 2013-10-04  Alan Modra  <amodra@gmail.com>
17364         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
17365         support.  Don't branch over align.
17366         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
17367         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
17368         support.  Rearrange tmp reg use to suit.  Comment.
17369         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
17371 2013-10-04  Alan Modra  <amodra@gmail.com>
17373         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
17375 2013-10-04  Alan Modra  <amodra@gmail.com>
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
17378         conditional form of branch and link when obtaining pc.
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17381 2013-10-04  Alan Modra  <amodra@gmail.com>
17383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
17384         HIWORD/LOWORD.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
17386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
17388 2013-10-04  Alan Modra  <amodra@gmail.com>
17390         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17391         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
17392         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
17393         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
17394         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17395         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17396         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
17397         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17398         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17399         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
17401 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17402             Alistair Popple <alistair@ozlabs.au.ibm.com>
17403             Alan Modra <amodra@gmail.com>
17405         [BZ #15723]
17406         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
17407         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
17408         _dl_hwcap access for little-endian.
17409         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
17410         destroy vmx regs when saving unaligned.
17411         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
17412         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
17413         destroy vmx regs when saving unaligned.
17415 2013-10-04  Alan Modra  <amodra@gmail.com>
17417         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
17418         Don't use a union to pack hi/low value.
17420 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17422         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
17423         for little-endian.
17424         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17425         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
17426         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17427         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17428         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17430 2013-10-04  Alan Modra  <amodra@gmail.com>
17432         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
17433         constants to usual value for .cst8 section, and remove redundant
17434         high address load.
17435         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
17436         constant for 0x1p52.  Load little-endian words of double from
17437         correct stack offsets.
17439 2013-10-04  Alan Modra  <amodra@gmail.com>
17441         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
17442         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
17443         words of double from correct stack offsets.
17444         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17445         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
17446         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17447         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17448         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17449         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17450         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17451         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17452         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17453         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17454         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17455         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17456         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17457         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17458         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17459         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
17460         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17462 2013-10-04  Alan Modra  <amodra@gmail.com>
17464         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
17465         64-bit int/double union.
17466         (_FPU_SETCW): Likewise.
17467         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
17468         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
17470 2013-10-04  Alan Modra  <amodra@gmail.com>
17472         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
17473         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
17475 2013-10-04  Alan Modra  <amodra@gmail.com>
17477         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
17478         use vector int constants.
17479         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
17481 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17483         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
17484         array with long long.
17485         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17486         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
17487         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
17488         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
17489         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
17490         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
17491         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
17492         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
17493         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
17494         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
17495         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
17496         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
17497         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
17499 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
17501         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
17502         (__signbit): Likewise.  Correct for little-endian.
17503         (__signbitl): Call __signbit.
17504         (lrint): Correct for little-endian.
17505         (lrintf): Call lrint.
17507 2013-10-04  Alan Modra  <amodra@gmail.com>
17509         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
17510         union 32-bit int array member with 64-bit int array.
17511         (t515, tm256): Double rather than long double.
17512         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
17514 2013-10-04  Alan Modra  <amodra@gmail.com>
17516         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
17517         Delete.
17518         (IEEE854_LONG_DOUBLE_BIAS): Delete.
17519         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
17520         version of math_ldbl.h.
17522 2013-10-04  Alan Modra  <amodra@gmail.com>
17524         [BZ #15734], [BZ #15735]
17525         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
17526         all uses of ieee875 long double macros and unions.  Simplify test
17527         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
17528         ldbl_extract_mantissa value for ix,iy exponents.  Properly
17529         normalize after ldbl_extract_mantissa, and don't add hidden bit
17530         already handled.  Don't treat low word of ieee854 mantissa like
17531         low word of IBM long double and mask off bit when testing for
17532         zero.
17533         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
17534         all uses of ieee875 long double macros and unions.  Simplify tests
17535         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
17536         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
17537         two1022, instead use their values.  Recognise that tests for large
17538         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
17539         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
17540         Rewrite all uses of ieee875 long double macros and unions.  Simplify
17541         test for 0.0L and nan.  Correct negation.
17542         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
17543         ieee875 long double macros and unions.  Correct output for large
17544         magnitude x.  Correct absolute value calculation.
17545         (__erfcl): Likewise.
17546         * math/libm-test.inc: Add tests for errors discovered in IBM long
17547         double versions of fmodl, remainderl, erfl and erfcl.
17549 2013-10-04  Alan Modra  <amodra@gmail.com>
17551         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
17552         all uses of ieee854 long double macros and unions.  Simplify tests
17553         for long doubles that are fully specified by the high double.
17554         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17555         Likewise.
17556         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
17557         Remove dead code too.
17558         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17559         (__ieee754_ynl): Likewise.
17560         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
17561         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
17562         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17563         Remove dead code too.
17564         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17565         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
17566         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17567         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
17568         Simplify.
17569         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
17570         Simplify.
17571         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
17572         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
17573         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
17574         Comment on variable precision.
17575         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
17576         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17577         Likewise.
17578         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17579         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17580         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17582         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
17584 2013-10-04  Alan Modra  <amodra@gmail.com>
17586         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
17587         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
17588         all uses of ieee854 long double macros and unions.
17589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17590         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17591         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
17592         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
17593         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
17594         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17595         Likewise.
17596         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
17597         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17598         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
17599         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17600         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17601         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17602         Simplify sign and nan test too.
17603         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
17604         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
17605         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
17606         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
17607         Likewise.
17608         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17609         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
17610         Likewise.
17611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17612         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17613         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
17614         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
17615         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
17616         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
17618 2013-10-04  Alan Modra  <amodra@gmail.com>
17620         * stdio-common/printf_size.c (__printf_size): Don't use
17621         union ieee854_long_double in fpnum union.
17622         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
17623         signbit macro to retrieve sign from long double.
17624         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
17625         retrieve sign from long double.
17626         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
17627         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
17628         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
17629         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17630         * math/test-misc.c (main): Don't use union ieee854_long_double.
17632 2013-10-04  Alan Modra  <amodra@gmail.com>
17634         [BZ #15680]
17635         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
17636         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
17637         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
17638         calculation.  Remove unnecessary test for denormal exponent.
17639         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
17640         Correct handling of denormals.  Avoid undefined shift behaviour.
17641         Correct normalisation of low mantissa when low double is denormal.
17642         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
17643         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
17644         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
17645         Correct normalisation of low mantissa.  Test for overflow of high
17646         mantissa and normalise.
17647         (ldbl_nearbyint): Use more readable constant for two52.
17648         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
17649         (__mpn_construct_long_double): Fix test for overflow of high
17650         mantissa and correct normalisation.  Avoid undefined shift.
17652 2013-10-04  Alan Modra  <amodra@gmail.com>
17654         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17655         (union ibm_extended_long_double): Define as an array of ieee754_double.
17656         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
17657         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
17658         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
17659         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
17660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17661         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
17662         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17663         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17664         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17665         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
17666         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17668 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
17670         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
17671         page size instead of calling getpagesize.
17673         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
17674         (LOCFILE_ALIGN_MASK): Likewise.
17675         (LOCFILE_ALIGN_UP): Likewise.
17676         (LOCFILE_ALIGNED_P): Likewise.
17677         * locale/programs/ld-collate.c (collate_output): Use the new
17678         macros instead of __alignof__ (int32_t).
17679         * locale/weight.h (findidx): Likewise.
17681 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
17683         [BZ #431]
17684         * manual/string.texi: Fix strncat and wcsncat.
17686 2013-10-03  Brooks Moses  <bmoses@google.com>
17688         [BZ #15915]
17689         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
17690         * Makerules: ...here, and adjust associated comments.
17692 2013-10-02  Will Newton  <will.newton@linaro.org>
17694         * malloc/Makefile: Add tst-pvalloc.
17695         * malloc/tst-pvalloc.c: New file.
17697 2013-10-02  Will Newton  <will.newton@linaro.org>
17699         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
17700         improve test coverage.
17702 2013-10-02  Will Newton  <will.newton@linaro.org>
17704         * malloc/Makefile: Add tst-posix_memalign.
17705         * malloc/tst-posix_memalign.c: New file.
17707 2013-10-01  Eric Blake  <eblake@redhat.com>
17709         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
17710         Use __THROWNL rather than __THROW on static functions.
17712 2013-09-30  Petr Machata  <pmachata@redhat.com>
17714         * elf/elf.h (R_AARCH64_ABS16): New macro.
17715         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
17716         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
17717         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
17718         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
17719         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
17720         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
17721         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
17722         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
17723         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
17724         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
17725         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
17726         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
17727         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
17728         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
17729         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
17730         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
17731         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
17732         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
17733         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
17734         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
17735         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
17736         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
17737         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
17738         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
17739         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
17740         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
17741         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
17742         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
17743         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
17744         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
17745         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
17746         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
17747         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
17748         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
17749         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
17750         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
17751         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
17752         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
17753         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
17754         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
17755         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
17756         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
17757         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
17758         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
17759         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
17760         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
17761         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
17762         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
17763         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
17764         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
17765         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
17766         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
17767         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
17768         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
17769         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
17770         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
17771         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
17772         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
17773         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
17774         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
17775         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
17776         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
17777         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
17778         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
17779         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
17780         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
17781         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
17782         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
17783         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
17784         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
17785         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
17786         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
17787         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
17788         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
17789         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
17790         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
17791         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
17792         (R_AARCH64_TLSDESC_LDR): Likewise.
17793         (R_AARCH64_TLSDESC_ADD): Likewise.
17794         (R_AARCH64_TLSDESC_CALL): Likewise.
17796 2013-09-30  Andreas Schwab  <schwab@suse.de>
17798         [BZ #15048]
17799         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
17800         the nss database lookup.
17801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17804 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
17806         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
17808 2013-09-28  P. J. McDermott  <pj@pehjota.net>
17810         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
17811         ${Bash-specific parameter/pattern/string} parameter expansion.
17812         * sysdeps/unix/make-syscalls.sh: Likewise.
17814 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17816         * sysdeps/sh/stackguard-macros.h: New file.
17818 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
17820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
17822         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
17823         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
17824         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17825         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
17827 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17829         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
17830         Fix thread ID register.
17832 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
17834         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
17835         [POSIX || UNIX98]: Require rather than permitting all symbols from
17836         <time.h>.
17837         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
17838         element of struct sched_param.
17839         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
17840         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
17841         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
17842         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
17843         constant.
17845 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
17847         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
17848         argument calculation.
17850 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17852         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
17853         Expect macro.
17854         [POSIX] (pthread_attr_t): Do not require type.
17855         [POSIX] (pthread_cond_t): Likewise.
17856         [POSIX] (pthread_condattr_t): Likewise.
17857         [POSIX] (pthread_key_t): Likewise.
17858         [POSIX] (pthread_mutex_t): Likewise.
17859         [POSIX] (pthread_mutexattr_t): Likewise.
17860         [POSIX] (pthread_once_t): Likewise.
17861         [POSIX] (pthread_t): Likewise.
17862         [POSIX-based standards] (pthread_atfork): Expect function.
17864 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
17865             Richard Sandiford  <richard@codesourcery.com>
17867         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
17868         (swap_endianness_p): New extern variable.
17869         (set_big_endian): New inline function.
17870         (maybe_swap_uint32): Likewise.
17871         (maybe_swap_uint32_array): Likewise.
17872         (maybe_swap_uint32_obstack): Likewise.
17873         * locale/programs/locfile.c: Include <stdbool.h>.
17874         (swap_endianness_p): New variable.
17875         (add_locale_uint32): Call maybe_swap_uint32.
17876         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
17877         (write_locale_data): Call maybe_swap_uint32_array.
17878         * locale/programs/ld-collate.c (obstack_int32_grow): Call
17879         maybe_swap_uint32.
17880         (obstack_int32_grow_fast): Likewise.
17881         (output_weightwc): Call maybe_swap_uint32_obstack.
17882         (collate_output): Likewise.
17883         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
17884         (OPT_LITTLE_ENDIAN): Likewise.
17885         (options): Add --little-endian and --big-endian options.
17886         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
17887         * locale/programs/locarchive.c: Include "locfile.h".
17888         (GET): New macro.
17889         (SET): Likewise.
17890         (INC): Likewise.
17891         (create_archive): Use the new macros to access fields of
17892         structures directly mapped from or written to locale archives.
17893         (oldlocrecentcmp): Likewise.
17894         (enlarge_archive): Likewise.
17895         (insert_name): Likewise.
17896         (add_alias): Likewise.
17897         (add_locale): Likewise.
17898         (delete_locales_from_archive): Likewise.
17899         (show_archive_content): Likewise.
17900         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
17901         locale data.
17903 2013-09-24  Roland McGrath  <roland@hack.frob.com>
17905         * manual/freemanuals.texi: Updated from (newly) canonical copy at
17906         http://www.gnu.org/doc/freemanuals.texi.
17907         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
17909 2013-09-24  Will Newton  <will.newton@linaro.org>
17911         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
17912         macro.
17914 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
17916         * locale/hashval.h (compute_hashval): Interpret bytes of key as
17917         unsigned char.
17919 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
17921         * manual/threads.texi (POSIX Threads): Fix a typo.
17923 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17925         [BZ #14547]
17926         * string/tst-strcoll-overflow.c: New test case.
17927         * string/Makefile (xtests): Add tst-strcoll-overflow.
17928         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
17929         cache if string sizes may cause integer overflow.
17931         [BZ #14547]
17932         * string/strcoll_l.c (coll_seq): New members rule, idx,
17933         save_idx and back_us.
17934         (get_next_seq_nocache): New function.
17935         (do_compare_nocache): New function.
17936         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
17937         when malloc fails.
17939 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
17941         [BZ #15754]
17942         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
17943         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
17944         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
17946         [BZ #15754]
17947         * elf/Makefile (tests): Add tst-ptrguard1.
17948         (tests-static): Add tst-ptrguard1-static.
17949         (tst-ptrguard1-ARGS): Define.
17950         (tst-ptrguard1-static-ARGS): Define.
17951         * elf/tst-ptrguard1.c: New file.
17952         * elf/tst-ptrguard1-static.c: New file.
17953         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
17954         * sysdeps/i386/stackguard-macros.h: Likewise.
17955         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17956         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17957         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17958         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17959         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17960         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17962 2013-09-23  Hector Marco  <hecmargi@upv.es>
17963             Ismael Ripoll  <iripoll@disca.upv.es>
17964             Carlos O'Donell  <carlos@redhat.com>
17966         [BZ #15754]
17967         * sysdeps/generic/stackguard-macros.h: Define
17968         __pointer_chk_guard_local and POINTER_CHK_GUARD.
17969         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
17970         Define __pointer_chk_guard_local.
17971         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
17972         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
17974 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
17976         [BZ #15859]
17977         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
17979 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
17981         * include/string.h (__ffs): Declare as hidden.
17982         * string/ffs.c (__ffs): Define as hidden.
17983         * sysdeps/i386/ffs.c (__ffs): Likewise.
17984         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17985         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
17986         * sysdeps/s390/ffs.c (__ffs): Likewise.
17987         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
17989 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
17991         * NEWS: Mention malloc probes.
17993         * malloc/arena.c (new_heap): New memory_heap_new probe.
17994         (grow_heap): New memory_heap_more probe.
17995         (shrink_heap): New memory_heap_less probe.
17996         (heap_trim): New memory_heap_free probe.
17997         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
17998         (systrim): New memory_sbrk_less probe.
17999         * manual/probes.texi: Document them.
18001         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18002         * manual/probes.texi: Document it.
18004         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18005         (__libc_realloc): Add memory_realloc_retry probe.
18006         (__libc_memalign): Add memory_memalign_retry probe.
18007         (__libc_valloc): Add memory_valloc_retry probe.
18008         (__libc_pvalloc): Add memory_pvalloc_retry probe.
18009         (__libc_calloc): Add memory_calloc_retry probe.
18010         * manual/probes.texi: Document them.
18012         * malloc/arena.c (get_free_list): Add probe
18013         memory_arena_reuse_free_list.
18014         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18015         and memory_arena_reuse.
18016         (arena_get2) [!PER_THREAD]: Likewise.
18017         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18018         memory_arena_reuse_realloc.
18019         * manual/probes.texi: Document them.
18021         * malloc/malloc.c (__libc_free): Add
18022         memory_mallopt_free_dyn_thresholds probe.
18023         (__libc_mallopt): Add multiple memory_mallopt probes.
18024         * manual/probes.texi: Document them.
18026         * malloc/malloc.c: Include stap-probe.h.
18027         (__libc_mallopt): Add memory_mallopt probe.
18028         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18029         * manual/probes.texi: New.
18030         * manual/Makefile (chapters): Add probes.
18031         * manual/threads.texi: Set next node.
18033 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
18035         [BZ #15963, #13985]
18036         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18037         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18038         Add `Chinese' to `nan' entry name.
18040 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18042         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18043         (POLYNOMIAL): Likewise.
18044         (TAYLOR_SINCOS): Likewise.
18045         (TAYLOR_SLOW): Likewise.
18046         (__sin): Use TAYLOR_SINCOS.
18047         (__cos): Likewise.
18048         (slow): Use TAYLOR_SLOW.
18049         (sloww): Likewise.
18050         (bsloww): Likewise.
18051         (csloww): Likewise.
18053 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18055         * stdlib/strtod_l.c: Fix buffer overrun.
18057 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18059         * benchtests/Makefile (bench): Add sincos.
18060         * benchtests/bench-sincos.c: New file.
18062         * math/libm-test.inc (cos_test_data): New test inputs.
18063         (sin_test_data): Likewise.
18065         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18066         macro.
18067         (__sin): Use it.
18068         (__cos): Likewise.
18069         (slow1): Likewise.
18070         (slow2): Likewise.
18071         (sloww1): Likewise.
18072         (sloww2): Likewise.
18073         (bsloww1): Likewise.
18074         (bsloww2): Likewise.
18075         (cslow2): Likewise.
18076         (csloww1): Likewise.
18077         (csloww2): Likewise.
18079         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18080         function.
18081         (__sin): Use it.
18082         (__cos): Likewise.
18084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18085         gotos.
18086         (__cos): Likewise.
18088 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
18090         * config.h.in (HAVE_MIPS_NAN2008): New macro.
18091         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18092         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18093         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18094         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18095         * elf/cache.c (print_entry): Handle the new cache flags.
18097 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18098             Aldy Hernandez  <aldyh@redhat.com>
18100         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18101         Change condition to [_SOFT_FLOAT].
18102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18114         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18117         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18118         declaration.
18120 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
18122         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18123         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18124         (__longjmp): Use LOAD_GP to load saved GPRs.
18125         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18126         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18127         (__sigsetjmp): Use SAVE_GP to save GPRs.
18129         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18130         Do not append -msoft-float.
18131         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18133 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18135         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18137 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
18139         [BZ #15966]
18140         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18141         (_FPU_GETCW): Use initial "__" on variable and field names but not
18142         on macro parameter name.
18143         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
18144         parentheses around reference to macro parameter.
18146 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
18148         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18149         prototype.
18150         (ctype_startup): Use uint32_t in cast and sizeof for
18151         ctype->charnames.
18153 2013-09-11  Jia Liu  <proljc@gmail.com>
18155         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18156         __daddr_t_defined.
18157         [__FreeBSD__]: Likewise.
18159 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
18161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18162         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18163         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18164         (strchr): Remove __strchr_sse42 ifunc selection.
18165         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18166         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18168 2013-09-11  Will Newton  <will.newton@linaro.org>
18170         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18171         parameter to RES. Remove hardcoded 1000 value.
18172         * benchtests/bench-skeleton.c (main): Pass RES parameter
18173         to TIMING_INIT and multiply result by 1000.
18175 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18179 2013-09-11  Andreas Schwab  <schwab@suse.de>
18181         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18182         if not defined.
18183         (O_TMPFILE) [__USE_GNU]: Define.
18184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18185         Define.
18187 2013-09-11  Will Newton  <will.newton@linaro.org>
18189         [BZ #15857]
18190         * malloc/malloc.c (__libc_memalign): Check the value of bytes
18191         does not overflow.
18193 2013-09-11  Will Newton  <will.newton@linaro.org>
18195         [BZ #15856]
18196         * malloc/malloc.c (__libc_valloc): Check the value of bytes
18197         does not overflow.
18199 2013-09-11  Will Newton  <will.newton@linaro.org>
18201         [BZ #15855]
18202         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18203         does not overflow.
18205 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
18207         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18208         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18209         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18210         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18211         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18213 2013-09-10  Allan McRae  <allan@archlinux.org>
18215         [BZ #15748]
18216         * manual/arith.texi (Parsing of Floats): Clarify
18217         cross-reference.
18219         [BZ #15849]
18220         * manual/install.texi (Running make install): Mention
18221         --enable-pt-chown.
18222         * INSTALL: Regenerated.
18224 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
18226         * csu/init-first.c (_init): Remove the !SHARED condition around
18227         FPU control word initialization.
18228         * elf/dl-support.c (_dl_fpu_control): New variable.
18229         (_dl_aux_init) <AT_FPUCW>: Initialize it.
18230         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
18231         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
18232         * math/test-fpucw-static.c: New file.
18233         * math/test-fpucw-ieee.c: New file.
18234         * math/test-fpucw-ieee-static.c: New file.
18235         * math/Makefile (tests): Add `test-fpucw-ieee' and
18236         `$(tests-static)'.
18237         (tests-static): New variable.
18238         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
18239         dependency to...
18240         [($(build-shared),yes)]
18241         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18242         ... this.
18243         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
18244         New dependency.
18246 2013-09-09  Allan McRae  <allan@archlinux.org>
18248         [BZ #15939]
18249         * manual/string.texi (Collation Functions): Fix typo in
18250         strcoll example.
18251         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
18253         [BZ #15893]
18254         * stdlib/isomac.c (get_null_defines): Fix memory leak.
18256         [BZ #15892]
18257         * libio/memstream.c (open_memstream): Fix memory leak.
18258         * libio/wmemstream.c (open_wmemstream): Likewise.
18260         [BZ #15895]
18261         * nscd/netgroupcache.c: Fix nesting of ifdefs.
18263 2013-09-09  Will Newton  <will.newton@linaro.org>
18265         * malloc/Makefile: Add tst-realloc to tests.
18266         * malloc/tst-realloc.c: New file.
18268 2013-09-09  Allan McRae  <allan@archlinux.org>
18270         [BZ #15844]
18271         * COPYING: Update from GNU website to fix FSF address.
18272         * COPYING.LIB: Likewise.
18274 2013-09-06  David S. Miller  <davem@davemloft.net>
18276         * po/zh_TW.po: Update Chinese (traditional) translation from
18277         translation project.
18279 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
18280             Joseph Myers  <joseph@codesourcery.com>
18282         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
18283         "localeinfo.h".
18284         (obstack_chunk_alloc): New macro.
18285         (obstack_chunk_free): Likewise.
18286         (record_offset): New function.
18287         (init_locale_data): Likewise.
18288         (align_locale_data): Likewise.
18289         (add_locale_empty): Likewise.
18290         (add_locale_raw_data): Likewise.
18291         (add_locale_raw_obstack): Likewise.
18292         (add_locale_string): Likewise.
18293         (add_locale_wstring): Likewise.
18294         (add_locale_uint32): Likewise.
18295         (add_locale_uint32_array): Likewise.
18296         (add_locale_char): Likewise.
18297         (start_locale_structure): Likewise.
18298         (end_locale_structure): Likewise.
18299         (start_locale_prelude): Likewise.
18300         (end_locale_prelude): Likewise.
18301         (write_locale_data): Take locale_file structure rather than an
18302         iovec.
18303         * locale/programs/locfile.h: Include "obstack.h".
18304         (struct locale_file): Change to store locale file contents instead
18305         of header.
18306         (init_locale_data): New prototype.
18307         (align_locale_data): Likewise.
18308         (add_locale_empty): Likewise.
18309         (add_locale_raw_data): Likewise.
18310         (add_locale_raw_obstack): Likewise.
18311         (add_locale_string): Likewise.
18312         (add_locale_wstring): Likewise.
18313         (add_locale_uint32): Likewise.
18314         (add_locale_uint32_array): Likewise.
18315         (add_locale_char): Likewise.
18316         (start_locale_structure): Likewise.
18317         (end_locale_structure): Likewise.
18318         (start_locale_prelude): Likewise.
18319         (end_locale_prelude): Likewise.
18320         (write_locale_data): Update prototype.
18321         * locale/programs/3level.h (struct TABLE): Remove result field.
18322         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
18323         Use new locale_file interface.
18324         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
18325         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
18326         * locale/programs/ld-address.c (address_output): Use new
18327         locale_file interface.
18328         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
18329         NO_ADD_LOCALE.
18330         (collate_finish): Don't call collseq_table_finalize.
18331         (collate_output): Use new locale_file interface.
18332         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
18333         in file.
18334         (NO_FINALIZE): Change to NO_ADD_LOCALE.
18335         (TABLE): Move defines earlier in file.
18336         (ELEMENT): Likewise.
18337         (DEFAULT): Likewise.
18338         (wctrans_table_add): Move macro and inline function earlier in
18339         file.
18340         (struct wctype_table): Move type earlier in file.
18341         (add_locale_wctype_table): New static prototype.
18342         (struct locale_ctype_t): Use logical types instead of struct iovec
18343         pointers for members.
18344         (ctype_output): Use new locale_file interface.
18345         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
18346         new locale_file interface.
18347         (allocate_arrays): Update for use of new locale_file interface.
18348         * locale/programs/ld-identification.c (identification_output): Use
18349         new locale_file interface.
18350         * locale/programs/ld-measurement.c (measurement_output): Likewise.
18351         * locale/programs/ld-messages.c (messages_output): Likewise.
18352         * locale/programs/ld-monetary.c (monetary_output): Likewise.
18353         * locale/programs/ld-name.c (name_output): Likewise.
18354         * locale/programs/ld-numeric.c (numeric_output): Likewise.
18355         * locale/programs/ld-paper.c (paper_output): Likewise.
18356         * locale/programs/ld-telephone.c (telephone_output): Likewise.
18357         * locale/programs/ld-time.c (time_output): Likewise.
18359 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18361         * benchtests/Makefile: Add memrchr benchmark.
18362         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
18363         benchmark as memrchr.
18364         * benchtests/bench-memrchr-ifunc.c: New file.
18365         * benchtests/bench-memrchr.c: New file.
18367 2013-09-06   Will Newton  <will.newton@linaro.org>
18369         * benchtests/Makefile (string-bench): Add memcpy.
18371 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
18372             Cong Wang  <amwang@redhat.com>
18374         [BZ #15850]
18375         * sysdeps/unix/sysv/linux/bits/in.h
18376         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
18377         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
18378         before __USE_KERNEL_IPV6_DEFS uses.
18379         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
18380         IPPROTO_BEETPH.
18381         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
18382         sockaddr_in6, or ipv6_mreq.
18384 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18386         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
18387         memory access for final bytes in some large inputs.
18388         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
18390 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18392         * string/test-memrchr.c: New file.
18393         * string/test-memrchr-ifunc.c: New file.
18394         * string/Makefile: Add new memrchr testcase.
18396 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
18398         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
18399         fanotify_init returns EPERM.
18401 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18403         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
18404         errors.
18405         (top level): Treat second token from macro or constant entries for
18406         allowed headers as allowed.
18407         * include/complex.h: Condition internal declarations on
18408         [!_ISOMAC].
18409         * include/fenv.h: Condition include of <stdbool.h> and internal
18410         declarations on [!_ISOMAC].
18412 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
18414         [BZ #15923]
18415         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
18417 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
18419         * configure.in (--enable-versioning): Remove configure option.
18420         (libc_cv_asm_symver_directive): Remove configure test.
18421         (libc_cv_ld_version_script_option): Likewise.
18422         (VERSIONING): Remove variable and AC_SUBST.
18423         (DO_VERSIONING): Remove AC_DEFINE.
18424         * configure: Regenerated.
18425         * config.h.in (DO_VERSIONING): Remove macro.
18426         * Makerules [$(versioning) = yes]: Change conditionals to
18427         [$(build-shared) = yes].
18428         * config.make.in (versioning): Remove variable.
18429         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
18430         [$(build-shared) = yes].
18431         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
18432         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
18433         * elf/Makefile [$(versioning) = yes]: Change conditionals to
18434         [$(build-shared) = yes].
18435         * extra-lib.mk [$(versioning) = yes]: Likewise.
18436         * hurd/Makefile [$(versioning) = yes]: Likewise.
18437         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
18438         [SHARED].
18439         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
18440         [SHARED].
18441         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18442         [SHARED && !NO_HIDDEN].
18443         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
18444         [SHARED].
18445         [SHARED && DO_VERSIONING]: Likewise..
18446         * libio/Makefile [$(versioning) = yes]: Change conditionals to
18447         [$(build-shared) = yes].
18448         * manual/install.texi (--disable-versioning): Remove
18449         documentation.
18450         * INSTALL: Regenerated.
18451         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
18452         to [SHARED].
18453         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
18454         [$(build-shared) = yes].
18455         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
18456         * sysdeps/i386/i686/multiarch/strstr-c.c
18457         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
18458         [SHARED && !NO_HIDDEN].
18459         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
18460         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
18461         * sysdeps/powerpc/powerpc32/dl-machine.c
18462         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
18463         * sysdeps/powerpc/powerpc32/sysdep.h
18464         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
18465         to [SHARED && PIC && !NO_HIDDEN].
18466         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
18467         conditional to [SHARED].
18469 2013-09-04   Will Newton  <will.newton@linaro.org>
18471         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
18472         * benchtests/bench-string.h: Include bench-timing.h instead
18473         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
18474         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
18475         call to HP_TIMING_DIFF_INIT.
18476         * benchtests/bench-memccpy.c: Use bench-timing.h macros
18477         instead of hp-timing.h macros.
18478         * benchtests/bench-memchr.c: Likewise.
18479         * benchtests/bench-memcmp.c: Likewise.
18480         * benchtests/bench-memcpy.c: Likewise.
18481         * benchtests/bench-memmem.c: Likewise.
18482         * benchtests/bench-memmove.c: Likewise.
18483         * benchtests/bench-memset.c: Likewise.
18484         * benchtests/bench-rawmemchr.c: Likewise.
18485         * benchtests/bench-strcasecmp.c: Likewise.
18486         * benchtests/bench-strcasestr.c: Likewise.
18487         * benchtests/bench-strcat.c: Likewise.
18488         * benchtests/bench-strchr.c: Likewise.
18489         * benchtests/bench-strcmp.c: Likewise.
18490         * benchtests/bench-strcpy.c: Likewise.
18491         * benchtests/bench-strcpy_chk.c: Likewise.
18492         * benchtests/bench-strlen.c: Likewise.
18493         * benchtests/bench-strncasecmp.c: Likewise.
18494         * benchtests/bench-strncat.c: Likewise.
18495         * benchtests/bench-strncmp.c: Likewise.
18496         * benchtests/bench-strncpy.c: Likewise.
18497         * benchtests/bench-strnlen.c: Likewise.
18498         * benchtests/bench-strpbrk.c: Likewise.
18499         * benchtests/bench-strrchr.c: Likewise.
18500         * benchtests/bench-strspn.c: Likewise.
18501         * benchtests/bench-strstr.c: Likewise.
18503 2013-09-04  Will Newton  <will.newton@linaro.org>
18505         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
18507 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
18509         [BZ #15427]
18510         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
18511         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
18512         * math/libm-test.inc (lgamma_test_data): Add more tests.
18513         * sysdeps/i386/fpu/libm-test-ulps: Update.
18514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18516 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
18518         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
18519         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18520         Add ifunc.
18521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18522         Add strcmp-sse2-unaligned
18523         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
18525 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18527         * Versions.def (libc): Add GLIBC_2.19.
18529 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
18531         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
18532         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
18534 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
18536         [BZ #14155]
18537         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
18538         intermediate calculations in recurrence.
18539         (__ieee754_ynf): Likewise.
18540         * math/libm-test.inc (jn_test_data): Do not allow spurious
18541         underflow exception.  Add more tests.
18542         (yn_test_data): Add more tests.
18543         * sysdeps/i386/fpu/libm-test-ulps: Update.
18544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18546 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
18548         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
18550 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18552         * csu/init-first.c: Fix then/than typos.
18553         * locale/programs/ld-collate.c: Likewise.
18554         * locale/programs/linereader.h: Likewise.
18555         * manual/charset.texi: Likewise.
18556         * manual/filesys.texi: Likewise.
18557         * manual/stdio.texi: Likewise.
18558         * manual/string.texi: Likewise.
18559         * stdlib/fmtmsg.c: Likewise.
18560         * sysdeps/i386/stpncpy.S: Likewise.
18561         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18562         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18563         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18564         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18566 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
18568         * elf/dl-open.c: Fix typos.
18569         * iconvdata/gbbig5.c: Likewise.
18570         * iconvdata/iso-2022-jp.c: Likewise.
18571         * iconv/gconv_int.h: Likewise.
18572         * iconv/loop.c: Likewise.
18573         * nis/rpcsvc/nis.h: Likewise.
18574         * resolv/ns_name.c: Likewise.
18575         * stdio-common/vfscanf.c: Likewise.
18576         * streams/stropts.h: Likewise.
18577         * sunrpc/rpc_thread.c: Likewise.
18578         * sysdeps/i386/strpbrk.S: Likewise.
18579         * sysdeps/ieee754/k_standard.c: Likewise.
18580         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18581         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18582         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
18583         * sysdeps/mach/hurd/profil.c: Likewise.
18584         * sysdeps/s390/dl-procinfo.h: Likewise.
18585         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
18586         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18587         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
18588         * sysdeps/x86_64/dl-trampoline.S: Likewise.
18589         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18591 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
18593         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
18594         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
18596 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
18598         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
18599         aix specific files.
18600         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
18601         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
18602         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
18603         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
18604         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
18605         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
18606         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
18607         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
18609 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18610             Roland McGrath  <roland@hack.frob.com>
18612         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
18613         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
18615 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18617         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
18618         __executable_start symbol instead of _start.
18620 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
18622         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
18623         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
18624         Move macros to...
18625         * sysdeps/gnu/ldsodefs.h: ... this new file.
18627         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
18628         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
18629         instead of ELFOSABI_LINUX.
18631         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
18632         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
18633         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
18634         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
18635         Likewise.
18636         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
18637         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
18638         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
18639         Likewise.
18640         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18641         (ibm_extended_long_double): Add ieee_nan member.
18642         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
18643         (do_test): New function.
18645         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
18646         TEST_TRUNC.
18647         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
18648         functions, renamed from truncdfsf_test, trunctfsf_test,
18649         trunctfdf_test.
18650         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
18651         functions.
18652         (do_test): Run all these.
18654 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
18656         * argp/argp-help.c: Fix typos.
18657         * argp/argp-parse.c: Likewise.
18658         * debug/backtracesyms.c: Likewise.
18659         * elf/elf.h: Likewise.
18660         * malloc/malloc.c: Likewise.
18661         * nis/nis_print.c: Likewise.
18662         * resolv/res_comp.c: Likewise.
18663         * stdlib/stdlib.h: Likewise.
18664         * sunrpc/clnt_tcp.c: Likewise.
18665         * sunrpc/clnt_udp.c: Likewise.
18666         * sunrpc/clnt_unix.c: Likewise.
18667         * sysdeps/unix/bsd/ptsname.c: Likewise.
18668         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
18669         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
18670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
18671         Likewise.
18672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
18673         Likewise.
18674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
18675         Likewise.
18676         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18678 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18680         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
18681         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18683 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
18685         [BZ #15897]
18686         * dlfcn/Makefile (tests): Add bug-dl-leaf.
18687         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
18688         ($(objpfx)bug-dl-leaf): New rule.
18689         ($(objpfx)bug-dl-leaf.so): Likewise.
18690         ($(objpfx)bug-dl-leaf.out): Likewise.
18691         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
18692         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
18693         * dlfcn/bug-dl-leaf.c: New test.
18694         * dlfcn/bug-dl-leaf-lib.c: Likewise.
18695         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
18696         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
18697         (dlclose): Likewise.
18698         (dlmopen): Likewise.
18700 2013-08-27  Roland McGrath  <roland@hack.frob.com>
18702         * include/netdb.h [!_ISOMAC]:
18703         Don't include <tls.h>.
18704         (h_errno, __libc_h_errno): Move declaration and macros out of
18705         [_LIBC_REENTRANT].
18707         * include/resolv.h [_RESOLV_H_]:
18708         Don't include <tls.h>.
18709         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
18710         * resolv/res_libc.c: Don't include <tls.h>.
18711         (_res): Use __attribute__ ((nocommon)) in place of
18712         __attribute__ ((section (".bss"))).
18714         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
18715         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
18717         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
18719         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
18720         only under [SIOCGIFCONF && SIOCGIFNETMASK].
18722         * resolv/res_mkquery.c: Include <sys/time.h>.
18724         * inet/ifreq.c: Moved to ...
18725         * sysdeps/unix/ifreq.c: ... here.
18726         * inet/ifreq.c: New file, true stub version.
18728         * socket/sa_len.c: New file.
18729         * socket/Makefile (aux): Add it.
18730         * sysdeps/unix/sysv/linux/Makefile
18731         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
18732         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
18733         and #include <socket/sa_len.c>.
18734         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
18735         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
18737         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
18738         * bits/socket.h: ... here.
18740         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
18741         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
18742         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
18744 2013-08-27  Andreas Schwab  <schwab@suse.de>
18746         [BZ #15736]
18747         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
18748         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
18749         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
18750         * string/test-strcasecmp.c (test_main): Run tests in several
18751         locales.
18752         * string/test-strncasecmp.c (test_main): Likewise.
18754         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
18755         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
18756         to __strcasecmp_nonascii and __strncasecmp_nonascii.
18757         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
18758         (__strncasecmp_ssse3) [PIC]: Likewise.
18760 2013-08-26  Roland McGrath  <roland@hack.frob.com>
18762         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
18764         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
18765         instead of explicitly declaring xdecrypt.
18766         * nis/nss_nis/nis-publickey.c: Likewise.
18768 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18770         [BZ #15890]
18771         * nscd/aicache.c: Include res_hconf.h.
18772         (addhstaiX): Initialize res_hconf.
18774 2013-08-26  Andreas Schwab  <schwab@suse.de>
18776         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
18777         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
18779 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18781         * nscd/aicache.c (addhstaiX): Fix indentation.
18783 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
18785         * configure.ac: Quote $build_pt_chown test.
18786         * configure: Regenerated.
18788 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
18790         [BZ #15532]
18791         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
18792         * math/s_cexpf.c (__cexpf): Likewise.
18793         * math/s_cexpl.c (__cexpl): Likewise.
18794         * math/libm-test.inc (cexp_test_data): Correct expected return
18795         value for NaN + i0.  Add another test.
18797 2013-08-22  David S. Miller  <davem@davemloft.net>
18799         * po/ca.po: Update Catalan translation from translation project.
18800         * po/uk.po: Add Ukrainian translations from translation project.
18802 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
18804         [BZ #15797]
18805         * math/s_fdim.c (__fdim): Check for infinite arguments if result
18806         is infinite, not alongside NaN test.
18807         * math/s_fdimf.c (__fdimf): Likewise.
18808         * math/s_fdiml.c (__fdiml): Likewise.
18809         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
18810         errno is unchanged.
18812 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
18814         * argp/argp-help.c: Fix typos.
18815         * crypt/speeds.c: Likewise.
18816         * csu/check_fds.c: Likewise.
18817         * elf/dl-load.c: Likewise.
18818         * elf/dl-open.c: Likewise.
18819         * elf/reldep3.c: Likewise.
18820         * elf/reldep.c: Likewise.
18821         * elf/sprof.c: Likewise.
18822         * iconv/iconv_charmap.c: Likewise.
18823         * iconv/skeleton.c: Likewise.
18824         * iconv/strtab.c: Likewise.
18825         * io/lockf64.c: Likewise.
18826         * libio/libioP.h: Likewise.
18827         * resolv/gai_notify.c: Likewise.
18828         * resolv/ns_name.c: Likewise.
18829         * resolv/ns_samedomain.c: Likewise.
18830         * resolv/res_send.c: Likewise.
18831         * stdlib/random.c: Likewise.
18832         * sunrpc/rpc/xdr.h: Likewise.
18833         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
18834         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18835         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18836         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18837         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18838         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18840         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18841         * sysdeps/mach/hurd/check_fds.c: Likewise.
18842         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18843         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18844         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18845         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18846         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18847         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18848         * sysdeps/pthread/aio_notify.c: Likewise.
18849         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
18850         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
18851         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
18852         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18853         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18855 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18857         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
18858         version if bit_Slow_SSE4_2 is set.
18859         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18860         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18862 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18864         [BZ #15867]
18865         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
18866         trampoline stack frame information.
18867         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
18868         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
18869         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
18870         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
18871         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18872         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18873         (_libc_vdso_platform_setup): Initialize the signal trampolines.
18874         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
18875         sa_flags value.
18876         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
18877         interrupting a syscall and set with option SA_SIGINFO.
18879 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18881         [BZ #15531]
18882         * math/s_cproj.c (__cproj): Only return an infinity if one part of
18883         argument is infinite.
18884         * math/s_cprojf.c (__cprojf): Likewise.
18885         * math/s_cprojl.c (__cprojl): Likewise.
18886         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
18887         * math/libm-test.inc (cproj_test_data): Add more tests.
18889         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
18891         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
18892         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
18893         size.  Use __ffs to determine corresponding shift.
18895 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
18896             Roland McGrath  <roland@hack.frob.com>
18898         * Makefile (INSTALL): Remove trailing blank lines from output of
18899         makeinfo.
18901 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18903         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
18904         Align 32 bit compat elf_greg to 8 bytes.
18906 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
18908         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
18910 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18912         * string/strcoll_l.c (coll_seq): New structure.
18913         (get_next_seq_cached): New function.
18914         (get_next_seq): New function.
18915         (do_compare): New function.
18916         (STRCOLL): Use GNU style definition.  Simplify implementation
18917         by using get_next_seq, get_next_seq_cached and do_compare.
18919 2013-08-16  Florian Weimer  <fweimer@redhat.com>
18921         [BZ #14699]
18922         CVE-2013-4237
18923         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
18924         member.
18925         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
18926         member.
18927         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
18928         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
18929         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
18930         conditional.
18931         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
18932         GETDENTS_64BIT_ALIGNED.
18933         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18934         * manual/filesys.texi (Reading/Closing Directory): Document
18935         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
18936         strongly.
18937         * manual/conf.texi (Limits for Files): Add portability note to
18938         NAME_MAX, PATH_MAX.
18939         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
18941 2013-08-13  Andreas Schwab  <schwab@suse.de>
18943         [BZ #15749]
18944         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
18945         of fabs.
18946         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
18947         LDBL_MAX_EXP >= 16384]: Add tests for it.
18949 2013-08-12  David S. Miller  <davem@davemloft.net>
18951         * version.h (RELEASE): Set to "development".
18952         (VERSION): Set to "2.18.90".
18953         * NEWS: Add 2.19 section.
18955 2013-08-03  David S. Miller  <davem@davemloft.net>
18957         * po/ko.po: Update Korean translation from translation project.
18959 2013-08-01  David S. Miller  <davem@davemloft.net>
18961         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
18962         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
18963         Bilka.
18965 2013-07-30  David S. Miller  <davem@davemloft.net>
18967         * po/fr.po: Update French translation from translation project.
18969 2013-07-28  David S. Miller  <davem@davemloft.net>
18971         * po/cs.po: Update Czech translation from translation project.
18973         * po/sv.po: Update Swedish translation from translation project.
18975 2013-07-27  David S. Miller  <davem@davemloft.net>
18977         * po/eo.po: Update Esperanto translation from translation project.
18979         * po/vi.po: Update Vietnamese translation from translation project.
18981         * po/de.po: Update German translation from translation project.
18983 2013-07-26  David S. Miller  <davem@davemloft.net>
18985         * po/bg.po: Update Bulgarian translation from translation project.
18987         * po/nl.po: Update Dutch translation from translation project.
18988         * po/pl.po: Update Polish translation from translation project.
18989         * po/ru.po: Update Russian translation from translation project.
18991 2013-07-24  David S. Miller  <davem@davemloft.net>
18993         * po/libc.pot: Update.
18995 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18997         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
18998         variable page size.
18999         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19000         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19001         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19003 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19005         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19007 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19008             Andreas Schwab  <schwab@suse.de>
19009             Roland McGrath  <roland@hack.frob.com>
19010             Joseph Myers  <joseph@codesourcery.com>
19011             Carlos O'Donell  <carlos@redhat.com>
19013         [BZ #15755]
19014         * config.h.in: Define HAVE_PT_CHOWN.
19015         * config.make.in (build-pt-chown): New variable.
19016         * configure.in (--enable-pt_chown): New configure option.
19017         * configure: Regenerate.
19018         * login/Makefile: Include Makeconfig.  Build pt_chown only if
19019         build-pt-chown is enabled.
19020         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19021         pt_chown to fix pty ownership.
19022         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19023         CLOSE_ALL_FDS.
19024         * manual/install.texi (Configuring and compiling): Mention
19025         --enable-pt_chown. Add @findex for grantpt.
19026         * INSTALL: Regenerate.
19028 2013-07-20  David S. Miller  <davem@davemloft.net>
19030         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19031         difference between 32-bit and 64-bit.
19033 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
19035         [BZ #15711]
19036         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19037         Avoid system header dependency with -ffreestanding.
19038         ($(objpfx)bits/syscall%d): Likewise.
19040 2013-07-13  David S. Miller  <davem@davemloft.net>
19042         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19043         underflows from atanl/atan2l due to bug 15319.
19044         (casinh_test_data): Likewise.
19046 2013-07-07  David S. Miller  <davem@davemloft.net>
19048         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19050 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
19052         * sysdeps/i386/fpu/libm-test-ulps: Update.
19053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19055 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19057         * configure.in (--enable-lock-elision): Fix message text.
19058         * INSTALL: Regenerate.
19059         * configure: Regenerate.
19061 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19065 2013-07-03  Andreas Jaeger  <aj@suse.de>
19067         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19068         define.
19069         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19070         (ptrace_peeksiginfo_args): Add.
19071         (__ptrace_peeksiginfo_flags): Add.
19072         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19073         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19074         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19076 2013-07-03  Allan McRae  <allan@archlinux.org>
19078         * sysdeps/i386/fpu/libm-test-ulps: Update.
19080 2013-07-02  David S. Miller  <davem@davemloft.net>
19082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19084 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
19086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19088 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19090         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19093 2013-07-02  Andi Kleen <ak@linux.intel.com>
19095         * config.h.in (ENABLE_LOCK_ELISION): Add.
19096         * configure.in (--enable-lock-elision): Add option.
19097         * manual/install.texi: Document --enable lock elision.
19098         * configure: Regenerate
19099         * INSTALL: Regenerate.
19101 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
19103         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19104         SSE4.2 strcasecmp for libc.a.
19105         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19107 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
19109         [BZ #13304]
19110         * soft-fp/op-common.h (_FP_FMA): New macro.
19111         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19112         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
19113         (_FP_MUL_MEAT_1_imm): ... here.
19114         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
19115         (_FP_MUL_MEAT_1_wide): ... here.
19116         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
19117         (_FP_MUL_MEAT_1_hard): ... here.
19118         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19119         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
19120         (_FP_MUL_MEAT_2_wide): ... here.
19121         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
19122         (_FP_MUL_MEAT_2_wide_3mul): ... here.
19123         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
19124         (_FP_MUL_MEAT_2_gmp): ... here.
19125         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19126         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
19127         (_FP_MUL_MEAT_4_wide): ... here.
19128         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
19129         (_FP_MUL_MEAT_4_gmp): ... here.
19130         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19131         (_FP_WFRACBITS_DW_S): Likewise.
19132         (_FP_WFRACXBITS_DW_S): Likewise.
19133         (_FP_HIGHBIT_DW_S): Likewise.
19134         (FP_FMA_S): Likewise.
19135         (_FP_FRAC_HIGH_DW_S): Likewise.
19136         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19137         (_FP_WFRACBITS_DW_D): Likewise.
19138         (_FP_WFRACXBITS_DW_D): Likewise.
19139         (_FP_HIGHBIT_DW_D): Likewise.
19140         (FP_FMA_D): Likewise.
19141         (_FP_FRAC_HIGH_DW_D): Likewise.
19142         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19143         (_FP_WFRACBITS_DW_E): Likewise.
19144         (_FP_WFRACXBITS_DW_E): Likewise.
19145         (_FP_HIGHBIT_DW_E): Likewise.
19146         (FP_FMA_E): Likewise.
19147         (_FP_FRAC_HIGH_DW_E): Likewise.
19148         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19149         (_FP_WFRACBITS_DW_Q): Likewise.
19150         (_FP_WFRACXBITS_DW_Q): Likewise.
19151         (_FP_HIGHBIT_DW_Q): Likewise.
19152         (FP_FMA_Q): Likewise.
19153         (_FP_FRAC_HIGH_DW_Q): Likewise.
19154         * soft-fp/fmasf4.c: New file.
19155         * soft-fp/fmadf4.c: Likewise.
19156         * soft-fp/fmatf4.c: Likewise.
19158 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19161         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19162         Silvermont.
19163         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19164         macro.
19165         (index_Slow_SSE4_2): Likewise.
19166         (index_Prefer_PMINUB_for_stringop): Likewise.
19167         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19168         bit_Slow_SSE4_2 is set.
19169         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19170         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19172 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19174         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19175         rtld_global._dl_hwcap2.
19176         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19177         POWER8.
19178         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19179         POWER8 feature descriptions defined in _dl_hwcap2.
19180         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19181         string handling for POWER8 feature bits.
19182         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19183         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19184         _dl_powerpc_cap_flags.
19185         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19186         * sysdeps/powerpc/rtld-global-offsets.sym
19187         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19188         _dl_hwcap2 in the rtld_global_ro structure.
19190 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19192         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19193         hardware capabilities in support of AT_HWCAP2.
19194         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19195         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19196         GLRO(dl_hwcap2).
19197         (_dl_show_auxv): Add support for calling _dl_procinfo to display
19198         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
19199         explicitly the unknown a_type display mechanism is used.
19200         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19201         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19202         struct member.
19203         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19204         to macro prototype for AT_HWCAP2 support.
19205         * sysdeps/i386/dl-procinfo.h: Likewise.
19206         * sysdeps/s390/dl-procinfo.h: Likewise.
19207         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19208         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
19209         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
19210         return -1 for unknown a_type display fallback.
19211         * sysdeps/sparc/dl-procinfo.h: Likewise.
19212         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19213         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19215 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
19217         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19218         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19220 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
19222         [BZ #12492]
19223         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19224         mprotect making __stack_prot writable.
19226 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
19227             Joseph Myers  <joseph@codesourcery.com>
19229         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
19230         as being properly aligned.
19232 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
19234         * dlfcn/modstatic5.c: New file.
19235         * dlfcn/tststatic5.c: New file.
19236         * dlfcn/Makefile (tests): Add tststatic5.
19237         (tests-static): Likewise.
19238         (modules-names): Add modstatic5.
19239         (tststatic5-ENV): New variable.
19240         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
19242         [BZ #15022]
19243         * elf/dl-support.c (_dl_main_map): New variable.
19244         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
19245         (_dl_nns, _dl_load_adds): Set to 1.
19246         (_dl_initial_searchlist): Refer to _dl_main_map.
19247         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
19248         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
19249         call to _dl_get_origin.
19250         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
19251         around call_map.
19252         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
19253         * dlfcn/modstatic3.c: New file.
19254         * dlfcn/tststatic3.c: New file.
19255         * dlfcn/tststatic4.c: New file.
19256         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
19257         (tests-static): Likewise.
19258         (modules-names): Add modstatic3.
19259         (tststatic3-ENV, tststatic4-ENV): New variables.
19260         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
19261         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
19263 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
19265         * configure.in (CC): Require GCC version 4.4 or later.
19266         * configure: Regenerated.
19267         * manual/install.texi (Tools for Compilation): Update GCC version
19268         requirement.
19269         * INSTALL: Regenerated.
19271 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19273         [BZ #15674]
19274         * string/test-memcmp.c (check2): New.
19275         (main): Call check2.
19277         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
19279 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
19281         [BZ #15022]
19282         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
19283         over to...
19284         (dl_open_worker) [!SHARED]: ... here.
19286 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19288         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
19290 2013-06-25  Richard Henderson  <rth@redhat.com>
19292         * locale/programs/locarchive.c: Include <libc-internal.h>
19294 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
19296         * manual/texinfo.tex: Update to version 2013-06-21.17, with
19297         trailing whitespace removed.
19299 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19301         [BZ #10283]
19302         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
19303         * locale/programs/locarchive.c: Include libc-mmap.h.
19304         (prepare_address_space): Take two new outputs (the mmap base and len).
19305         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
19306         values.
19307         (create_archive): Declare new mmap base and len values for
19308         prepare_address_space, and store the result in ah.
19309         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
19310         (enlarge_archive): If ah->mmap_base is not NULL, use that and
19311         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19312         Declare new mmap base and len values for
19313         prepare_address_space, and store the result in new_ah.
19314         (open_archive): Declare new mmap base and len values for
19315         prepare_address_space, and store the result in ah.
19316         (close_archive): If ah->mmap_base is not NULL, use that and
19317         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
19318         * sysdeps/generic/libc-mmap.h: New file.
19320 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
19322         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
19323         (ALIGN_UP): Likewise.
19324         (PTR_ALIGN_DOWN): Likewise.
19325         (PTR_ALIGN_UP): Likewise.
19327 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19329         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
19330         entry mapped to PPC_PLATFORM_POWER8.
19331         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
19332         POWER8.
19333         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
19334         (_dl_string_platform): Add case for exporting platform position for
19335         POWER8.
19336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
19337         search path to sysdeps/powerpc/powerpc32/power8 directory.
19338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
19339         search path to sysdeps/powerpc/powerpc64/power8 directory.
19340         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
19341         power7 directories.
19342         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
19343         power7 directories.
19345 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19347         * INSTALL: Regenerate.
19349         * nscd/connections.c (nscd_init): Fix comment.
19351 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
19353         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
19355         [BZ #15667]
19356         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
19357         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
19359 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19361         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
19362         DL_DST_REQ_STATIC.
19363         (DL_DST_REQ_STATIC): Remove macro.
19365 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
19367         [BZ #7006]
19368         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19369         with a shift of 0 bits.
19371 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
19373         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
19374         $(tststatic-ENV).
19376 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19378         [BZ #15655]
19379         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
19381 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19383         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
19384         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
19385         accepts -fno-tree-loop-distribute-patterns.
19386         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
19387         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
19388         recursive call.
19389         * string/memset.c (memset): Likewise.
19390         * string/test-memmove.c (simple_memmove): Disable loop transformation
19391         to library calls.
19392         * string/test-memset.c (simple_memset): Likewise.
19393         * benchtests/bench-memmove.c (simple_memmove): Likewise.
19394         * benchtests/bench-memset.c (simple_memset): Likewise.
19395         * configure: Regenerated.
19397 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
19399         * math/test-misc.c (main): Ignore fesetround failure when failures
19400         of subsequent rounding tests would be ignored.
19402         [BZ #15654]
19403         * math/fedisblxcpt.c (fedisableexcept): Return 0.
19404         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
19405         * math/fegetenv.c (__fegetenv): Return 0.
19406         * math/fegetexcept.c (fegetexcept): Return 0.
19407         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
19408         FE_TONEAREST.
19409         * math/feholdexcpt.c (feholdexcept): Return 0.
19410         * math/fesetenv.c (__fesetenv): Return 0.
19411         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
19412         argument FE_TONEAREST.
19413         * math/feupdateenv.c (__feupdateenv): Return 0.
19414         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
19416 2013-06-18  Roland McGrath  <roland@hack.frob.com>
19418         * elf/rtld-Rules (rtld-compile-command.S): New variable.
19419         (rtld-compile-command.s, rtld-compile-command.c): New variables.
19420         ($(objpfx)rtld-%.os rules): Use them.
19422 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19424         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
19425         fields.
19427 2013-06-17  Roland McGrath  <roland@hack.frob.com>
19429         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
19430         length of target pattern, then descending length of dependency pattern.
19431         * configure.in (AWK): Require gawk 3.1.2 or newer.
19432         * manual/install.texi (Tools for Compilation): Say that we do.
19433         * configure: Regenerated.
19435         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
19436         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
19437         * scripts/sysd-rules.awk: ... this new script.
19438         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
19439         than a glob-style pattern.
19441 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
19443         * math/test-misc.c (main): Do not treat incorrectly rounded
19444         conversions as failure unless ROUNDING_TESTS passes.
19446 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
19448         [BZ #15631]
19449         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
19450         restore exception state around main square root computation, then
19451         check for inexactness explicitly.
19453         * math/libm-test.inc (fma_test_data): Add another test.
19455 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19457         * manual/threads.texi (Non-POSIX Extensions): New document
19458         node.  Document pthread_getattr_default_np and
19459         pthread_setattr_default_np.
19461         * Versions.def (libpthread): Add GLIBC_2.18.
19462         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
19463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19464         Likewise.
19465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19466         Likewise.
19467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19468         Likewise.
19469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19470         Likewise.
19471         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
19472         Likewise.
19473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19474         Likewise.
19475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19476         Likewise.
19477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19478         Likewise.
19479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19480         Likewise.
19482 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
19484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19485         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
19487 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19488             H.J. Lu  <hjl.tools@gmail.com>
19490         [BZ #15627]
19491         * sysdeps/x86_64/rtld-memset.c: Remove file.
19492         * sysdeps/x86_64/rtld-memset.S: New file.
19494 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
19496         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
19497         (test_in_one_mode): Take arguments for whether the rounding mode
19498         is supported for each floating-point type.
19499         (do_test): Pass new arguments to test_in_one_mode using
19500         ROUNDING_TESTS.
19502 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19504         * posix/tst-waitid.c (do_test): Distinguish different instances of
19505         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
19506         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
19507         before entering the kernel for waitpid.
19509 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19511         * NEWS: Fix note on clock function precision.  Text by Roland
19512         McGrath.
19514 2013-06-13  Roland McGrath  <roland@hack.frob.com>
19516         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
19517         it into place only when and if the sanity check passes.
19519 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
19521         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
19522         output for whether conversion result is exact.  Take argument
19523         indicating whether type is IBM long double.
19524         (round_for_all): Change need_exact field to ibm_ld.
19525         * stdlib/tst-strtod-round.c (struct exactness): New type.
19526         (struct test): Change bool ld_ok field to struct exactness exact.
19527         (TEST): Update all definitions for change to field.
19528         (tests): Regenerate array contents.
19529         (test_in_one_mode): Take pointer to new field instead of old ld_ok
19530         field value.  Check for IBM long double here.
19531         (do_test): Update calls to test_in_one_mode.
19533 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19535         [BZ #12515]
19536         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
19537         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
19539 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19541         [BZ #15605]
19542         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
19543         generated by the compiler on loop optimizations.
19544         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
19545         general definitions.
19547 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
19549         * math/bug-nextafter.c: Include <math-tests.h>.
19550         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19551         the relevant type.
19552         * math/bug-nexttoward.c: Include <math-tests.h>.
19553         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19554         the relevant type.
19555         * math/test-misc.c: Include <math-tests.h>.
19556         (main): Only test for exceptions if EXCEPTION_TESTS is true for
19557         the relevant type.
19559 2013-06-12  Andreas Jaeger  <aj@suse.de>
19561         * po/ia.po: Update Interlingua translation from translation
19562         project.
19564 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19566         * include/fenv.h: Include stdbool.h.
19567         (struct rm_ctx): New structure.
19568         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
19569         Define macro.
19570         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
19571         (SET_RESTORE_ROUNDF): Likewise.
19572         (SET_RESTORE_ROUNDL): Likewise.
19573         (SET_RESTORE_ROUND_NOEX): Likewise.
19574         (SET_RESTORE_ROUND_NOEXF): Likewise.
19575         (SET_RESTORE_ROUND_NOEXL): Likewise.
19576         (SET_RESTORE_ROUND_53BIT): Likewise.
19577         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
19578         (libc_feresetround_noexf_ctx): Likewise.
19579         (libc_feresetround_noexl_ctx): Likewise.
19580         (libc_feholdsetround_53bit_ctx): Likewise.
19581         (libc_feresetround_53bit_ctx): Likewise.
19582         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
19583         (libc_feholdexcept_setround_sse_ctx): New function.
19584         (libc_fesetenv_sse_ctx): Likewise.
19585         (libc_feupdateenv_sse_ctx): Likewise.
19586         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
19587         (libc_feholdexcept_setround_387_ctx): Likewise.
19588         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
19589         (libc_feholdsetround_387_prec_ctx): Likewise.
19590         (libc_feholdsetround_387_ctx): Likewise.
19591         (libc_feholdsetround_387_53bit_ctx): Likewise.
19592         (libc_feholdsetround_sse_ctx): Likewise.
19593         (libc_feresetround_sse_ctx): Likewise.
19594         (libc_feresetround_387_ctx): Likewise.
19595         (libc_feupdateenv_387_ctx): Likewise.
19596         (libc_feholdexcept_setroundf_ctx): Define macro.
19597         (libc_fesetenvf_ctx): Likewise.
19598         (libc_feupdateenvf_ctx): Likewise.
19599         (libc_feholdsetroundf_ctx): Likewise.
19600         (libc_feresetroundf_ctx): Likewise.
19601         (libc_feholdexcept_setround_ctx): Likewise.
19602         (libc_fesetenv_ctx): Likewise.
19603         (libc_feupdateenv_ctx): Likewise.
19604         (libc_feholdsetround_ctx): Likewise.
19605         (libc_feresetround_ctx): Likewise.
19606         (libc_feholdexcept_setroundl_ctx): Likewise.
19607         (libc_feupdateenvl_ctx): Likewise.
19608         (libc_feholdsetroundl_ctx): Likewise.
19609         (libc_feresetroundl_ctx): Likewise.
19610         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
19611         (libc_feresetround_53bit_ctx): Likewise.
19613 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19615         * locale/iso-639.def: Convert to UTF-8.
19617 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
19619         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
19620         (EXCEPTION_TESTS_double): Likewise.
19621         (EXCEPTION_TESTS_long_double): Likewise.
19622         (EXCEPTION_TESTS): Likewise.
19623         * math/libm-test.inc (test_exceptions): Only test exceptions if
19624         EXCEPTION_TESTS (FLOAT).
19626 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19628         * benchtests/Makefile (string-bench): Add strcpy_chk and
19629         stpcpy_chk.
19630         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
19631         * benchtests/bench-stpcpy_chk.c: New file.
19632         * benchtests/bench-strcpy_chk-ifunc.c: New file.
19633         * benchtests/bench-strcpy_chk.c: New file.
19634         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
19635         code.
19636         (do_test): Likewise.
19638 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19640         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
19641         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
19642         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
19643         with tabs where appropriate.
19644         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
19645         dl-procinfo.h.
19646         [PPC_PLATFORM_PPC440]: Likewise.
19647         [PPC_PLATFORM_PPC464]: Likewise.
19648         [PPC_PLATFORM_PPC476]: Likewise.
19649         (_dl_string_platform): Add support for detecting ppc405, ppc440,
19650         ppc464, and ppc476 platform strings merging from ports/
19651         dl-procinfo.h.
19653 2013-06-11  Andreas Schwab  <schwab@suse.de>
19655         [BZ #14991]
19656         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
19657         (from_ucs4_idx): Regenerate.
19658         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
19659         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
19660         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
19661         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
19662         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
19663         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
19664         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
19665         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
19666         from FROM_LOOP and TO_LOOP specific macros.
19667         (BODY): Handle combining characters.
19668         * iconvdata/BIG5HKSCS.irreversible: Update.
19669         * iconvdata/BIG5HKSCS.precomposed: New file.
19670         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
19671         characters.
19672         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
19674 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19676         * include/sys/time.h: Fix indentation and add copyright header.
19678         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
19679         (do_test): Likewise.
19680         * string/test-memchr.c (do_one_test): Likewise.
19681         (do_test): Likewise.
19682         * string/test-memcmp.c (do_one_test): Likewise.
19683         (do_test): Likewise.
19684         * string/test-memcpy.c (do_one_test): Likewise.
19685         (do_test): Likewise.
19686         * string/test-memmem.c (do_one_test): Likewise.
19687         (do_test): Likewise.
19688         (do_random_tests): Likewise.
19689         * string/test-memmove.c (do_one_test): Likewise.
19690         (do_test): Likewise.
19691         * string/test-memset.c (do_one_test): Likewise.
19692         (do_test): Likewise.
19693         * string/test-rawmemchr.c (do_one_test): Likewise.
19694         (do_test): Likewise.
19695         * string/test-strcasecmp.c (do_one_test): Likewise.
19696         (do_test): Likewise.
19697         * string/test-strcasestr.c (do_one_test): Likewise.
19698         (do_test): Likewise.
19699         * string/test-strcat.c (do_one_test): Likewise.
19700         (do_test): Likewise.
19701         * string/test-strchr.c (do_one_test): Likewise.
19702         (do_test): Likewise.
19703         * string/test-strcmp.c (do_one_test): Likewise.
19704         (do_test): Likewise.
19705         * string/test-strcpy.c (do_one_test): Likewise.
19706         (do_test): Likewise.
19707         * string/test-string.h: Likewise.
19708         (test_init): Likewise.
19709         * string/test-strlen.c (do_one_test): Likewise.
19710         (do_test): Likewise.
19711         * string/test-strncasecmp.c (do_one_test): Likewise.
19712         (do_test): Likewise.
19713         * string/test-strncat.c (do_one_test): Likewise.
19714         (do_test): Likewise.
19715         * string/test-strncmp.c (do_one_test): Likewise.
19716         (do_test_limit): Likewise.
19717         (do_test): Likewise.
19718         * string/test-strncpy.c (do_one_test): Likewise.
19719         (do_test): Likewise.
19720         * string/test-strnlen.c (do_one_test): Likewise.
19721         (do_test): Likewise.
19722         * string/test-strpbrk.c (do_one_test): Likewise.
19723         (do_test): Likewise.
19724         * string/test-strrchr.c (do_one_test): Likewise.
19725         (do_test): Likewise.
19726         * string/test-strspn.c (do_one_test): Likewise.
19727         (do_test): Likewise.
19728         * string/test-strstr.c (do_one_test): Likewise.
19729         (do_test): Likewise.
19731         * benchtests/Makefile (string-bench): Add string benchmarks.
19732         * benchtests/bench-bcopy-ifunc.c: New file.
19733         * benchtests/bench-bcopy.c: New file.
19734         * benchtests/bench-bzero-ifunc.c: New file.
19735         * benchtests/bench-bzero.c: New file.
19736         * benchtests/bench-memccpy-ifunc.c: New file.
19737         * benchtests/bench-memccpy.c: New file.
19738         * benchtests/bench-memchr-ifunc.c: New file.
19739         * benchtests/bench-memchr.c: New file.
19740         * benchtests/bench-memcmp-ifunc.c: New file.
19741         * benchtests/bench-memcmp.c: New file.
19742         * benchtests/bench-memmem-ifunc.c: New file.
19743         * benchtests/bench-memmem.c: New file.
19744         * benchtests/bench-memmove-ifunc.c: New file.
19745         * benchtests/bench-memmove.c: New file.
19746         * benchtests/bench-mempcpy-ifunc.c: New file.
19747         * benchtests/bench-mempcpy.c: New file.
19748         * benchtests/bench-memset-ifunc.c: New file.
19749         * benchtests/bench-memset.c: New file.
19750         * benchtests/bench-rawmemchr-ifunc.c: New file.
19751         * benchtests/bench-rawmemchr.c: New file.
19752         * benchtests/bench-stpcpy-ifunc.c: New file.
19753         * benchtests/bench-stpcpy.c: New file.
19754         * benchtests/bench-stpncpy-ifunc.c: New file.
19755         * benchtests/bench-stpncpy.c: New file.
19756         * benchtests/bench-strcasecmp-ifunc.c: New file.
19757         * benchtests/bench-strcasecmp.c: New file.
19758         * benchtests/bench-strcasestr-ifunc.c: New file.
19759         * benchtests/bench-strcasestr.c: New file.
19760         * benchtests/bench-strcat-ifunc.c: New file.
19761         * benchtests/bench-strcat.c: New file.
19762         * benchtests/bench-strchr-ifunc.c: New file.
19763         * benchtests/bench-strchr.c: New file.
19764         * benchtests/bench-strchrnul-ifunc.c: New file.
19765         * benchtests/bench-strchrnul.c: New file.
19766         * benchtests/bench-strcmp-ifunc.c: New file.
19767         * benchtests/bench-strcmp.c: New file.
19768         * benchtests/bench-strcpy-ifunc.c: New file.
19769         * benchtests/bench-strcpy.c: New file.
19770         * benchtests/bench-strcspn-ifunc.c: New file.
19771         * benchtests/bench-strcspn.c: New file.
19772         * benchtests/bench-strlen-ifunc.c: New file.
19773         * benchtests/bench-strlen.c: New file.
19774         * benchtests/bench-strncasecmp-ifunc.c: New file.
19775         * benchtests/bench-strncasecmp.c: New file.
19776         * benchtests/bench-strncat-ifunc.c: New file.
19777         * benchtests/bench-strncat.c: New file.
19778         * benchtests/bench-strncmp-ifunc.c: New file.
19779         * benchtests/bench-strncmp.c: New file.
19780         * benchtests/bench-strncpy-ifunc.c: New file.
19781         * benchtests/bench-strncpy.c: New file.
19782         * benchtests/bench-strnlen-ifunc.c: New file.
19783         * benchtests/bench-strnlen.c: New file.
19784         * benchtests/bench-strpbrk-ifunc.c: New file.
19785         * benchtests/bench-strpbrk.c: New file.
19786         * benchtests/bench-strrchr-ifunc.c: New file.
19787         * benchtests/bench-strrchr.c: New file.
19788         * benchtests/bench-strspn-ifunc.c: New file.
19789         * benchtests/bench-strspn.c: New file.
19790         * benchtests/bench-strstr-ifunc.c: New file.
19791         * benchtests/bench-strstr.c: New file.
19793         * benchtests/Makefile: Disable parallel execution of targets.
19794         (string-bench): Add memcpy.
19795         (benchset): New variable to store a list of benchmark sets.
19796         (bench-func): Renamed from bench.
19797         (bench-set): New target.
19798         (bench): Depend on bench-func and bench-set.
19799         * benchtests/README: Add section on benchmark sets.
19800         * benchtests/bench-memcpy-ifunc.c: New file.
19801         * benchtests/bench-memcpy.c: New file.
19802         * benchtests/bench-string.h: New file.
19804 2013-06-11  Andreas Schwab  <schwab@suse.de>
19806         [BZ #15577]
19807         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
19808         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
19809         values in the triple.
19810         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
19811         terminator in the group key.
19813 2013-06-11  Andreas Jaeger  <aj@suse.de>
19815         * po/zh_TW.po: Update Chinese (traditional) translation from
19816         translation project.
19818 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19820         * include/time.h (__clock_gettime): Add libc_hidden_proto.
19821         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
19822         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
19823         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19824         (clock_getcpuclockid): Likewise.
19825         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
19826         Add weak_alias and libc_hidden_def.
19827         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
19828         * rt/clock_gettime.c (clock_gettime): Rename to
19829         __clock_gettime.  Add weak_alias and libc_hidden_def.
19830         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
19831         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
19832         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
19833         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
19834         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
19835         Likewise.
19836         * rt/clock_settime.c (clock_settime): Rename to
19837         __clock_settime.  Add weak_alias and libc_hidden_def.
19838         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
19840 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
19842         * mach/err_boot.sub: Remove trailing whitespace.
19843         * mach/err_ipc.sub: Likewise.
19844         * mach/err_mach.sub: Likewise.
19846         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
19847         (ROUNDING_TESTS_double): Likewise.
19848         (ROUNDING_TESTS_long_double): Likewise.
19849         (ROUNDING_TESTS): Likewise.
19850         * math/libm-test.inc: Include <math-tests.h>.
19851         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
19852         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19853         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19854         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19856 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19858         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
19859         of assigning.
19861 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
19863         * sysdeps/gnu/errlist.awk: Do not generate space at end of
19864         otherwise empty TRANS lines.
19865         * sysdeps/gnu/errlist.c: Regenerated.
19867         * catgets/gencat.c (error_print): Use (void) in function
19868         definition.
19869         * crypt/crypt_util.c (__init_des): Likewise.
19870         * crypt/speeds.c (Stop): Likewise.
19871         (main): Likewise.
19872         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
19873         * inet/ruserpass.c (token): Likewise.
19874         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
19875         * intl/localealias.c (extend_alias_table): Likewise.
19876         * intl/plural-exp.c (init_germanic_plural): Likewise.
19877         * libio/fcloseall.c (__fcloseall): Likewise.
19878         * libio/genops.c (_IO_flush_all): Likewise.
19879         (_IO_flush_all_linebuffered): Likewise.
19880         (_IO_cleanup): Likewise.
19881         (_IO_iter_begin): Likewise.
19882         (_IO_iter_end): Likewise.
19883         (_IO_list_lock): Likewise.
19884         (_IO_list_unlock): Likewise.
19885         (_IO_list_resetlock): Likewise.
19886         * libio/getchar.c (getchar): Likewise.
19887         * libio/getchar_u.c (getchar_unlocked): Likewise.
19888         * libio/getwchar.c (getwchar): Likewise.
19889         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
19890         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
19891         * login/getpt.c (__getpt): Likewise.
19892         * login/tst-utmp.c (main): Likewise.
19893         * malloc/hooks.c (__malloc_check_init): Likewise.
19894         * malloc/malloc.c (__malloc_stats): Likewise.
19895         * malloc/mtrace.c (tr_break): Likewise.
19896         (mtrace): Likewise.
19897         (muntrace): Likewise.
19898         * misc/fstab.c (endfsent): Likewise.
19899         * misc/getclktck.c (__getclktck): Likewise.
19900         * misc/getdtsz.c (__getdtablesize): Likewise.
19901         * misc/gethostid.c (gethostid): Likewise.
19902         * misc/getpagesize.c (__getpagesize): Likewise.
19903         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
19904         (__get_nprocs): Likewise.
19905         (__get_phys_pages): Likewise.
19906         (__get_avphys_pages): Likewise.
19907         * misc/getttyent.c (getttyent): Likewise.
19908         (setttyent): Likewise.
19909         (endttyent): Likewise.
19910         * misc/getusershell.c (getusershell): Likewise.
19911         (endusershell): Likewise.
19912         (setusershell): Likewise.
19913         (initshells): Likewise.
19914         * misc/hsearch.c (__hdestroy): Likewise.
19915         * misc/sync.c (sync): Likewise.
19916         * misc/syslog.c (closelog_internal): Likewise.
19917         (closelog): Likewise.
19918         * misc/ttyslot.c (ttyslot): Likewise.
19919         * misc/vhangup.c (vhangup): Likewise.
19920         * posix/fork.c (__fork): Likewise.
19921         * posix/getegid.c (__getegid): Likewise.
19922         * posix/geteuid.c (__geteuid): Likewise.
19923         * posix/getgid.c (__getgid): Likewise.
19924         * posix/getpid.c (__getpid): Likewise.
19925         * posix/getppid.c (__getppid): Likewise.
19926         * posix/getuid.c (__getuid): Likewise.
19927         * posix/pause.c (pause): Likewise.
19928         * posix/setpgrp.c (setpgrp): Likewise.
19929         * posix/setsid.c (__setsid): Likewise.
19930         * posix/test-vfork.c (noop): Likewise.
19931         * resolv/gethnamaddr.c (_endhtent): Likewise.
19932         (_gethtent): Likewise.
19933         (ht_endhostent): Likewise.
19934         (gethostent): Likewise.
19935         (dns_service): Likewise.
19936         * stdlib/drand48.c (drand48): Likewise.
19937         * stdlib/lrand48.c (lrand48): Likewise.
19938         * stdlib/mrand48.c (mrand48): Likewise.
19939         * stdlib/rand.c (rand): Likewise.
19940         * stdlib/random.c (__random): Likewise.
19941         * stdlib/setenv.c (clearenv): Likewise.
19942         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
19943         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
19944         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
19945         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
19946         (__get_nprocs): Likewise.
19947         (__get_phys_pages): Likewise.
19948         (__get_avphys_pages): Likewise.
19949         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
19950         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
19951         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
19952         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
19953         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
19954         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
19955         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
19956         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
19957         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
19958         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
19959         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
19960         * sysdeps/mach/hurd/sync.c (sync): Likewise.
19961         * sysdeps/posix/clock.c (clock): Likewise.
19962         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
19963         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
19964         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
19965         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
19966         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
19967         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
19968         (__get_nprocs_conf): Likewise.
19969         (__get_phys_pages): Likewise.
19970         (__get_avphys_pages): Likewise.
19971         * time/clock.c (clock): Likewise.
19972         * time/tzset.c (__tzname_max): Likewise.
19974 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
19976         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
19977         (__bswap_32): Do not use "register".
19978         * crypt/crypt.c (_ufc_doit_r): Likewise.
19979         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19980         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19981         * gmon/gmon.c (__monstartup): Likewise.
19982         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
19983         * hurd/hurdmalloc.c (more_memory): Likewise.
19984         (malloc): Likewise.
19985         (free): Likewise.
19986         (realloc): Likewise.
19987         (malloc_fork_prepare): Likewise.
19988         (malloc_fork_parent): Likewise.
19989         (malloc_fork_child): Likewise.
19990         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
19991         (_svcauth_des): Likewise.
19992         * inet/inet_lnaof.c (inet_lnaof): Likewise.
19993         * inet/inet_net.c (inet_network): Likewise.
19994         * inet/inet_netof.c (inet_netof): Likewise.
19995         * inet/rcmd.c (__validuser2_sa): Likewise.
19996         * io/fts.c (fts_open): Likewise.
19997         (fts_load): Likewise.
19998         (fts_close): Likewise.
19999         (fts_read): Likewise.
20000         (fts_children): Likewise.
20001         (fts_build): Likewise.
20002         (fts_stat): Likewise.
20003         (fts_sort): Likewise.
20004         (fts_alloc): Likewise.
20005         (fts_lfree): Likewise.
20006         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20007         (_IO_file_xsgetn): Likewise.
20008         (_IO_file_xsgetn_mmap): Likewise.
20009         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20010         (_IO_cookie_write): Likewise.
20011         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20012         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20013         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20014         * malloc/obstack.c (_obstack_begin): Likewise.
20015         (_obstack_begin_1): Likewise.
20016         (_obstack_newchunk): Likewise.
20017         (_obstack_allocated_p): Likewise.
20018         (obstack_free): Likewise.
20019         (_obstack_memory_used): Likewise.
20020         * misc/getttyent.c (getttynam): Likewise.
20021         (getttyent): Likewise.
20022         (skip): Likewise.
20023         (value): Likewise.
20024         * misc/getusershell.c (initshells): Likewise.
20025         * misc/syslog.c (__vsyslog_chk): Likewise.
20026         * misc/ttyslot.c (ttyslot): Likewise.
20027         * nis/nis_hash.c (__nis_hash): Likewise.
20028         * posix/fnmatch_loop.c (FCT): Likewise.
20029         * posix/getconf.c (print_all): Likewise.
20030         (main): Likewise.
20031         * posix/getopt.c (exchange): Likewise.
20032         * posix/glob.c (globfree): Likewise.
20033         (prefix_array): Likewise.
20034         (__glob_pattern_type): Likewise.
20035         * resolv/arpa/nameser.h (NS_GET16): Likewise.
20036         (NS_GET32): Likewise.
20037         (NS_PUT16): Likewise.
20038         (NS_PUT32): Likewise.
20039         * resolv/gethnamaddr.c (getanswer): Likewise.
20040         (gethostbyname2): Likewise.
20041         (gethostbyaddr): Likewise.
20042         (_gethtent): Likewise.
20043         (_gethtbyname2): Likewise.
20044         (_gethtbyaddr): Likewise.
20045         * resolv/ns_print.c (dst_s_get_int16): Likewise.
20046         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20047         * resolv/res_init.c (__res_vinit): Likewise.
20048         (net_mask): Likewise.
20049         * resolv/res_mkquery.c (outchar): Likewise.
20050         (PRINT): Likewise.
20051         * stdio-common/printf_fp.c (outchar): Likewise.
20052         (PRINT): Likewise.
20053         * stdio-common/printf_fphex.c (outchar): Likewise.
20054         (PRINT): Likewise.
20055         * stdio-common/printf_size.c (outchar): Likewise.
20056         (PRINT): Likewise.
20057         * stdio-common/test_rdwr.c (main): Likewise.
20058         * stdio-common/tfformat.c (matches): Likewise.
20059         * stdio-common/vfprintf.c (outchar): Likewise.
20060         (printf_unknown): Likewise.
20061         (buffered_vfprintf): Likewise.
20062         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20063         * stdio-common/xbug.c (AppendToBuffer): Likewise.
20064         (ReadFile): Likewise.
20065         * stdlib/qsort.c (SWAP): Likewise.
20066         (_quicksort): Likewise.
20067         * stdlib/setenv.c (__add_to_environ): Likewise.
20068         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20069         * stdlib/strtol_l.c (__strtol_l): Likewise.
20070         * stdlib/tst-strtod.c (main): Likewise.
20071         * stdlib/tst-strtol.c (main): Likewise.
20072         * stdlib/tst-strtoll.c (main): Likewise.
20073         * string/bits/string2.h (__strcmp_cc): Likewise.
20074         (__strcmp_cg): Likewise.
20075         (__strcspn_c1): Likewise.
20076         (__strcspn_c2): Likewise.
20077         (__strcspn_c3): Likewise.
20078         (__strspn_c1): Likewise.
20079         (__strspn_c2): Likewise.
20080         (__strspn_c3): Likewise.
20081         (__strsep_1c): Likewise.
20082         (__strsep_2c): Likewise.
20083         (__strsep_3c): Likewise.
20084         * string/memccpy.c (__memccpy): Likewise.
20085         * string/stpcpy.c (__stpcpy): Likewise.
20086         * string/strcmp.c (strcmp): Likewise.
20087         * string/strrchr.c (strrchr): Likewise.
20088         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20089         Likewise.
20090         * sysdeps/mach/hurd/getcwd.c
20091         (_hurd_canonicalize_directory_name_internal): Likewise.
20092         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20093         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20094         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20095         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20096         Likewise, in both definitions.
20097         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20098         definitions.
20099         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20100         64] (__bswap_64): Likewise.
20101         * time/test_time.c (main): Likewise.
20102         * time/tzfile.c (__tzfile_read): Likewise.
20103         (__tzfile_compute): Likewise.
20104         * time/tzset.c (__tzset_parse_tz): Likewise.
20105         (tzset_internal): Likewise.
20106         (compute_change): Likewise.
20107         * wcsmbs/wcscat.c (__wcscat): Likewise.
20108         * wcsmbs/wcschr.c (wcschr): Likewise.
20109         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20110         * wcsmbs/wcscspn.c (wcscspn): Likewise.
20111         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20112         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20113         * wcsmbs/wcsspn.c (wcsspn): Likewise.
20114         * wcsmbs/wcsstr.c (wcsstr): Likewise.
20115         * wcsmbs/wmemchr.c (wmemchr): Likewise.
20116         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20117         * wcsmbs/wmemset.c (wmemset): Likewise.
20119 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
20121         * scripts/config.guess: Update to version 2013-05-16.
20122         * scripts/config.sub: Update to version 2013-04-24.
20123         * scripts/install-sh: Update to version 2011-11-20.07.
20124         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20125         * scripts/move-if-change: Update to version 2012-01-06 07:23.
20127 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
20129         * debug/fgetws_u_chk.c: Fix leading whitespaces.
20130         * elf/sln.c: Likewise.
20131         * hurd/hurd/ioctl.h: Likewise.
20132         * hurd/hurdmalloc.c: Likewise.
20133         * hurd/xattr.c: Likewise.
20134         * include/shlib-compat.h: Likewise.
20135         * inet/ruserpass.c: Likewise.
20136         * libio/iofgets_u.c: Likewise.
20137         * libio/iofgetws_u.c: Likewise.
20138         * locale/programs/ld-identification.c: Likewise.
20139         * locale/programs/ld-time.c: Likewise.
20140         * mach/msg-destroy.c: Likewise.
20141         * nss/nss_files/files-netgrp.c: Likewise.
20142         * resolv/res_data.c: Likewise.
20143         * soft-fp/op-1.h: Likewise.
20144         * soft-fp/op-2.h: Likewise.
20145         * soft-fp/op-4.h: Likewise.
20146         * soft-fp/op-common.h: Likewise.
20147         * stdio-common/printf_fphex.c: Likewise.
20148         * stdlib/strtod_l.c: Likewise.
20149         * sunrpc/rpc/clnt.h: Likewise.
20150         * sysdeps/generic/framestate.c: Likewise.
20151         * sysdeps/i386/bsd-_setjmp.S: Likewise.
20152         * sysdeps/i386/bsd-setjmp.S: Likewise.
20153         * sysdeps/i386/__longjmp.S: Likewise.
20154         * sysdeps/i386/setjmp.S: Likewise.
20155         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20156         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20157         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20158         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20159         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20160         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20161         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20162         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20163         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20164         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20165         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20166         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20167         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20168         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20169         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20170         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20171         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20172         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20173         * sysdeps/ieee754/support.c: Likewise.
20174         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20175         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20176         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20177         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20178         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20179         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20180         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20181         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20182         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20183         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20184         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20185         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20186         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20187         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20188         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20189         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20190         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20193 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
20195         * posix/transbug.c: Remove executable mode.
20197 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
20199         * crypt/speeds.c: Remove trailing whitespace.
20200         * dlfcn/default.c: Likewise.
20201         * elf/ifuncdep2.c: Likewise.
20202         * elf/ifuncmain1.c: Likewise.
20203         * elf/ifuncmain1vis.c: Likewise.
20204         * elf/testobj.h: Likewise.
20205         * elf/tst-stackguard1.c: Likewise.
20206         * gmon/sys/gmon.h: Likewise.
20207         * hurd/hurdmsg.c: Likewise.
20208         * hurd/new-fd.c: Likewise.
20209         * hurd/ports-get.c: Likewise.
20210         * iconvdata/ibm1008_420.c: Likewise.
20211         * inet/tst-getni1.c: Likewise.
20212         * inet/tst-getni2.c: Likewise.
20213         * libio/ioungetc.c: Likewise.
20214         * libio/wfiledoalloc.c: Likewise.
20215         * manual/libm-err-tab.pl: Likewise.
20216         * math/w_dremf.c: Likewise.
20217         * misc/ftruncate.c: Likewise.
20218         * posix/bug-glob2.c: Likewise.
20219         * posix/tst-pcre.c: Likewise.
20220         * posix/wait4.c: Likewise.
20221         * resolv/README: Likewise.
20222         * resolv/res_debug.h: Likewise.
20223         * resolv/tst-inet_ntop.c: Likewise.
20224         * setjmp/bug269-setjmp.c: Likewise.
20225         * soft-fp/extended.h: Likewise.
20226         * soft-fp/op-1.h: Likewise.
20227         * soft-fp/op-2.h: Likewise.
20228         * soft-fp/op-4.h: Likewise.
20229         * soft-fp/op-8.h: Likewise.
20230         * soft-fp/testit.c: Likewise.
20231         * stdio-common/bug16.c: Likewise.
20232         * stdlib/random.c: Likewise.
20233         * sunrpc/rpcsvc/rquota.x: Likewise.
20234         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
20235         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20236         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20237         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20238         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20239         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20240         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20241         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20242         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20243         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20244         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20245         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
20246         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20247         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
20248         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20249         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
20250         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
20251         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20252         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
20253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20255         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20256         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
20257         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
20258         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
20259         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
20260         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20261         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20262         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20263         * sysdeps/ieee754/s_lib_version.c: Likewise.
20264         * sysdeps/mach/hurd/check_fds.c: Likewise.
20265         * sysdeps/mach/hurd/getsockname.c: Likewise.
20266         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
20267         * sysdeps/mach/hurd/recvfrom.c: Likewise.
20268         * sysdeps/powerpc/bits/link.h: Likewise.
20269         * sysdeps/powerpc/dl-procinfo.c: Likewise.
20270         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
20271         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
20272         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
20273         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20274         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
20275         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
20276         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20277         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
20278         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20279         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20280         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20281         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
20282         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20283         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20284         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20285         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20286         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20287         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20288         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20289         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20290         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
20291         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20292         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20293         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
20294         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20295         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20296         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20297         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20298         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20299         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20300         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20301         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20302         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20303         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
20304         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20305         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
20306         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20307         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20308         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
20309         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
20310         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
20311         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
20312         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
20313         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20314         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
20315         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
20316         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20317         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
20318         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
20319         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20321         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20322         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20323         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
20324         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20325         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20326         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20327         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
20328         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20329         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
20330         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
20331         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
20332         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20333         * sysdeps/powerpc/sysdep.h: Likewise.
20334         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20335         * sysdeps/s390/s390-64/sub_n.S: Likewise.
20336         * sysdeps/sh/dl-trampoline.S: Likewise.
20337         * sysdeps/sh/memset.S: Likewise.
20338         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
20339         * sysdeps/sh/strlen.S: Likewise.
20340         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
20341         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
20342         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
20343         * sysdeps/sparc/sparc32/rem.S: Likewise.
20344         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20345         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
20346         * sysdeps/sparc/sparc32/strchr.S: Likewise.
20347         * sysdeps/sparc/sparc32/udiv.S: Likewise.
20348         * sysdeps/sparc/sparc32/urem.S: Likewise.
20349         * sysdeps/sparc/sparc64/add_n.S: Likewise.
20350         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20351         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
20352         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
20353         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
20354         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
20355         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20356         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
20357         * sysdeps/unix/bsd/times.c: Likewise.
20358         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
20359         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
20360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
20361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
20362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20363         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
20364         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20365         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
20366         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
20367         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
20368         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
20369         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20370         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
20371         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
20372         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20373         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20374         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20375         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
20376         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
20377         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
20378         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
20379         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
20380         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
20381         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
20382         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
20383         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20384         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
20385         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20386         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
20387         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
20388         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
20389         * sysdeps/x86_64/strcspn.S: Likewise.
20391 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20393         * locale/C-translit.h: Revert #include <stdint.h> because this is a
20394         generated file.  Regenerate properly from gen-translit.pl.
20395         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
20396         locale/C-translit.h.
20398 2013-06-05  Andreas Schwab  <schwab@suse.de>
20400         [BZ #15100]
20401         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
20402         week as 6 instead of -1.
20403         * time/tst-strptime.c (day_tests): Add test case.
20405 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20407         * sysdeps/generic/math_private.h
20408         (libc_feholdexcept_setround_53bit): Replace with
20409         libc_feholdsetround_53bit.
20410         (libc_feupdateenv_53bit): Replace with
20411         libc_feresetround_53bit.
20412         (SET_RESTORE_ROUND_53BIT): Adjust.
20414 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20416         * string/test-strchrnul.c: Add copyright header.
20418         * posix/tst-getaddrinfo4.c: Increase test timeout.
20420 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
20422         [BZ #15536]
20423         * math/libm-test.inc (MAX_EXP): Remove
20424         (MIN_EXP): Define.
20425         (ulp): Use MIN_EXP - MANT_DIG.
20426         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
20428 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
20430         * po/be.po: Revert last change.
20431         * po/zh_CN.po: Likewise.
20432         * po/header.pot: Likewise.
20434 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
20436         * Makefile ($(common-objpfx)linkobj/libc.so): Define
20437         link-libc-deps to empty as target-specific variable.
20438         * Makerules (link-libc-args): New variable.
20439         (libc-for-link): Likewise.
20440         (link-libc-deps): Likewise.
20441         (lib%.so): Depend on $(link-libc-deps).  Link with
20442         $(link-libc-args).
20443         (build-module): Link with $(link-libc-args).
20444         (build-module-asneeded): Likewise.
20445         (build-module-helper-objlist): Filter out $(link-libc-deps) from
20446         list of objects.
20447         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
20448         target-specific variable.
20449         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
20450         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
20451         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
20452         libc.
20453         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
20454         libc and ld.so.
20455         ($(objpfx)libpcprofile.so): Likewise.
20456         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
20457         libc_nonshared.a.
20458         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
20459         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
20460         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
20461         $(link-libc-deps).
20462         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
20463         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
20464         * login/Makefile ($(objpfx)libutil.so): Likewise.
20465         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
20466         * math/Makefile ($(objpfx)libm.so): Likewise.
20467         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
20468         $(objpfx)libnsl.so): Define libc-for-link as target-specific
20469         variable instead of depending directly on libc.
20470         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
20471         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
20472         $(link-libc-deps).
20473         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
20474         libc.
20475         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
20476         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
20477         ($(objpfx)libanl.so): Likewise.
20478         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
20479         ld.so.
20480         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
20481         $(link-libc-deps).
20482         * sysdeps/i386/fpu/Makefile: Remove file.
20483         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
20484         ($(objpfx)libm.so): Remove dependency on ld.so.
20486 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
20488         [BZ # 15553]
20489         * nis/yp_xdr.c (XDRMAXNAME): Define.
20490         (XDRMAXRECORD): Define.
20491         (xdr_domainname): Use XDRMAXNAME.
20492         (xdr_mapname): Likewise.
20493         (xdr_peername): Likewise.
20494         (xdr_keydat): Use XDRMAXRECORD.
20495         (xdr_valdat): Likewise.
20497 2013-05-30  Jeff Law  <law@redhat.com>
20499         [BZ #14256]
20500         * manual/errno.texi (ESTALE): Update to account for more than
20501         just NFS file systems.
20502         * sysdeps/gnu/errlist.c: Regenerated.
20504 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20506         [BZ #15465]
20507         * elf/Makefile (tests): Add tst-null-argv.
20508         (modules-names):  Add tst-null-argv-lib.
20509         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
20510         (tst-null-argv-ENV): Set environment for tst-null-argv.
20511         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
20512         (RTLD_PROGNAME): New macro.
20513         * elf/tst-null-argv.c: New test case.
20514         * elf/tst-null-argv-lib.c: Library for test case.
20515         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
20516         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
20517         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
20518         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
20519         * elf/dl-init.c (call_init): Likewise.
20520         (_dl_init): Likewise.
20521         * elf/dl-load.c (print_search_path): Likewise.
20522         (_dl_map_object): Likewise.
20523         * elf/dl-lookup.c (do_lookup_x): Likewise.
20524         (add_dependency): Likewise.
20525         (_dl_lookup_symbol_x): Likewise.
20526         (_dl_debug_bindings): Likewise.
20527         * elf/dl-open.c (_dl_show_scope): Likewise.
20528         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20529         * elf/dl-version.c (match_symbol): Likewise.
20530         (_dl_check_map_versions): Likewise.
20531         * elf/rtld.c (dl_main): Likewise.
20532         (print_unresolved): Use RTLD_PROGNAME.
20533         (print_missing_version): Likewise.
20534         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
20535         (elf_machine_rela): Likewise.
20536         * sysdeps/powerpc/powerpc32/dl-machine.c
20537         (__process_machine_rela): Likewise.
20538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20539         Likewise.
20540         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20541         Likewise.
20542         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
20543         Likewise.
20544         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20545         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
20546         Likewise.
20547         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
20548         Likewise.
20549         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20551 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
20553         * po/be.po: Add descriptive title.
20554         * po/zh_CN.po: Likewise.
20555         * po/header.pot: Likewise.
20557 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
20559         * locale/programs/locarchive.c (create_archive): Inlucde fname in
20560         error message.
20561         (enlarge_archive): Likewise.
20563 2013-05-28  Ben North  <ben@redfrontdoor.org>
20565         * manual/arith.texi (frexp): It is the magnitude of the return
20566         value which lies in [0.5, 1), not the return value itself.
20568 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20572 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
20574         * stdio-common/bug26.c (main): Correct fscanf template.
20576         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
20577         declare _dl_skip_args.
20579         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
20580         Don't declare.
20582         * manual/platform.texi: Add missing @end deftypefun.
20584 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20586         [BZ #15529]
20587         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
20588         bit of mantissa of 2^16382.
20589         * math/libm-test.inc (hypot_test_data): Add more tests.
20591         * math/libm-test.inc: Add drem and pow10 to list of tested
20592         functions.
20593         (pow10_test): New function.
20594         (drem_test): Likewise.
20595         (drem_test_tonearest): Likewise.
20596         (drem_test_towardzero): Likewise.
20597         (drem_test_downward): Likewise.
20598         (drem_test_upward): Likewise.
20599         (main): Call the new functions.
20601         * math/libm-test.inc (finite_test_data): Remove.
20602         (finite_test): Run tests from isfinite_test_data.
20603         (gamma_test_data): Remove.
20604         (gamma_test): Run tests from lgamma_test_data.
20605         * sysdeps/i386/fpu/libm-test-ulps: Update.
20606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20608 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20610         * manual/platform.texi: Add PowerPC PPR function set documentation.
20611         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
20612         implementation.
20614 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
20616         * math/libm-test.inc (MAX_EXP): Define.
20617         (ULPDIFF): Define.
20618         (ulp): New function.
20619         (check_float_internal): Use ULPDIFF.
20620         (cpow_test): Disable failing test.
20621         (check_ulp): Test ulp() implemetnation.
20622         (main): Call check_ulp before starting tests.
20624 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
20626         * math/gen-libm-test.pl (generate_testfile): Do not handle
20627         START_DATA and END_DATA.
20628         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
20629         END_DATA.
20630         (acos_tonearest_test_data): Likewise.
20631         (acos_towardzero_test_data): Likewise.
20632         (acos_downward_test_data): Likewise.
20633         (acos_upward_test_data): Likewise.
20634         (acosh_test_data): Likewise.
20635         (asin_test_data): Likewise.
20636         (asin_tonearest_test_data): Likewise.
20637         (asin_towardzero_test_data): Likewise.
20638         (asin_downward_test_data): Likewise.
20639         (asin_upward_test_data): Likewise.
20640         (asinh_test_data): Likewise.
20641         (atan_test_data): Likewise.
20642         (atanh_test_data): Likewise.
20643         (atan2_test_data): Likewise.
20644         (cabs_test_data): Likewise.
20645         (cacos_test_data): Likewise.
20646         (cacosh_test_data): Likewise.
20647         (carg_test_data): Likewise.
20648         (casin_test_data): Likewise.
20649         (casinh_test_data): Likewise.
20650         (catan_test_data): Likewise.
20651         (catanh_test_data): Likewise.
20652         (cbrt_test_data): Likewise.
20653         (ccos_test_data): Likewise.
20654         (ccosh_test_data): Likewise.
20655         (ceil_test_data): Likewise.
20656         (cexp_test_data): Likewise.
20657         (cimag_test_data): Likewise.
20658         (clog_test_data): Likewise.
20659         (clog10_test_data): Likewise.
20660         (conj_test_data): Likewise.
20661         (copysign_test_data): Likewise.
20662         (cos_test_data): Likewise.
20663         (cos_tonearest_test_data): Likewise.
20664         (cos_towardzero_test_data): Likewise.
20665         (cos_downward_test_data): Likewise.
20666         (cos_upward_test_data): Likewise.
20667         (cosh_test_data): Likewise.
20668         (cosh_tonearest_test_data): Likewise.
20669         (cosh_towardzero_test_data): Likewise.
20670         (cosh_downward_test_data): Likewise.
20671         (cosh_upward_test_data): Likewise.
20672         (cpow_test_data): Likewise.
20673         (cproj_test_data): Likewise.
20674         (creal_test_data): Likewise.
20675         (csin_test_data): Likewise.
20676         (csinh_test_data): Likewise.
20677         (csqrt_test_data): Likewise.
20678         (ctan_test_data): Likewise.
20679         (ctan_tonearest_test_data): Likewise.
20680         (ctan_towardzero_test_data): Likewise.
20681         (ctan_downward_test_data): Likewise.
20682         (ctan_upward_test_data): Likewise.
20683         (ctanh_test_data): Likewise.
20684         (ctanh_tonearest_test_data): Likewise.
20685         (ctanh_towardzero_test_data): Likewise.
20686         (ctanh_downward_test_data): Likewise.
20687         (ctanh_upward_test_data): Likewise.
20688         (erf_test_data): Likewise.
20689         (erfc_test_data): Likewise.
20690         (exp_test_data): Likewise.
20691         (exp_tonearest_test_data): Likewise.
20692         (exp_towardzero_test_data): Likewise.
20693         (exp_downward_test_data): Likewise.
20694         (exp_upward_test_data): Likewise.
20695         (exp10_test_data): Likewise.
20696         (exp2_test_data): Likewise.
20697         (expm1_test_data): Likewise.
20698         (fabs_test_data): Likewise.
20699         (fdim_test_data): Likewise.
20700         (finite_test_data): Likewise.
20701         (floor_test_data): Likewise.
20702         (fma_test_data): Likewise.
20703         (fma_towardzero_test_data): Likewise.
20704         (fma_downward_test_data): Likewise.
20705         (fma_upward_test_data): Likewise.
20706         (fmax_test_data): Likewise.
20707         (fmin_test_data): Likewise.
20708         (fmod_test_data): Likewise.
20709         (fpclassify_test_data): Likewise.
20710         (frexp_test_data): Likewise.
20711         (gamma_test_data): Likewise.
20712         (hypot_test_data): Likewise.
20713         (ilogb_test_data): Likewise.
20714         (isfinite_test_data): Likewise.
20715         (isgreater_test_data): Likewise.
20716         (isgreaterequal_test_data): Likewise.
20717         (isinf_test_data): Likewise.
20718         (isless_test_data): Likewise.
20719         (islessequal_test_data): Likewise.
20720         (islessgreater_test_data): Likewise.
20721         (isnan_test_data): Likewise.
20722         (isnormal_test_data): Likewise.
20723         (issignaling_test_data): Likewise.
20724         (isunordered_test_data): Likewise.
20725         (j0_test_data): Likewise.
20726         (j1_test_data): Likewise.
20727         (jn_test_data): Likewise.
20728         (ldexp_test_data): Likewise.
20729         (lgamma_test_data): Likewise.
20730         (lrint_test_data): Likewise.
20731         (lrint_tonearest_test_data): Likewise.
20732         (lrint_towardzero_test_data): Likewise.
20733         (lrint_downward_test_data): Likewise.
20734         (lrint_upward_test_data): Likewise.
20735         (llrint_test_data): Likewise.
20736         (llrint_tonearest_test_data): Likewise.
20737         (llrint_towardzero_test_data): Likewise.
20738         (llrint_downward_test_data): Likewise.
20739         (llrint_upward_test_data): Likewise.
20740         (log_test_data): Likewise.
20741         (log10_test_data): Likewise.
20742         (log1p_test_data): Likewise.
20743         (log2_test_data): Likewise.
20744         (logb_test_data): Likewise.
20745         (logb_downward_test_data): Likewise.
20746         (lround_test_data): Likewise.
20747         (llround_test_data): Likewise.
20748         (modf_test_data): Likewise.
20749         (nearbyint_test_data): Likewise.
20750         (nextafter_test_data): Likewise.
20751         (nexttoward_test_data): Likewise.
20752         (pow_test_data): Likewise.
20753         (pow_tonearest_test_data): Likewise.
20754         (pow_towardzero_test_data): Likewise.
20755         (pow_downward_test_data): Likewise.
20756         (pow_upward_test_data): Likewise.
20757         (remainder_test_data): Likewise.
20758         (remainder_tonearest_test_data): Likewise.
20759         (remainder_towardzero_test_data): Likewise.
20760         (remainder_downward_test_data): Likewise.
20761         (remainder_upward_test_data): Likewise.
20762         (remquo_test_data): Likewise.
20763         (rint_test_data): Likewise.
20764         (rint_tonearest_test_data): Likewise.
20765         (rint_towardzero_test_data): Likewise.
20766         (rint_downward_test_data): Likewise.
20767         (rint_upward_test_data): Likewise.
20768         (round_test_data): Likewise.
20769         (scalb_test_data): Likewise.
20770         (scalbn_test_data): Likewise.
20771         (scalbln_test_data): Likewise.
20772         (signbit_test_data): Likewise.
20773         (sin_test_data): Likewise.
20774         (sin_tonearest_test_data): Likewise.
20775         (sin_towardzero_test_data): Likewise.
20776         (sin_downward_test_data): Likewise.
20777         (sin_upward_test_data): Likewise.
20778         (sincos_test_data): Likewise.
20779         (sinh_test_data): Likewise.
20780         (sinh_tonearest_test_data): Likewise.
20781         (sinh_towardzero_test_data): Likewise.
20782         (sinh_downward_test_data): Likewise.
20783         (sinh_upward_test_data): Likewise.
20784         (sqrt_test_data): Likewise.
20785         (tan_test_data): Likewise.
20786         (tan_tonearest_test_data): Likewise.
20787         (tan_towardzero_test_data): Likewise.
20788         (tan_downward_test_data): Likewise.
20789         (tan_upward_test_data): Likewise.
20790         (tanh_test_data): Likewise.
20791         (tgamma_test_data): Likewise.
20792         (trunc_test_data): Likewise.
20793         (y0_test_data): Likewise.
20794         (y1_test_data): Likewise.
20795         (yn_test_data): Likewise.
20796         (significand_test_data): Likewise.
20798         * math/gen-libm-test.pl (@functions): Remove variable.
20799         (generate_testfile): Don't handle START and END lines.
20800         * math/libm-test.inc (START): New macro.
20801         (END): Likewise.
20802         (END_COMPLEX): Likewise.
20803         (acos_test): Use END macro without arguments.
20804         (acos_test_tonearest): Likewise.
20805         (acos_test_towardzero): Likewise.
20806         (acos_test_downward): Likewise.
20807         (acos_test_upward): Likewise.
20808         (acosh_test): Likewise.
20809         (asin_test): Likewise.
20810         (asin_test_tonearest): Likewise.
20811         (asin_test_towardzero): Likewise.
20812         (asin_test_downward): Likewise.
20813         (asin_test_upward): Likewise.
20814         (asinh_test): Likewise.
20815         (atan_test): Likewise.
20816         (atanh_test): Likewise.
20817         (atan2_test): Likewise.
20818         (cabs_test): Likewise.
20819         (cacos_test): Use END_COMPLEX macro without arguments.
20820         (cacosh_test): Likewise.
20821         (carg_test): Use END macro without arguments.
20822         (casin_test): Use END_COMPLEX macro without arguments.
20823         (casinh_test): Likewise.
20824         (catan_test): Likewise.
20825         (catanh_test): Likewise.
20826         (cbrt_test): Use END macro without arguments.
20827         (ccos_test): Use END_COMPLEX macro without arguments.
20828         (ccosh_test): Likewise.
20829         (ceil_test): Use END macro without arguments.
20830         (cexp_test): Use END_COMPLEX macro without arguments.
20831         (cimag_test): Use END macro without arguments.
20832         (clog_test): Use END_COMPLEX macro without arguments.
20833         (clog10_test): Likewise.
20834         (conj_test): Likewise.
20835         (copysign_test): Use END macro without arguments.
20836         (cos_test): Likewise.
20837         (cos_test_tonearest): Likewise.
20838         (cos_test_towardzero): Likewise.
20839         (cos_test_downward): Likewise.
20840         (cos_test_upward): Likewise.
20841         (cosh_test): Likewise.
20842         (cosh_test_tonearest): Likewise.
20843         (cosh_test_towardzero): Likewise.
20844         (cosh_test_downward): Likewise.
20845         (cosh_test_upward): Likewise.
20846         (cpow_test): Use END_COMPLEX macro without arguments.
20847         (cproj_test): Likewise.
20848         (creal_test): Use END macro without arguments.
20849         (csin_test): Use END_COMPLEX macro without arguments.
20850         (csinh_test): Likewise.
20851         (csqrt_test): Likewise.
20852         (ctan_test): Likewise.
20853         (ctan_test_tonearest): Likewise.
20854         (ctan_test_towardzero): Likewise.
20855         (ctan_test_downward): Likewise.
20856         (ctan_test_upward): Likewise.
20857         (ctanh_test): Likewise.
20858         (ctanh_test_tonearest): Likewise.
20859         (ctanh_test_towardzero): Likewise.
20860         (ctanh_test_downward): Likewise.
20861         (ctanh_test_upward): Likewise.
20862         (erf_test): Use END macro without arguments.
20863         (erfc_test): Likewise.
20864         (exp_test): Likewise.
20865         (exp_test_tonearest): Likewise.
20866         (exp_test_towardzero): Likewise.
20867         (exp_test_downward): Likewise.
20868         (exp_test_upward): Likewise.
20869         (exp10_test): Likewise.
20870         (exp2_test): Likewise.
20871         (expm1_test): Likewise.
20872         (fabs_test): Likewise.
20873         (fdim_test): Likewise.
20874         (finite_test): Likewise.
20875         (floor_test): Likewise.
20876         (fma_test): Likewise.
20877         (fma_test_towardzero): Likewise.
20878         (fma_test_downward): Likewise.
20879         (fma_test_upward): Likewise.
20880         (fmax_test): Likewise.
20881         (fmin_test): Likewise.
20882         (fmod_test): Likewise.
20883         (fpclassify_test): Likewise.
20884         (frexp_test): Likewise.
20885         (gamma_test): Likewise.
20886         (hypot_test): Likewise.
20887         (ilogb_test): Likewise.
20888         (isfinite_test): Likewise.
20889         (isgreater_test): Likewise.
20890         (isgreaterequal_test): Likewise.
20891         (isinf_test): Likewise.
20892         (isless_test): Likewise.
20893         (islessequal_test): Likewise.
20894         (islessgreater_test): Likewise.
20895         (isnan_test): Likewise.
20896         (isnormal_test): Likewise.
20897         (issignaling_test): Likewise.
20898         (isunordered_test): Likewise.
20899         (j0_test): Likewise.
20900         (j1_test): Likewise.
20901         (jn_test): Likewise.
20902         (ldexp_test): Likewise.
20903         (lgamma_test): Likewise.
20904         (lrint_test): Likewise.
20905         (lrint_test_tonearest): Likewise.
20906         (lrint_test_towardzero): Likewise.
20907         (lrint_test_downward): Likewise.
20908         (lrint_test_upward): Likewise.
20909         (llrint_test): Likewise.
20910         (llrint_test_tonearest): Likewise.
20911         (llrint_test_towardzero): Likewise.
20912         (llrint_test_downward): Likewise.
20913         (llrint_test_upward): Likewise.
20914         (log_test): Likewise.
20915         (log10_test): Likewise.
20916         (log1p_test): Likewise.
20917         (log2_test): Likewise.
20918         (logb_test): Likewise.
20919         (logb_test_downward): Likewise.
20920         (lround_test): Likewise.
20921         (llround_test): Likewise.
20922         (modf_test): Likewise.
20923         (nearbyint_test): Likewise.
20924         (nextafter_test): Likewise.
20925         (nexttoward_test): Likewise.
20926         (pow_test): Likewise.
20927         (pow_test_tonearest): Likewise.
20928         (pow_test_towardzero): Likewise.
20929         (pow_test_downward): Likewise.
20930         (pow_test_upward): Likewise.
20931         (remainder_test): Likewise.
20932         (remainder_test_tonearest): Likewise.
20933         (remainder_test_towardzero): Likewise.
20934         (remainder_test_downward): Likewise.
20935         (remainder_test_upward): Likewise.
20936         (remquo_test): Likewise.
20937         (rint_test): Likewise.
20938         (rint_test_tonearest): Likewise.
20939         (rint_test_towardzero): Likewise.
20940         (rint_test_downward): Likewise.
20941         (rint_test_upward): Likewise.
20942         (round_test): Likewise.
20943         (scalb_test): Likewise.
20944         (scalbn_test): Likewise.
20945         (scalbln_test): Likewise.
20946         (signbit_test): Likewise.
20947         (sin_test): Likewise.
20948         (sin_test_tonearest): Likewise.
20949         (sin_test_towardzero): Likewise.
20950         (sin_test_downward): Likewise.
20951         (sin_test_upward): Likewise.
20952         (sincos_test): Likewise.
20953         (sinh_test): Likewise.
20954         (sinh_test_tonearest): Likewise.
20955         (sinh_test_towardzero): Likewise.
20956         (sinh_test_downward): Likewise.
20957         (sinh_test_upward): Likewise.
20958         (sqrt_test): Likewise.
20959         (tan_test): Likewise.
20960         (tan_test_tonearest): Likewise.
20961         (tan_test_towardzero): Likewise.
20962         (tan_test_downward): Likewise.
20963         (tan_test_upward): Likewise.
20964         (tanh_test): Likewise.
20965         (tgamma_test): Likewise.
20966         (trunc_test): Likewise.
20967         (y0_test): Likewise.
20968         (y1_test): Likewise.
20969         (yn_test): Likewise.
20970         (significand_test): Likewise.
20972 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
20974         [BZ #15381]
20975         * libio/genops.c (_IO_no_init): Initialize wide struct info.
20977 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20979         [BZ #14894]
20980         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
20981         __ppc_mdoio and __ppc_mdoom.
20982         * manual/platform.texi: Document new functions __ppc_yield,
20983         __ppc_mdoio and __ppc_mdoom.
20985 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
20987         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
20988         (main): Mention "tls" pseudo-hwcap is legacy.
20989         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
20991 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
20993         * math/gen-libm-test.pl (parse_args): Output only string of
20994         arguments as text for test name, not full call or descriptions of
20995         tests for extra outputs.
20996         (generate_testfile): Do not pass function name to parse_args.
20997         Generate this_func variable from START.
20998         * math/libm-test.inc (struct test_f_f_data): Rename test_name
20999         field to arg_str.
21000         (struct test_ff_f_data): Likewise.
21001         (test_ff_f_data_nexttoward): Likewise.
21002         (struct test_fi_f_data): Likewise.
21003         (struct test_fl_f_data): Likewise.
21004         (struct test_if_f_data): Likewise.
21005         (struct test_fff_f_data): Likewise.
21006         (struct test_c_f_data): Likewise.
21007         (struct test_f_f1_data): Likewise.  Remove field extra_name.
21008         (struct test_fF_f1_data): Likewise.
21009         (struct test_ffI_f1_data): Likewise.
21010         (struct test_c_c_data): Rename test_name field to arg_str.
21011         (struct test_cc_c_data): Likewise.
21012         (struct test_f_i_data): Likewise.
21013         (struct test_ff_i_data): Likewise.
21014         (struct test_f_l_data): Likewise.
21015         (struct test_f_L_data): Likewise.
21016         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
21017         and extra2_name.
21018         (COMMON_TEST_SETUP): New macro.
21019         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21020         (COMMON_TEST_CLEANUP): Likewise.
21021         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21022         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
21023         macros.
21024         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21025         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
21026         macros.
21027         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21028         (RUN_TEST_fff_f): Take argument string.  Call new setup and
21029         cleanup macros.
21030         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21031         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
21032         macros.
21033         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21034         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
21035         macros.
21036         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21037         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
21038         cleanup macros.
21039         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21040         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
21041         cleanup macros.
21042         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21043         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
21044         cleanup macros.
21045         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21046         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
21047         macros.
21048         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21049         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
21050         macros.
21051         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21052         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
21053         macros.
21054         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21055         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
21056         cleanup macros.
21057         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21058         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
21059         cleanup macros.
21060         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21061         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
21062         macros.
21063         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21064         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
21065         cleanup macros.
21066         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21067         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
21068         macros.
21069         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21070         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
21071         macros.
21072         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21073         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
21074         cleanup macros.
21075         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21077 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
21079         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21080         to _sifields.sigfault.
21081         (si_addr_lsb): Define new macro.
21082         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21084         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21086 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
21088         [BZ #15441]
21089         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21090         returns -1.
21091         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21092         null return -1.
21093         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21094         loading the domain.
21096 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
21098         * math/gen-libm-test.pl (parse_args): Do not include expected
21099         result in test name.
21100         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21101         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21102         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21103         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21104         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21107 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21109         * benchtests/Makefile: Sort function entries.
21111         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21112         tanh, asinh, acosh, atanh.
21113         * benchtests/acos-inputs: New file.
21114         * benchtests/acosh-inputs: New file.
21115         * benchtests/asin-inputs: New file.
21116         * benchtests/asinh-inputs: New file.
21117         * benchtests/atanh-inputs: New file.
21118         * benchtests/cosh-inputs: New file.
21119         * benchtests/log-inputs: New file.
21120         * benchtests/sinh-inputs: New file.
21121         * benchtests/tanh-inputs: New file.
21123 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
21125         [BZ #15339]
21126         * posix/tst-getaddrinfo4.c: New test.
21127         * posix/Makefile (tests): Add it.
21129 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21131         [BZ #15339]
21132         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21133         when no services were used.
21134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21135         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21137 2013-05-21  Andreas Schwab  <schwab@suse.de>
21139         [BZ #15014]
21140         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21141         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21142         successful.
21143         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21144         redundant variable declarations and reallocation of buffer when
21145         parsing as IPv6 address.  Always set NSS status when called from
21146         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
21147         buffer too small.  Correct computation of needed size.
21148         * nss/Makefile (tests): Add test-digits-dots.
21149         * nss/test-digits-dots.c: New test.
21151 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21153         * benchtests/Makefile: Remove instructions for adding
21154         benchmark tests.
21155         * benchtests/README: New file to explain how to execute and
21156         enhance the benchmark tests.
21158 2013-05-21  Andreas Schwab  <schwab@suse.de>
21160         [BZ #15493]
21161         * setjmp/Makefile (tests): Add tst-sigsetjmp.
21162         * setjmp/tst-sigsetjmp.c: New test.
21164 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21166         * sysdeps/x86_64/memset.S (memset): New implementation.
21167         (__bzero): Likewise.
21168         (__memset_tail): New function.
21170 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
21172         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21173         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21174         __memcpy_sse2_unaligned ifunc selection.
21175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21176         Add memcpy-sse2-unaligned.S.
21177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21178         Add: __memcpy_sse2_unaligned.
21180 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
21182         [BZ #15490]
21183         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21184         math_force_eval before restoring floating-point envrionment.
21185         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21186         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21187         Likewise.
21188         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21189         <math_private.h>.
21190         (__nearbyintl): Use math_force_eval before restoring
21191         floating-point environment.
21192         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21194         * math/gen-libm-test.pl (special_functions): Remove.
21195         (parse_args): Don't handle TEST_extra.  Handle functions with no
21196         return value.
21197         * math/libm-test.inc (struct test_sincos_data): Replace with
21198         struct test_fFF_11_data.
21199         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21200         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21201         (sincos_test_data): Change element type to struct
21202         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
21203         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21204         RUN_TEST_LOOP_sincos.
21205         * math/README.libm-test: Don't mention special handling of
21206         individual functions.
21207         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21208         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21209         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21210         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21211         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21214         * math/gen-libm-test.pl (get_variable): Remove function.
21215         (parse_args): Don't show pointer parameters to call in test
21216         names.  Use "extra output N" in test names for extra outputs
21217         rather than naming variables.
21219 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
21221         [BZ #15488]
21222         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21223         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21224         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
21225         double tests.
21226         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
21227         disable.
21228         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
21229         check_long_double.
21231         * math/gen-libm-test.pl (@tests): Remove variable.
21232         ($count): Likewise.
21233         (new_test): Remove function.
21234         (show_exceptions): New function.
21235         (special_functions): Use show_exceptions instead of new_test.
21236         (parse_args): Likewise.
21237         (generate_testfile): Pass only function name in generated call to
21238         print_max_error or print_complex_max_error.
21239         (get_ulps): Do not handle complex tests specially.
21240         (output_test): Rename to ...
21241         (get_all_ulps_for_test): ... this.  Return a string rather than
21242         printing to a file.  Require ulps to be present.
21243         (output_ulps): Generate arrays rather than #defines.
21244         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
21245         (struct ulp_data): New type.
21246         (BUILD_COMPLEX_ULP): Remove macro.
21247         (compare_ulp_data): New function.
21248         (find_ulps): Likewise.
21249         (find_test_ulps): Likewise.
21250         (find_function_ulps): Likewise.
21251         (find_complex_function_ulps): Likewise.
21252         (print_max_error): Determine allowed ulps using
21253         find_function_ulps.
21254         (print_complex_max_error): Determine allowed ulps using
21255         find_complex_function_ulps.
21256         (check_float_internal): Determine max ulps using find_test_ulps.
21257         (check_float): Do not take max_ulp parameter.  Update call to
21258         check_float_internal.
21259         (check_complex): Likewise.
21260         (check_int): Do not take max_ulp parameter.
21261         (check_long): Likewise.
21262         (check_bool): Likewise.
21263         (check_longlong): Likewise.
21264         (struct test_f_f_data): Remove max_ulp field.
21265         (struct test_ff_f_data): Likewise.
21266         (struct test_ff_f_data_nexttoward): Likewise.
21267         (struct test_fi_f_data): Likewise.
21268         (struct test_fl_f_data): Likewise.
21269         (struct test_if_f_data): Likewise.
21270         (struct test_fff_f_data): Likewise.
21271         (struct test_c_f_data): Likewise.
21272         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
21273         (struct test_fF_f1_data): Likewise.
21274         (struct test_ffI_f1_data): Likewise.
21275         (struct test_c_c_data): Remove max_ulp field.
21276         (struct test_cc_c_data): Likewise.
21277         (struct test_f_i_data): Likewise.
21278         (struct test_ff_i_data): Likewise.
21279         (struct test_f_l_data): Likewise.
21280         (struct test_f_L_data): Likewise.
21281         (struct test_sincos_data): Likewise.
21282         (RUN_TEST_f_f): Do not handle ulps.
21283         (RUN_TEST_LOOP_f_f): Likewise.
21284         (RUN_TEST_2_f): Likewise.
21285         (RUN_TEST_LOOP_2_f): Likewise.
21286         (RUN_TEST_fff_f): Likewise.
21287         (RUN_TEST_LOOP_fff_f): Likewise.
21288         (RUN_TEST_c_f): Likewise.
21289         (RUN_TEST_LOOP_c_f): Likewise.
21290         (RUN_TEST_f_f1): Likewise.
21291         (RUN_TEST_LOOP_f_f1): Likewise.
21292         (RUN_TEST_fF_f1): Likewise.
21293         (RUN_TEST_LOOP_fF_f1): Likewise.
21294         (RUN_TEST_fI_f1): Likewise.
21295         (RUN_TEST_LOOP_fI_f1): Likewise.
21296         (RUN_TEST_ffI_f1): Likewise.
21297         (RUN_TEST_LOOP_ffI_f1): Likewise.
21298         (RUN_TEST_c_c): Likewise.
21299         (RUN_TEST_LOOP_c_c): Likewise.
21300         (RUN_TEST_cc_c): Likewise.
21301         (RUN_TEST_LOOP_cc_c): Likewise.
21302         (RUN_TEST_f_i): Likewise.
21303         (RUN_TEST_LOOP_f_i): Likewise.
21304         (RUN_TEST_f_i_tg): Likewise.
21305         (RUN_TEST_LOOP_f_i_tg): Likewise.
21306         (RUN_TEST_ff_i_tg): Likewise.
21307         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21308         (RUN_TEST_f_b): Likewise.
21309         (RUN_TEST_LOOP_f_b): Likewise.
21310         (RUN_TEST_f_b_tg): Likewise.
21311         (RUN_TEST_LOOP_f_b_tg): Likewise.
21312         (RUN_TEST_f_l): Likewise.
21313         (RUN_TEST_LOOP_f_l): Likewise.
21314         (RUN_TEST_f_L): Likewise.
21315         (RUN_TEST_LOOP_f_L): Likewise.
21316         (RUN_TEST_sincos): Likewise.
21317         (RUN_TEST_LOOP_sincos): Likewise.
21319 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
21321         [BZ #15480]
21322         [BZ #15485]
21323         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
21324         main case of finite arguments, set rounding mode to FE_TONEAREST
21325         and discard exceptions.
21326         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
21327         exceptions.
21328         (remainder_tonearest_test_data): New variable.
21329         (remainder_test_tonearest): New function.
21330         (remainder_towardzero_test_data): New variable.
21331         (remainder_test_towardzero): New function.
21332         (remainder_downward_test_data): New variable.
21333         (remainder_test_downward): New function.
21334         (remainder_upward_test_data): New variable.
21335         (remainder_test_upward): New function.
21336         (main): Call the new test functions.
21338         * math/libm-test.inc (struct test_f_f1_data): Remove field
21339         extra_init.
21340         (struct test_fF_f1_data): Likewise.
21341         (struct test_ffI_f1_data): Likewise.
21342         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
21343         based on value of EXTRA_EXPECTED.
21344         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21345         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
21346         EXTRA_VAR based on value of EXTRA_EXPECTED.
21347         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21348         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
21349         EXTRA_VAR based on value of EXTRA_EXPECTED.
21350         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21351         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
21352         EXTRA_VAR based on value of EXTRA_EXPECTED.
21353         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21354         * math/gen-libm-test.pl (parse_args): Don't output initializers
21355         for extra output values.
21357         * math/libm-test.inc (check_int): Expect result to be exactly
21358         equal to expected value and do not handle ulps.
21359         (check_long): Likewise.
21360         (check_longlong): Likewise.
21362         * math/libm-test.inc (ceil_test_data): Test for "inexact"
21363         exceptions.
21364         (cimag_test_data): Likewise.
21365         (conj_test_data): Likewise.
21366         (copysign_test_data): Likewise.
21367         (cproj_test_data): Likewise.
21368         (creal_test_data): Likewise.
21369         (fabs_test_data): Likewise.
21370         (fdim_test_data): Likewise.
21371         (finite_test_data): Likewise.
21372         (floor_test_data): Likewise.
21373         (fmax_test_data): Likewise.
21374         (fmin_test_data): Likewise.
21375         (fmod_test_data): Likewise.
21376         (fpclassify_test_data): Likewise.
21377         (frexp_test_data): Likewise.
21378         (ilogb_test_data): Likewise.
21379         (isfinite_test_data): Likewise.
21380         (isgreater_test_data): Likewise.
21381         (isgreaterequal_test_data): Likewise.
21382         (isinf_test_data): Likewise.
21383         (isless_test_data): Likewise.
21384         (islessequal_test_data): Likewise.
21385         (islessgreater_test_data): Likewise.
21386         (isnan_test_data): Likewise.
21387         (isnormal_test_data): Likewise.
21388         (issignaling_test_data): Likewise.
21389         (isunordered_test_data): Likewise.
21390         (ldexp_test_data): Likewise.
21391         (lrint_test_data): Likewise.
21392         (lrint_test_data) [TEST_FLOAT]: Disable one test.
21393         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
21394         (lrint_tonearest_test_data): Test for "inexact" exceptions.
21395         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21396         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
21397         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21398         test input.
21399         (lrint_towardzero_test_data): Test for "inexact" exceptions.
21400         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21401         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
21402         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
21403         that test input.
21404         (lrint_downward_test_data): Test for "inexact" exceptions.
21405         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21406         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
21407         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
21408         test input.
21409         (lrint_upward_test_data): Test for "inexact" exceptions.
21410         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
21411         test input.
21412         (llrint_test_data): Test for "inexact" exceptions.
21413         (llrint_test_data) [TEST_FLOAT]: Disable one test.
21414         (llrint_tonearest_test_data): Test for "inexact" exceptions.
21415         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
21416         (llrint_towardzero_test_data): Test for "inexact" exceptions.
21417         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
21418         (llrint_downward_test_data): Test for "inexact" exceptions.
21419         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
21420         (llrint_upward_test_data): Test for "inexact" exceptions.
21421         (logb_test_data): Likewise.
21422         (logb_downward_test_data): Likewise.
21423         (nextafter_test_data): Likewise.
21424         (nexttoward_test_data): Likewise.
21425         (remainder_test_data): Likewise.
21426         (remquo_test_data): Likewise.
21427         (scalbn_test_data): Likewise.
21428         (scalbln_test_data): Likewise.
21429         (signbit_test_data): Likewise.
21430         (sqrt_test_data): Likewise.
21431         (significand_test_data): Likewise.
21433 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21435         [BZ #15424]
21436         * benchtests/bench-modf.c (struct args): Mark arg0 as
21437         volatile.
21438         * scripts/bench.pl: Mark members of struct args as volatile.
21440 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21442         [BZ # 15497]
21443         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
21444         negative infinity on POWER6 or lower.
21445         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
21447 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
21449         [BZ #15442]
21450         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
21451         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
21452         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
21453         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
21454         (_FP_SETQNAN): New macro.
21455         (_FP_SETQNAN_SEMIRAW): Likewise.
21456         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
21457         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
21458         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
21459         (FP_EXTEND): Use _FP_FRAC_SNANP.
21460         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
21461         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
21462         into account.
21463         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21464         New macro.
21465         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
21466         Likewise.
21468 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21470         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
21471         with DIVIDE_BY_ZERO_EXCEPTION.
21472         (gamma_test_data): Likewise.
21473         (lgamma_test_data): Likewise.
21474         (log_test_data): Likewise.
21475         (log10_test_data): Likewise.
21476         (log2_test_data): Likewise.
21477         (tgamma_test_data): Likewise.
21479         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
21480         (acos_test_tonearest): Likewise.
21481         (acos_test_towardzero): Likewise.
21482         (acos_test_downward): Likewise.
21483         (acos_test_upward): Likewise.
21484         (acosh_test): Likewise.
21485         (asin_test): Likewise.
21486         (asin_test_tonearest): Likewise.
21487         (asin_test_towardzero): Likewise.
21488         (asin_test_downward): Likewise.
21489         (asin_test_upward): Likewise.
21490         (asinh_test): Likewise.
21491         (atan_test): Likewise.
21492         (atanh_test): Likewise.
21493         (atan2_test): Likewise.
21494         (cabs_test): Likewise.
21495         (cacos_test): Likewise.
21496         (cacosh_test): Likewise.
21497         (casin_test): Likewise.
21498         (casinh_test): Likewise.
21499         (catan_test): Likewise.
21500         (catanh_test): Likewise.
21501         (cbrt_test): Likewise.
21502         (ccos_test): Likewise.
21503         (ccosh_test): Likewise.
21504         (cexp_test): Likewise.
21505         (clog_test): Likewise.
21506         (clog10_test): Likewise.
21507         (cos_test): Likewise.
21508         (cos_test_tonearest): Likewise.
21509         (cos_test_towardzero): Likewise.
21510         (cos_test_downward): Likewise.
21511         (cos_test_upward): Likewise.
21512         (cosh_test): Likewise.
21513         (cosh_test_tonearest): Likewise.
21514         (cosh_test_towardzero): Likewise.
21515         (cosh_test_downward): Likewise.
21516         (cosh_test_upward): Likewise.
21517         (cpow_test): Likewise.
21518         (csin_test): Likewise.
21519         (csinh_test): Likewise.
21520         (csqrt_test): Likewise.
21521         (ctan_test): Likewise.
21522         (ctan_test_tonearest): Likewise.
21523         (ctan_test_towardzero): Likewise.
21524         (ctan_test_downward): Likewise.
21525         (ctan_test_upward): Likewise.
21526         (ctanh_test): Likewise.
21527         (ctanh_test_tonearest): Likewise.
21528         (ctanh_test_towardzero): Likewise.
21529         (ctanh_test_downward): Likewise.
21530         (ctanh_test_upward): Likewise.
21531         (erf_test): Likewise.
21532         (erfc_test): Likewise.
21533         (exp_test): Likewise.
21534         (exp_test_tonearest): Likewise.
21535         (exp_test_towardzero): Likewise.
21536         (exp_test_downward): Likewise.
21537         (exp_test_upward): Likewise.
21538         (exp10_test): Likewise.
21539         (exp2_test): Likewise.
21540         (expm1_test): Likewise.
21541         (fmod_test): Likewise.
21542         (gamma_test): Likewise.
21543         (hypot_test): Likewise.
21544         (j0_test): Likewise.
21545         (j1_test): Likewise.
21546         (jn_test): Likewise.
21547         (lgamma_test): Likewise.
21548         (log_test): Likewise.
21549         (log10_test): Likewise.
21550         (log1p_test): Likewise.
21551         (log2_test): Likewise.
21552         (logb_test_downward): Likewise.
21553         (pow_test): Likewise.
21554         (pow_test_tonearest): Likewise.
21555         (pow_test_towardzero): Likewise.
21556         (pow_test_downward): Likewise.
21557         (pow_test_upward): Likewise.
21558         (remainder_test): Likewise.
21559         (remquo_test): Likewise.
21560         (sin_test): Likewise.
21561         (sin_test_tonearest): Likewise.
21562         (sin_test_towardzero): Likewise.
21563         (sin_test_downward): Likewise.
21564         (sin_test_upward): Likewise.
21565         (sincos_test): Likewise.
21566         (sinh_test): Likewise.
21567         (sinh_test_tonearest): Likewise.
21568         (sinh_test_towardzero): Likewise.
21569         (sinh_test_downward): Likewise.
21570         (sinh_test_upward): Likewise.
21571         (sqrt_test): Likewise.
21572         (tan_test): Likewise.
21573         (tan_test_tonearest): Likewise.
21574         (tan_test_towardzero): Likewise.
21575         (tan_test_downward): Likewise.
21576         (tan_test_upward): Likewise.
21577         (tanh_test): Likewise.
21578         (tgamma_test): Likewise.
21579         (y0_test): Likewise.
21580         (y1_test): Likewise.
21581         (yn_test): Likewise.
21583         * math/gen-libm-test.pl (adjust_arg): Remove function.
21584         (special_function): Remove argument $in_func.  Only handle
21585         generating output for tables of tests, not inside functions.
21586         (parse_args): Likewise.
21587         (generate_testfile): Remove variable $in_func.  Update call to
21588         parse_args.
21589         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
21590         (MINUS_ZERO_INIT): Rename macro to minus_zero.
21591         (PLUS_INFTY_INIT): Rename macro to plus_infty.
21592         (MINUS_INFTY_INIT): Rename macro to minus_infty.
21593         (QNAN_VALUE_INIT): Rename macro to qnan_value.
21594         (MAX_VALUE_INIT): Rename macro to max_value.
21595         (MIN_VALUE_INIT): Rename macro to min_value.
21596         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
21597         (plus_zero): Remove variable.
21598         (minus_zero): Likewise.
21599         (plus_infty): Likewise.
21600         (minus_infty): Likewise.
21601         (qnan_value): Likewise.
21602         (max_value): Likewise.
21603         (min_value): Likewise.
21604         (min_subnorm_value): Likewise.
21606 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21608         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
21609         uint64_t or uint32_t usage.
21610         * crypt/sha256-block.c: Likewise.
21611         * crypt/sha256-crypt.c: Likewise.
21612         * crypt/sha256.c: Likewise.
21613         * crypt/sha512-block.c: Likewise.
21614         * crypt/sha512-crypt.c: Likewise.
21615         * crypt/sha512.c: Likewise.
21616         * debug/backtrace-tst.c: Likewise.
21617         * debug/pcprofiledump.c: Likewise.
21618         * elf/cache.c: Likewise.
21619         * elf/dl-cache.c: Likewise.
21620         * elf/dl-misc.c: Likewise.
21621         * elf/dl-profile.c: Likewise.
21622         * elf/dl-support.c: Likewise.
21623         * elf/ldconfig.c: Likewise.
21624         * elf/sprof.c: Likewise.
21625         * iconv/dummy-repertoire.c: Likewise.
21626         * iconv/iconv_charmap.c: Likewise.
21627         * iconv/skeleton.c: Likewise.
21628         * iconvdata/8bit-generic.c: Likewise.
21629         * iconvdata/cp737.h: Likewise.
21630         * iconvdata/cp775.h: Likewise.
21631         * iconvdata/ibm1008.h: Likewise.
21632         * iconvdata/ibm1025.h: Likewise.
21633         * iconvdata/ibm1046.h: Likewise.
21634         * iconvdata/ibm1097.h: Likewise.
21635         * iconvdata/ibm1112.h: Likewise.
21636         * iconvdata/ibm1122.h: Likewise.
21637         * iconvdata/ibm1123.h: Likewise.
21638         * iconvdata/ibm1124.h: Likewise.
21639         * iconvdata/ibm1129.h: Likewise.
21640         * iconvdata/ibm1130.h: Likewise.
21641         * iconvdata/ibm1132.h: Likewise.
21642         * iconvdata/ibm1133.h: Likewise.
21643         * iconvdata/ibm1137.h: Likewise.
21644         * iconvdata/ibm1140.h: Likewise.
21645         * iconvdata/ibm1141.h: Likewise.
21646         * iconvdata/ibm1142.h: Likewise.
21647         * iconvdata/ibm1143.h: Likewise.
21648         * iconvdata/ibm1144.h: Likewise.
21649         * iconvdata/ibm1145.h: Likewise.
21650         * iconvdata/ibm1146.h: Likewise.
21651         * iconvdata/ibm1147.h: Likewise.
21652         * iconvdata/ibm1148.h: Likewise.
21653         * iconvdata/ibm1149.h: Likewise.
21654         * iconvdata/ibm1153.h: Likewise.
21655         * iconvdata/ibm1154.h: Likewise.
21656         * iconvdata/ibm1155.h: Likewise.
21657         * iconvdata/ibm1156.h: Likewise.
21658         * iconvdata/ibm1157.h: Likewise.
21659         * iconvdata/ibm1158.h: Likewise.
21660         * iconvdata/ibm1160.h: Likewise.
21661         * iconvdata/ibm1161.h: Likewise.
21662         * iconvdata/ibm1162.h: Likewise.
21663         * iconvdata/ibm1163.h: Likewise.
21664         * iconvdata/ibm1164.h: Likewise.
21665         * iconvdata/ibm1166.h: Likewise.
21666         * iconvdata/ibm1167.h: Likewise.
21667         * iconvdata/ibm12712.h: Likewise.
21668         * iconvdata/ibm1390.h: Likewise.
21669         * iconvdata/ibm1399.h: Likewise.
21670         * iconvdata/ibm16804.h: Likewise.
21671         * iconvdata/ibm4517.h: Likewise.
21672         * iconvdata/ibm4899.h: Likewise.
21673         * iconvdata/ibm4909.h: Likewise.
21674         * iconvdata/ibm4971.h: Likewise.
21675         * iconvdata/ibm5347.h: Likewise.
21676         * iconvdata/ibm803.h: Likewise.
21677         * iconvdata/ibm856.h: Likewise.
21678         * iconvdata/ibm901.h: Likewise.
21679         * iconvdata/ibm902.h: Likewise.
21680         * iconvdata/ibm9030.h: Likewise.
21681         * iconvdata/ibm9066.h: Likewise.
21682         * iconvdata/ibm921.h: Likewise.
21683         * iconvdata/ibm922.h: Likewise.
21684         * iconvdata/ibm9448.h: Likewise.
21685         * iconvdata/isiri-3342.h: Likewise.
21686         * iconvdata/jis0201.h: Likewise.
21687         * include/link.h: Likewise.
21688         * include/netdb.h: Likewise.
21689         * inet/check_native.c: Likewise.
21690         * inet/check_pf.c: Likewise.
21691         * inet/getipv4sourcefilter.c: Likewise.
21692         * inet/getnameinfo.c: Likewise.
21693         * inet/getsourcefilter.c: Likewise.
21694         * inet/htonl.c: Likewise.
21695         * inet/setipv4sourcefilter.c: Likewise.
21696         * inet/setsourcefilter.c: Likewise.
21697         * inet/test-inet6_opt.c: Likewise.
21698         * inet/tst-network.c: Likewise.
21699         * locale/C-collate.c: Likewise.
21700         * locale/C-ctype.c: Likewise.
21701         * locale/C-time.c: Likewise.
21702         * locale/C-translit.h: Likewise.
21703         * locale/loadarchive.c: Likewise.
21704         * locale/programs/3level.h: Likewise.
21705         * locale/programs/charmap.c: Likewise.
21706         * locale/programs/charmap.h: Likewise.
21707         * locale/programs/ld-address.c: Likewise.
21708         * locale/programs/ld-collate.c: Likewise.
21709         * locale/programs/ld-ctype.c: Likewise.
21710         * locale/programs/ld-identification.c: Likewise.
21711         * locale/programs/ld-measurement.c: Likewise.
21712         * locale/programs/ld-messages.c: Likewise.
21713         * locale/programs/ld-monetary.c: Likewise.
21714         * locale/programs/ld-name.c: Likewise.
21715         * locale/programs/ld-numeric.c: Likewise.
21716         * locale/programs/ld-paper.c: Likewise.
21717         * locale/programs/ld-telephone.c: Likewise.
21718         * locale/programs/ld-time.c: Likewise.
21719         * locale/programs/linereader.c: Likewise.
21720         * locale/programs/locale.c: Likewise.
21721         * locale/programs/locarchive.c: Likewise.
21722         * locale/programs/locfile.h: Likewise.
21723         * locale/programs/repertoire.c: Likewise.
21724         * locale/programs/simple-hash.c: Likewise.
21725         * locale/programs/simple-hash.h: Likewise.
21726         * malloc/memusage.c: Likewise.
21727         * malloc/memusagestat.c: Likewise.
21728         * nis/nis_defaults.c: Likewise.
21729         * nis/nis_hash.c: Likewise.
21730         * nis/nis_print.c: Likewise.
21731         * nis/nis_xdr.c: Likewise.
21732         * nscd/connections.c: Likewise.
21733         * nscd/hstcache.c: Likewise.
21734         * nscd/nscd_gethst_r.c: Likewise.
21735         * nscd/nscd_getserv_r.c: Likewise.
21736         * nscd/nscd_helper.c: Likewise.
21737         * nscd/servicescache.c: Likewise.
21738         * nss/makedb.c: Likewise.
21739         * nss/nss_db/db-XXX.c: Likewise.
21740         * nss/nss_db/db-initgroups.c: Likewise.
21741         * nss/nss_db/db-netgrp.c: Likewise.
21742         * nss/nss_files/files-network.c: Likewise.
21743         * nss/nss_files/files-parse.c: Likewise.
21744         * posix/bug-regex5.c: Likewise.
21745         * posix/fnmatch_loop.c: Likewise.
21746         * posix/regcomp.c: Likewise.
21747         * posix/regexec.c: Likewise.
21748         * posix/tst-rfc3484-2.c: Likewise.
21749         * posix/tst-rfc3484-3.c: Likewise.
21750         * posix/tst-rfc3484.c: Likewise.
21751         * resolv/nss_dns/dns-canon.c: Likewise.
21752         * resolv/nss_dns/dns-network.c: Likewise.
21753         * resolv/res_init.c: Likewise.
21754         * resolv/res_mkquery.c: Likewise.
21755         * resolv/tst-aton.c: Likewise.
21756         * stdlib/cxa_atexit.c: Likewise.
21757         * stdlib/cxa_finalize.c: Likewise.
21758         * stdlib/gen-fpioconst.c: Likewise.
21759         * stdlib/strtol_l.c: Likewise.
21760         * string/tst-endian.c: Likewise.
21761         * sunrpc/auth_des.c: Likewise.
21762         * sunrpc/clnt_udp.c: Likewise.
21763         * sunrpc/rtime.c: Likewise.
21764         * sunrpc/svcauth_des.c: Likewise.
21765         * sunrpc/xdr.c: Likewise.
21766         * sunrpc/xdr_intXX_t.c: Likewise.
21767         * sunrpc/xdr_rec.c: Likewise.
21768         * sysdeps/generic/ldconfig.h: Likewise.
21769         * sysdeps/generic/ldsodefs.h: Likewise.
21770         * sysdeps/generic/memusage.h: Likewise.
21771         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
21772         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
21773         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
21774         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
21775         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21776         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21777         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
21778         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
21779         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21780         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21781         * sysdeps/posix/getaddrinfo.c: Likewise.
21782         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21783         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21784         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21785         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21786         * sysdeps/powerpc/test-gettimebase.c: Likewise.
21787         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21788         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
21789         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
21790         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
21791         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
21792         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21793         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21794         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
21795         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
21796         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
21797         * sysdeps/x86_64/dl-tls.h: Likewise.
21798         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
21799         * time/alt_digit.c: Likewise.
21800         * time/era.c: Likewise.
21801         * wcsmbs/tst-c16c32-1.c: Likewise.
21803 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21805         * math/libm-test.inc (struct test_sincos_data): New type.
21806         (RUN_TEST_LOOP_sincos): New macro.
21807         (sincos_test_data): New variable.
21808         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
21810 2013-05-16  Richard Henderson  <rth@redhat.com>
21812         * math/atest-exp2.c (LIMB64): New macro.
21813         (CONSTSZ): New macro.
21814         (mp_exp1, mp_exp_m1, mp_log2): New variables.
21815         (hexdig): Move ...
21816         (print_mpn_fp): ... to function scope.
21817         (read_mpn_hex): Remove.
21818         (get_log2): Remove.
21819         (exp2_mpn): Use mp_log2.
21820         (main): Use mp_exp1.
21822 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
21824         * math/libm-test.inc: Remove comment about not testing "inexact"
21825         exceptions.
21826         (INEXACT_EXCEPTION): New macro.
21827         (NO_INEXACT_EXCEPTION): Likewise.
21828         (INVALID_EXCEPTION_OK): Update value.
21829         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21830         (OVERFLOW_EXCEPTION_OK): Likewise.
21831         (UNDERFLOW_EXCEPTION_OK): Likewise.
21832         (IGNORE_ZERO_INF_SIGN): Likewise.
21833         (ERRNO_UNCHANGED): Likewise.
21834         (ERRNO_EDOM): Likewise.
21835         (ERRNO_ERANGE): Likewise.
21836         (test_exceptions): Handle testing "inexact" exceptions.
21837         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
21838         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
21839         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
21840         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
21841         INEXACT_EXCEPTION.
21842         (rint_towardzero_test_data): Likewise.
21843         (rint_downward_test_data): Likewise.
21844         (rint_upward_test_data): Likewise.
21846         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
21847         with OVERFLOW_EXCEPTION.
21848         (exp10_test_data): Likewise.
21849         (exp2_test_data): Likewise.
21850         (expm1_test_data): Likewise.
21851         (lgamma_test_data): Likewise.
21852         (pow_test_data): Likewise.
21853         (tgamma_test_data): Likewise.
21854         (yn_test_data): Remove duplicate test of overflow.
21856         * math/libm-test.inc (struct test_cc_c_data): New type.
21857         (RUN_TEST_LOOP_cc_c): New macro.
21858         (cpow_test_data): New variable.
21859         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
21861         * math/libm-test.inc (struct test_f_L_data): New type.
21862         (RUN_TEST_LOOP_f_L): New macro.
21863         (llrint_test_data): New variable.
21864         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
21865         (llrint_tonearest_test_data): New variable.
21866         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
21867         (llrint_towardzero_test_data): New variable.
21868         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
21869         (llrint_downward_test_data): New variable.
21870         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
21871         (llrint_upward_test_data): New variable.
21872         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
21873         (llround_test_data): New variable.
21874         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
21876 2013-05-13  Peter Collingbourne  <pcc@google.com>
21878         * math/atest-exp2.c (get_log2): Remove const attribute.
21880 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21882         * math/libm-test.inc (struct test_f_l_data): New type.
21883         (RUN_TEST_LOOP_f_l): New macro.
21884         (lrint_test_data): New variable.
21885         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
21886         (lrint_tonearest_test_data): New variable.
21887         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
21888         (lrint_towardzero_test_data): New variable.
21889         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
21890         (lrint_downward_test_data): New variable.
21891         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
21892         (lrint_upward_test_data): New variable.
21893         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
21894         (lround_test_data): New variable.
21895         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
21897 2013-05-15  Peter Collingbourne  <pcc@google.com>
21899         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
21900         (EXTRACT_WORDS64) Use where appropriate.
21901         (INSERT_WORDS64) Likewise.
21903         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
21904         constraints with x constraints.
21905         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
21907         * malloc/obstack.c (_obstack_compat): Add initializer.
21909 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
21911         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
21912         si_trapno and add si_addr_lsb to _sifields.sigfault.
21913         (si_trapno): Remove macro.
21914         (si_addr_lsb): Define new macro.
21915         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21917 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
21919         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
21920         instead of TEST_f_l.
21921         (llrint_test_tonearest): Likewise.
21922         (llrint_test_towardzero): Likewise.
21923         (llrint_test_downward): Likewise.
21924         (llrint_test_upward): Likewise.
21925         (llround_test): Likewise.
21927         * math/libm-test.inc (struct test_f_i_data): Add comment.
21928         (RUN_TEST_LOOP_f_b): New macro.
21929         (RUN_TEST_LOOP_f_b_tg): Likewise.
21930         (finite_test_data): New variable.
21931         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
21932         (isfinite_test_data): New variable.
21933         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21934         (isinf_test_data): New variable.
21935         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21936         (isnan_test_data): New variable.
21937         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21938         (isnormal_test_data): New variable.
21939         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21940         (issignaling_test_data): New variable.
21941         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21942         (signbit_test_data): New variable.
21943         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
21945         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
21946         with INVALID_EXCEPTION.
21947         (acosh_test_data): Likewise.
21948         (asin_test_data): Likewise.
21949         (atanh_test_data): Likewise.
21950         (fmod_test_data): Likewise.
21951         (log_test_data): Likewise.
21952         (log10_test_data): Likewise.
21953         (log2_test_data): Likewise.
21954         (pow_test_data): Likewise.
21955         (sqrt_test_data): Likewise.
21956         (y0_test_data): Likewise.
21957         (y1_test_data): Likewise.
21958         (yn_test_data): Likewise.
21960         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
21961         function contents.
21963         * math/libm-test.inc (struct test_ff_i_data): New type.
21964         (RUN_TEST_LOOP_ff_i_tg): New macro.
21965         (isgreater_test_data): New variable.
21966         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21967         (isgreaterequal_test_data): New variable.
21968         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21969         (isless_test_data): New variable.
21970         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21971         (islessequal_test_data): New variable.
21972         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21973         (islessgreater_test_data): New variable.
21974         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21975         (isunordered_test_data): New variable.
21976         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
21978 2013-05-14  David S. Miller  <davem@davemloft.net>
21980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21982 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
21984         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
21986         * math/libm-test.inc (struct test_fF_f1_data): Change type of
21987         extra_test to int.
21988         (struct test_f_i_data): Change type of max_ulp to int.
21990         * math/libm-test.inc (test_ffI_f1_data): New type.
21991         (RUN_TEST_LOOP_ffI_f1): New macro.
21992         (remquo_test_data): New variable.
21993         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
21995         * setjmp/tst-setjmp-fp.c: New file.
21996         * setjmp/Makefile (tests): Add tst-setjmp-fp.
21997         (link-libm): New variable.
21998         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22000         * math/libm-test.inc (struct test_f_i_data): New type.
22001         (RUN_TEST_LOOP_f_i): New macro.
22002         (RUN_TEST_LOOP_f_i_tg): Likewise.
22003         (fpclassify_test_data): New variable.
22004         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22005         (ilogb_test_data): New variable.
22006         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22008         * math/libm-test.inc (scalbln_test): Correct function name in END
22009         call.
22011         * math/libm-test.inc (struct test_f_f1_data): Add comment.
22012         (RUN_TEST_LOOP_fI_f1): New macro.
22013         (frexp_test_data): New variable.
22014         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22016         * math/libm-test.inc (struct test_fF_f1_data): New type.
22017         (RUN_TEST_LOOP_fF_f1): New macro.
22018         (modf_test_data): New variable.
22019         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22021         * math/libm-test.inc (struct test_f_f1_data): New type.
22022         (RUN_TEST_LOOP_f_f1): New macro.
22023         (gamma_test_data): New variable.
22024         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22025         (lgamma_test_data): New variable.
22026         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22028 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
22030         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22031         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22032         (main): Comment "tls" pseudo-hwcap.
22034 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
22036         * math/libm-test.inc (struct test_fl_f_data): New type.
22037         (RUN_TEST_LOOP_fl_f): New variable.
22038         (scalbln_test_data): New variable.
22039         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22041         * math/libm-test.inc (struct test_fi_f_data): New type.
22042         (RUN_TEST_LOOP_fi_f): New macro.
22043         (ldexp_test_data): New variable.
22044         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22045         (scalbn_test_data): New variable.
22046         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22048         * math/libm-test.inc (struct test_c_f_data): New type.
22049         (RUN_TEST_LOOP_c_f): New macro.
22050         (cabs_test_data): New variable.
22051         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22052         (carg_test_data): New variable.
22053         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22054         (cimag_test_data): New variable.
22055         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22056         (creal_test_data): New variable.
22057         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22059         * math/libm-test.inc (struct test_if_f_data): New type.
22060         (RUN_TEST_LOOP_if_f): New macro.
22061         (jn_test_data): New variable.
22062         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22063         (yn_test_data): New variable.
22064         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22066         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22068 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22070         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22071         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22073 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22075         * benchtests/Makefile (CPPFLAGS-nonlib): Add
22076         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22077         (bench-deps): Add bench-timing.h.
22078         * benchtests-bench-skeleton.c: Include bench-timing.h.
22079         (main): Use TIMING_* macros instead of clock_gettime.
22080         * benchtests/bench-timing.h: New file.
22082         [BZ #14582]
22083         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22084         Renamed from _LIB_VERSION.
22085         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22087 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
22089         * math/libm-test.inc (struct test_fff_f_data): New type.
22090         (RUN_TEST_LOOP_fff_f): New macro.
22091         (fma_test_data): New variable.
22092         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22093         (fma_towardzero_test_data): New variable.
22094         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22095         (fma_downward_test_data): New variable.
22096         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22097         (fma_upward_test_data): New variable.
22098         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22100         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22101         (struct test_c_c_data): New type.
22102         (RUN_TEST_LOOP_c_c): New macro.
22103         (cacos_test_data): New variable.
22104         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22105         (cacosh_test_data): New variable.
22106         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22107         (casin_test_data): New variable.
22108         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22109         (casinh_test_data): New variable.
22110         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22111         (catan_test_data): New variable.
22112         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22113         (catanh_test_data): New variable.
22114         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22115         (ccos_test_data): New variable.
22116         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22117         (ccosh_test_data): New variable.
22118         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22119         (cexp_test_data): New variable.
22120         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22121         (clog_test_data): New variable.
22122         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22123         (clog10_test_data): New variable.
22124         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22125         (conj_test_data): New variable.
22126         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22127         (cproj_test_data): New variable.
22128         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22129         (csin_test_data): New variable.
22130         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22131         (csinh_test_data): New variable.
22132         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22133         (csqrt_test_data): New variable.
22134         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22135         (ctan_test_data): New variable.
22136         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22137         (ctan_tonearest_test_data): New variable.
22138         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22139         (ctan_towardzero_test_data): New variable.
22140         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22141         (ctan_downward_test_data): New variable.
22142         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22143         (ctan_upward_test_data): New variable.
22144         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22145         (ctanh_test_data): New variable.
22146         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22147         (ctanh_tonearest_test_data): New variable.
22148         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22149         (ctanh_towardzero_test_data): New variable.
22150         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22151         (ctanh_downward_test_data): New variable.
22152         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22153         (ctanh_upward_test_data): New variable.
22154         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22155         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22156         of BUILD_COMPLEX.
22158         * math/libm-test.inc (struct test_ff_f_data): New type.
22159         (struct test_ff_f_data_nexttoward): Likewise.
22160         (RUN_TEST_LOOP_2_f): New macro.
22161         (RUN_TEST_LOOP_ff_f): Likewise.
22162         (atan2_test_data): New variable.
22163         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22164         (copysign_test_data): New variable.
22165         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22166         (fdim_test_data): New variable.
22167         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22168         (fmax_test_data): New variable.
22169         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22170         (fmin_test_data): New variable.
22171         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22172         (fmod_test_data): New variable.
22173         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22174         (hypot_test_data): New variable.
22175         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22176         (nextafter_test_data): New variable.
22177         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22178         (nexttoward_test_data): New variable.
22179         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22180         (pow_test_data): New variable.
22181         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22182         (pow_tonearest_test_data): New variable.
22183         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22184         (pow_towardzero_test_data): New variable.
22185         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22186         (pow_downward_test_data): New variable.
22187         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22188         (pow_upward_test_data): New variable.
22189         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22190         (remainder_test_data): New variable.
22191         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22192         (scalb_test_data): New variable.
22193         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22194         * sysdeps/i386/fpu/libm-test-ulps: Update.
22196 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
22198         * math/libm-test.inc (fma_test): Use max_value instead of local
22199         variable fltmax.
22200         (nextafter_test): Likewise.
22202         * math/libm-test.inc (acos_towardzero_test_data): New variable.
22203         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22204         (acos_downward_test_data): New variable.
22205         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22206         (acos_upward_test_data): New variable.
22207         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22208         (acosh_test_data): New variable.
22209         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22210         (asin_test_data): New variable.
22211         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22212         (asin_tonearest_test_data): New variable.
22213         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22214         (asin_towardzero_test_data): New variable.
22215         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22216         (asin_downward_test_data): New variable.
22217         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22218         (asin_upward_test_data): New variable.
22219         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22220         (asinh_test_data): New variable.
22221         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22222         (atan_test_data): New variable.
22223         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22224         (atanh_test_data): New variable.
22225         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
22226         (cbrt_test_data): New variable.
22227         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
22228         (ceil_test_data): New variable.
22229         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
22230         (cos_test_data): New variable.
22231         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
22232         (cos_tonearest_test_data): New variable.
22233         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22234         (cos_towardzero_test_data): New variable.
22235         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22236         (cos_downward_test_data): New variable.
22237         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22238         (cos_upward_test_data): New variable.
22239         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22240         (cosh_test_data): New variable.
22241         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
22242         (cosh_tonearest_test_data): New variable.
22243         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22244         (cosh_towardzero_test_data): New variable.
22245         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22246         (cosh_downward_test_data): New variable.
22247         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22248         (cosh_upward_test_data): New variable.
22249         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22250         (erf_test_data): New variable.
22251         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
22252         (erfc_test_data): New variable.
22253         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
22254         (exp_test_data): New variable.
22255         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
22256         (exp_tonearest_test_data): New variable.
22257         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22258         (exp_towardzero_test_data): New variable.
22259         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22260         (exp_downward_test_data): New variable.
22261         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22262         (exp_upward_test_data): New variable.
22263         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22264         (exp10_test_data): New variable.
22265         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
22266         (exp2_test_data): New variable.
22267         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
22268         (expm1_test_data): New variable.
22269         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
22270         (fabs_test_data): New variable.
22271         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
22272         (floor_test_data): New variable.
22273         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
22274         (j0_test_data): New variable.
22275         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
22276         (j1_test_data): New variable.
22277         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
22278         (log_test_data): New variable.
22279         (log_test): Run tests with RUN_TEST_LOOP_f_f.
22280         (log10_test_data): New variable.
22281         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
22282         (log1p_test_data): New variable.
22283         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
22284         (log2_test_data): New variable.
22285         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
22286         (logb_test_data): New variable.
22287         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
22288         (logb_downward_test_data): New variable.
22289         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22290         (nearbyint_test_data): New variable.
22291         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
22292         (rint_test_data): New variable.
22293         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
22294         (rint_tonearest_test_data): New variable.
22295         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22296         (rint_towardzero_test_data): New variable.
22297         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22298         (rint_downward_test_data): New variable.
22299         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22300         (rint_upward_test_data): New variable.
22301         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22302         (round_test_data): New variable.
22303         (round_test): Run tests with RUN_TEST_LOOP_f_f.
22304         (sin_test_data): New variable.
22305         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
22306         (sin_tonearest_test_data): New variable.
22307         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22308         (sin_towardzero_test_data): New variable.
22309         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22310         (sin_downward_test_data): New variable.
22311         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22312         (sin_upward_test_data): New variable.
22313         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22314         (sinh_test_data): New variable.
22315         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
22316         (sinh_tonearest_test_data): New variable.
22317         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22318         (sinh_towardzero_test_data): New variable.
22319         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22320         (sinh_downward_test_data): New variable.
22321         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22322         (sinh_upward_test_data): New variable.
22323         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22324         (sqrt_test_data): New variable.
22325         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
22326         (tan_test_data): New variable.
22327         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
22328         (tan_tonearest_test_data): New variable.
22329         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22330         (tan_towardzero_test_data): New variable.
22331         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22332         (tan_downward_test_data): New variable.
22333         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22334         (tan_upward_test_data): New variable.
22335         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22336         (tanh_test_data): New variable.
22337         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
22338         (tgamma_test_data): New variable.
22339         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
22340         (trunc_test_data): New variable.
22341         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
22342         (y0_test_data): New variable.
22343         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
22344         (y1_test_data): New variable.
22345         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
22346         (significand_test_data): New variable.
22347         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
22349 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
22351         [BZ #12387]
22352         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
22354 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
22356         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
22358 2013-05-10  Andreas Jaeger  <aj@suse.de>
22360         [BZ #15448]
22361         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
22362         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
22364 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22366         * math/gen-libm-test.pl (adjust_arg): New function.
22367         (special_functions): Handle generating output in both functions
22368         and arrays.
22369         (parse_args): Likewise.
22370         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
22371         $in_func argument to parse_args.
22372         * math/libm-test.inc (struct test_f_f_data): New type.
22373         (IF_ROUND_INIT_): New macro.
22374         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
22375         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22376         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22377         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22378         (ROUND_RESTORE_): Likewise.
22379         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
22380         (ROUND_RESTORE_FE_TONEAREST): Likewise.
22381         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
22382         (ROUND_RESTORE_FE_UPWARD): Likewise.
22383         (RUN_TEST_LOOP_f_f): New macro.
22384         (acos_test_data): New variable.
22385         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
22386         (acos_tonearest_test_data): New variable.
22387         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22389 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22391         * benchtests/bench-skeleton.c (startup): Fix coding style.
22393 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
22395         [BZ #6809]
22396         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
22397         negative infinity argument.
22398         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
22399         negative infinity argument.
22400         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
22401         negative infinity argument.
22402         * math/libm-test.inc (tgamma_test): Expect errno to be set for
22403         domain errors.
22405 2013-05-10  Florian Weimer  <fweimer@redhat.com>
22407         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
22408         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
22409         * iconv/iconv_prog.c (main): Likewise.
22410         * locale/programs/charmap-dir.c (charmap_readdir)
22411         (fopen_uncompressed): Likewise.
22412         * locale/programs/locfile.c (siblings_uncached)
22413         (write_locale_data): Use lstat64 instead of lstat.
22414         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
22415         stat.
22417 2013-05-10  Andreas Jaeger  <aj@suse.de>
22419         [BZ #15395]
22420         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
22421         localization.
22422         Include <locale.h>.
22424 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
22426         * elf/dl-close.c (_dl_close_worker): Add comments.
22428 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
22430         [BZ #15359]
22431         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
22432         high part of pi/2.
22433         (__ieee754_rem_pio2l): Update comments.
22435         [BZ #15429]
22436         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
22437         high part of pi/2.
22438         (__ieee754_rem_pio2l): Update comments.
22440         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
22441         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
22443         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
22444         M_PI_4l.
22446         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
22447         (M_PI_34_LOG10El): Likewise.
22448         (M_PI2_LOG10El): Likewise.
22449         (M_PI4_LOG10El): Likewise.
22450         (M_PI_LOG10El): Likewise.
22452 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22456 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
22458         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
22459         (MINUS_ZERO_INIT): Likewise.
22460         (PLUS_INFTY_INIT): Likewise.
22461         (MINUS_INFTY_INIT): Likewise.
22462         (QNAN_VALUE_INIT): Likewise.
22463         (MAX_VALUE_INIT): Likewise.
22464         (MIN_VALUE_INIT): Likewise.
22465         (MIN_SUBNORM_VALUE_INIT): Likewise.
22466         (plus_zero): Initialize with PLUS_ZERO_INIT.
22467         (minus_zero): Initialize with MINUS_ZERO_INIT.
22468         (plus_infty): Initialize with PLUS_INFTY_INIT.
22469         (minus_infty): Initialize with MINUS_INFTY_INIT.
22470         (qnan_value): Initialize with QNAN_VALUE_INIT.
22471         (max_value): Initialize with MAX_VALUE_INIT.
22472         (min_value): Initialize with MIN_VALUE_INIT.
22473         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
22475         * math/libm-test.inc (RUN_TEST_if_f): New macro.
22476         (jn_test): Use TEST_if_f instead of TEST_ff_f.
22477         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
22478         (yn_test): Use TEST_if_f instead of TEST_ff_f.
22480         * math/libm-test.inc (RUN_TEST_f_f): New macro.
22481         (RUN_TEST_2_f): Likewise.
22482         (RUN_TEST_ff_f): Likewise.
22483         (RUN_TEST_fi_f): Likewise.
22484         (RUN_TEST_fl_f): Likewise.
22485         (RUN_TEST_fff_f): Likewise.
22486         (RUN_TEST_c_f): Likewise.
22487         (RUN_TEST_f_f1): Likewise.
22488         (RUN_TEST_fF_f1): Likewise.
22489         (RUN_TEST_fI_f1): Likewise.
22490         (RUN_TEST_ffI_f1): Likewise.
22491         (RUN_TEST_c_c): Likewise.
22492         (RUN_TEST_cc_c): Likewise.
22493         (RUN_TEST_f_i): Likewise.
22494         (RUN_TEST_f_i_tg): Likewise.
22495         (RUN_TEST_ff_i_tg): Likewise.
22496         (RUN_TEST_f_b): Likewise.
22497         (RUN_TEST_f_b_tg): Likewise.
22498         (RUN_TEST_f_l): Likewise.
22499         (RUN_TEST_f_L): Likewise.
22500         (RUN_TEST_sincos): Likewise.
22501         * math/gen-libm-test.pl (new_test): Take new argument to indicate
22502         whether to show exceptions.  Do not include ");\n" in return
22503         value.
22504         (special_functions): Output call to RUN_TEST_sincos instead of
22505         check_float calls.  Update calls to new_test.
22506         (parse_args): Output call to single RUN_TEST_* macro instead of
22507         check_* calls and other assignments.  Update calls to new_test.
22509         [BZ #2546]
22510         [BZ #2560]
22511         [BZ #5159]
22512         [BZ #15426]
22513         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
22514         input to result for tgamma overflow.
22515         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
22516         (gamma_coeff): New variable.
22517         (NCOEFF): New macro.
22518         (gamma_positive): New function.
22519         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
22520         underflow here.  Use gamma_positive instead of exp (lgamma) for
22521         other arguments.
22522         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
22523         (gamma_coeff): New variable.
22524         (NCOEFF): New macro.
22525         (gammaf_positive): New function.
22526         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
22527         underflow here.  Use gamma_positive instead of exp (lgamma) for
22528         other arguments.
22529         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
22530         (gamma_coeff): New variable.
22531         (NCOEFF): New macro.
22532         (gammal_positive): New function.
22533         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
22534         underflow here.  Use gamma_positive instead of exp (lgamma) for
22535         other arguments.
22536         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
22537         (gamma_coeff): New variable.
22538         (NCOEFF): New macro.
22539         (gammal_positive): New function.
22540         (__ieee754_gammal_r): Handle positive infinity, overflow and
22541         underflow here.  Handle NaN the same as positive infinity.  Remove
22542         check x < 0xffffffff for negative integers.  Use gamma_positive
22543         instead of exp (lgamma) for other arguments.
22544         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
22545         (gamma_coeff): New variable.
22546         (NCOEFF): New macro.
22547         (gammal_positive): New function.
22548         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
22549         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
22550         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
22551         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
22552         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
22553         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
22554         * sysdeps/generic/math_private.h (__gamma_productf): New
22555         prototype.
22556         (__gamma_product): Likewise.
22557         (__gamma_productl): Likewise.
22558         * math/Makefile (libm-calls): Add gamma_product.
22559         * math/libm-test.inc (tgamma_test): Add more tests.
22560         * sysdeps/i386/fpu/libm-test-ulps: Update.
22561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22563 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
22565         * benchtests/bench-skeleton.c (main): Preheat CPU.
22567 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
22569         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
22571 2013-05-07  Roland McGrath  <roland@hack.frob.com>
22573         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
22574         and _dl_skip_args_internal.
22576 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
22578         * manual/message.texi (Message Translation): Talk about users.
22579         Message to key mapping impacts design.
22581 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22583         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
22585         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
22587         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
22588         * sysdeps/wordsize-64/glob64.c: ... here.
22590         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
22591         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
22592         New macros.
22594         * debug/getlogin_r_chk.c: Moved to ...
22595         * login/getlogin_r_chk.c: ... here.
22596         * debug/Makefile (routines): Move getlogin_r_chk to ...
22597         * login/Makefile (routines): ... here.
22598         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
22599         * login/Versions (libc: GLIBC_2.4): ... here.
22601         * io/poll.c (__poll): Renamed from poll.
22602         Add libc_hidden_def.
22603         (poll): Define as weak alias.
22605         * debug/ptsname_r_chk.c: Moved to ...
22606         * login/ptsname_r_chk.c: ... here.
22607         * debug/Makefile (routines): Move ptsname_r_chk to ...
22608         * login/Makefile (routines): ... here.
22609         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
22610         * login/Versions (libc: GLIBC_2.4): ... here.
22612         * posix/getlogin.c: Moved to ...
22613         * login/getlogin.c: ... here.
22614         * posix/getlogin_r.c: Moved to ...
22615         * login/getlogin_r.c: ... here.
22616         * posix/getlogin_r.c: Moved to ...
22617         * login/getlogin_r.c: ... here.
22618         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
22619         * login/Makefile (routines): ... here.
22620         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
22621         * login/Versions (libc: GLIBC_2.0): ... here.
22623         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
22624         (setrlimit): Define as weak alias.
22626         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
22627         Call __ names for open, ftruncate, and close.
22628         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
22629         (truncate): Define as weak alias.
22631 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
22633         * math/gen-libm-test.pl (parse_args): Initialize x before each
22634         test of frexp, modf and remquo.
22636         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
22637         test signgam value.
22639 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22641         [BZ #15418]
22642         [BZ #15419]
22643         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
22644         internal tests.
22645         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22647 2013-05-06  Roland McGrath  <roland@hack.frob.com>
22649         * elf/dl-writev.h: New file.
22650         * elf/dl-misc.c: Include it.
22651         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
22652         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
22654 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
22656         * math/libm-test.inc (noXFails): Remove variable.
22657         (noXPasses): Likewise.
22658         (BUILD_COMPLEX_INT): Remove macro.
22659         (print_screen): Remove xfail argument.
22660         (print_screen_max_error): Likewise.
22661         (update_stats): Likewise.
22662         (print_max_error): Likewise.  Update calls to other affected
22663         functions.
22664         (print_complex_max_error): Likewise.
22665         (test_single_exception): Update calls to print_screen.
22666         (test_single_errno): Likewise.
22667         (check_float_internal): Remove xfail argument.  Update calls to
22668         other affected functions.
22669         (check_float): Likewise.
22670         (check_complex): Likewise.
22671         (check_int): Likewise.
22672         (check_long): Likewise.
22673         (check_bool): Likewise.
22674         (check_longlong): Likewise.
22675         (main): Don't print noXFails and noXPasses.
22676         * math/gen-libm-test.pl (top level): Don't mention expected
22677         failure handling in comment.
22678         (new_test): Don't handle expected failures.
22679         (parse_args): Don't mention expected failure handling in comment.
22680         (generate_testfile): Don't handle expected failures.
22681         (parse_ulps): Likewise.
22682         (print_ulps_file): Likewise.
22683         (get_failure): Remove function.
22684         (output_test): Don't handle expected failures.
22685         * make/README.libm-test: Don't mention expected failure handling.
22687         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
22688         (minus_zero): Likewise.
22689         (plus_infty): Likewise.
22690         (minus_infty): Likewise.
22691         (qnan_value): Likewise.
22692         (max_value): Likewise.
22693         (min_value): Likewise.
22694         (min_subnorm_value): Likewise.
22695         (initialize): Do not initialize those variables dynamically.
22697 2013-05-03  Roland McGrath  <roland@hack.frob.com>
22699         * io/open.c (__open_2): Moved to ...
22700         * io/open_2.c: ... this new file.
22701         * io/open64.c (__open64_2): Moved to ...
22702         * io/open64_2.c: ... this new file.
22703         * io/openat.c (__openat_2): Moved to ...
22704         * io/openat_2.c: ... this new file.
22705         * io/openat64.c (__openat64_2): Moved to ...
22706         * io/openat64_2.c: ... this new file.
22707         * io/Makefile (routines): Add them.
22708         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
22709         * sysdeps/unix/sysv/linux/open_2.c: File removed.
22710         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
22711         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
22712         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
22713         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
22714         (__openat64): Add hidden_ver.
22715         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
22716         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
22718         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
22719         Separately conditionalize setting of GLRO(dl_sysinfo) so
22720         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
22721         as well, but the actual setting is only under [NEED_DL_SYSINFO].
22723 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22725         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
22726         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
22727         definition.
22728         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
22729         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22730         (_libc_vdso_platform_setup): Add __vdso_time initialization.
22731         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
22732         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
22734 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
22736         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
22737         test signgam value.
22739         * math/libm-test.inc (hypot_test): Do not use
22740         IGNORE_ZERO_INF_SIGN.
22742 2013-05-03  Andreas Jaeger  <aj@suse.de>
22744         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
22745         Linux 3.9.
22746         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
22747         (PF_MAX): Adjust for VSOCK change.
22749 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22753 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
22755         [BZ #15264]
22756         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
22757         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
22758         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
22760 2013-05-02  David S. Miller  <davem@davemloft.net>
22762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22764 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
22766         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
22768 2013-05-01  Roland McGrath  <roland@hack.frob.com>
22770         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
22772 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
22774         [BZ #14952]
22775         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
22776         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22777         Use __attribute__ ((__gnu_inline__)).
22778         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
22779         Don't use __attribute__ ((__gnu_inline__)).
22781 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
22783         [BZ #15423]
22784         * math/s_catan.c (__catan): Handle small real or imaginary part of
22785         input specially to avoid spurious underflow.
22786         * math/s_catanf.c (__catanf): Likewise.
22787         * math/s_catanh.c (__catanh): Likewise.
22788         * math/s_catanhf.c (__catanhf): Likewise.
22789         * math/s_catanhl.c (__catanhl): Likewise.
22790         * math/s_catanl.c (__catanl): Likewise.
22791         * math/libm-test.inc (catan_test): Add more tests.
22792         (catanh_test): Likewise.
22793         * sysdeps/i386/fpu/libm-test-ulps: Update.
22794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22796 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22800 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
22802         [BZ #15416]
22803         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
22804         accurately for denominator in atan2.
22805         * math/s_catanf.c (__catanf): Likewise.
22806         * math/s_catanh.c (__catanh): Likewise.
22807         * math/s_catanhf.c (__catanhf): Likewise.
22808         * math/s_catanhl.c (__catanhl): Likewise.
22809         * math/s_catanl.c (__catanl): Likewise.
22810         * math/libm-test.inc (catan_test): Add more tests.
22811         (catanh_test): Likewise.
22812         * sysdeps/i386/fpu/libm-test-ulps: Update.
22813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22815 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22817         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
22819         * benchtests/Makefile (bench): Remove slow benchmarks.
22820         * benchtests/atan-inputs: Add slow benchmark inputs.
22821         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
22822         (BENCH_FUNC): Accept variant offset.
22823         (VARIANT): Define.
22824         * benchtests/bench-skeleton.c (main): Run benchmark for each
22825         variant.
22826         * benchtests/cos-inputs: Add slow benchmark inputs.
22827         * benchtests/exp-inputs: Likewise.
22828         * benchtests/pow-inputs: Likewise.
22829         * benchtests/sin-inputs: Likewise.
22830         * benchtests/slowatan-inputs: Remove.
22831         * benchtests/slowatan.c: Remove.
22832         * benchtests/slowcos-inputs: Remove.
22833         * benchtests/slowcos.c: Remove.
22834         * benchtests/slowexp-inputs: Remove.
22835         * benchtests/slowexp.c: Remove.
22836         * benchtests/slowpow-inputs: Remove.
22837         * benchtests/slowpow.c: Remove.
22838         * benchtests/slowsin-inputs: Remove.
22839         * benchtests/slowsin.c: Remove.
22840         * benchtests/slowtan-inputs: Remove.
22841         * benchtests/slowtan.c: Remove.
22842         * benchtests/tan-inputs: Add slow benchmark inputs.
22843         * scripts/bench.pl: Parse comments and directives.
22845         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
22846         in CPPFLAGS.
22847         ($(objpfx)bench-%.c): Remove *-ITER.
22848         * benchtests/bench-modf.c: Remove definition of ITER.
22849         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
22850         (main): Loop for DURATION seconds instead of fixed number of
22851         iterations.
22852         * scripts/bench.pl: Don't expect iterations in parameters.
22854 2013-04-29  Roland McGrath  <roland@hack.frob.com>
22856         * io/fchdir.c (__fchdir): Renamed from fchdir.
22857         (fchdir): Define as weak alias.
22859 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22861         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
22862         (ERRNO_EDOM): Likewise.
22863         (ERRNO_ERANGE): Likewise.
22864         (noErrnoTests): New variable.
22865         (init_max_error): Set errno to 0.
22866         (test_single_errno): New function.
22867         (test_errno): Likewise.
22868         (check_float_internal): Call test_errno.  Set errno to 0.
22869         (check_complex): Refer to errno tests in comment.
22870         (check_int): Call test_errno.  Set errno to 0.
22871         (check_long): Likewise.
22872         (check_bool): Likewise.
22873         (check_longlong): Likewise.
22874         (cos_test): Use ERRNO_* flags for errno tests instead of
22875         check_int.
22876         (expm1_test): Likewise.
22877         (fmod_test): Likewise.
22878         (ilogb_test): Likewise.
22879         (lgamma_test): Likewise.
22880         (pow_test): Likewise.
22881         (remainder_test): Likewise.
22882         (sin_test): Likewise.
22883         (tan_test): Likewise.
22884         (yn_test): Likewise.
22885         (initialize): Set errno to 0.
22886         (main): Print number of errno tests.
22887         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
22889 2013-04-29  Andreas Jaeger  <aj@suse.de>
22891         [BZ #15084]
22892         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
22893         and RES_USEVC.
22895         [BZ #15085]
22896         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
22897         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
22898         unimplemented.
22900         [BZ #15380]
22901         * stdlib/random.c (__initstate): Return NULL if
22902         __initstate fails.
22904         [BZ #15086]
22905         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
22906         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
22907         RES_SNGLKUPREOP.
22909 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22913 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
22915         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
22916         of individual tests.
22917         (casin_test): Likewise.
22918         (casinh_test): Likewise.
22920 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
22922         [BZ #15409]
22923         * math/s_catan.c (__catan): Handle arguments with large real or
22924         imaginary part separately without squaring.
22925         * math/s_catanf.c (__catanf): Likewise.
22926         * math/s_catanh.c (__catanh): Likewise.
22927         * math/s_catanhf.c (__catanhf): Likewise.
22928         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22929         and redefine.
22930         (__catanhl): Handle arguments with large real or imaginary part
22931         separately without squaring.
22932         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22933         and redefine.
22934         (__catanl): Handle arguments with large real or imaginary part
22935         separately without squaring.
22936         * math/libm-test.inc (catan_test): Add more tests.
22937         (catanh_test): Likewise.
22938         * sysdeps/i386/fpu/libm-test-ulps: Update.
22939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22941 2013-04-27  Andreas Jaeger  <aj@suse.de>
22943         [BZ #15007]
22944         * stdlib/stdlib.h: Update guards for qecvt.
22945         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
22946         <stdlib.h>.
22948 2013-04-27  Allan McRae  <allan@archlinux.org>
22950         * sysdeps/i386/fpu/libm-test-ulps: Update.
22952 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
22954         [BZ #15406]
22955         * math/s_catan.c: Include <float.h>.
22956         (__catan): Ensure underflow exception occurs for underflowed
22957         result.
22958         * math/s_catanf.c: Include <float.h>.
22959         (__catanf): Ensure underflow exception occurs for underflowed
22960         result.
22961         * math/s_catanh.c: Include <float.h>.
22962         (__catanh): Ensure underflow exception occurs for underflowed
22963         result.
22964         * math/s_catanhf.c: Include <float.h>.
22965         (__catanhf): Ensure underflow exception occurs for underflowed
22966         result.
22967         * math/s_catanhl.c: Include <float.h>.
22968         (__catanhl): Ensure underflow exception occurs for underflowed
22969         result.
22970         * math/s_catanl.c: Include <float.h>.
22971         (__catanl): Ensure underflow exception occurs for underflowed
22972         result.
22973         * math/libm-test.inc (catan_test): Add more tests.
22974         (catanh_test): Likewise.
22976         [BZ #15405]
22977         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
22978         underflowed result.
22979         * math/s_ccoshf.c (__ccoshf): Likewise.
22980         * math/s_ccoshl.c (__ccoshl): Likewise.
22981         * math/s_csin.c (__csin): Likewise.
22982         * math/s_csinf.c (__csinf): Likewise.
22983         * math/s_csinh.c (__csinh): Likewise.
22984         * math/s_csinhf.c (__csinhf): Likewise.
22985         * math/s_csinhl.c (__csinhl): Likewise.
22986         * math/s_csinl.c (__csinl): Likewise.
22987         * math/libm-test.inc (ccos_test): Add more tests.
22988         (ccosh_test): Likewise.
22989         (csin_test): Likewise.
22990         (csinh_test): Likewise.
22992 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22994         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
22995         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
22996         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
22997         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
22998         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
22999         powerpc/power5+/fpu folders.
23000         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23003 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
23005         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23007 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
23009         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23010         additions to variable.
23011         [$(config-machine) = x86_64] (modules-names): Likewise.
23012         ($(objpfx)tst-audit3): Remove dependency.
23013         ($(objpfx)tst-audit3.out): Likewise.
23014         ($(objpfx)tst-audit4): Likewise.
23015         ($(objpfx)tst-audit4.out): Likewise.
23016         ($(objpfx)tst-audit5): Likewise.
23017         ($(objpfx)tst-audit5.out): Likewise.
23018         ($(objpfx)tst-audit6): Likewise.
23019         ($(objpfx)tst-audit6.out): Likewise.
23020         ($(objpfx)tst-audit7): Likewise.
23021         ($(objpfx)tst-audit7.out): Likewise.
23022         (tst-audit3-ENV): Remove variable.
23023         (tst-audit4-ENV): Likewise.
23024         (tst-audit5-ENV): Likewise.
23025         (tst-audit6-ENV): Likewise.
23026         (tst-audit7-ENV): Likewise.
23027         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23028         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23029         addition to variable.
23030         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23031         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23032         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23033         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23034         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23035         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23036         tst-audit3, tst-audit4 and tst-audit5.
23037         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23038         tst-audit6 and tst-audit7.
23039         [$(subdir) = elf] (modules-names): Add audit modules for those
23040         tests.
23041         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23042         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23043         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23044         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23045         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23046         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23047         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23048         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23049         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23050         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23051         [$(subdir) = elf] (tst-audit3-ENV): New variable.
23052         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23053         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23054         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23055         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23056         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23057         Likewise.
23058         [$(subdir) = elf && $(config-cflags-avx) = yes]
23059         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23060         [$(subdir) = elf && $(config-cflags-avx) = yes]
23061         (CFLAGS-tst-auditmod4a.c): Likewise.
23062         [$(subdir) = elf && $(config-cflags-avx) = yes]
23063         (CFLAGS-tst-auditmod4b.c): Likewise.
23064         [$(subdir) = elf && $(config-cflags-avx) = yes]
23065         (CFLAGS-tst-auditmod6b.c): Likewise.
23066         [$(subdir) = elf && $(config-cflags-avx) = yes]
23067         (CFLAGS-tst-auditmod6c.c): Likewise.
23068         [$(subdir) = elf && $(config-cflags-avx) = yes]
23069         (CFLAGS-tst-auditmod7b.c): Likewise.
23070         * elf/tst-audit3.c: Move to ...
23071         * sysdeps/x86_64/tst-audit3.c: ... here.
23072         * elf/tst-audit4.c: Move to ...
23073         * sysdeps/x86_64/tst-audit4.c: ... here.
23074         * elf/tst-audit5.c: Move to ...
23075         * sysdeps/x86_64/tst-audit5.c: ... here.
23076         * elf/tst-audit6.c: Move to ...
23077         * sysdeps/x86_64/tst-audit6.c: ... here.
23078         * elf/tst-audit7.c: Move to ...
23079         * sysdeps/x86_64/tst-audit7.c: ... here.
23080         * elf/tst-auditmod3a.c: Move to ...
23081         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23082         * elf/tst-auditmod3b.c: Move to ...
23083         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23084         * elf/tst-auditmod4a.c: Move to ...
23085         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23086         * elf/tst-auditmod4b.c: Move to ...
23087         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23088         * elf/tst-auditmod5a.c: Move to ...
23089         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23090         * elf/tst-auditmod5b.c: Move to ...
23091         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23092         * elf/tst-auditmod6a.c: Move to ...
23093         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23094         * elf/tst-auditmod6b.c: Move to ...
23095         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23096         * elf/tst-auditmod6c.c: Move to ...
23097         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23098         * elf/tst-auditmod7a.c: Move to ...
23099         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23100         * elf/tst-auditmod7b.c: Move to ...
23101         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23103 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
23105         [BZ #15366]
23106         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23107         define unconditionally.
23108         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23109         define unconditionally.
23110         (INT8_C, INT16_C, etc.): Likewise.
23112 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
23114         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23115         __ehdr_start with hidden visibility.
23117         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23119 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
23121         * math/libm-test.inc (cos_test): Use accurate hex constants.
23122         (sincost_test): Likewise.
23124 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
23126         * math/libm-test.inc (catan_test): Add more tests.
23127         (catanh_test): Likewise.
23129         * math/s_catanf.c (__catanf): Use suffixed floating-point
23130         constants.
23131         * math/s_catanhf.c (__catanhf): Likewise.
23132         * math/s_catanhl.c (__catanhl): Likewise.
23133         * math/s_catanl.c (__catanl): Likewise.
23135         [BZ #15394]
23136         * math/s_catan.c (__catan): Calculate imaginary part of result
23137         with log1p not log unless computing log of number close to 0.
23138         * math/s_catanf.c (__catanf): Likewise.
23139         * math/s_catanl.c (__catanl): Likewise.
23140         * math/s_catanh.c (__catanh): Calculate real part of result with
23141         log1p not log unless computing log of number close to 0.
23142         * math/s_catanhf.c (__catanhf): Likewise.
23143         * math/s_catanhl.c (__catanhl): Likewise.
23144         * math/libm-test.inc (catan_test): Add more tests.
23145         (catanh_test): Likewise.
23146         * sysdeps/i386/fpu/libm-test-ulps: Update.
23147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23149 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23151         * benchtests/Makefile: Mention files in which fast and slow
23152         paths of math functions are implemented.
23154 2013-04-23  Roland McGrath  <roland@hack.frob.com>
23156         * sysdeps/posix/timespec_get.c: New file.
23158 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23160         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23161         POWER.
23162         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23163         for POWER.
23164         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23165         powerpc/power5/fpu folders.
23166         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23167         * benchtests/Makefile: Add modf testcase.
23168         * benchtests/bench-modf.c: New file: Benchmark test for mo
23170 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23172         [BZ #14888]
23173         * time/Makefile (tests): Add tst-strptime-whitespace.
23174         * time/strptime_l.c (get_number): Use ISSPACE.
23175         (__strptime_internal): Likewise.
23176         * time/tst-strptime-whitespace.c: New test case.
23178 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
23180         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23181         member.
23182         (_nss_files_init): Set it here.
23184 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
23186         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23187         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23188         unsigned.
23190 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
23192         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23194 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23196         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23197         size just once.
23199 2013-04-21  David S. Miller  <davem@davemloft.net>
23201         * po/ru.po: Update Russion translation from translation project.
23203 2013-04-17  Adam Conrad  <adconrad@0c3.net>
23205         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23206         and setfsgid.
23208 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
23210         * configure.in: Remove i386 configure warning. Remove i386 case.
23211         * configure: Regenerate.
23212         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23213         Add example to error message.
23214         * sysdeps/i386/configure: Regenerate.
23216 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23218         * benchtests/Makefile (bench): Add cos, tan, slowcos and
23219         slowtan.
23220         * benchtests/cos-inputs: New file.
23221         * benchtests/slowcos-inputs: New file.
23222         * benchtests/slowcos.c: New file.
23223         * benchtests/slowtan-inputs: New file.
23224         * benchtests/slowtan.c: New file.
23225         * benchtests/tan-inputs: New file.
23227 2013-04-16  Roland McGrath  <roland@hack.frob.com>
23229         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
23230         considered kosher.
23232 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23234         * benchtests/Makefile: Include cppflags-iterator.mk to add
23235         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
23237         * Makefile.in (bench-clean): New target.
23238         * benchtests/Makefile (bench-clean): Likewise.
23240 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
23242         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
23244 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
23246         * stdio-common/tstdiomisc.c: Fix coding-style violation.
23248 2013-04-15  Andreas Schwab  <schwab@suse.de>
23250         * nscd/grpcache.c (cache_addgr): Properly check for short write.
23251         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23252         * nscd/pwdcache.c (cache_addpw): Likewise.
23253         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
23254         more than recsize.
23256 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23258         * benchtests/Makefile (bench): Write all output to
23259         bench-out.tmp together.
23261 2013-04-15  Andreas Schwab  <schwab@suse.de>
23263         * nscd/nscd.c (main): Don't fork again after closing files.
23265 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23267         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
23269         * benchtests/Rules (bench-deps): Collect dependencies into a
23270         single variable.  Add Makefile to dependencies.
23271         ($(objpfx)bench-%.c): Depend on bench-deps.
23273 2013-04-12  Roland McGrath  <roland@hack.frob.com>
23274             Xavier Roche  <roche+kml2@exalead.com>
23276         [BZ #15361]
23277         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
23278         just that it's a file descriptor.
23279         * manual/llio.texi (Synchronizing AIO Operations): Update description
23280         for EBADF error from aio_fsync.
23282 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23284         * Rules (bench): Move target definition...
23285         * benchtests/Makefile: ... here.
23287 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
23289         * math/libm-test.inc (cos_test): Fix PI/2 test.
23290         (sincos_test): Likewise.
23291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23292         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23294 2013-04-11  Andreas Schwab  <schwab@suse.de>
23296         [BZ #13988]
23297         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
23298         accept exponent character only when digits were seen.
23299         * stdio-common/Makefile (tests): Add bug26.
23300         * stdio-common/bug26.c: New file.
23302         [BZ #14293]
23303         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
23304         non-freeable.
23306 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23308         * Makeconfig (rtld-prefix): Define built linker prefix.
23309         * Rules (run-bench): Use it.
23310         * math/Makefile (run-regen-ulps): Likewise.
23312         * Rules (bench): Remove eval.
23314 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23315             Roland McGrath  <roland@hack.frob.com>
23316             Ondrej Bilka  <neleai@seznam.cz>
23318         [BZ #15346]
23319         * time/getdate.c: Include ctype.h and alloca.h.
23320         (__getdate_r): Trim leading and trailing spaces of input.
23321         * time/tst-getdate.c (tests): Add tests with leading and
23322         trailing spaces.
23324 2013-04-08  Roland McGrath  <roland@hack.frob.com>
23326         [BZ #14280]
23327         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
23328         when computing value.
23330 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23332         * math/README.libm-test (How can I generate "libm-test-ulps"?):
23333         Use testrun.sh to run libm tests.
23335         [BZ #15309]
23336         * elf/dl-open.c (dl_open_worker): memset all of seen array.
23338 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
23340         [BZ #15264]
23341         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
23343 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23345         * Makefile.in (regen-ulps): New target.
23346         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
23347         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
23348         [ifneq (no,$(PERL)] (regen-ulps): New target.
23349         [ifeq (no,$(PERL)] (regen-ulps): New target.
23350         * math/libm-test.inc (ulps_file_name): Define.
23351         (output_dir): New variable.
23352         (options): Add "output-dir" option.
23353         (parse_opt): Handle 'o' case.
23354         (main): If output_dir is non-NULL use it as a prefix
23355         otherwise use "".
23356         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
23358 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23360         [BZ #10060, #10062]
23361         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
23362         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
23363         fail configure if __sync_val_compare_and_swap is not inlined.
23364         * sysdeps/i386/configure: Regenerate.
23365         * configure.in: Build for i686 when configured for i386.
23366         * configure: Regenerate.
23367         * README: Remove i386 reference.
23369 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
23371         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
23372         * sysdeps/s390/s390-64/sysdep.h: Likewise.
23374 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
23376         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
23377         (lmsnanval): New variables.
23378         (F): Add conversion tests.
23379         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
23380         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
23382         * stdio-common/tstdiomisc.c (F): Properly collect individual
23383         tests' results.
23385         [BZ #14686, #15336]
23386         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
23387         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23388         Instead, use input NaN values or generate a qNaN by arithmetic
23389         operation.  Also fix bugs to comply with the standard.
23390         * math/libm-test.inc (remainder_test): Add more tests.
23392         [BZ #15335, #15342]
23393         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
23394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
23395         input NaN values or generate a qNaN by arithmetic operation.
23397         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
23398         unreachable code.
23400         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
23401         definitions.
23403 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
23405         [BZ #14478]
23406         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
23407         underflowed result.
23408         * math/s_cexpf.c (__cexpf): Likewise.
23409         * math/s_cexpl.c (__cexpl): Likewise.
23410         * math/libm-test.inc (cexp_test): Add more tests.
23412 2013-04-03  Andreas Schwab  <schwab@suse.de>
23414         [BZ #15330]
23415         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
23416         order arrays from heap if bigger than alloca cutoff.
23418 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
23420         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
23421         (SNAN_TESTS_double): Refer to GCC PR56831.
23422         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
23423         GCC PR56828.
23425 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23427         * Rules (bench): Move bench.out after the run is complete.
23429         * Rules (bench): Echo currently running benchmark.
23431         * benchtests/Makefile (bench): Add atan and slowatan.
23432         * benchtests/atan-inputs: New file.
23433         * benchtests/slowatan-inputs: New file.
23434         * benchtests/slowatan.c: New file.
23436         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
23437         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
23438         its value.
23440         [BZ #15305]
23441         * sysdeps/unix/sysv/linux/kernel-features.h
23442         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
23443         __ASSUME_XFS_RESTRICTED_CHOWN.
23444         * sysdeps/unix/sysv/linux/pathconf.c
23445         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
23446         Save and restore errno.
23448 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
23450         [BZ #15327]
23451         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
23452         arguments using __kernel_casinh.
23453         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
23454         arguments using __kernel_casinhf.
23455         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
23456         arguments using __kernel_casinhl.
23457         * math/libm-test.inc (cacosh_test): Add more tests.
23458         * sysdeps/i386/fpu/libm-test-ulps: Update.
23459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23461 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23463         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
23464         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
23466         * bench/Makefile (bench): Add sin and slowsin.
23467         * benchtests/sin-inputs: New file.
23468         * benchtests/slowsin-inputs: New file.
23469         * benchtests/slowsin.c: New file.
23471         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
23472         (bench): Add slowexp and slowpow.
23473         (exp-ITER): Increase iterations.
23474         (pow-ITER): Likewise.
23475         * benchtests/exp-inputs: Change input.
23476         * benchtests/pow-inputs: Likewise.
23477         * benchtests/slowexp-inputs: New file.
23478         * benchtests/slowexp.c: New file.
23479         * benchtests/slowpow-inputs: New file.
23480         * benchtests/slowpow.c: New file.
23482 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23484         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
23485         instructions.
23486         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
23487         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
23488         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23489         * benchtests/Makefile: Add rint benchtest.
23490         * benchtests/rint-inputs: Input for rint benchtest.
23492 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
23494         * Versions.def (libm): Add GLIBC_2.18.
23495         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
23496         hidden libm prototypes.
23497         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
23498         * math/Makefile (libm-calls): Add s_issignaling.
23499         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
23500         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
23501         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
23502         declaration.
23503         * math/math.h [__USE_GNU] (issignaling): New macro.
23504         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
23505         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
23506         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
23507         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
23508         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
23509         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
23510         * manual/arith.texi (issignaling): New section.
23511         * manual/libm-err-tab.pl (@all_functions): Update comment.
23512         * math/gen-libm-test.pl (parse_args): Apply special handling for
23513         issignaling.
23514         * math/libm-test.inc (print_float, issignaling_test): New
23515         functions.
23516         (check_float_internal): Add issignaling checks.
23517         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
23518         default definition.
23519         * sysdeps/powerpc/math-tests.h: New file.
23520         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
23521         tests.
23522         * math/test-snan.c (TEST_FUNC): Likewise.
23524 2013-03-30  David S. Miller  <davem@davemloft.net>
23526         * po/de.po: Update from translation team.
23528 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
23530         [BZ #10357]
23531         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23532         imaginary part less than 1.0 and real part less than 0.5
23533         specially.
23534         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23535         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23536         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
23537         (cacos_test): Add more tests.
23538         (casin_test): Likewise.
23539         (casinh_test): Likewise.
23540         * sysdeps/i386/fpu/libm-test-ulps: Update.
23541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23543 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23545         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
23546         ONE with its value.
23548         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
23549         (__pow_mp): Replace ONE and MONE with their values.
23550         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23551         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
23552         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23553         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
23554         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23555         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23557         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
23559         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
23560         (__pow_mp): Replace ZERO and MZERO with their values.
23561         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23562         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23563         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23564         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23565         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23566         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
23567         (__sqr): Likewise.
23569         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
23571         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
23573 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23575         * include/stdlib.h [!SHARED] (__call_tls_dtors):
23576         Declare with __attribute__ ((weak)).
23577         * stdlib/exit.c (__libc_atexit) [!SHARED]:
23578         Call __call_tls_dtors only if it's not NULL.
23580 2013-03-28  Roland McGrath  <roland@hack.frob.com>
23582         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
23583         didn't do it already, then set _dl_phdr and _dl_phnum based on the
23584         magic __ehdr_start linker symbol if it's defined.
23585         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
23586         them up here if it was already done.
23588         * elf/dl-support.c (_dl_phdr): Make pointer to const.
23589         (_dl_aux_init): Use const in cast when setting it.
23590         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
23591         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
23592         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
23594         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
23595         Declare them here.
23596         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
23597         * csu/libc-tls.c: Nor here.
23598         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
23600         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
23601         (__libc_message): Never call vsyslog.
23603 2013-03-28  Alan Modra  <amodra@gmail.com>
23605         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
23606         Define as empty.
23607         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
23608         Likewise.
23610 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23612         [BZ #15214]
23613         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
23614         underflow.
23615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23617 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23619         [BZ #15304]
23620         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23621         Don't add gid passed as argument.
23623         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
23625 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
23627         [BZ #15307]
23628         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23629         imaginary part between 1.0 and 1.5 and real part less than 0.5
23630         specially.
23631         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23632         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23633         * math/libm-test.inc (cacos_test): Add more tests.
23634         (casin_test): Likewise.
23635         (casinh_test): Likewise.
23636         * sysdeps/i386/fpu/libm-test-ulps: Update.
23637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23639 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23641         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
23642         constants.
23643         (norm): Likewise.
23644         (denorm): Likewise.
23645         (__dbl_mp): Likewise.
23646         (add_magnitudes): Likewise.
23647         (sub_magnitudes): Likewise.
23648         (__add): Likewise.
23649         (__sub): Likewise.
23650         (__mul): Likewise.
23651         (__sqr): Likewise.
23652         (__inv): Likewise.
23653         (__dvd): Likewise.
23655         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
23656         commented code.
23657         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
23658         (__dubcos): Likewise.
23659         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
23660         (__ieee754_acos): Likewise.
23661         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
23662         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
23663         (__exp1): Likewise.
23664         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23665         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23666         (log1): Likewise.
23667         (my_log2): Likewise.
23668         (checkint): Likewise.
23669         * sysdeps/ieee754/dbl-64/e_remainder.c
23670         (__ieee754_remainder): Likewise.
23671         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
23672         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23673         (bsloww): Likewise.
23674         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23676         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
23677         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
23678         MANTISSA_STORE_T to store computations on mantissa.  Use
23679         macros for rounding and division.
23680         (denorm): Likewise.
23681         (__dbl_mp): Likewise.
23682         (add_magnitudes): Likewise.
23683         (sub_magnitudes): Likewise.
23684         (__mul): Likewise.
23685         (__sqr): Likewise.
23686         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
23687         powers of two in terms of TWOPOW macro.
23688         (mp_no): Make type of mantissa as MANTISSA_T.
23689         [!RADIXI]: Define RADIXI.
23690         [!TWO52]: Define TWO52.
23691         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
23693 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23695         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
23696         llroundl symbol when building for PPC32.
23698 2013-03-24  Mark H Weaver  <mhw@netris.org>
23700         * manual/arith.texi (Normalization Functions): Fix prototypes for
23701         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
23703 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23705         [BZ #13889]
23706         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
23707         high value to check if expl overflow.
23708         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
23709         to check for underflow and overflow.
23710         * math/libm-test.inc: Add exp test.
23712 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
23714         [BZ #11120]
23715         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
23716         with NOT_IN_libc.
23718 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23720         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
23721         symbol.
23723 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
23725         * math/gen-libm-test.pl (parse_args, special_functions): Properly
23726         wrap blocks consisting of several statements.
23728         * sysdeps/generic/math-tests.h: New file.
23729         * sysdeps/i386/fpu/math-tests.h: Likewise.
23730         * math/test-snan.c: Include it.
23731         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
23733 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23735         [BZ #15285]
23736         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
23737         (__ieee754_j0l): Do not improve calculations using cos of twice
23738         input for inputs above LDBL_MAX / 2.0L.
23739         (__ieee754_y0l): Likewise.
23740         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
23741         (__ieee754_j1l): Do not improve calculations using cos of twice
23742         input for inputs above LDBL_MAX / 2.0L.
23743         (__ieee754_y1l): Likewise.
23744         * math/libm-test.inc (j0_test): Add another test.
23745         (j1_test): Likewise.
23746         (y0_test): Likewise.
23747         (y1_test): Likewise.
23748         * sysdeps/i386/fpu/libm-test-ulps: Update.
23750 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23752         * Rules ($(objpfx)bench-%.c): Include code from a C source
23753         file.
23755 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
23757         [BZ #15287]
23758         * math/k_casinh.c (__kernel_casinh): Handle arguments with
23759         imaginary part 1.0 and real part less than 0.5 specially.
23760         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23761         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23762         * math/libm-test.inc (cacos_test): Add more tests.
23763         (casin_test): Likewise.
23764         (casinh_test): Likewise.
23765         * sysdeps/i386/fpu/libm-test-ulps: Update.
23766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23768 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23770         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
23771         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
23773 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
23775         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
23776         * config.make.in (config-cflags-sse4): Remove variable.
23777         (config-cflags-avx): Likewise.
23778         (config-cflags-sse2avx): Likewise.
23779         (config-cflags-novzeroupper): Likewise.
23780         (config-asflags-i686): Likewise.
23781         (have-mfma4): Likewise.
23782         (have-as-vis3): Likewise.
23783         (MIG): Likewise.
23784         * configure.in (MIG): Do not AC_SUBST.
23785         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
23786         (libc_cv_cc_sse4): Do not AC_SUBST.
23787         (libc_cv_cc_avx): Likewise.
23788         (libc_cv_cc_sse2avx): Likewise.
23789         (libc_cv_cc_novzeroupper): Likewise.
23790         (libc_cv_cc_fma4): Likewise.
23791         (libc_cv_as_i686): Likewise.
23792         (libc_cv_sparc_as_vis3): Likewise.
23793         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
23794         LIBC_CONFIG_VAR.
23795         (config-asflags-i686): Likewise.
23796         (config-cflags-avx): Likewise.
23797         (config-cflags-sse2avx): Likewise.
23798         (have-mfma4): Likewise.
23799         (config-cflags-novzeroupper): Likewise.
23800         * sysdeps/mach/configure.in (MIG): Likewise.
23801         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
23802         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
23803         LIBC_CONFIG_VAR.
23804         (config-cflags-avx): Likewise.
23805         (config-cflags-sse2avx): Likewise.
23806         (have-mfma4): Likewise.
23807         (config-cflags-novzeroupper): Likewise.
23808         * configure: Regenerated.
23809         * sysdeps/i386/configure: Likewise.
23810         * sysdeps/mach/configure: Likewise.
23811         * sysdeps/sparc/configure: Likewise.
23812         * sysdeps/x86_64/configure: Likewise.
23814 2013-03-20  Roland McGrath  <roland@hack.frob.com>
23816         [BZ #14812]
23817         * locale/programs/localedef.c (options): Put N_ translation marker
23818         on argument names, not just descriptions.
23820 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23822         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
23824 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
23826         [BZ #14176]
23827         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
23829 2013-03-19  Roland McGrath  <roland@hack.frob.com>
23831         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
23832         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
23833         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
23834         [!BEFORE_ABORT] (before_abort): New function.
23835         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
23836         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
23837         (writev_for_fatal): New function.
23838         (WRITEV_FOR_FATAL): New macro; call that.
23839         (backtrace_and_maps): New function.
23840         (BEFORE_ABORT): New macro; call that.
23841         (struct str_list): Type removed.
23842         (__libc_message, __libc_fatal): Functions removed.
23843         Include <sysdeps/posix/libc_fatal.c> instead.
23845 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
23847         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
23848         constants.
23849         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
23850         double constants.
23852 2013-03-19  Andreas Schwab  <schwab@suse.de>
23854         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
23855         * sysdeps/gnu/configure: Regenerate.
23857         * configure.in: Substitute libc_cv_rtlddir.
23858         * configure: Regenerate.
23859         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
23860         * Makeconfig (rtlddir, inst_rtlddir): New variables.
23861         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
23862         * elf/Makefile (install-others, CFLAGS-interp.c)
23863         (ldso_install, common-ldd-rewrite): Likewise.
23864         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
23865         $(inst_slibdir)/$(rtld-installed-name).
23866         * scripts/rellns-sh: Add -p option.
23867         * Makerules (make-shlib-link): Use rellns-sh to get relative name
23868         for source.
23870 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23872         * manual/nptl.texi: Renamed to ...
23873         * manual/threads.texi: ... this.
23874         * manual/Makefile (chapters): Update.
23876 2013-03-18  Roland McGrath  <roland@hack.frob.com>
23878         [BZ #14812]
23879         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
23880         on argument names, not just descriptions.
23881         * malloc/memusagestat.c (options): Likewise.
23882         * nss/getent.c (options): Likewise.
23884 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
23886         [BZ #14812]
23887         * iconv/iconv_prog.c (options): Put N_ translation marker
23888         on argument names, not just descriptions.
23889         * iconv/iconvconfig.c (options): Likewise.
23891 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
23893         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
23894         implementation which is faster on all x86_64 architectures.
23895         Tested on AMD, Intel Nehalem, SNB, IVB.
23896         * sysdeps/x86_64/strnlen.S: Likewise.
23898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23899         Remove all multiarch strlen and strnlen versions.
23900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23901         Remove strlen and strnlen related parts.
23903         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
23904         Inline strlen part.
23905         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
23907         * sysdeps/x86_64/multiarch/strlen.S: Remove.
23908         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
23909         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
23910         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
23911         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23912         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
23914 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
23916         * manual/memory.texi (Malloc Tunable Parameters):
23917         Sort parameters alphabetically. Add comments for missing entries.
23919 2013-03-17  David S. Miller  <davem@davemloft.net>
23921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23923 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
23925         [BZ #15283]
23926         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
23927         for arguments at most half maximum finite value.
23928         * math/libm-test.inc (j0_test): Add more tests.
23929         (j1_test): Likewise.
23930         (y0_test): Likewise.
23931         (y1_test): Likewise.
23932         * sysdeps/i386/fpu/libm-test-ulps: Update.
23933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23935         [BZ #14155]
23936         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
23937         1 / x and functions P and Q for arguments above 0x1p256L.
23938         (__ieee754_y0l): Likewise.
23939         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
23940         (__ieee754_y1l): Likewise.
23941         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
23942         (j1_test): Likewise.
23943         (y0_test): Likewise.
23944         (y1_test): Likewise.
23946 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
23948         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
23949         variable.
23951 2013-03-15  Roland McGrath  <roland@hack.frob.com>
23953         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
23954         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
23955         zero since it's initialized to EXEC_PAGESIZE.
23957         * sysdeps/unix/sysv/linux/ldsodefs.h
23958         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
23959         * sysdeps/generic/ldsodefs.h: ... here.
23961 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
23963         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
23965         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
23966         math/test-snan.c.
23967         * math/test-snan.c: Renamed from
23968         sysdeps/powerpc/fpu/test-powerpc-snan.c.
23969         * math/Makefile (tests): Add test-snan.
23970         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
23971         test-powerpc-snan.
23973         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
23974         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
23975         functions.
23976         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
23977         __builtin_nan family of functions.
23978         * math/libm-test.inc (initialize): Initialize qnan_value with
23979         __builtin_nan family of functions.
23980         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
23981         Remove variables.
23982         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
23983         Remove functions.
23984         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
23985         storage class.  Initialize qNaN_var and sNaN_var with
23986         __builtin_nan and __builtin_nans families of functions,
23987         respectively.
23989         * math/libm-test.inc (acosh_test): Also test with qNaN input.
23990         (sqrt_test): Remove duplicate test with qNaN input.
23991         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
23992         (round_test, signbit_test, significand_test): Note missing +/-Inf
23993         as well as qNaN tests.
23995         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
23996         qNaN_var.  Fix a few strings, too.
23997         * math/libm-test.inc (nan_value): Rename to qnan_value.
23998         * math/gen-libm-test.pl (%beautify): Adjust to that.
23999         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24000         * math/test-misc.c (main): Likewise.
24001         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24002         to __qnan_bytes, and __qnan_union, respectively.
24003         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24004         Likewise.
24005         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24006         and lqnanval, respectively.
24007         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24008         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24009         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24010         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24012         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24013         * math/test-misc.c (main) [__x86_64__]: Enable test for long
24014         doubles.
24016         * math/test-misc.c (main): Fix copy'n'pastos.
24017         * misc/tst-efgcvt.c (special): Likewise.
24019         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24020         Remove declarations.
24022 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24024         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24025         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24026         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24027         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24029 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24031         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24032         macro to return vdso values correctly in IFUNC implementations.
24033         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24034         Optimization by using IFUNC.
24036 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24037             Richard Henderson  <rth@redhat.com>
24038             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24040         * Makefile.in (bench): New target.
24041         * NEWS: Mention the benchmark framework.
24042         * Rules (bench): Likewise.
24043         (binaries-bench): Generate binaries for functions to
24044         benchmark.
24045         * benchtests/Makefile: New makefile for benchmark tests.
24046         * benchtests/bench-skeleton.c: New skeleton file for benchmark
24047         programs.
24048         * benchtests/exp-inputs: New input file for EXP function.
24049         * benchtests/pow-inputs: New input file for POW function.
24050         * scripts/bench.pl: New script to generate source files for
24051         benchmark programs.
24053 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24055         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24056         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24057         computations on mantissa.  Use macros for rounding and
24058         division.
24059         (denorm): Likewise.
24060         (__dbl_mp): Likewise.
24061         (add_magnitudes): Likewise.
24062         (sub_magnitudes): Likewise.
24063         (__mul): Likewise.
24064         (__sqr): Likewise.
24065         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
24066         powers of two in terms of TWOPOW macro.
24067         (mp_no): Make type of mantissa as MANTISSA_T.
24068         [!RADIXI]: Define RADIXI.
24069         [!TWO52]: Define TWO52.
24070         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24072         * manual/nptl.texi (cindex): Modify threads to pthreads.
24074 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
24076         * sysdeps/x86_64/preconfigure: Regenerated.
24078 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
24080         [BZ #14155]
24081         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24082         0x1p28 and above.
24083         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24084         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24085         0x1p28 and above.
24086         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24087         * math/libm-test.inc (j0_test): Do not allow one spurious
24088         underflow exception.
24089         (y1_test): Likewise.
24091 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24093         * manual/Makefile (chapters): Add nptl.
24094         * manual/debug.texi (Debugging Support): Add link to Threads
24095         chapter.
24096         * manual/nptl.texi: New file.
24098         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24100 2013-03-14  Petr Baudis  <pasky@ucw.cz>
24102         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24103         for non-NULL pointer before the memory validity test. Pointed
24104         out by Holger Brunck <holger.brunck@keymile.com>.
24106 2013-03-13  Andreas Schwab  <schwab@suse.de>
24108         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24109         instead of .os.
24111 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
24113         * timezone/zic.c: Update from tzcode 2013b.
24115 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
24117         * manual/install.texi (Configuring and compiling):
24118         Mention i686 and i586.
24119         * INSTALL: Regenerate.
24121 2013-03-12  Roland McGrath  <roland@hack.frob.com>
24123         * sysdeps/init_array/elf-init.c: New file.
24124         * csu/elf-init.c
24125         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24126         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24128         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24129         __gmon_start__ as global, but as static with a .preinit_array pointer.
24130         * sysdeps/init_array/gmon-start.c: New file.  Use that.
24131         * sysdeps/init_array/crti.S: New file, empty except for comments.
24132         * sysdeps/init_array/crtn.S: Likewise.
24134 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
24136         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24137         definining bcopy.
24138         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24139         Remove Prefer_SSE_for_memop.
24140         * sysdeps/x86_64/multiarch/init-arch.h: Remove
24141         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24142         HAS_PREFER_SSE_FOR_MEMOP.
24143         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24144         memset-x86-64.
24145         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24146         Remove bzero, memset ifunc support.
24147         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24148         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24149         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24150         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24152 2013-03-11  Andreas Schwab  <schwab@suse.de>
24154         [BZ #15234]
24155         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24156         by SHLIB_COMPAT.
24157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24158         (GLIBC_2.16): Remove pthread_atfork.
24160 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24162         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24163         (ptestcases.h): Likewise.
24165 2013-03-08  Roland McGrath  <roland@hack.frob.com>
24167         * Makeconfig ($(common-objpfx)config.status): Depend on
24168         sysdeps/*/preconfigure{,.in} too.
24170 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
24172         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24173         (__free_hook): Use void * instead of __malloc_ptr_t.
24174         (__malloc_hook): Likewise.
24175         (__realloc_hook): Likewise.
24176         (__memalign_hook): Likewise.
24177         (__after_morecore_hook): Likewise.
24178         * malloc/arena.c (save_malloc_hook): Likewise.
24179         (save_free_hook): Likewise.
24180         * malloc/hooks.c (malloc_hook_ini): Likewise.
24181         (realloc_hook_ini): Likewise.
24182         (memalign_hook_ini): Likewise.
24183         * malloc/malloc.c (malloc_hook_ini): Likewise.
24184         (realloc_hook_ini): Likewise.
24185         (memalign_hook_ini): Likewise.
24186         (__free_hook): Likewise.
24187         (__malloc_hook): Likewise.
24188         (__realloc_hook): Likewise.
24189         (__memalign_hook): Likewise.
24190         (__libc_malloc): Likewise.
24191         (__libc_free): Likewise.
24192         (__libc_realloc): Likewise.
24193         (__libc_memalign): Likewise.
24194         (__libc_valloc): Likewise.
24195         (__libc_pvalloc): Likewise.
24196         (__libc_calloc): Likewise.
24197         (__posix_memalign): Likewise.
24198         * malloc/morecore.c (__sbrk): Likewise.
24199         (__default_morecore): Likewise.
24201         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24203         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24204         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24205         __malloc_ptrdiff_t.
24207         * malloc/malloc.h (__malloc_size_t): Remove macro.
24208         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24209         __malloc_size_t.
24210         (old_memalign_hook): Likewise.
24211         (old_realloc_hook): Likewise.
24212         (struct hdr): Likewise.
24213         (flood): Likewise.
24214         (mallochook): Likewise.
24215         (memalignhook): Likewise.
24216         (reallochook): Likewise.
24217         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24218         (tr_old_realloc_hook): Likewise.
24219         (tr_old_memalign_hook): Likewise.
24220         (tr_mallochook): Likewise.
24221         (tr_reallochook): Likewise.
24222         (tr_memalignhook): Likewise.
24224 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24226         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
24227         default_ldbl_pack and using as default implementation.
24228         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
24229         implementation.
24230         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
24231         redundant definition.
24232         (ldbl_insert_mantissa): Likewise.
24233         (ldbl_canonicalize): Likewise.
24234         (ldbl_nearbyint): Likewise.
24235         (ldbl_pack): Rename to ldbl_pack_ppc.
24236         (ldbl_unpack): Rename to ldbl_unpack_ppc.
24237         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
24238         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
24240 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
24243         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
24244         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
24245         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
24246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
24247         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
24248         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
24249         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
24251 2013-03-07  Andreas Jaeger  <aj@suse.de>
24253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24254         bits/mman-linux.h.
24256 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24258         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
24259         Include mpa.h and declare __MPEXP.
24260         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
24261         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24262         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24263         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
24264         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24265         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24266         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
24268         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
24269         (__slowpow): Use long double EXPL and LOGL functions to
24270         compute POW.
24271         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
24272         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24273         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
24274         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
24275         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
24276         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
24278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
24279         intermediate variable to calculate exponent.
24280         (__sqr): Likewise.
24281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24282         Likewise.
24283         (__sqr): Likewise.
24285         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
24286         [!NO__SQR]: Define __sqr.
24287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
24288         and NO__SQR.  Remove all code except __mul and __sqr.  Include
24289         sysdeps/ieee754/dbl-64/mpa.c.
24290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24292         [BZ #12723]
24293         * posix/Makefile (tests): Add tst-pathconf.
24294         * posix/tst-pathconf.c: New test case.
24295         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
24296         _PC_PIPE_BUF.
24297         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
24299 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
24301         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
24303 2013-03-06  Andreas Jaeger  <aj@suse.de>
24305         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
24306         definition via __MAP_ANONYMOUS.
24308         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
24309         it's not part of Linux headers.
24311         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
24312         (MAP_HUGE_MASK): Define.
24314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24315         Define.
24316         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24317         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24318         Define.
24319         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24320         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
24321         Define.
24322         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24323         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
24324         Define.
24325         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
24327         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
24328         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
24329         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
24330         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
24331         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
24332         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
24334         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
24335         Handle f2fs.
24337         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24338         Handle f2fs and efivarfs.
24340         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
24341         f2fs.
24343         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
24344         (EFIVARFS_MAGIC): Add.
24345         (F2FS_LINK_MAX): Add.
24347 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24349         * stdio-common/vfprintf.c: Replace __builtin_expect with
24350         __glibc_unlikely.
24352 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
24354         [BZ #13550]
24355         * sysdeps/generic/bp-sym.h: Remove file.
24356         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
24357         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
24358         <bp-sym.h> and <bp-asm.h>.
24359         (__longjmp): Don't use BP_SYM.
24360         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
24361         and <bp-asm.h>.
24362         (memcpy): Don't use BP_SYM.
24363         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
24364         <bp-sym.h> and <bp-asm.h>.
24365         (memcpy): Don't use BP_SYM.
24366         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
24367         <bp-asm.h>.
24368         (memcpy): Don't use BP_SYM.
24369         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
24370         <bp-asm.h>.
24371         (memset): Don't use BP_SYM.
24372         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24373         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24374         (__bzero): Don't use BP_SYM.
24375         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24376         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24377         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
24378         <bp-sym.h> and <bp-asm.h>.
24379         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24380         pointers.
24381         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
24382         <bp-sym.h> and <bp-asm.h>.
24383         (memcpy): Don't use BP_SYM.
24384         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
24385         <bp-sym.h> and <bp-asm.h>.
24386         (memset): Don't use BP_SYM.
24387         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24388         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24389         (__bzero): Don't use BP_SYM.
24390         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24391         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24392         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
24393         <bp-sym.h> and <bp-asm.h>.
24394         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24395         pointers.
24396         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
24397         <bp-sym.h> and <bp-asm.h>.
24398         (memcpy): Don't use BP_SYM.
24399         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
24400         <bp-sym.h> and <bp-asm.h>.
24401         (memset): Don't use BP_SYM.
24402         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24403         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24404         (__bzero): Don't use BP_SYM.
24405         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24406         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24407         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
24408         <bp-sym.h> and <bp-asm.h>.
24409         (__memchr): Don't use BP_SYM.
24410         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
24411         <bp-sym.h> and <bp-asm.h>.
24412         (memcmp): Don't use BP_SYM.  Remove comment about bounded
24413         pointers.
24414         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
24415         <bp-sym.h> and <bp-asm.h>.
24416         (memcpy): Don't use BP_SYM.
24417         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
24418         <bp-sym.h> and <bp-asm.h>.
24419         (__mempcpy): Don't use BP_SYM.
24420         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
24421         <bp-sym.h> and <bp-asm.h>.
24422         (__memrchr): Don't use BP_SYM.
24423         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
24424         <bp-sym.h> and <bp-asm.h>.
24425         (memset): Don't use BP_SYM.
24426         (__bzero): Likewise.
24427         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
24428         <bp-sym.h> and <bp-asm.h>.
24429         (__rawmemchr): Don't use BP_SYM.
24430         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
24431         <bp-sym.h> and <bp-asm.h>.
24432         (__STRCMP): Don't use BP_SYM.
24433         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
24434         <bp-sym.h> and <bp-asm.h>.
24435         (strchr): Don't use BP_SYM.
24436         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
24437         <bp-sym.h> and <bp-asm.h>.
24438         (__strchrnul): Don't use BP_SYM.
24439         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
24440         <bp-sym.h> and <bp-asm.h>.
24441         (strlen): Don't use BP_SYM.
24442         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
24443         <bp-sym.h> and <bp-asm.h>.
24444         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24445         pointers.
24446         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
24447         <bp-sym.h> and <bp-asm.h>.
24448         (__strnlen): Don't use BP_SYM.
24449         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
24450         <bp-sym.h> and <bp-asm.h>.
24451         (__GI__setjmp): Don't use BP_SYM.
24452         (_setjmp): Likewise.
24453         (__sigsetjmp): Likewise.
24454         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
24455         (L(start_addresses)): Don't use BP_SYM.
24456         (_start): Likewise.
24457         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
24458         <bp-asm.h>.
24459         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
24460         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
24461         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24462         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24463         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
24464         <bp-asm.h>.
24465         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
24466         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
24467         about bounded pointers.
24468         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24469         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24470         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
24471         <bp-asm.h>.
24472         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24473         about bounded pointers.  Remove GKM FIXME comments.
24474         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24475         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
24476         <bp-asm.h>.
24477         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
24478         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
24479         Remove GKM FIXME comments.
24480         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24481         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24482         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
24483         <bp-asm.h>.
24484         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
24485         about bounded pointers.  Remove GKM FIXME comment.
24486         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
24487         and <bp-asm.h>.
24488         (strncmp): Don't use BP_SYM.  Remove comment about bounded
24489         pointers.
24490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
24491         <bp-sym.h> and <bp-asm.h>.
24492         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
24494         <bp-sym.h> and <bp-asm.h>.
24495         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24496         comment.
24498 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24500         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
24501         call free(NULL).
24503 2013-03-05  David S. Miller  <davem@davemloft.net>
24505         * po/es.po: Update from translation team.
24507 2013-03-05  Andreas Jaeger  <aj@suse.de>
24509         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
24510         <bits/mman-linux.h>.
24511         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24512         is fine.
24513         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
24514         <bits/mman-linux.h> to end of file.
24515         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24516         is fine.
24517         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
24518         <bits/mman-linux.h> to end of file.
24519         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
24520         is fine.
24521         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
24522         <bits/mman-linux.h> to end of file.
24524         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
24525         (MCL_CURRENT, MCL_FUTURE): Define here.
24527 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24529         [BZ #15232]
24530         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
24531         attribute_hidden.
24532         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24534 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24536         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
24537         fourth parameter needed for rt_sigprocmask syscall.
24538         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
24539         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24540         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
24541         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24542         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24543         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
24545 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
24547         [BZ #13550]
24548         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
24549         comment about bounded pointers.
24550         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
24551         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
24553 2013-03-04  Andreas Jaeger  <aj@suse.de>
24555         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
24556         common definitions.
24558         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
24559         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
24560         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
24561         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24562         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
24563         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24565 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24567         [BZ #15055]
24568         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24569         __ieee754_sqrl instead of __sqrl.
24571 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
24573         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
24574         * sysdeps/powerpc/fpu_control.h: ... here.
24575         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
24576         * sysdeps/powerpc/bits/fenvinline.h: ... here.
24577         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
24578         * sysdeps/powerpc/bits/mathinline.h: ... here.
24580 2013-03-01  Roland McGrath  <roland@hack.frob.com>
24582         * elf/dl-hwcaps.c (_dl_important_hwcaps):
24583         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
24584         to just [NEED_DL_SYSINFO_DSO].
24585         * elf/dl-support.c: Likewise.
24586         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24587         * elf/rtld.c (dl_main): Likewise.
24588         * elf/setup-vdso.h (setup_vdso): Likewise.
24589         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
24590         * sysdeps/unix/sysv/linux/dl-sysdep.c
24591         (_dl_discover_osversion): Likewise.
24593 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
24595         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
24596         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24598 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24600         * NEWS: Mention libm performance improvements and non-x86 PI
24601         futex support.
24603         * csu/libc-start.c (__pthread_initialize_minimal): Change
24604         function arguments.
24605         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
24607 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
24609         [BZ #13550]
24610         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
24611         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
24612         <bp-sym.h> and <bp-asm.h>.
24613         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24614         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
24615         and <bp-asm.h>.
24616         (memcpy): Don't use BP_SYM.
24617         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
24618         <bp-asm.h>.
24619         (__mpn_add_n): Don't use BP_SYM.
24620         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
24621         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
24622         and <bp-asm.h>.
24623         (__mpn_addmul_1): Don't use BP_SYM.
24624         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24625         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
24626         <bp-sym.h>.
24627         (_setjmp): Don't use BP_SYM.
24628         (__novmx_setjmp): Likewise.
24629         (__GI__setjmp): Likewise.
24630         (__vmx_setjmp): Likewise.
24631         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
24632         <bp-sym.h>.
24633         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
24634         (__bzero): Don't use BP_SYM.
24635         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
24636         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
24637         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
24638         <bp-sym.h> and <bp-asm.h>.
24639         (memcpy): Don't use BP_SYM.
24640         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
24641         <bp-sym.h> and <bp-asm.h>.
24642         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24643         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
24644         <bp-sym.h> and <bp-asm.h>.
24645         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
24646         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
24647         <bp-asm.h>.
24648         (__mpn_lshift): Don't use BP_SYM.
24649         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24650         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
24651         <bp-asm.h>.
24652         (memset): Don't use BP_SYM.
24653         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
24654         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
24655         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
24656         <bp-asm.h>.
24657         (__mpn_mul_1): Don't use BP_SYM.
24658         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24659         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
24660         <bp-sym.h> and <bp-asm.h>.
24661         (memcmp): Don't use BP_SYM.
24662         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
24663         <bp-sym.h> and <bp-asm.h>.
24664         (memcpy): Don't use BP_SYM.
24665         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
24666         <bp-sym.h> and <bp-asm.h>.
24667         (memset): Don't use BP_SYM.
24668         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
24669         <bp-sym.h> and <bp-asm.h>.
24670         (strncmp): Don't use BP_SYM.
24671         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
24672         <bp-sym.h> and <bp-asm.h>.
24673         (memcpy): Don't use BP_SYM.
24674         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
24675         <bp-sym.h> and <bp-asm.h>.
24676         (memset): Don't use BP_SYM.
24677         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
24678         <bp-sym.h> and <bp-asm.h>.
24679         (__memchr): Don't use BP_SYM.
24680         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
24681         <bp-sym.h> and <bp-asm.h>.
24682         (memcmp): Don't use BP_SYM.
24683         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
24684         <bp-sym.h> and <bp-asm.h>.
24685         (memcpy): Don't use BP_SYM.
24686         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
24687         <bp-sym.h> and <bp-asm.h>.
24688         (__mempcpy): Don't use BP_SYM.
24689         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
24690         <bp-sym.h> and <bp-asm.h>.
24691         (__memrchr): Don't use BP_SYM.
24692         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
24693         <bp-sym.h> and <bp-asm.h>.
24694         (memset): Don't use BP_SYM.
24695         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
24696         <bp-sym.h> and <bp-asm.h>.
24697         (__rawmemchr): Don't use BP_SYM.
24698         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
24699         <bp-sym.h> and <bp-asm.h>.
24700         (__STRCMP): Don't use BP_SYM.
24701         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
24702         <bp-sym.h> and <bp-asm.h>.
24703         (strchr): Don't use BP_SYM.
24704         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
24705         <bp-sym.h> and <bp-asm.h>.
24706         (__strchrnul): Don't use BP_SYM.
24707         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
24708         <bp-sym.h> and <bp-asm.h>.
24709         (strlen): Don't use BP_SYM.
24710         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
24711         <bp-sym.h> and <bp-asm.h>.
24712         (strncmp): Don't use BP_SYM.
24713         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
24714         <bp-sym.h> and <bp-asm.h>.
24715         (__strnlen): Don't use BP_SYM.
24716         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
24717         <bp-asm.h>.
24718         (__mpn_rshift): Don't use BP_SYM.
24719         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24720         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
24721         <bp-sym.h> and <bp-asm.h>.
24722         (__sigsetjmp): Don't use BP_SYM.
24723         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
24724         (L(start_addresses)): Don't use BP_SYM.
24725         (_start): Likewise.
24726         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
24727         <bp-asm.h>.
24728         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
24729         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24730         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24731         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
24732         <bp-asm.h>.
24733         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
24734         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24735         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24736         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
24737         <bp-asm.h>.
24738         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24739         comments.
24740         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24741         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
24742         <bp-asm.h>.
24743         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
24744         FIXME comments.
24745         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24746         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
24747         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
24748         <bp-asm.h>.
24749         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
24750         comment.
24751         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
24752         and <bp-asm.h>.
24753         (strncmp): Don't use BP_SYM,
24754         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
24755         <bp-asm.h>.
24756         (__mpn_sub_n): Don't use BP_SYM.
24757         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24758         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
24759         and <bp-asm.h>.
24760         (__mpn_submul_1): Don't use BP_SYM.
24761         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
24763         <bp-sym.h> and <bp-asm.h>.
24764         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
24765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
24766         <bp-sym.h> and <bp-asm.h>.
24767         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
24768         comment.
24770 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
24773         Use ZK to minimize writes to Z.
24774         (sub_magnitudes): Simplify code a bit.
24775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
24776         Use ZK to minimize writes to Z.
24777         (sub_magnitudes): Simplify code a bit.
24779 2013-02-27  Roland McGrath  <roland@hack.frob.com>
24781         * csu/gmon-start.c: Add special exception to license text.
24783 2013-02-27  Richard Henderson  <rth@redhat.com>
24785         * scripts/config.guess: Update from config.git.
24786         * scripts/config.sub: Likewise.
24788 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24790         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
24792         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
24794         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
24796         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
24798         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
24800 2013-02-26  Roland McGrath  <roland@hack.frob.com>
24802         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
24803         [$(build-shared = yes].
24805 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24807         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
24808         (__mul): Reduce iterations for calculating mantissa.
24810         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
24811         MPTWO.
24812         (__mpranred): Likewise.
24814         [BZ #15160]
24815         * malloc/memusagestat.c (main): Draw graphs for heap and stack
24816         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
24818 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
24820         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
24821         Define __attribute__.
24823 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24825         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
24826         unused.
24827         * posix/regex_internal.h (__attribute): Remove.
24828         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
24829         (re_string_context_at): Likewise.
24830         (bitset_not): Use __attribute__ and mark function as possibly
24831         unused.
24832         (bitset_merge): Likewise.
24833         (bitset_mask): Likewise.
24834         (re_string_char_size_at): Likewise.
24835         (re_string_wchar_at): Likewise.
24836         (re_string_elem_size_at): Likewise.
24838 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24840         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
24841         code.
24842         (cc32): Likewise.
24844         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
24845         (__acr): Likewise.
24846         (__cpy): Likewise.
24847         (norm): Likewise.
24848         (denorm): Likewise.
24849         (__dbl_mp): Likewise.
24850         (add_magnitudes): Likewise.
24851         (sub_magnitudes): Likewise.
24852         (__mul): Likewise.
24853         (__inv): Likewise.
24855         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
24856         style.
24858         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
24859         style.
24861         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
24862         code.
24864         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
24865         up changes with default code.
24866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
24867         Likewise.
24869 2013-02-24  Allan McRae  <allan@archlinux.org>
24871         * manual/socket.texi (The Internet Namespace): Order menu items
24872         to match that in the file.
24874         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
24875         node listing of the info page menu.
24877 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
24879         [BZ #13550]
24880         * sysdeps/i386/bp-asm.h: Remove file.
24881         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24882         (PARMS): Do not use macros from bp-asm.h.
24883         (S1): Likewise.
24884         (S2): Likewise.
24885         (SIZE): Likewise.
24886         (__mpn_add_n): Do not use BP_SYM
24887         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
24888         "bp-asm.h".
24889         (PARMS): Do not use macros from bp-asm.h.
24890         (S1): Likewise.
24891         (SIZE): Likewise.
24892         (__mpn_addmul_1): Do not use BP_SYM
24893         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
24894         "bp-asm.h".
24895         (PARMS): Do not use macros from bp-asm.h.
24896         (SIGMSK): Likewise.
24897         (_setjmp): Likewise.  Do not use BP_SYM.
24898         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
24899         "bp-asm.h".
24900         (PARMS): Do not use macros from bp-asm.h.
24901         (SIGMSK): Likewise.
24902         (setjmp): Likewise.  Do not use BP_SYM.
24903         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
24904         "bp-asm.h".
24905         (PARMS): Do not use macros from bp-asm.h.
24906         (__frexp): Do not use BP_SYM.
24907         (frexp): Likewise.
24908         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
24909         "bp-asm.h".
24910         (PARMS): Do not use macros from bp-asm.h.
24911         (__frexpf): Do not use BP_SYM.
24912         (frexpf): Likewise.
24913         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
24914         "bp-asm.h".
24915         (PARMS): Do not use macros from bp-asm.h.
24916         (__frexpl): Do not use BP_SYM.
24917         (frexpl): Likewise.
24918         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
24919         "bp-asm.h".
24920         (PARMS): Do not use macros from bp-asm.h.
24921         (__remquo): Do not use BP_SYM.
24922         (remquo): Likewise.
24923         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
24924         "bp-asm.h".
24925         (PARMS): Do not use macros from bp-asm.h.
24926         (__remquof): Do not use BP_SYM.
24927         (remquof): Likewise.
24928         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
24929         "bp-asm.h".
24930         (PARMS): Do not use macros from bp-asm.h.
24931         (__remquol): Do not use BP_SYM.
24932         (remquol): Likewise.
24933         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
24934         "bp-asm.h".
24935         (PARMS): Do not use macros from bp-asm.h.
24936         (DEST): Likewise.
24937         (SRC): Likewise.
24938         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
24939         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
24940         "bp-asm.h".
24941         (PARMS): Do not use macros from bp-asm.h.
24942         (strlen): Do not use BP_SYM.
24943         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
24944         "bp-asm.h".
24945         (PARMS): Do not use macros from bp-asm.h.
24946         (S1): Likewise.
24947         (S2): Likewise.
24948         (SIZE): Likewise.
24949         (__mpn_add_n): Do not use BP_SYM.
24950         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
24951         "bp-asm.h".
24952         (PARMS): Do not use macros from bp-asm.h.
24953         (S1): Likewise.
24954         (SIZE): Likewise.
24955         (__mpn_addmul_1): Do not use BP_SYM.
24956         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
24957         weak_alias.
24958         (bzero): Likewise.
24959         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
24960         "bp-asm.h".
24961         (PARMS): Do not use macros from bp-asm.h.
24962         (S): Likewise.
24963         (SIZE): Likewise.
24964         (__mpn_lshift): Do not use BP_SYM.
24965         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
24966         "bp-asm.h".
24967         (PARMS): Do not use macros from bp-asm.h.
24968         (DEST): Likewise.
24969         (SRC): Likewise.
24970         (LEN): Likewise.
24971         (memcpy): Likewise.  Do not use BP_SYM.
24972         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
24973         libc_hidden_def and weak_alias.
24974         (mempcpy): Do not use BP_SYM in weak_alias.
24975         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
24976         "bp-asm.h".
24977         (PARMS): Do not use macros from bp-asm.h.
24978         (DEST): Likewise.
24979         (LEN): Likewise.
24980         [!BZERO_P] (CHR): Likewise.
24981         (memset): Likewise.  Do not use BP_SYM.
24982         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
24983         "bp-asm.h".
24984         (PARMS): Do not use macros from bp-asm.h.
24985         (S1): Likewise.
24986         (SIZE): Likewise.
24987         (__mpn_mul_1): Do not use BP_SYM.
24988         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
24989         "bp-asm.h".
24990         (PARMS): Do not use macros from bp-asm.h.
24991         (S): Likewise.
24992         (SIZE): Likewise.
24993         (__mpn_rshift): Do not use BP_SYM.
24994         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
24995         "bp-asm.h".
24996         (PARMS): Do not use macros from bp-asm.h.
24997         (STR): Likewise.
24998         (CHR): Likewise.
24999         (strchr): Likewise.  Do not use BP_SYM.
25000         (index): Do not use BP_SYM in weak_alias.
25001         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25002         "bp-asm.h".
25003         (PARMS): Do not use macros from bp-asm.h.
25004         (DEST): Likewise.
25005         (SRC): Likewise.
25006         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
25007         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25008         "bp-asm.h".
25009         (PARMS): Do not use macros from bp-asm.h.
25010         (strlen): Do not use BP_SYM.
25011         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25012         "bp-asm.h".
25013         (PARMS): Do not use macros from bp-asm.h.
25014         (S1): Likewise.
25015         (S2): Likewise.
25016         (SIZE): Likewise.
25017         (__mpn_sub_n): Do not use BP_SYM.
25018         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25019         "bp-asm.h".
25020         (PARMS): Do not use macros from bp-asm.h.
25021         (S1): Likewise.
25022         (SIZE): Likewise.
25023         (__mpn_submul_1): Do not use BP_SYM.
25024         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25025         "bp-asm.h".
25026         (PARMS): Do not use macros from bp-asm.h.
25027         (S1): Likewise.
25028         (S2): Likewise.
25029         (SIZE): Likewise.
25030         (__mpn_add_n): Do not use BP_SYM.
25031         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25032         weak_alias.
25033         (bzero): Likewise.
25034         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25035         "bp-asm.h".
25036         (PARMS): Do not use macros from bp-asm.h.
25037         (BLK2): Likewise.
25038         (LEN): Likewise.
25039         (memcmp): Do not use BP_SYM.
25040         (bcmp): Do not use BP_SYM in weak_alias.
25041         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25042         "bp-asm.h".
25043         (PARMS): Do not use macros from bp-asm.h.
25044         (DEST): Likewise.
25045         (SRC): Likewise.
25046         (LEN): Likewise.
25047         (memcpy): Likewise.  Do not use BP_SYM.
25048         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25049         "bp-asm.h".
25050         (PARMS): Do not use macros from bp-asm.h.
25051         (DEST): Likewise.
25052         (SRC): Likewise.
25053         (LEN): Likewise.
25054         (memmove): Likewise.  Do not use BP_SYM.
25055         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25056         "bp-asm.h".
25057         (PARMS): Do not use macros from bp-asm.h.
25058         (DEST): Likewise.
25059         (SRC): Likewise.
25060         (LEN): Likewise.
25061         (__mempcpy): Likewise.  Do not use BP_SYM.
25062         (mempcpy): Do not use BP_SYM in weak_alias.
25063         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25064         "bp-asm.h".
25065         (PARMS): Do not use macros from bp-asm.h.
25066         (DEST): Likewise.
25067         (LEN): Likewise.
25068         [!BZERO_P] (CHR): Likewise.
25069         (memset): Likewise.  Do not use BP_SYM.
25070         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25071         "bp-asm.h".
25072         (PARMS): Do not use macros from bp-asm.h.
25073         (STR2): Likewise.
25074         (strcmp): Do not use BP_SYM.
25075         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25076         "bp-asm.h".
25077         (PARMS): Do not use macros from bp-asm.h.
25078         (STR): Likewise.
25079         (DELIM): Likewise.
25080         [USE_AS_STRTOK_R] (SAVE): Likewise.
25081         (FUNCTION): Likewise.  Do not use BP_SYM.
25082         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25083         aliases.
25084         (strtok_r): Likewise.
25085         (__GI___strtok_r): Likewise.
25086         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25087         (PARMS): Do not use macros from bp-asm.h.
25088         (S): Likewise.
25089         (SIZE): Likewise.
25090         (__mpn_lshift): Do not use BP_SYM.
25091         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25092         (PARMS): Do not use macros from bp-asm.h.
25093         (STR): Likewise.
25094         (CHR): Likewise.
25095         (__memchr): Do not use BP_SYM.
25096         (memchr): Do not use BP_SYM in weak_alias.
25097         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25098         (PARMS): Do not use macros from bp-asm.h.
25099         (BLK2): Likewise.
25100         (LEN): Likewise.
25101         (memcmp): Do not use BP_SYM.
25102         (bcmp): Do not use BP_SYM in weak_alias.
25103         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25104         (PARMS): Do not use macros from bp-asm.h.
25105         (S1): Likewise.
25106         (SIZE): Likewise.
25107         (__mpn_mul_1): Do not use BP_SYM.
25108         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25109         "bp-asm.h".
25110         (PARMS): Do not use macros from bp-asm.h.
25111         (STR): Likewise.
25112         (CHR): Likewise.
25113         (__rawmemchr): Do not use BP_SYM.
25114         (rawmemchr): Do not use BP_SYM in weak_alias.
25115         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25116         (PARMS): Do not use macros from bp-asm.h.
25117         (S): Likewise.
25118         (SIZE): Likewise.
25119         (__mpn_rshift): Do not use BP_SYM.
25120         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25121         (PARMS): Do not use macros from bp-asm.h.
25122         (SIGMSK): Likewise.
25123         (__sigsetjmp): Likewise.  Do not use BP_SYM.
25124         * sysdeps/i386/start.S: Do not include "bp-sym.h".
25125         (_start): Do not use BP_SYM.
25126         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25127         (PARMS): Do not use macros from bp-asm.h.
25128         (DEST): Likewise.
25129         (SRC): Likewise.
25130         (__stpcpy): Likewise.  Do not use BP_SYM.
25131         (stpcpy): Do not use BP_SYM in weak_alias.
25132         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25133         "bp-asm.h".
25134         (PARMS): Do not use macros from bp-asm.h.
25135         (DEST): Likewise.
25136         (SRC): Likewise.
25137         (LEN): Likewise.
25138         (__stpncpy): Likewise.  Do not use BP_SYM.
25139         (stpncpy): Do not use BP_SYM in weak_alias.
25140         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25141         (PARMS): Do not use macros from bp-asm.h.
25142         (STR): Likewise.
25143         (CHR): Likewise.
25144         (strchr): Likewise.  Do not use BP_SYM.
25145         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25146         "bp-asm.h".
25147         (PARMS): Do not use macros from bp-asm.h.
25148         (STR): Likewise.
25149         (CHR): Likewise.
25150         (__strchrnul): Likewise.  Do not use BP_SYM.
25151         (strchrnul): Do not use BP_SYM in weak_alias.
25152         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25153         "bp-asm.h".
25154         (PARMS): Do not use macros from bp-asm.h.
25155         (STOP): Likewise.
25156         (strcspn): Do not use BP_SYM.
25157         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25158         "bp-asm.h".
25159         (PARMS): Do not use macros from bp-asm.h.
25160         (STR): Likewise.
25161         (STOP): Likewise.
25162         (strpbrk): Likewise.  Do not use BP_SYM.
25163         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25164         "bp-asm.h".
25165         (PARMS): Do not use macros from bp-asm.h.
25166         (STR): Likewise.
25167         (CHR): Likewise.
25168         (strrchr): Likewise.  Do not use BP_SYM.
25169         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25170         (PARMS): Do not use macros from bp-asm.h.
25171         (SKIP): Likewise.
25172         (strspn): Do not use BP_SYM.
25173         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25174         (PARMS): Do not use macros from bp-asm.h.
25175         (STR): Likewise.
25176         (DELIM): Likewise.
25177         (SAVE): Likewise.
25178         (FUNCTION): Likewise.  Do not use BP_SYM.
25179         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25180         aliases.
25181         (strtok_r): Likewise.
25182         (__GI___strtok_r): Likewise.
25183         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25184         (PARMS): Do not use macros from bp-asm.h.
25185         (S1): Likewise.
25186         (S2): Likewise.
25187         (SIZE): Likewise.
25188         (__mpn_sub_n): Do not use BP_SYM.
25189         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25190         "bp-asm.h".
25191         (PARMS): Do not use macros from bp-asm.h.
25192         (S1): Likewise.
25193         (SIZE): Likewise.
25194         (__mpn_submul_1): Do not use BP_SYM.
25195         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25196         <bp-sym.h>.
25197         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25198         and <bp-asm.h>.
25199         (PARMS): Do not use macros from bp-asm.h.
25200         (FLAGS): Likewise.
25201         (PTID): Likewise.
25202         (TLS): Likewise.
25203         (CTID): Likewise.
25204         (__clone): Do not use BP_SYM.
25205         (clone): Do not use BP_SYM in weak_alias.
25206         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25207         and <bp-asm.h>.
25208         (PARMS): Do not use macros from bp-asm.h.
25209         (LEN): Likewise.
25210         (__mmap64): Do not use BP_SYM.
25211         (mmap64): Do not use BP_SYM in weak_alias.
25212         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25213         <bp-sym.h> and <bp-asm.h>.
25214         (PARMS): Do not use macros from bp-asm.h.
25215         (__posix_fadvise64_l64): Do not use BP_SYM.
25216         * sysdeps/unix/sysv/linux/i386/semtimedop.S
25217         (PARMS): Do not use macros from bp-asm.h.
25218         (NSOPS): Likewise.
25219         (semtimedop): Do not use BP_SYM.
25220         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25221         and <bp-asm.h>.
25223 2013-02-21  Allan McRae  <allan@archlinux.org>
25225         * manual/message.texi (Charset conversion in gettext):
25226         Move @end statement to beginning of line.
25228 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
25231         static.
25232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25233         Likewise.
25235         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
25236         (denorm): Likewise.
25237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
25238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
25240 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25242         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
25243         tail-call to the resolved function if pltexit isn't needed.
25245 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
25248         or Y being zero as being unlikely.
25249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25250         Likewise.
25252 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
25254         * manual/nss.texi (System Databases and Name Service Switch):
25255         Remove frobnicate @pxref.
25257 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25259         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25260         __attribute__ ((unused)) to __attribute__ ((__unused__)).
25262 2013-02-20  Petr Machata  <pmachata@redhat.com>
25264         * elf/elf.h (R_ARM_TARGET1): New macro.
25265         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
25266         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
25267         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
25268         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
25269         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
25270         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
25271         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
25272         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
25273         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
25274         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
25275         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
25276         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
25277         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
25278         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
25279         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
25280         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
25281         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
25282         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
25283         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
25284         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
25285         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
25286         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
25287         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
25288         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
25289         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
25290         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
25291         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
25292         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
25293         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
25294         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
25295         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
25296         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
25297         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
25298         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
25299         (R_ARM_THM_GOT_BREL12): Likewise.
25300         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
25301         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
25302         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
25303         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
25304         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
25305         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
25306         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
25307         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
25308         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
25310 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
25312         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
25313         __attribute_used__ to __attribute__ ((unused)).
25315 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25317         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
25318         powerpc mpa.c.
25319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
25320         comment formatting.
25321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
25323 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
25325         [BZ #13550]
25326         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
25327         Remove macro.
25328         (ENTER): Remove both macro definitions.
25329         (LEAVE): Likewise.
25330         (CHECK_BOUNDS_LOW): Likewise.
25331         (CHECK_BOUNDS_HIGH): Likewise.
25332         (CHECK_BOUNDS_BOTH): Likewise.
25333         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
25334         (RETURN_BOUNDED_POINTER): Likewise.
25335         (RETURN_NULL_BOUNDED_POINTER): Likewise.
25336         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
25337         (POP_ERRNO_LOCATION_RETURN): Likewise.
25338         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
25339         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25340         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
25341         macros.
25342         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25343         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
25344         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
25345         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
25346         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
25347         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
25348         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
25349         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
25350         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
25351         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
25352         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
25353         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
25354         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25355         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
25356         removed macros.
25357         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25358         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
25359         macros.
25360         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25361         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
25362         * sysdeps/i386/i586/memset.S (memset): Likewise.
25363         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
25364         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25365         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
25366         macros.
25367         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25368         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
25369         Change uses of L(2) to L(out).
25370         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
25371         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
25372         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
25373         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25374         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
25375         removed macros.
25376         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25377         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
25378         macros.
25379         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25380         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
25381         (RETURN): Do not use macro LEAVE.
25382         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
25383         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
25384         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
25385         * sysdeps/i386/i686/memset.S (memset): Likewise.
25386         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
25387         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
25388         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25389         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
25390         Likewise.
25391         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25392         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
25393         L(1_2) and L(1_3) into L(1).
25394         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25395         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
25396         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25397         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
25398         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25399         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
25400         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
25401         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25402         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
25403         macros.
25404         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
25405         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25406         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
25407         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
25408         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
25409         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25410         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
25411         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
25412         * sysdeps/i386/strcspn.S (strcspn): Likewise.
25413         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
25414         * sysdeps/i386/strrchr.S (strrchr): Likewise.
25415         * sysdeps/i386/strspn.S (strspn): Likewise.
25416         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
25417         conditional code.
25418         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25419         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
25420         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
25421         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
25422         L(1_3) into L(1_1).
25423         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
25424         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25425         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
25426         macros.
25427         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25429 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
25431         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
25432         macro.
25434 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25436         * math/atest-exp.c (exp_mpn): Remove ROUND.
25437         * math/atest-exp2.c (exp_mpn): Likewise.
25438         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
25440         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
25441         * stdlib/tst-tls-atexit-lib.c: Likewise.
25442         * stdlib/tst-tls-atexit.c: Likewise.
25444 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25446         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
25447         and __attribute_alloc_size__.
25449 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25451         * include/programs/xmalloc.h: Change __attribute_alloc_size to
25452         __attribute_alloc_size__.
25453         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
25454         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
25456 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
25458         * include/programs/xmalloc.h: New file.
25459         * catgets/gencat.c: Include it.
25460         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
25461         * elf/pldd.c: Likewise.
25462         * iconv/iconv_charmap.c: Likewise.
25463         * iconv/iconvconfig.c: Likewise.
25464         * iconv/strtab.c: Likewise.
25465         * locale/programs/locale.c: Likewise.
25466         * locale/programs/localedef.h: Likewise.
25467         * locale/programs/simple-hash.c: Likewise.
25468         * nscd/nscd.h: Likewise.
25469         * nss/makedb.c: Likewise.
25470         * sysdeps/generic/ldconfig.h: Likewise.
25472 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25474         * Versions.def: Add GLIBC_2.18.
25475         * include/link.h (struct link_map): New member l_tls_dtor_count.
25476         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
25477         (__call_tls_dtors): Likewise.
25478         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
25479         __cxa_thread_atexit_impl.
25480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25481         Likewise.
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25483         Likewise.
25484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25485         Likewise.
25486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25487         Likewise.
25488         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
25490         Likewise.
25491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
25492         Likewise.
25493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25495         Likewise.
25496         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
25497         (tests): Add test case tst-tls-atexit.
25498         (modules-names): Add shared library for tst-tls-atexit.
25499         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
25500         (GLIBC_PRIVATE): Add __call_tls_dtors.
25501         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
25502         for libstdc++.
25503         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
25504         * stdlib/tst-tls-atexit.c: New test case.
25505         * stdlib/tst-tls-atexit-lib.c: New test case.
25507         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
25509         * elf/Versions (ld): Add _dl_find_dso_for_object.
25510         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
25511         * elf/dl-open.c (_dl_find_dso_for_object): New function.
25512         (dl_open_worker): Use _dl_find_dso_for_object.
25513         * elf/dl-sym.c (do_sym): Likewise.
25514         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
25516 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25518         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
25519         Syntactic changes only.
25520         (_dl_runtime_profile): Do a tail-call to the resolved function.
25522 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
25524         [BZ #13550]
25525         * sysdeps/x86_64/bp-asm.h: Remove file.
25526         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
25527         <bp-sym.h> and <bp-asm.h>.
25528         (__clone): Do not use BP_SYM.
25529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
25530         <bp-sym.h> and <bp-asm.h>.
25531         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25532         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
25533         "bp-asm.h".
25534         (_setjmp): Do not use BP_SYM.
25535         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
25536         "bp-asm.h".
25537         (setjmp): Do not use BP_SYM.
25538         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
25539         libc_hidden_def.
25540         (mempcpy): Do not use BP_SYM in weak_alias.
25541         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
25542         "bp-asm.h".
25543         (strchr): Do not use BP_SYM.
25544         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
25545         "bp-asm.h".
25546         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
25547         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
25548         (_start): Do not use BP_SYM.
25549         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
25550         "bp-asm.h".
25551         (strcat): Do not use BP_SYM.
25552         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
25553         "bp-asm.h".
25554         (STRCMP): Do not use BP_SYM.
25555         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
25556         "bp-asm.h".
25557         (STRCPY): Do not use BP_SYM.
25558         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
25559         "bp-asm.h".
25560         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
25561         "bp-asm.h".
25562         (FUNCTION): Do not use BP_SYM.
25563         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
25564         weak_alias.
25565         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
25567 2013-02-17  Andreas Jaeger  <aj@suse.de>
25569         * time/Versions: Sort entries.
25570         * string/Versions: Likewise.
25571         * resolv/Versions: Likewise.
25572         * posix/Versions: Likewise.
25573         * iconv/Versions: Likewise.
25574         * elf/Versions: Likewise.
25575         * wcsmbs/Versions: Likewise.
25577 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25579         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
25580         loop termination condition.
25582         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
25583         variable to calculate EZ.
25584         (__sqr): Likewise.
25586         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
25587         the lower precision input.
25589 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
25591         [BZ #13550]
25592         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
25593         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
25594         (run-via-rtld-prefix): Do not handle %-bp tests.
25595         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
25596         (all-object-suffixes): Remove .ob.
25597         (bppfx): Remove variable.
25598         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
25599         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
25600         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
25601         [$(build-bounded) = yes] (libtype.ob): Likewise.
25602         * Makerules (elide-routines.ob): Remove variable.
25603         (do-tests-clean): Do not handle *-bp.out.
25604         (common-mostlyclean): Do not handle *-bp and *-bp.out.
25605         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
25606         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
25607         (tests): Do not include $(tests-bp.out).
25608         (xtests): Do not include $(xtests-bp.out).
25609         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
25610         [$(build-bounded) = yes] ($(addprefix
25611         $(objpfx),$(binaries-bounded))): Remove rule.
25612         ($(objpfx)%-bp.out): Remove rule.
25613         * config.make.in (build-bounded): Remove variable.
25614         * crypt/Makefile [$(build-bounded) = yes]
25615         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
25616         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
25617         append to variable.
25618         [$(build-bounded) = yes] (install-lib): Likewise.
25619         [$(build-bounded) = yes] (generated): Likewise.
25620         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
25621         Remove rule.
25622         * intl/Makefile [$(build-bounded) = yes]
25623         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
25624         * math/Makefile [$(build-bounded) = yes]
25625         ($(tests:%=$(objpfx)%-bp): Likewise.
25626         * misc/Makefile [$(build-bounded) = yes]
25627         ($(objpfx)tst-tsearch-bp): Likewise.
25628         * nptl/Makeconfig (bounded-thread-library): Remove variable.
25629         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
25630         Remove dependency.
25631         * string/Makefile (o-objects.ob): Remove variable.
25632         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
25633         (CFLAGS-.ob): Remove variable.
25634         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
25635         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
25636         both definitions of variable.
25637         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
25638         (ASFLAGS-.ob): Remove variable.
25640 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
25642         [BZ #13550]
25643         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
25644         Remove __BOUNDED_POINTERS__ from condition.
25645         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
25646         * string/bits/string2.h [!__NO_STRING_INLINES &&
25647         !__BOUNDED_POINTERS__]: Likewise.
25648         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
25649         Likewise.
25650         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
25651         Remove conditional code.
25652         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
25653         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
25654         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
25655         condition.
25657         [BZ #13550]
25658         * csu/libc-start.c: Do not include <bp-sym.h>.
25659         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
25660         * elf/dl-open.c: Do not include <bp-sym.h>.
25661         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
25662         * math/fegetenv.c: Do not include <bp-sym.h>.
25663         (fegetenv): Do not use BP_SYM in versioned symbols.
25664         * nptl/sysdeps/pthread/bits/libc-lockP.h
25665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
25666         <bp-sym.h>.
25667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25668         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
25669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25670         (__pthread_mutex_destroy): Likewise.
25671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25672         (__pthread_mutex_lock): Likewise.
25673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25674         (__pthread_mutex_trylock): Likewise.
25675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25676         (__pthread_mutex_unlock): Likewise.
25677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25678         (__pthread_mutexattr_init): Likewise.
25679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25680         (__pthread_mutexattr_destroy): Likewise.
25681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25682         (__pthread_mutexattr_settype): Likewise.
25683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25684         (__pthread_rwlock_init): Likewise.
25685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25686         (__pthread_rwlock_destroy): Likewise.
25687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25688         (__pthread_rwlock_rdlock): Likewise.
25689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25690         (__pthread_rwlock_tryrdlock): Likewise.
25691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25692         (__pthread_rwlock_wrlock): Likewise.
25693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25694         (__pthread_rwlock_trywrlock): Likewise.
25695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25696         (__pthread_rwlock_unlock): Likewise.
25697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25698         (__pthread_key_create): Likewise.
25699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25700         (__pthread_setspecific): Likewise.
25701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25702         (__pthread_getspecific): Likewise.
25703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
25704         Likewise.
25705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25706         (_pthread_cleanup_push_defer): Likewise.
25707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25708         (_pthread_cleanup_pop_restore): Likewise.
25709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
25710         (pthread_setcancelstate): Likewise.
25711         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
25712         <bp-sym.h>.
25713         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
25714         (memchr): Do not use BP_SYM in weak_alias.
25715         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
25716         (fegetenv): Do not use BP_SYM in versioned symbols.
25717         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
25718         (fesetenv): Do not use BP_SYM in versioned symbols.
25719         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25720         (feupdateenv): Do not use BP_SYM in versioned symbols.
25721         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25722         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25723         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
25724         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
25725         (open64): Do not use BP_SYM in weak_alias.
25726         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
25727         (fegetenv): Do not use BP_SYM in versioned symbols.
25728         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
25729         (fesetenv): Do not use BP_SYM in versioned symbols.
25730         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
25731         (feupdateenv): Do not use BP_SYM in versioned symbols.
25732         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
25733         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
25734         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
25735         (feraiseexcept): Do not use BP_SYM in versioned symbols.
25736         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
25737         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
25738         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
25739         <bp-sym.h>.
25740         (__libc_start_main): Do not use BP_SYM.
25742 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
25745         redundant return line.
25746         (norm): Likewise.
25747         (denorm): Likewise.
25748         (dbl_mp): Likewise.
25749         (sub_magnitudes): Likewise.
25750         (__add): Likewise.
25751         (__sub): Likewise.
25752         (__mul): Likewise.
25753         (__inv): Likewise.
25754         (__dvd): Likewise.
25755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
25756         (norm): Likewise.
25757         (denorm): Likewise.
25758         (dbl_mp): Likewise.
25759         (sub_magnitudes): Likewise.
25760         (__add): Likewise.
25761         (__sub): Likewise.
25762         (__mul): Likewise.
25763         (__inv): Likewise.
25764         (__dvd): Likewise.
25766         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
25767         instead of __mul.
25768         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25769         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
25770         (cc32): Likewise.
25772         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
25773         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
25774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
25775         of __mul for squares.
25776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
25777         function
25778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
25779         Likewise.
25780         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
25781         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25783 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
25785         [BZ #13550]
25786         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
25787         code.
25788         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
25789         prototype or function definition.  Rename ubp_* variables and
25790         parameters.  Remove argv definitions conditional on
25791         [__BOUNDED_POINTERS__].
25792         * debug/backtrace.c (__backtrace): Do not use __unbounded.
25793         * elf/dl-runtime.c (_dl_fixup): Likewise.
25794         * include/set-hooks.h (RUN_HOOK): Likewise.
25795         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
25796         definition.
25797         * string/strcpy.c (strcpy): Do not use __unbounded.
25798         * sysdeps/generic/frame.h (struct layout): Likewise.
25799         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
25800         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
25801         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
25802         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
25803         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
25804         (__backtrace): Likewise.
25805         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
25806         use __ptrvalue.
25807         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
25808         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25809         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25810         Likewise.
25811         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
25812         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
25813         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25814         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25815         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
25816         Do not use __unbounded.
25817         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
25818         Rename __unboundedrlimits parameter to rlimits in prototype.
25819         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
25820         Do not use __unbounded.
25821         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
25822         not use __ptrvalue.
25823         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25824         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
25825         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25826         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
25827         __ptrvalue or __unbounded.
25828         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
25829         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
25830         use __unbounded.
25831         (__new_msgctl): Do not use __ptrvalue.
25832         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
25833         __unbounded.
25834         (__libc_msgrcv): Do not use __ptrvalue.
25835         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
25836         startup_info): Do not use __unbounded.
25837         (__libc_start_main): Likewise.  Rename ubp_* variables and
25838         parameters.  Remove argv definitions conditional on
25839         [__BOUNDED_POINTERS__].
25840         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
25841         __ptrvalue.
25842         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
25843         use __unbounded.
25844         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
25845         or __ptrvalue.
25846         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
25847         use __unbounded.
25848         (__new_shmctl): Do not use __ptrvalue.
25849         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25850         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25851         Likewise.
25852         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25853         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
25854         (__libc_sigaction): Likewise.
25855         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
25856         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
25857         Likewise.
25858         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25860 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
25862         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
25864         * string/mempcpy.c: Implement by calling memcpy.
25866 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25868         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
25870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
25871         evaluation.
25873         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
25874         values in the mantissa.
25876         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
25877         minimize writes to Z.
25878         (sub_magnitudes): Simplify code a bit.
25880 2013-02-12  Roland McGrath  <roland@hack.frob.com>
25882         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
25883         from the message.  The linker prefixes all warnings with that already.
25885 2013-02-12  Andreas Schwab  <schwab@suse.de>
25887         [BZ #15078]
25888         * posix/regexec.c (extend_buffers): Add parameter min_len.
25889         (check_matching): Pass minimum needed length.
25890         (clean_state_log_if_needed): Likewise.
25891         (get_subexp): Likewise.
25892         * posix/Makefile (tests): Add bug-regex34.
25893         (bug-regex34-ENV): Define.
25894         * posix/bug-regex34.c: New file.
25896         [BZ #11561]
25897         * posix/regcomp.c (parse_bracket_exp): When looking up collating
25898         elements compare against the byte sequence of it, not its name.
25899         * posix/Makefile (tests): Add bug-regex35.
25900         (bug-regex35-ENV): Define.
25901         * posix/bug-regex35.c: New file.
25903 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25905         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
25906         comment.
25907         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
25908         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
25909         (CHECK_EOL): Add undef.
25911 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
25913         * bits/stdlib-bsearch.h: New file.
25914         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
25915         * stdlib/stdlib.h: Likewise.
25917 2013-02-11  Roland McGrath  <roland@hack.frob.com>
25919         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
25920         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
25921         declaration.
25922         * manual/search.texi (Array Search Function): Add missing const in
25923         lfind prototype.
25924         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
25925         declaration to use rlim_t.
25926         (Basic Scheduling Functions): Remove erroneous const from
25927         sched_getparam prototype.  Remove erroneous * from
25928         sched_get_priority_max and sched_get_priority_min prototypes.
25929         (Resource Usage): Fix summary @comment on vtimes to refer to
25930         sys/vtimes.h rather than vtimes.h.
25931         Add missing *s in vtimes prototype.
25932         (Limits on Resources): Fix ulimit prototype to return long int.
25933         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
25934         prototypes to use long int rather than double.
25935         (BSD Random): Fix initstate and setstate to use char *, not void *.
25936         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
25937         prototype to make second argument 'struct aiocb64 *const[]'.
25938         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
25939         (Status of AIO Operations): Remove erroneous const in aio_return and
25940         aio_return64 prototypes.
25941         (Synchronizing I/O): Fix sync prototype to return void.
25942         * manual/startup.texi (Suboptions): Remove an erroneous const in
25943         getsubopt prototype.
25944         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
25945         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
25946         use size_t rather than int.
25947         (Scanning All Users): Likewise for getpwent_r.
25948         (Setting Groups): Add missing const to setgroups prototype.
25949         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
25950         * manual/socket.texi (Host Names): Fix gethostbyaddr and
25951         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
25952         'const void *' rather than 'const char *'.
25953         (Host Address Functions): Likewise for inet_ntop.
25954         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
25955         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
25956         ssize_t for return value.
25957         (Sending Data): Likewise for send, sendto, sendmsg.
25958         (Socket Option Functions): Add a missing const in setsockopt prototype.
25959         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
25960         use wchar_t for the argument.
25961         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
25962         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
25963         take no arguments.
25964         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
25965         double/float/long double for second argument.
25966         Fix return types of significand, significandf, significandl.
25967         * manual/filesys.texi (Setting Permissions): Use mode_t for second
25968         argument in fchmod prototype.
25969         (File Owner): Use uid_t and gid_t in fchown prototype.
25970         (File Times): Add const to utimes, futimes, and lutimes prototypes.
25971         (Making Special Files): Use mode_t and dev_t in mknod prototype.
25972         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
25973         use 'const struct dirent **' as argument types to CMP function pointer
25974         argument.
25975         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
25976         (File Times): Fix summary magic @comment for struct utimbuf and utime
25977         to refer to utime.h, not time.h.
25978         * manual/string.texi (Argz Functions): Add missing const in
25979         argz_extract and argz_next prototypes.
25980         (Finding Tokens in a String): Likewise for basename.
25981         (String/Array Comparison): Fix typo in wcscasecmp prototype.
25982         (Copying and Concatenation): Fix typo in wmemmove prototype.
25983         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
25984         (Signal Stack): Remove erroneous const in sigstack prototype.
25985         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
25986         prototype.
25987         (Simple Calendar Time): Likewise for stime.
25988         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
25989         prototype.
25990         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
25991         say sys/sysctl.h instead.
25992         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
25993         and vsyslog prototypes.
25995 2013-02-11  Tom de Vries  <tom@codesourcery.com>
25997         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
25998         Remove.
26000 2013-02-11  Roland McGrath  <roland@hack.frob.com>
26002         * misc/sys/mman.h: Fix typo in mremap comment.
26004 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26006         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26007         the '\0' terminator.
26009 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26011         [BZ #13550]
26012         * debug/segfault.c: Don't include <bp-checks.h>.
26013         * sysdeps/generic/bp-checks.h: Remove file.
26014         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26015         (__GETDENTS): Don't use CHECK_N.
26016         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26017         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26018         (__getgroups): Don't use CHECK_N.
26019         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26020         (setgroups): Don't use CHECK_N.
26021         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26022         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26023         (__libc_msgrcv): Don't use CHECK_N.
26024         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26025         (__libc_msgsnd): Don't use CHECK_N.
26026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26027         <bp-checks.h>.
26028         (__libc_pread): Don't use CHECK_N.
26029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26030         include <bp-checks.h>.
26031         (__libc_pread64): Don't use CHECK_N.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26033         include <bp-checks.h>.
26034         (__libc_pwrite): Don't use CHECK_N.
26035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26036         include <bp-checks.h>.
26037         (__libc_pwrite64): Don't use CHECK_N.
26038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26039         <bp-checks.h>.
26040         (__libc_pread): Don't use CHECK_N.
26041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26042         include <bp-checks.h>.
26043         (__libc_pread64): Don't use CHECK_N.
26044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26045         include <bp-checks.h>.
26046         (__libc_pwrite): Don't use CHECK_N.
26047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26048         include <bp-checks.h>.
26049         (__libc_pwrite64): Don't use CHECK_N.
26050         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26051         (do_pread): Don't use CHECK_N.
26052         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26053         (do_pread64): Don't use CHECK_N.
26054         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26055         (do_pwrite): Don't use CHECK_N.
26056         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26057         (do_pwrite64): Don't use CHECK_N.
26058         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26059         (__libc_readv): Don't use CHECK_N.
26060         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26061         (semop): Don't use CHECK_N.
26062         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26063         <bp-checks.h>.
26064         (semtimedop): Don't use CHECK_N.
26065         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26066         (__libc_pread): Don't use CHECK_N.
26067         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26068         <bp-checks.h>.
26069         (__libc_pread64): Don't use CHECK_N.
26070         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26071         <bp-checks.h>.
26072         (__libc_pwrite): Don't use CHECK_N.
26073         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26074         <bp-checks.h>.
26075         (__libc_pwrite64): Don't use CHECK_N.
26076         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26077         <bp-checks.h>.
26078         (__libc_msgrcv): Don't use CHECK_N.
26079         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26080         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
26081         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26082         (__libc_writev): Don't use CHECK_N.
26084 2013-02-08  Roland McGrath  <roland@hack.frob.com>
26086         * string/strcpy.c: Removed unused variable.
26088         * Makeconfig (+sysdep-includes): Define with := rather than =.
26089         Use an existing include/ subdir of each sysdeps dir before it.
26091 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26093         * nscd/connection.c (register_traced_file): Comment function.
26094         [HAVE_INOTIFY] (union __inev): Define.
26095         [HAVE_INOTIFY] (inotify_check_files): New function.
26096         [HAVE_INOTIFY] (clear_db_cache): Likewise.
26097         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26098         clear_db_cache.
26099         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26101 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26103         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26104         loaded if not already and that a failure is permanent.
26106 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
26108         [BZ #15006]
26109         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26110         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26112 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
26114         [BZ #13550]
26115         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26116         (CHECK_1_NULL_OK): Likewise.
26117         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26118         (__fxstat): Do not use CHECK_1.
26119         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26120         <bp-checks.h>.
26121         (___fxstat64): Do not use CHECK_1.
26122         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26123         <bp-checks.h>.
26124         (__fxstatat): Do not use CHECK_1.
26125         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26126         <bp-checks.h>.
26127         (__fxstatat64): Do not use CHECK_1.
26128         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26129         <bp-checks.h>.
26130         (__fxstat): Do not use CHECK_1.
26131         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26132         <bp-checks.h>.
26133         (__fxstatat): Do not use CHECK_1.
26134         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26135         <bp-checks.h>.
26136         (__getresgid): Do not use CHECK_1.
26137         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26138         <bp-checks.h>.
26139         (__getresuid): Do not use CHECK_1.
26140         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26141         <bp-checks.h>.
26142         (__lxstat): Do not use CHECK_1.
26143         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26144         <bp-checks.h>.
26145         (__old_msgctl): Do not use CHECK_1.
26146         (__new_msgctl): Likewise.
26147         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26148         <bp-checks.h>.
26149         (__new_setrlimit): Do not use CHECK_1.
26150         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26151         <bp-checks.h>.
26152         (__old_shmctl): Do not use CHECK_1.
26153         (__new_shmctl): Likewise.
26154         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26155         <bp-checks.h>.
26156         (__xstat): Do not use CHECK_1.
26157         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26158         (__lxstat): Do not use CHECK_1.
26159         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26160         <bp-checks.h>.
26161         (___lxstat64): Do not use CHECK_1.
26162         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26163         (__old_msgctl): Do not use CHECK_1.
26164         (__new_msgctl): Likewise.
26165         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26166         <bp-checks.h>.
26167         (__gettimeofday): Do not use CHECK_1.
26168         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26169         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26170         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26171         <bp-checks.h>.
26172         (__gettimeofday): Do not use CHECK_1.
26173         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26174         (__old_shmctl): Do not use CHECK_1_NULL_OK.
26175         (__new_shmctl): Do not use CHECK_1.
26176         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26177         <bp-checks.h>.
26178         (do_sigtimedwait): Do not use CHECK_1.
26179         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26180         <bp-checks.h>.
26181         (do_sigwaitinfo): Do not use CHECK_1.
26182         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26183         <bp-checks.h>.
26184         (msgctl): Do not use CHECK_1.
26185         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26186         <bp-checks.h>.
26187         (shmctl): Do not use CHECK_1.
26188         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26189         (ustat): Do not use CHECK_1.
26190         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26191         <bp-checks.h>.
26192         (__fxstat): Do not use CHECK_1.
26193         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26194         <bp-checks.h>.
26195         (__fxstatat): Do not use CHECK_1.
26196         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26197         <bp-checks.h>.
26198         (__lxstat): Do not use CHECK_1.
26199         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26200         <bp-checks.h>.
26201         (__xstat): Do not use CHECK_1.
26202         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26203         (__xstat): Do not use CHECK_1.
26204         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26205         (___xstat64): Do not use CHECK_1.
26207         [BZ #13550]
26208         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26209         definitions.
26210         (CHECK_BOUNDS_HIGH): Likewise.
26211         * string/strcpy.c: Do not include <bp-checks.h>.
26212         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26214 2013-02-07  Roland McGrath  <roland@hack.frob.com>
26216         * nscd/nscd-client.h (__nscd_drop_map_ref):
26217         Add __attribute__ ((unused)).
26218         * nis/nss-nisplus.h (niserr2nss): Likewise.
26220         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26221         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26223         * csu/libc-tls.c (init_static_tls, init_slotinfo):
26224         Remove inline keyword.
26225         * include/rounding-mode.h (round_away): Likewise.
26226         * libio/wfileops.c (adjust_wide_data): Likewise.
26227         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
26228         (__m128i_strloadu_tolower): Likewise.
26229         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
26230         (__m128i_strloadu_tolower): Likewise.
26231         * time/mktime.c (ydhms_diff): Likewise.
26232         * locale/elem-hash.h (elem_hash): Likewise.
26233         * locale/setlocale.c (setdata): Likewise.
26234         * posix/regex_internal.h (re_string_char_size_at): Likewise.
26235         (re_string_wchar_at): Likewise.
26236         (bitset_not, bitset_merge, bitset_mask): Likewise.
26237         [!(__GNUC__ > 3)] (inline): Remove macro.
26238         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
26239         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
26240         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
26241         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26242         * string/memcmp.c (memcmp_bytes): Likewise.
26243         * locale/programs/locarchive.c (compute_hashval): Likewise.
26244         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
26245         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
26246         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
26247         * nss/getent.c (print_rpc, print_protocols): Likewise.
26248         (print_passwd, print_group, print_aliases): Likewise.
26249         * nis/nss-nisplus.h (niserr2nss): Likewise.
26250         * nscd/connections.c (restart_p): Likewise.
26251         Change return type to bool.
26253 2013-02-05  Roland McGrath  <roland@hack.frob.com>
26255         * Makeconfig (all-Depend-files): Add existing
26256         $(sorted-subdirs:=/Depend) files.
26257         (all-subdirs): Remove nss.
26258         * sysdeps/unix/inet/Subdirs: Add it here instead.
26259         * hesiod/Depend: New file.
26261         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
26262         instead of calling alloca.
26264         * io/lseek.c (__lseek): Rename to __libc_lseek.
26265         Define __lseek as an alias.
26267         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
26269 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
26271         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
26272         else clause and remove check for non-standard endianness.
26274 2013-02-04  David S. Miller  <davem@davemloft.net>
26276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26278 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
26280         [BZ #13550]
26281         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
26282         (__ubp_memchr): Remove prototype.
26283         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
26284         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26285         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
26286         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
26287         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
26288         Remove alias.
26289         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
26290         (__ubp_memchr): Likewise.
26291         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
26292         (__ubp_memchr): Likewise.
26293         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
26294         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
26295         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
26296         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
26297         CHECK_STRING.
26298         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26299         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
26300         (__getcwd): Do not use CHECK_STRING.
26301         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26302         <bp-checks.h>.
26303         (__real_chown): Do not use CHECK_STRING.
26304         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
26305         <bp-checks.h>.
26306         (fchownat): Do not use CHECK_STRING.
26307         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
26308         CHECK_STRING.
26309         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26310         <bp-checks.h>.
26311         (__lchown): Do not use CHECK_STRING.
26312         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26313         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26314         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26315         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26317         include <bp-checks.h>.
26318         (truncate64): Do not use CHECK_STRING.
26319         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26320         <bp-checks.h>.
26321         (__real_chown): Do not use CHECK_STRING.
26322         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26323         <bp-checks.h>.
26324         (__lchown): Do not use CHECK_STRING.
26325         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26326         <bp-checks.h>.
26327         (__chown): Do not use CHECK_STRING.
26328         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
26329         <bp-checks.h>.
26330         (truncate64): Do not use CHECK_STRING.
26331         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
26332         Likewise.
26333         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
26334         (__xmknod): Do not use CHECK_STRING.
26335         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26336         <bp-checks.h>.
26337         (__xmknodat): Do not use CHECK_STRING.
26338         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26339         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
26341 2013-02-04  Andreas Schwab  <schwab@suse.de>
26343         [BZ #14142]
26344         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
26345         * include/netdb.h: Likewise for h_errno.
26346         * elf/tst-stackguard1.c: Include <tls.h>.
26348 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
26350         * elf/link.h (struct link_map): Extend the l_addr comment.
26351         * include/link.h (struct link_map): Likewise.
26353 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
26355         [BZ #13550]
26356         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
26357         (BOUNDED_1): Remove macro.
26358         * debug/backtrace.c: Don't include <bp-checks.h>.
26359         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
26360         (__backtrace): Likewise.
26361         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
26362         <bp-checks.h>.
26363         (__backtrace): Don't use BOUNDED_1.
26364         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
26365         <bp-checks.h>.
26366         (__backtrace): Don't use BOUNDED_1.
26367         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
26368         (__backtrace): Don't use BOUNDED_1.
26369         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
26370         (shmat): Don't use BOUNDED_N.
26372 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
26374         [BZ #13550]
26375         * sysdeps/generic/bp-start.h: Remove file.
26376         * csu/libc-start.c: Don't include <bp-start.h>.
26377         (LIBC_START_MAIN): Set up __environ directly instead of using
26378         INIT_ARGV_and_ENVIRON.
26379         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
26380         <bp-start.h>.
26382         [BZ #13550]
26383         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
26384         definitions.
26385         (CHECK_FCNTL): Likewise.
26386         (CHECK_N_PAGES): Likewise.
26388         [BZ #13550]
26389         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
26390         definitions.
26391         (CHECK_SIGSET_NULL_OK): Likewise.
26392         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
26393         <bp-checks.h>.
26394         (sigpending): Don't use CHECK_SIGSET.
26395         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
26396         <bp-checks.h>.
26397         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26398         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
26399         <bp-checks.h>.
26400         (do_sigsuspend): Don't use CHECK_SIGSET.
26401         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
26402         use CHECK_SIGSET.
26403         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
26404         (do_sigwait): Don't use CHECK_SIGSET.
26405         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
26406         use CHECK_SIGSET.
26407         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
26408         include <bp-checks.h>.
26409         (sigpending): Don't use CHECK_SIGSET.
26410         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
26411         include <bp-checks.h>.
26412         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26413         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
26414         <bp-checks.h>.
26415         (sigpending): Don't use CHECK_SIGSET.
26416         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
26417         <bp-checks.h>.
26418         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
26420         [BZ #13550]
26421         * sysdeps/generic/bp-semctl.h: Remove file.
26422         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
26423         <bp-checks.h> and <bp-semctl.h>.
26424         (__old_semctl): Don't use CHECK_SEMCTL.
26425         (__new_semctl): Likewise.
26426         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
26427         and <bp-semctl.h>.
26428         (__old_semctl): Don't use CHECK_SEMCTL.
26429         (__new_semctl): Likewise.
26430         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
26431         <bp-checks.h> and <bp-semctl.h>.
26432         (__old_semctl): Don't use CHECK_SEMCTL.
26433         (__new_semctl): Likewise.
26434         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
26435         <bp-checks.h> and <bp-semctl.h>.
26436         (semctl): Don't use CHECK_SEMCTL.
26438         [BZ #13550]
26439         * Makerules (elide-bp-thunks): Remove variable.
26440         (elide-routines.oS): Don't use $(elide-bp-thunks).
26441         (elide-routines.os): Likewise.
26442         (elide-routines.o): Likewise.
26443         (elide-routines.op): Likewise.
26444         (elide-routines.og): Likewise.
26445         (objects): Don't use $(bp-thunks).
26446         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
26447         include.
26448         (common-generated): Do not add s-proto-bp.d.
26449         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
26450         (int): Likewise.
26451         (typ): Likewise.
26452         Do not generate makefile rules for bounded-pointer thunks.
26453         * sysdeps/generic/bp-thunks.h: Remove file.
26454         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
26455         * sysdeps/unix/s-proto-bp.S: Likewise.
26457         [BZ #15062]
26458         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
26459         parts of result separately when argument is not close to line from
26460         -i to i and one part of argument is small.
26461         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26462         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26463         * math/libm-test.inc (cacos_test): Add more tests.
26464         (casin_test): Likewise.
26465         (casinh_test): Likewise.
26466         * sysdeps/i386/fpu/libm-test-ulps: Update.
26467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26469 2013-01-31  David S. Miller  <davem@davemloft.net>
26471         * po/de.po: Update from translation team.
26473 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
26475         * time/tzfile.c: Include stdint.h for SIZE_MAX.
26477 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
26479         * configure.in (_AC_PROG_CC_C89): New definition.
26480         * configure: Regenerate.
26482         * configure.in (AC_PROG_CPP): New definition.
26483         * configure: Regenerate.
26485 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26487         * debug/tst-backtrace.h: New file.
26488         * debug/tst-backtrace2.c: Include tst-backtrace.h.
26489         (ret): Remove variable.
26490         (x): Likewise.
26491         (FAIL): Remove macro.
26492         (NO_INLINE): Likewise.
26493         (fn1): Use match function instead of strstr.
26494         * debug/tst-backtrace3.c: Include tst-backtrace.h.
26495         (ret): Remove variable.
26496         (x): Likewise.
26497         (FAIL): Remove macro.
26498         (NO_INLINE): Likewise.
26499         (fn): Use match function instead of strstr.
26500         * debug/tst-backtrace4.c: Include tst-backtrace.h.
26501         (ret): Remove variable.
26502         (x): Likewise.
26503         (FAIL): Remove macro.
26504         (NO_INLINE): Likewise.
26505         (handle_signal): Use match function instead of strstr.
26506         * debug/tst-backtrace5.c: Include tst-backtrace.h.
26507         (ret): Remove variable.
26508         (x): Likewise.
26509         (FAIL): Remove macro.
26510         (NO_INLINE): Likewise.
26511         (handle_signal): Use match function instead of strstr.
26513 2013-01-23  Roland McGrath  <roland@hack.frob.com>
26515         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
26517 2013-01-23  David S. Miller  <davem@davemloft.net>
26519         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
26520         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
26521         argument of CAS if possible.
26522         * sysdeps/sparc/sparc64/bits/atomic.h
26523         (__arch_compare_and_exchange_val_32_acq): Likewise.
26524         (__arch_compare_and_exchange_val_64_acq): Likewise.
26526 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
26528         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
26529         * sysdeps/posix/ulimit.c: ... this.
26530         Include <limits.h>.
26531         * sysdeps/unix/bsd/ulimit.c: Remove file.
26533 2013-01-23  Adam Conrad  <adconrad@0c3.net>
26535         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
26536         (LDFLAGS-tst-array5): Likewise.
26538 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
26540         [BZ #15036]
26541         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
26542         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
26543         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
26544         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
26546 2013-01-21  David S. Miller  <davem@davemloft.net>
26548         * sysdeps/sparc/backtrace.c: New file.
26549         * sysdeps/sparc/sparc32/backtrace.h: New file.
26550         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
26551         * sysdeps/sparc/sparc64/backtrace.h: New file.
26552         * sysdeps/sparc/sparc64/backtrace.c: Delete.
26553         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
26554         -funwind-tables.
26556 2013-01-21  Andreas Schwab  <schwab@suse.de>
26558         [BZ #15020]
26559         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
26560         closed its stdout.
26562 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
26564         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
26565         "mpa2.h".
26566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26568 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
26569             Mark Mitchell  <mark@codesourcery.com>
26570             Tom de Vries  <tom@codesourcery.com>
26571             Paul Pluzhnikov  <ppluzhnikov@google.com>
26573         * debug/tst-backtrace2.c: New file.
26574         * debug/tst-backtrace3.c: Likewise.
26575         * debug/tst-backtrace4.c: Likewise.
26576         * debug/tst-backtrace5.c: Likewise.
26577         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
26578         (CFLAGS-tst-backtrace3.c): Likewise.
26579         (CFLAGS-tst-backtrace4.c): Likewise.
26580         (CFLAGS-tst-backtrace5.c): Likewise.
26581         (LDFLAGS-tst-backtrace2): Likewise.
26582         (LDFLAGS-tst-backtrace3): Likewise.
26583         (LDFLAGS-tst-backtrace4): Likewise.
26584         (LDFLAGS-tst-backtrace5): Likewise.
26585         (tests): Add new tests tst-backtrace2, tst-backtrace3,
26586         tst-backtrace4 and tst-backtrace5.
26588 2013-01-18  Anton Blanchard  <anton@samba.org>
26589             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26591         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
26592         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
26593         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
26594         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
26595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26596         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
26597         "+r" and remove output regs list as redundant.  Add explicit inline
26598         asm to specify register of return val to work around compiler codegen
26599         bug.  Remove (int) cast on return value.  Add return type parameter to
26600         use in macro so that this macro does not truncate return value for
26601         64-bit values.
26602         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
26603         pass to INTERNAL_VSYSCALL_NCS.
26604         (INLINE_VSYSCALL): Add 'long int' as return type to
26605         INTERNAL_VSYSCALL_NCS macro invocation.
26606         (INTERNAL_VSYSCALL): Add 'long int' as return type to
26607         INTERNAL_VSYSCALL_NCS macro invocation.
26608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26610 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26612         [BZ #14496]
26613         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
26614         Fix application of SIMD FP exception mask.
26616         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
26617         mp_no from a power of two.
26618         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
26619         __mpexp_twomm1.  Use __pow_mp.
26621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
26622         multiplication.
26624 2013-01-17  David S. Miller  <davem@davemloft.net>
26626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26628 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26630         [BZ #15023]
26631         * include/complex.h: Condition contents on [!_COMPLEX_H].
26632         (__kernel_casinhf): New prototype.
26633         (__kernel_casinh): Likewise.
26634         (__kernel_casinhl): Likewise.
26635         * math/Makefile (libm_calls): Add k_casinh.
26636         * math/k_casinh.c: New file.
26637         * math/k_casinhf.c: Likewise.
26638         * math/k_casinhl.c: Likewise.
26639         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
26640         finite nonzero arguments.
26641         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
26642         finite nonzero arguments.
26643         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
26644         finite nonzero arguments.
26645         * math/s_casinh.c: Do not include <float.h>.
26646         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
26647         * math/s_casinhf.c: Do not include <float.h>.
26648         (__casinhf): Move code for finite nonzero arguments to
26649         k_casinhf.c.
26650         * math/s_casinhl.c: Do not include <float.h>.
26651         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
26652         redefine.
26653         (__casinhl): Move code for finite nonzero arguments to
26654         k_casinhl.c.
26655         * math/libm-test.inc (cacos_test): Add more tests.
26656         * sysdeps/i386/fpu/libm-test-ulps: Update.
26657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26659 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
26661         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
26662         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
26663         [!HAVE_MREMAP]: Remove [defined linux] case.
26664         * malloc/arena.c: Do not include <malloc-sysdep.h>.
26666 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26668         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
26670 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
26672         * elf/elf.h (R_386_SIZE32): New relocation.
26673         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
26674         R_386_SIZE32.
26675         (elf_machine_rela): Likewise.
26676         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26677         R_X86_64_SIZE64 and R_X86_64_SIZE32.
26679 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
26681         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
26682         (FP_FAST_FMA): Do not define.
26683         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
26684         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
26685         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
26686         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
26687         !_SOFT_FLOAT]: Likewise.
26688         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
26689         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
26690         value.
26691         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
26692         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
26693         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
26694         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
26695         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
26696         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
26697         file.
26699 2013-01-16  Andreas Schwab  <schwab@suse.de>
26701         [BZ #14327]
26702         * include/stdlib.h (__mktemp): Add declaration.
26703         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
26704         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
26706 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26708         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
26709         definitions.
26710         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26711         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
26712         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
26713         definitions here.
26714         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
26715         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
26716         definitions.
26717         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
26718         and ONE.
26719         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
26720         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
26721         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
26722         definitions.
26723         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
26724         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
26725         definitions.
26726         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26728         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
26730 2013-01-15  David S. Miller  <davem@davemloft.net>
26732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26733         trunc{,f} to libm-sysdep_routes.
26734         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
26736         file.
26737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
26738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
26739         file.
26740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
26741         file.
26742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
26743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
26744         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
26745         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
26746         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
26747         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
26748         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
26749         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
26751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26752         nearbyint{,f} to libm-sysdep_routes.
26753         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
26755         New file.
26756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
26757         file.
26758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
26759         New file.
26760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
26761         file.
26762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
26763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
26764         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
26765         file.
26766         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
26767         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
26768         file.
26769         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
26770         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
26771         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
26773         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26774         libc_feholdexcept and libc_fesetenv.
26776 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
26778         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
26780 2013-01-14  David S. Miller  <davem@davemloft.net>
26782         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
26783         (SPARC_ASM_VIS2_IFUNC): Likewise.
26784         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
26785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
26786         use of 'siam' instruction.
26787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
26788         Likewise.
26789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
26790         Likewise.
26791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
26792         Likewise.
26793         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
26794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
26795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
26796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
26797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
26798         file.
26799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
26800         file.
26801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
26802         file.
26803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
26804         file.
26805         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
26806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
26807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
26808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
26809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
26810         new VIS2 routines.
26811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26814         Likewise.
26815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
26820         routines to libm-sysdep_routines.
26821         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
26823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
26824         fdim/fdimf to libm-sysdep_routines.
26825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
26826         file.
26827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
26828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
26829         file.
26830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
26831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
26832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
26833         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
26834         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
26835         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
26836         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
26838 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26840         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
26841         to optimize copies.
26843         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
26844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
26848         local variable MPTWO.
26849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26850         Likewise.
26852 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26854         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
26855         GLOB_NOESCAPE.
26857 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26859         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
26861 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
26863         * manual/pattern.texi (glob_t): Document gl_flags.
26864         (glob64_t): Likewise.
26866 2013-01-11  David S. Miller  <davem@davemloft.net>
26868         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
26869         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
26870         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
26871         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
26872         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
26873         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
26874         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
26875         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
26876         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
26877         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
26878         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
26879         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
26880         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
26882         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
26883         sparc V9 rather than using V8 code.
26884         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
26885         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
26887         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26888         Move to...
26889         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
26890         Here.
26892 2013-01-11  Roland McGrath  <roland@hack.frob.com>
26894         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
26895         not in the main loop.
26896         * configure: Regenerated.
26898 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
26900         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
26901         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
26902         to just #else.
26903         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
26904         [!__GLIBC_HAVE_LONG_LONG] case.
26905         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
26906         condition to just #else.
26907         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
26908         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
26909         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
26910         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
26911         unconditional.
26912         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
26913         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26914         #elif condition to just #else.
26915         * sysdeps/unix/sysv/linux/sys/sysmacros.h
26916         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
26917         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
26918         #elif condition to just #else.
26920 2013-01-11  Steve Ellcey  <sellcey@mips.com>
26922         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
26923         (EF_MIPS_ARCH_64): Fix value.
26924         (EF_MIPS_ARCH_32R2): New.
26925         (EF_MIPS_ARCH_64R2): New.
26927 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
26929         * Makeconfig (+link-pie-before-libc): New.
26930         (+link-pie-after-libc): Likewise.
26931         (+link-pie-tests): Likewise.
26932         (+link-pie): Rewritten.
26933         (link-before-libc): Remove $(config-LDFLAGS).
26934         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
26935         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
26936         (config-LDFLAGS): Renamed to ...
26937         (rtld-LDFLAGS): This.
26938         (rtld-tests-LDFLAGS): New macro.
26939         (link-libc-rpath-link): Likewise.
26940         (link-libc-tests-rpath-link): Likewise.
26941         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
26942         (link-libc): Prepand $(link-libc-rpath-link).
26943         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
26944         (test-program-prefix): New macro.
26945         (test-via-rtld-prefix): Likewise.
26946         (test-program-cmd): Likewise.
26947         (host-test-program-cmd): Likewise.
26948         * Makefile ($(common-objpfx)testrun.sh): Replace
26949         $(run-program-prefix) with $(test-program-prefix).
26950         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
26951         $(rtld-LDFLAGS).
26952         ($(common-objpfx)shlib.lds): Likewise.
26953         (build-module-helper): Likewise.
26954         ($(common-objpfx)format.lds): Likewise.
26955         * Rules (binaries-pie-tests): New.
26956         (binaries-pie-notests): Likewise.
26957         (binaries-pie): Rewritten.
26958         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
26959         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
26960         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
26961         (make-test-out): Replace $(host-built-program-cmd) with
26962         $(host-test-program-cmd).
26963         * config.make.in (build-hardcoded-path-in-tests): New variable.
26964         * configure.in (--enable-hardcoded-path-in-tests): New configure
26965         option.
26966         (hardcoded_path_in_tests): New AC_SUBST.
26967         * configure: Regenerated.
26968         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
26969         $(built-program-cmd) with $(test-program-cmd).
26970         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
26971         (test_program_cmd): This.
26972         * elf/Makefile ($(objpfx)order.out): Run test with
26973         $(test-program-prefix).
26974         ($(objpfx)order2.out): Likewise.
26975         ($(objpfx)tst-initorder.out): Likewise.
26976         ($(objpfx)tst-initorder2.out): Likewise.
26977         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
26978         $(test-program-cmd).
26979         ($(objpfx)tst-array1-static.out): Likewise.
26980         ($(objpfx)tst-array2.out): Likewise.
26981         ($(objpfx)tst-array3.out): Likewise.
26982         ($(objpfx)tst-array4.out): Likewise.
26983         ($(objpfx)tst-array5.out): Likewise.
26984         ($(objpfx)tst-array5-static.out): Likewise.
26985         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
26986         $(test-program-cmd).
26987         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
26988         $(run-program-prefix) with $(test-program-prefix).
26989         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
26990         (test_program_prefix): This.
26991         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
26992         $(run-program-prefix) with $(test-program-prefix).
26993         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
26994         (test_program_prefix): This.
26995         * iconvdata/tst-tables.sh: Likewise.
26996         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
26997         $(run-program-prefix) with $(test-program-prefix).
26998         ($(objpfx)tst-translit.out): Likewise.
26999         ($(objpfx)tst-gettext2.out): Likewise.
27000         ($(objpfx)tst-gettext4.out): Likewise.
27001         ($(objpfx)tst-gettext6.out): Likewise.
27002         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27003         (test_program_prefix): This.
27004         * intl/tst-gettext2.sh: Likewise.
27005         * intl/tst-gettext4.sh  Likewise.
27006         * intl/tst-gettext6.sh: Likewise.
27007         * intl/tst-translit.sh: Likewise.
27008         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27009         with $(test-program-cmd).
27010         * libio/Makefile ($(objpfx)test-freopen.out): Replace
27011         $(run-program-prefix) with $(test-program-prefix).
27012         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27013         (test_program_prefix): This.
27014         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27015         $(run-program-prefix) with $(test-program-prefix).
27016         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27017         (test_program_prefix): This.
27018         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27019         * posix/Makefile ($(objpfx)globtest.out): Replace
27020         $(run-via-rtld-prefix) and $(test-wrapper) with
27021         $(test-program-prefix) and $(test-via-rtld-prefix).
27022         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27023         $(test-program-prefix).
27024         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27025         $(host-test-program-cmd).
27026         (tst-spawn-ARGS): Likewise.
27027         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27028         $(test-program-prefix).
27029         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27030         (test_via_rtld_prefix): This.
27031         (test_wrapper): Renamed to ...
27032         (test_program_prefix): This.
27033         (run_program_prefix): Replaced by test_program_prefix.
27034         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27035         (test_program_prefix): This.
27036         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27037         with $(host-test-program-cmd).
27038         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27039         $(run-program-prefix) with $(test-program-prefix).
27040         ($(objpfx)tst-printf.out): Likewise.
27041         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27042         $(test-program-cmd).
27043         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27044         (test_program_prefix): This.
27045         * stdio-common/tst-unbputc.sh: Likewise.
27046         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27047         $(run-program-prefix) with $(test-program-prefix).
27048         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27049         (test_program_prefix): This.
27050         * string/Makefile ($(objpfx)tst-svc.out):  Replace
27051         $(built-program-cmd) with $(test-program-cmd).
27053 2013-01-11  Andreas Jaeger  <aj@suse.de>
27055         [BZ #15003]
27056         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27057         value. Sync with Linux 3.7.
27059 2013-01-10  David S. Miller  <davem@davemloft.net>
27061         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27062         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27063         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27065 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27067         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27068         never set.
27069         * configure: Regenerated.
27071 2013-01-10  David S. Miller  <davem@davemloft.net>
27073         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27074         sparc V9 rather than using V8 code.
27075         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27076         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27078 2013-01-10  Roland McGrath  <roland@hack.frob.com>
27080         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27081         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27082         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27083         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27084         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27085         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27086         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27087         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27088         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27089         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27090         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27091         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27092         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27093         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27094         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27095         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27096         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27097         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27098         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27099         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27100         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27101         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27102         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27103         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27104         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27105         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27106         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27108 2013-01-10  David S. Miller  <davem@davemloft.net>
27110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27112 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27114         * posix/Makefile (tests-static): New variable.
27115         (tests): Add $(tests-static).
27116         (tst-exec-static-ARGS): New variable.
27117         (tst-spawn-static-ARGS): Likewise.
27118         * posix/tst-exec-static.c: New file.
27119         * posix/tst-spawn-static.c: Likewise.
27120         * posix/tst-exec.c: Support run directly.
27121         * posix/tst-spawn.c: Likewise.
27123 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
27125         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27126         long.
27127         * math/bits/mathcalls.h (llrint): Likewise.
27128         (llround): Likewise.
27129         * stdlib/stdlib.h (struct drand48_data): Likewise.
27130         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27131         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27132         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27133         Likewise.
27134         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27135         Likewise.
27136         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27137         (elf_greg_t): Likewise.
27138         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27139         (__jmp_buf): Likewise.
27140         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27141         definitions.
27142         (llrint): Likewise, for all definitions.
27143         (llrintl): Likewise.
27145         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27146         Remove [__GNUC__] condition.
27147         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27148         condition to just [__USE_ISOC99].
27149         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27151 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
27153         [BZ #14200]
27154         * sysdeps/unix/sysv/linux/x86/bits/environments.h
27155         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27156         defined.
27157         (_POSIX_V6_ILP32_OFF32): Likewise.
27158         (_XBS5_ILP32_OFF32): Likewise.
27159         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27160         (__ILP32_OFFBIG_LDFLAGS): Likewise.
27162 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27164         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27166         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27167         doubles __mpexp_twomm1.  Adjust usage.
27168         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27169         Remove.
27171 2013-01-10  Andreas Schwab  <schwab@suse.de>
27173         [BZ #14964]
27174         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27175         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27177 2013-01-09  David S. Miller  <davem@davemloft.net>
27179         [BZ #15003]
27180         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27181         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27182         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27183         (TCP_FASTOPEN): Define.
27184         (tcp_repair_opt): New structure.
27185         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27186         enum values.
27187         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27188         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27189         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27190         (tcp_cookie_transactions): New structure.
27192 2013-01-09  Anton Blanchard  <anton@samba.org>
27194         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27195         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27196         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27197         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27199 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
27201         * include/features.h (__USE_ANSI): Remove.
27203 2013-01-09  Roland McGrath  <roland@hack.frob.com>
27205         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27207         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27209 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
27211         * sysdeps/s390/fpu/libm-test-ulps: Update.
27213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27215         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27216         (__acr): Likewise.
27217         (__cpy): Likewise.
27218         (norm): Likewise.
27219         (denorm): Likewise.
27220         (__mp_dbl): Likewise.
27221         (__dbl_mp): Likewise.
27222         (add_magnitudes): Likewise.
27223         (sub_magnitudes): Likewise.
27224         (__add): Likewise.
27225         (__sub): Likewise.
27226         (__mul): Likewise.
27227         (__inv): Likewise.
27228         (__dvd): Likewise.
27229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
27230         (__acr): Likewise.
27231         (__cpy): Likewise.
27232         (norm): Likewise.
27233         (denorm): Likewise.
27234         (__mp_dbl): Likewise.
27235         (__dbl_mp): Likewise.
27236         (add_magnitudes): Likewise.
27237         (sub_magnitudes): Likewise.
27238         (__add): Likewise.
27239         (__sub): Likewise.
27240         (__mul): Likewise.
27241         (__inv): Likewise.
27242         (__dvd): Likewise.
27243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
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.
27258 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
27260         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
27261         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
27262         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
27263         2 && __USE_EXTERN_INLINES]: Likewise.
27265 2013-01-08  Andreas Jaeger  <aj@suse.de>
27267         [BZ# 14985]
27268         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
27269         Remove.
27270         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27271         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
27273 2013-01-07  Anton Blanchard  <anton@samba.org>
27275         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
27276         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27277         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
27278         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27279         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27280         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27281         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
27282         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27284         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27285         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27286         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27287         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27288         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27289         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27290         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27291         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27292         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27293         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27294         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27295         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27296         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
27297         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27298         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27299         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
27300         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27301         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27302         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27303         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
27304         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27305         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27307         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27308         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27309         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27310         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27311         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27312         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27313         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
27314         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27315         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
27316         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27317         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27319 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
27321         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
27322         (__MALLOC_PMT): Likewise.
27323         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
27324         [__GNUC__], only on [_LIBC].
27325         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27326         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
27327         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
27328         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
27329         forward declaration.
27330         (realloc_hook_ini): Likewise.
27331         (memalign_hook_ini): Likewise.
27332         (__libc_memalign): Do not use __MALLOC_PMT in variable
27333         declaration.
27334         (__libc_valloc): Likewise.
27335         (__libc_pvalloc): Likewise.
27336         (__libc_calloc): Likewise.
27337         (__posix_memalign): Likewise.
27339         [BZ #14996]
27340         * math/s_casinh.c: Include <float.h>.
27341         (__casinh): Do not do computation with squaring and square root
27342         for large arguments.
27343         * math/s_casinhf.c: Include <float.h>.
27344         (__casinhf): Do not do computation with squaring and square root
27345         for large arguments.
27346         * math/s_casinhl.c: Include <float.h>.
27347         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
27348         (__casinhl): Do not do computation with squaring and square root
27349         for large arguments.
27350         * math/libm-test.inc (casin_test): Add more tests.
27351         (casinh_test): Likewise.
27352         * sysdeps/i386/fpu/libm-test-ulps: Update.
27353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27355 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
27357         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
27358         (__x86_64_raw_data_cache_size): Likewise.
27359         (__x86_64_data_cache_size_half): Likewise.
27360         (__x86_64_raw_data_cache_size_half): Likewise.
27361         (__x86_64_shared_cache_size): Likewise.
27362         (__x86_64_raw_shared_cache_size): Likewise.
27363         (__x86_64_shared_cache_size_half): Likewise.
27364         (__x86_64_raw_shared_cache_size_half): Likewise.
27365         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
27366         to ...
27367         (__x86_data_cache_size): This.
27368         (__x86_64_raw_data_cache_size): Renamed to ...
27369         (__x86_raw_data_cache_size): This.
27370         (__x86_64_data_cache_size_half): Renamed to ...
27371         (__x86_data_cache_size_half): This.
27372         (__x86_64_raw_data_cache_size_half): Renamed to ...
27373         (__x86_raw_data_cache_size_half): This.
27374         (__x86_64_shared_cache_size): Renamed to ...
27375         (__x86_shared_cache_size): This.
27376         (__x86_64_raw_shared_cache_size): Renamed to ...
27377         (__x86_raw_shared_cache_size): This.
27378         (__x86_64_shared_cache_size_half): Renamed to ...
27379         (__x86_shared_cache_size_half): This.
27380         (__x86_64_raw_shared_cache_size_half): Renamed to ...
27381         (__x86_raw_shared_cache_size_half): This.
27382         * sysdeps/x86_64/memcpy.S: Updated.
27383         * sysdeps/x86_64/memset.S: Likewise.
27384         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27385         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27386         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27388 2013-01-04  David S. Miller  <davem@davemloft.net>
27390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27392 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
27394         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
27395         1 to avoid redefinition warning.
27396         (__USE_GNU): Don't define.
27397         (init_signaling_nan): Protoize.
27399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27401 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27403         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
27404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
27405         (__cpymn): Likewise.
27406         (norm): Remove commented code.
27407         (denorm): Likewise.
27408         (__mp_dbl): Likewise.
27409         (__inv): Likewise.
27410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
27411         (__cpymn): Likewise.
27412         (norm): Remove commented code.
27413         (denorm): Likewise.
27414         (__mp_dbl): Likewise.
27415         (__inv): Likewise.
27417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
27418         mp_no value for 1.0 and 2.0.
27419         (norm): Use RADIXI instead of radixi.d.
27420         (denorm): Likewise.
27421         (__mul): Use 0.0 instead of zero.d.
27422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
27423         mp_no value for 1.0 and 2.0.
27424         (norm): Use RADIXI instead of radixi.d.
27425         (denorm): Likewise.
27426         (__mul): Use 0.0 instead of zero.d.
27428 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
27430         [BZ #14994]
27431         * math/s_casinh.c (__casinh): Reduce finite argument to first
27432         quadrant then set signs of results at the end.
27433         * math/s_casinhf.c (__casinhf): Likewise.
27434         * math/s_casinhl.c (__casinhl): Likewise.
27435         * math/libm-test.inc (casin_test): Add more tests.
27436         (casinh_test): Likewise.
27437         * sysdeps/i386/fpu/libm-test-ulps: Update.
27438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27440 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27442         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
27444         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
27446         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
27447         declarations.
27448         (denorm): Likewise.
27449         (__mp_dbl): Likewise.
27450         (__inv): Likewise.
27452         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
27453         and adjust the header comment.
27455         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
27456         variable name from declaration.
27458 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
27460         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27461         Initialize COMMON_CPUID_INDEX_7 element.
27462         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
27463         (CPUID_RTM): Likewise.
27464         (HAS_RTM): Likewise.
27465         (COMMON_CPUID_INDEX_7): New enum.
27467 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
27469         [BZ #14981]
27470         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
27471         size is zero, record memory as freed.
27473 2013-01-03  Andreas Jaeger  <aj@suse.de>
27475         * po/ia.po: Add new Interlingua translation.
27477 2012-01-03  Allan McRae  <allan@archlinux.org>
27479         * locale/programs/localedef.c: Fix description of '--posix' flag.
27481 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
27483         * NEWS: Update dates in second copyright notice.
27484         * README: Update copyright dates in example.
27485         * manual/libc.texinfo: Update copyright dates.
27486         * scripts/test-installation.pl: Update copyright date in --version
27487         output.
27489         * hurd/ctty-input.c: Fix copyright notice formatting.
27490         * hurd/ctty-output.c: Likewise.
27491         * hurd/dtable.c: Likewise.
27492         * hurd/hurd-raise.c: Likewise.
27493         * hurd/hurdprio.c: Likewise.
27494         * hurd/msgportdemux.c: Likewise.
27495         * misc/sys/file.h: Likewise.
27496         * misc/sys/ioctl.h: Likewise.
27497         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27498         * sysdeps/mach/hurd/chdir.c: Likewise.
27499         * sysdeps/mach/hurd/fchdir.c: Likewise.
27500         * sysdeps/mach/hurd/rename.c: Likewise.
27501         * sysdeps/mach/hurd/rmdir.c: Likewise.
27502         * sysdeps/mach/hurd/seekdir.c: Likewise.
27503         * sysdeps/mach/hurd/setsid.c: Likewise.
27504         * sysdeps/posix/wait3.c: Likewise.
27506         * All files with FSF copyright notices: Update copyright dates
27507         using scripts/update-copyrights.
27508         * intl/plural.c: Regenerated.
27509         * locale/programs/charmap-kw.h: Likewise.
27510         * locale/programs/locfile-kw.h: Likewise.
27512 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27514         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
27515         four values.
27517         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
27518         calculation loop and add branch prediction.
27520         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
27521         check access beyond bounds of m1np.
27523         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27524         MPTWO.
27525         (__inv): Remove local variable MPTWO to use the global
27526         constant.
27527         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
27528         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27529         variable MPTWO.
27530         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
27531         MP3HALFS static const.
27533 2013-01-01  David S. Miller  <davem@davemloft.net>
27535         * po/ca.po: Update from translation team.
27537 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
27539         * scripts/update-copyrights: New file.
27540         * Makeconfig: Reformat copyright notice.
27541         * ctype/ctype.h: Likewise.
27542         * debug/swprintf_chk.c: Likewise.
27543         * elf/dl-cache.c: Likewise.
27544         * elf/dl-debug.c: Likewise.
27545         * elf/dl-object.c: Likewise.
27546         * grp/initgroups.c: Likewise.
27547         * hurd/Makefile: Likewise.
27548         * hurd/hurd/signal.h: Likewise.
27549         * hurd/hurdfault.c: Likewise.
27550         * hurd/hurdioctl.c: Likewise.
27551         * hurd/hurdlookup.c: Likewise.
27552         * hurd/intr-msg.c: Likewise.
27553         * iconv/gconv_open.c: Likewise.
27554         * libio/swprintf.c: Likewise.
27555         * locale/lc-ctype.c: Likewise.
27556         * locale/nl_langinfo.c: Likewise.
27557         * mach/Machrules: Likewise.
27558         * mach/Makefile: Likewise.
27559         * malloc/obstack.h: Likewise.
27560         * manual/Makefile: Likewise.
27561         * manual/tsort.awk: Likewise.
27562         * misc/bits/stab.def: Likewise.
27563         * nis/nis_print_group_entry.c: Likewise.
27564         * nis/nis_table.c: Likewise.
27565         * nis/nss_compat/compat-pwd.c: Likewise.
27566         * nis/nss_compat/compat-spwd.c: Likewise.
27567         * po/Makefile: Likewise.
27568         * posix/fnmatch.c: Likewise.
27569         * posix/regex.h: Likewise.
27570         * resolv/Makefile: Likewise.
27571         * resolv/nss_dns/dns-network.c: Likewise.
27572         * resolv/res_hconf.c: Likewise.
27573         * scripts/gen-sorted.awk: Likewise.
27574         * soft-fp/soft-fp.h: Likewise.
27575         * stdio-common/printf.h: Likewise.
27576         * stdlib/monetary.h: Likewise.
27577         * stdlib/random.c: Likewise.
27578         * stdlib/random_r.c: Likewise.
27579         * sysdeps/generic/Makefile: Likewise.
27580         * sysdeps/gnu/Makefile: Likewise.
27581         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27582         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27583         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27585         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27586         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27587         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27588         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27589         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27590         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27591         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27592         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27593         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27594         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27595         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
27596         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27597         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27598         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27599         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27600         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27601         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27602         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27603         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27604         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27605         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
27606         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27607         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27608         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
27609         * sysdeps/mach/hurd/errnos.awk: Likewise.
27610         * sysdeps/mach/hurd/fork.c: Likewise.
27611         * sysdeps/mach/hurd/getcwd.c: Likewise.
27612         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
27613         * sysdeps/mach/hurd/mmap.c: Likewise.
27614         * sysdeps/mach/hurd/utimes.c: Likewise.
27615         * sysdeps/mach/hurd/xmknod.c: Likewise.
27616         * sysdeps/posix/profil.c: Likewise.
27617         * sysdeps/posix/readdir_r.c: Likewise.
27618         * sysdeps/powerpc/bits/mathdef.h: Likewise.
27619         * sysdeps/powerpc/bits/setjmp.h: Likewise.
27620         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
27621         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
27622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27623         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27624         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27625         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27627         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27628         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27629         * sysdeps/pthread/lio_listio.c: Likewise.
27630         * sysdeps/sparc/dl-procinfo.h: Likewise.
27631         * sysdeps/unix/i386/sysdep.S: Likewise.
27632         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
27633         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
27634         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
27635         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
27636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27637         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27638         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27639         * sysdeps/unix/sysv/linux/speed.c: Likewise.
27640         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27641         * sysdeps/wordsize-32/divdi3.c: Likewise.
27642         * time/sys/time.h: Likewise.
27643         * wcsmbs/Makefile: Likewise.
27645 2013-01-01  David S. Miller  <davem@davemloft.net>
27647         * po/fr.po: Update from translation team.
27649         * catgets/gencat.c: Update copyright year.
27650         * csu/version.c: Likewise.
27651         * debug/catchsegv.sh: Likewise.
27652         * debug/pcprofiledump.c: Likewise.
27653         * debug/xtrace.sh: Likewise.
27654         * elf/ldconfig.c: Likewise.
27655         * elf/ldd.bash.in: Likewise.
27656         * elf/pldd.c: Likewise.
27657         * elf/sotruss.ksh: Likewise.
27658         * elf/sprof.c: Likewise.
27659         * iconv/iconv_prog.c: Likewise.
27660         * iconv/iconvconfig.c: Likewise.
27661         * locale/programs/locale.c: Likewise.
27662         * locale/programs/localedef.c: Likewise.
27663         * login/programs/pt_chown.c: Likewise.
27664         * malloc/memusage.sh: Likewise.
27665         * malloc/memusagestat.c: Likewise.
27666         * malloc/mtrace.pl: Likewise.
27667         * nscd/nscd.c: Likewise.
27668         * nss/getent.c: Likewise.
27669         * nss/makedb.c: Likewise.
27670         * posix/getconf.c: Likewise.
27672 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27674         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
27675         numbers.
27677 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
27679         * math/bits/mathcalls.h (modf): Use __nonnull.
27681 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27683         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
27684         (split): Use macro CN instead of the bare value.
27685         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
27686         could be used.
27687         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
27688         instead of the bare value.
27689         (power1): Likewise.
27691 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27693         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
27694         __ATAN_TWOM.
27695         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27697         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
27698         their values.
27699         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27700         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27701         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
27702         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27704 2012-12-28  Andreas Jaeger  <aj@suse.de>
27706         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
27707         values are from Linux 3.7.
27709         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
27710         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
27712 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27714         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
27715         TRUE case.
27717         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
27718         (norm): Likewise.
27719         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
27720         variables with preprocessor constants.
27721         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27722         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27723         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27725 2012-12-27  Bruno Haible  <bruno@clisp.org>
27727         [BZ #14317]
27728         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
27729         only if needed.
27731 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
27734         and use variable directly.
27735         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
27737         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
27738         MPONE.
27739         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
27740         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
27741         variable MPONE.
27742         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27743         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27744         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
27745         include directive.  Remove local variable MPONE.
27746         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
27747         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
27748         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27750 2012-12-25  David S. Miller  <davem@davemloft.net>
27752         * version.h (RELEASE): Set to "development".
27753         (VERSION): Set to "2.17.90".
27754         * NEWS: Add 2.18 section.
27756 2012-12-21  David S. Miller  <davem@davemloft.net>
27758         * po/hr.po: Update from translation team.
27760 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27762         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
27764 2012-12-19  Steve Ellcey  <sellcey@mips.com>
27766         * NEWS:  Mention new memcpy for MIPS.
27768 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27770         * manual/contrib.texi (Contributors): Spelling correction.
27772 2012-12-15  David S. Miller  <davem@davemloft.net>
27774         * po/ru.po: Update from translation team.
27776 2012-12-13  David S. Miller  <davem@davemloft.net>
27778         * NEWS: Mention IFUNC testsuite enhancements.
27780         * po/pl.po: Update from translation team.
27781         * po/bg.po: Likewise.
27783         * manual/contrib.texi (Contributors): Update entries for Hongjiu
27784         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
27786 2012-12-11  David S. Miller  <davem@davemloft.net>
27788         * po/sv.po: Update from translation team.
27790         * po/vi.po: Update from translation team.
27792         * po/cs.po: Update from translation team.
27794         * po/de.po: Update from translation team.
27795         * po/eo.po: Likewise.
27796         * po/nl.po: Likewise.
27798 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27800         [BZ #14246]
27801         * manual/argp.texi (Argp Helper Functions): Move node to follow
27802         Argp Parsing State.
27804         [BZ #14872]
27805         * manual/conf.texi (Limits on File System Capacity): Mention if
27806         terminating null is included in the max size.
27808 2012-12-10  Andreas Jaeger  <aj@suse.de>
27810         * po/cs.po: Update from translation team.
27812 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27814         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
27815         void pointer and cast to uintptr_t.
27816         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
27817         path.
27818         * sysdeps/s390/s390-64/memcpy.S: Likewise.
27819         * sysdeps/s390/s390-64/memset.S: Likewise.
27821 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
27823         [BZ #14833]
27824         * menual/message.texi (Message Translation): Fix typos.
27825         (Helper programs for gettext): Likewise.
27827 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
27829         [BZ #14898]
27830         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
27831         Change to -1.
27833 2012-12-07  David S. Miller  <davem@davemloft.net>
27835         * po/libc.pot: Update.
27837 2012-12-07  Richard Henderson  <rth@redhat.com>
27839         [BZ #10114]
27840         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
27841         normal/normal case to before the switch.
27842         (_FP_DIV): Likewise.
27844 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
27845             Mike Frysinger  <vapier@gentoo.org>
27847         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
27848         check for __NR_fadvise64_64.
27850 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
27852         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
27853         0, not just to plain "0" as a statement.
27854         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
27855         with cw.
27857 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
27859         * NEWS: Use sourceware.org in Bugzilla URL.
27861 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27864         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
27866         * stdio-common/tst-put-error.c (do_test): Add newline to the
27867         padded test to ensure flush.
27869 2012-12-05  Jeff Law  <law@redhat.com>
27871         * sunrpc/etc.rpc (fedfs_admin): Add entry.
27873 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
27875         * README: Don't refer to ports add-on as distributed separately.
27876         Mention AArch64 in list of systems supported in the ports add-on.
27878         * LICENSES: Add more non-FSF copyright and license notices.
27880         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
27881         ((unused)).
27883         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
27885         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
27886         10000 as width of padded output.
27888 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27890         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
27892         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
27893         variable LX with __attribute__ ((unused)).
27894         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27895         Likewise.
27896         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27898         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
27899         with __attribute__ ((unused)).
27901 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
27903         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
27905 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
27907         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
27908         (CFLAGS-nldbl-acos.c): New variable.
27909         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
27910         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
27911         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
27912         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
27913         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
27914         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
27915         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
27916         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
27917         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
27918         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
27919         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
27920         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
27921         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
27922         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
27923         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
27924         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
27925         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
27926         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
27927         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
27928         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
27929         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
27930         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
27931         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
27932         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
27933         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
27934         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
27935         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
27936         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
27937         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
27938         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
27939         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
27940         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
27941         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
27942         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
27943         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
27944         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
27945         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
27946         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
27947         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
27948         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
27949         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
27950         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
27951         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
27952         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
27953         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
27954         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
27955         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
27956         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
27957         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
27958         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
27959         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
27960         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
27961         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
27962         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
27963         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
27964         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
27965         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
27966         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
27967         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
27968         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
27969         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
27970         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
27971         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
27972         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
27973         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
27974         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
27975         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
27976         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
27977         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
27978         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
27979         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
27980         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
27981         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
27982         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
27983         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
27984         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
27985         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
27986         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
27987         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
27988         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
27989         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
27990         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
27991         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
27992         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
27993         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
27994         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
27995         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
27996         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
27997         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
27998         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
27999         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28000         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28001         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28002         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28003         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28004         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28005         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28008         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28010         [BZ #14914]
28011         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28012         whole low double instead of just low 47 bits when splitting values
28013         into two parts.
28015 2012-12-03  Allan McRae  <allan@archlinux.org>
28017         * manual/stdio.texi (Predefined Printf Handlers): Remove
28018         @hsep and @vsep usage.
28020 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
28022         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28023         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28025 2012-12-03  Jeff Law  <law@redhat.com>
28027         * time/sys/time.h (settimeofday): Do not mark TV argument
28028         as __nonnull.
28030 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
28032         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28033         when currently writing and seek to current position when not.
28034         * libio/Makefile (tests): Remove bug-fclose1.
28035         * libio/bug-fclose1.c: Delete.
28037 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
28039         * manual/arith.texi (feenableexcept): Fix typo.
28040         (fedisableexcept): Likewise.
28042 2012-11-30  Roland McGrath  <roland@hack.frob.com>
28044         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28045         second, differently-typed declaration, rather than a cast.
28047 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28049         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28050         * include/rpc/svc.h: ... here.
28052 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
28054         [BZ #13013]
28055         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28056         depending n and resplen2 to catch cases where answer
28057         equals answerp2.
28059 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
28061         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28062         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28064 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
28066         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28068 2012-11-29  Roland McGrath  <roland@hack.frob.com>
28070         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28072 2012-11-28  Jeff Law  <law@redhat.com>
28074         [BZ #13761]
28075         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28076         dataset_temporary.  Track alloca usage into alloca_used.
28077         If dataset is large allocate and release it via malloc/free.
28079 2012-06-04  Florian Weimer  <fweimer@redhat.com>
28081         [BZ #14197]
28082         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28084 2012-11-28  David S. Miller  <davem@davemloft.net>
28086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28088 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28090         [BZ #14803]
28091         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28092         of pi/2 rounded to nearest to 64 bits.
28093         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28094         nearest to 64 bits.
28095         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28096         bits.
28098 2012-11-28  Jeff Law <law@redhat.com>
28099             Martin Osvald <mosvald@redhat.com>
28101         [BZ #14889]
28102         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28103         * sunrpc/svc.c: Include time.h.
28104         (__svc_accept_failed): New function.
28105         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28106         any reason other than EINTR, call __svc_accept_failed.
28107         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28108         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28110 2012-11-28  Andreas Schwab  <schwab@suse.de>
28112         * scripts/abilist.awk: Also handle indirect functions in .opd
28113         section.
28115 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
28117         [BZ #13881]
28118         * sysdeps/x86/fpu/powl_helper.c: New file.
28119         * sysdeps/x86/fpu/Makefile: Likewise.
28120         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28121         (p3): New object.
28122         (__ieee754_powl): Use __powl_helper for finite arguments except
28123         integer exponents below 8.
28124         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28125         (p3): New object.
28126         (__ieee754_powl): Use __powl_helper for finite arguments except
28127         integer exponents below 8.
28128         * math/libm-test.inc (pow_test): Add more tests and enable some
28129         previously disabled tests.
28130         * sysdeps/i386/fpu/libm-test-ulps: Update.
28131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28133 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28134             Carlos O'Donell  <carlos_odonell@mentor.com>
28136         * nss/makedb.c (is_prime): Assert that input is odd and greater
28137         than 4.  Note that fact in a comment too.
28138         (next_prime): Add 4 to input.
28140 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28142         [BZ #11741]
28143         * libio/Makefile (tests): Add test case tst-fwrite-error.
28144         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28145         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28146         * libio/tst-fwrite-error.c: New test case.
28148 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
28150         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28151         before casting to void *.
28152         * include/libc-internal.h (__pointer_type): New macro.
28153         (__integer_if_pointer_type_sub): Likewise.
28154         (__integer_if_pointer_type): Likewise.
28155         (cast_to_integer): Likewise.
28156         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28157         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28158         before casting to atomic64_t.
28159         (atomic_exchange_acq): Likewise.
28160         (__arch_exchange_and_add_body): Likewise.
28161         (__arch_add_body): Likewise.
28162         (atomic_add_negative): Likewise.
28163         (atomic_add_zero): Likewise.
28165 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
28167         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28168         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28169         (add_fdes): Likewise.
28170         (linear_search_fdes): Likewise.
28171         (binary_search_unencoded_fdes): Likewise.
28173 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
28175         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28177 2012-11-24  Adam Conrad  <adconrad@0c3.net>
28179         * configure.in: Autodetect C++ header directories.
28180         * configure: Regenerated.
28182 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
28184         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28186 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
28188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28190 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
28192         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28193         LDBL_MANT_DIG == 106]: Disable some tests.
28194         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28195         Likewise.
28196         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28197         Likewise.
28199         [BZ #14871]
28200         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28201         input for small inputs.  Return +/- pi/2 for large inputs.
28202         * math/libm-test.inc (atan_test): Add more tests.
28204         * sysdeps/generic/unwind-dw2-fde-glibc.c
28205         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28206         __attribute__ ((unused)).
28208         [BZ #14645]
28209         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28210         x * y if x and y are nonzero and z is zero.
28212         [BZ #14811]
28213         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28214         nonzero exponents with absolute value below 0x1p-117 to +/-
28215         0x1p-117.
28217         [BZ #14869]
28218         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28219         up arguments below 2**-450, not just those below 2**-500.
28220         * math/libm-test.inc (hypot_test): Add another test.
28222         [BZ #14868]
28223         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28224         Return a+b for ratio over 2**120, not 2**60.
28225         * math/libm-test.inc (hypot_test): Add another test.
28227         * math/libm-test.inc (clog_test): Use
28228         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
28229         (clog10_test): Likewise.
28231         [BZ #6778]
28232         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
28234 2012-11-22  Andreas Schwab  <schwab@suse.de>
28236         * sysdeps/i386/fpu/libm-test-ulps: Update.
28238 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
28240         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
28241         printf output with newline.
28243 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
28245         [BZ #14865]
28246         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
28247         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
28248         -z nodlopen, -z initfirst and -z execstack support.
28249         * configure: Regenerated.
28251         * elf/elf.h (DF_1_NODIRECT): New macro.
28252         (DF_1_IGNMULDEF): Likewise.
28253         (DF_1_NOKSYMS): Likewise.
28254         (DF_1_NOHDR): Likewise.
28255         (DF_1_EDITED): Likewise.
28256         (DF_1_NORELOC): Likewise.
28257         (DF_1_SYMINTPOSE): Likewise.
28258         (DF_1_GLOBAUDIT): Likewise.
28259         (DF_1_SINGLETON): Likewise.
28260         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
28261         DT_1_SUPPORTED_MASK bits.
28262         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
28264 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
28266         * sysdeps/unix/make-syscalls.sh: Document prefixes.
28268 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
28270         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
28271         macro.
28273         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
28274         (sendmmsg): Move declarations...
28275         * socket/sys/socket.h: ... here.
28276         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
28277         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
28278         include it from...
28279         * socket/recvmmsg.c: ... this new file.
28280         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
28281         (sendmmsg): Rename to __sendmmsg, create weak alias and make
28282         definition of __sendmmsg hidden.
28283         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28284         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
28285         Move ENOSYS stub into and include it from...
28286         * socket/sendmmsg.c: ... this new file.
28287         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
28288         (sysdep_routines): Move recvmmsg and sendmmsg...
28289         * socket/Makefile (routines): ... here.
28290         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
28291         (GLIBC_PRIVATE): Add __sendmmsg.
28292         * include/sys/socket.h (__sendmmsg): Add declarations.
28293         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
28294         sendmmsg.
28296 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
28298         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
28299         variable I1 with __attribute__ ((unused)).
28300         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28302 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28304         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
28305         DUMMY variables with __attribute__ ((unused)).
28307         * bits/byteswap.h: Include <bits/types.h>.
28308         (__bswap_64): Use __uint64_t instead of unsigned long long int.
28310 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28312         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
28313         string_t.  Do not manually set errno.
28314         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
28315         length with __strnlen.  Make sure to both set errno and return it on
28316         failure.
28318 2012-11-19  David S. Miller  <davem@davemloft.net>
28320         With help from Joseph Myers.
28321         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
28322         very large arguments properly.
28323         * math/libm-test.inc (atan_test): New tests.
28324         (atan2_test): New tests.
28325         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28328 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
28330         [BZ #14856]
28331         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
28332         Define to 3.
28334         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
28335         [POSIX] (EADDRNOTAVAIL): Likewise.
28336         [POSIX] (EAFNOSUPPORT): Likewise.
28337         [POSIX] (EALREADY): Likewise.
28338         [POSIX] (ECONNABORTED): Likewise.
28339         [POSIX] (ECONNREFUSED): Likewise.
28340         [POSIX] (ECONNRESET): Likewise.
28341         [POSIX] (EDESTADDRREQ): Likewise.
28342         [POSIX] (EDQUOT): Likewise.
28343         [POSIX] (EHOSTUNREACH): Likewise.
28344         [POSIX] (EIDRM): Likewise.
28345         [POSIX] (EISCONN): Likewise.
28346         [POSIX] (ELOOP): Likewise.
28347         [POSIX] (EMULTIHOP): Likewise.
28348         [POSIX] (ENETDOWN): Likewise.
28349         [POSIX] (ENETUNREACH): Likewise.
28350         [POSIX] (ENOBUFS): Likewise.
28351         [POSIX] (ENODATA): Likewise.
28352         [POSIX] (ENOLINK): Likewise.
28353         [POSIX] (ENOMSG): Likewise.
28354         [POSIX] (ENOPROTOOPT): Likewise.
28355         [POSIX] (ENOSR): Likewise.
28356         [POSIX] (ENOSTR): Likewise.
28357         [POSIX] (ENOTCONN): Likewise.
28358         [POSIX] (ENOTSOCK): Likewise.
28359         [POSIX] (EOPNOTSUPP): Likewise.
28360         [POSIX] (EOVERFLOW): Likewise.
28361         [POSIX] (EPROTO): Likewise.
28362         [POSIX] (EPROTONOSUPPORT): Likewise.
28363         [POSIX] (EPROTOTYPE): Likewise.
28364         [POSIX] (ESTALE): Likewise.
28365         [POSIX] (ETIME): Likewise.
28366         [POSIX] (ETXTBSY): Likewise.
28367         [POSIX] (EWOULDBLOCK): Likewise.
28368         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
28369         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
28370         [POSIX] (SEEK_CUR): Likewise.
28371         [POSIX] (SEEK_END): Likewise.
28372         [POSIX || UNIX98] (mode_t): Do not require.
28373         [POSIX] (off_t): Likewise.
28374         [POSIX] (pid_t): Likewise.
28375         [POSIX] (sys/stat.h): Do not allow header.
28376         [POSIX] (unistd.h): Likewise.
28377         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
28378         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
28379         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
28380         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
28381         require.
28382         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
28383         sigevent): Specify elements.
28384         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
28385         entry.
28386         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
28387         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
28389         * conform/data/cpio.h-data [POSIX]: Disable whole file.
28390         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
28391         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
28392         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
28393         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
28394         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
28395         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
28396         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
28397         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
28398         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
28399         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
28400         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
28401         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
28402         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
28403         Likewise.
28404         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
28405         Likewise.
28406         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
28407         Likewise.
28408         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
28409         Likewise.
28410         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
28411         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
28412         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
28413         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
28414         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
28415         Specify lower bound on value.
28416         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
28417         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
28418         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
28419         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
28420         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
28421         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
28422         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
28423         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
28424         value.
28425         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
28426         as optional.
28427         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
28428         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
28429         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
28430         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
28431         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
28432         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
28433         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
28434         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
28435         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
28436         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
28437         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
28438         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
28439         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
28440         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
28441         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
28442         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
28443         entry.
28444         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
28445         optional.
28446         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
28447         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
28448         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
28449         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
28450         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
28451         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
28452         Likewise.
28453         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
28454         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
28455         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
28456         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
28457         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
28458         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
28459         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
28460         as optional.
28461         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
28462         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
28463         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
28464         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
28465         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
28466         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
28467         specify as optional.
28468         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
28469         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
28470         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
28471         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
28472         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
28473         [XPG3] (NL_LANGMAX): Likewise.
28474         [POSIX || XPG3] (NL_MSGMAX): Likewise.
28475         [POSIX || XPG3] (NL_NMAX): Likewise.
28476         [POSIX || XPG3] (NL_SETMAX): Likewise.
28477         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
28478         [XPG3] (NZERO): Likewise.
28479         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
28480         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
28481         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
28482         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
28483         (REG_ERANGE): Expect.
28484         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
28485         optional-constant.
28486         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
28487         Use (void) in prototype.
28488         [POSIX] (*_t): Allow.
28489         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
28490         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
28491         (WRDE_BADVAL): Expect.
28493         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
28494         expect.
28495         [XPG3 || XPG4] (O_RSYNC): Likewise.
28496         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
28497         Likewise.
28498         [XPG3 || XPG4] (pthread_sigmask): Likewise.
28499         [XPG3 || XPG4] (sigqueue): Likewise.
28500         [XPG3 || XPG4] (sigtimedwait): Likewise.
28501         [XPG3 || XPG4] (sigwaitinfo): Likewise.
28502         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
28503         [XPG3 || XPG4] (vsnprintf): Likewise.
28504         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
28505         Likewise.
28506         [XPG3 || XPG4] (blksize_t): Likewise.
28507         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
28508         Likewise.
28509         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
28510         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
28511         [XPG3 || XPG4] (struct itimerspec): Likewise.
28512         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
28513         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
28514         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
28515         [XPG3 || XPG4] (clockid_t): Likewise.
28516         [XPG3 || XPG4] (timer_t): Likewise.
28517         [XPG3 || XPG4] (clock_getres): Likewise.
28518         [XPG3 || XPG4] (clock_gettime): Likewise.
28519         [XPG3 || XPG4] (clock_settime): Likewise.
28520         [XPG3 || XPG4] (nanosleep): Likewise.
28521         [XPG3 || XPG4] (timer_create): Likewise.
28522         [XPG3 || XPG4] (timer_delete): Likewise.
28523         [XPG3 || XPG4] (timer_gettime): Likewise.
28524         [XPG3 || XPG4] (timer_getoverrun): Likewise.
28525         [XPG3 || XPG4] (timer_settime): Likewise.
28526         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
28527         [XPG3 || XPG4] (getlogin_r): Likewise.
28528         [XPG3 || XPG4] (pread): Likewise.
28529         [XPG3 || XPG4] (pthread_atfork): Likewise.
28530         [XPG3 || XPG4] (pwrite): Likewise.
28532         [BZ #14835]
28533         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
28534         <bits/siginfo.h>.
28536 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
28538         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
28539         finalizing MALLSTREAM.
28541         * sysdeps/mach/hurd/syncfs.c: New file.
28543 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28545         [BZ #14719]
28546         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
28547         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
28548         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
28549         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
28550         (_nss_dns_gethostbyname4_r): Likewise.
28551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
28552         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
28554 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
28556         [BZ #13763]
28557         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
28559 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
28561         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
28562         * elf/cache.c (print_entry): Print ",AArch64" for
28563         FLAG_AARCH64_LIB64
28565         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
28566         * elf/cache.c (print_entry): Print ",hard-float" for
28567         FLAG_ARM_LIBHF.
28569 2012-11-18  David S. Miller  <davem@davemloft.net>
28571         With help from Joseph Myers.
28572         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
28573         cutoff to 2**-13.
28574         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
28575         cutoff to 2**-25.
28576         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
28577         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
28578         small.
28579         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
28580         * math/libm-test.inc (y0_test): New tests.
28581         (y1_test): New tests.
28582         * sysdeps/i386/fpu/libm-test-ulps: Update.
28583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28586 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
28588         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
28589         64-bit targets.
28590         * configure: Regenerated.
28592 2012-11-17  David S. Miller  <davem@davemloft.net>
28594         [BZ #14811]
28595         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
28596         nonzero exponents with absolute value below 0x1p-128 to +/-
28597         0x1p-128.
28599 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
28601         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
28603         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
28605         * posix/getconf-speclist.c: New file.
28606         * posix/posix-envs.def: Likewise.
28607         * posix/confstr.c (START_ENV_GROUP): New macro.
28608         (END_ENV_GROUP): Likewise.
28609         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28610         (KNOWN_PRESENT_ENV_STRING): Likewise.
28611         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28612         (UNKNOWN_ENVIRONMENT): Likewise.
28613         (confstr): Include posix-envs.def instead of handling
28614         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
28615         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
28616         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
28617         (END_ENV_GROUP): Likewise.
28618         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
28619         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
28620         (UNKNOWN_ENVIRONMENT): Likewise.
28621         (__sysconf): Include posix-envs.def instead of handling associated
28622         cases directly here.
28623         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
28624         preprocessing getconf-speclist.c rather than running getconf or
28625         generating empty file.
28627 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
28629         * scripts/check-local-headers.sh: Ignore 'mach' headers.
28631 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
28633         [BZ #14672]
28634         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
28636 2012-11-16  David S. Miller  <davem@davemloft.net>
28638         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
28639         smaller than LDBL_EPSILON/2.0L, just return xm1.
28641 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
28643         * elf/tst-array1.c (init): Set constructor priority to 1000.
28644         (fini): Set destructor priority to 1000.
28645         * elf/tst-array2dep.c: Likewise.
28647 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28649         [BZ #11741]
28650         * libio/fileops.c (_IO_new_file_write): Correctly return error.
28651         (_IO_new_file_xsputn): Also return EOF if none of the input
28652         data was written when overflow failed.
28653         * libio/iopadn.c (_IO_padn): Likewise.
28654         * libio/iowpadn.c (_IO_wpadn): Likewise.
28655         * stdio-common/tst-put-error.c: Add copyright notice.
28656         (do_test): Add case for printing padded string.
28657         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
28658         _IO_padn returned error.
28659         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
28660         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
28661         return EOF.
28663 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28665         * libio/libioP.h: Add comment note that the references to C++
28666         bits are now obsolete.
28668 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28670         * math/libm-test.inc (check_complex): Use asprintf.
28672 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
28674         * debug/pcprofiledump.c (print_version): Update copyright year.
28675         * malloc/memusagestat.c (print_version): Likewise.
28677 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
28679         [BZ #14831]
28680         * elf/Makefile (tests): Add tst-audit8.
28681         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
28682         ($(objpfx)tst-audit8.out): New target.
28683         (tst-audit8-ENV): New variable.
28684         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
28685         audit if l_reloc_result is NULL.
28686         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
28687         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
28688         * elf/tst-audit8.c: New file.
28690 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28692         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
28693         * misc/Makefile (CFLAGS-select.c): Define.
28694         * posix/Makefile (CFLAGS-pause.c): Define.
28696 2012-11-13  David S. Miller  <davem@davemloft.net>
28698         * crypt/Makefile: Move test targets after toplevel Rules
28699         inclusion.  Grab any necessary sysdep routines when linking.
28700         * crypt/md5.c (md5_process_block): Remove define, we will always
28701         name it __md5_process_block.
28702         (md5_finish_ctx): Update md5_process_block call.
28703         (md5_stream): Likewise.
28704         (md5_process_bytes): Likewise.
28705         (md5_process_block): Rename to __md5_process_block and move to ...
28706         * crypt/md5-block.c: ... here.
28707         * crypt/sha256.c (sha256_process_block): Move to ...
28708         * crypt/sha256-block.c: ... here.
28709         * crypt/sha512.c (sha512_process_block): Move to ...
28710         * crypt/sha512-block.c: ... here.
28711         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
28712         path.
28713         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
28714         * sysdeps/sparc/sparc64/multiarch/Makefile
28715         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
28716         crypt subdir.
28717         (localedef-aux): Add md5 crypto assembler when in locale subdir.
28718         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
28719         multiarch changes.
28720         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
28721         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
28722         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
28723         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
28724         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
28725         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
28726         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
28727         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
28728         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
28729         file.
28730         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
28731         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
28732         file.
28733         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
28735 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
28737         * timezone/tzselect.ksh: Update from tzcode git revision
28738         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
28739         * timezone/zdump.c: Likewise.
28740         * timezone/zic.c: Likewise.
28741         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
28742         in TZVERSION setting, not $(PKGVERSION).
28743         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
28744         REPORT_BUGS_TO settings.
28746         [BZ #14838]
28747         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
28748         macro.
28750 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28752         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
28753         detection to immediately after _FP_ROUND().
28754         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
28755         bits are 0.
28757 2012-11-11  David S. Miller  <davem@davemloft.net>
28759         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
28760         inttypes.h
28761         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
28762         __close rather than their public counterparts.
28764 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
28766         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
28767         file.
28768         [UNIX98] (sem_timedwait): Do not expect.
28769         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
28770         [XPG4 || UNIX98] (sockatmark): Do not expect.
28771         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
28772         (clock_getcpuclockid): Do not expect.
28773         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
28774         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
28775         Do not expect.
28776         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
28777         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
28778         [UNIX98] (vwscanf): Likewise.
28779         [UNIX98] (vswscanf): Likewise.
28781 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
28783         * timezone/version.h: Remove file.
28784         * timezone/README: Do not refer to version.h.
28785         * timezone/Makefile ($(objpfx)zic.o): New dependency on
28786         $(objpfx)version.h.
28787         ($(objpfx)zdump.o): Likewise.
28788         ($(objpfx)version.h): New target.
28790         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
28791         2012i.
28792         * timezone/README: Don't mention modification to tzselect.ksh.
28793         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
28794         work on unmodified tzselect.ksh.  Substitute version numbers in
28795         tzselect.ksh.
28797         * Makefile (format-me): Remove.
28798         (INSTALL): Adjust indentation.  Use commands directly instead of
28799         using $(format-me).
28801         * aclocal.m4 (ACX_PKGVERSION): New macro.
28802         (ACX_BUGURL): Likewise.
28803         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
28804         (PKGVERSION): New AC_DEFINE_UNQUOTED.
28805         (REPORT_BUGS_TO): Likewise.
28806         * configure: Regenerated.
28807         * config.h.in (PKGVERSION): New macro.
28808         (REPORT_BUGS_TO): Likewise.
28809         * config.make.in (PKGVERSION): New variable.
28810         (PKGVERSION_TEXI): Likewise.
28811         (REPORT_BUGS_TO): Likewise.
28812         (REPORT_BUGS_TEXI): Likewise.
28813         * Makefile (format-me): Use -I$(common-objpfx)manual.
28814         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
28815         ($(common-objpfx)manual/%): New target.
28816         (manual/%): Remove target.
28817         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
28818         (print_version): Use PKGVERSION.
28819         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
28820         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
28821         and REPORT_BUGS_TO.
28822         ($(objpfx)xtrace): Likewise.
28823         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
28824         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
28825         (print_version): Use PKGVERSION.
28826         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
28827         (do_version): Use PKGVERSION.
28828         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
28829         REPORT_BUGS_TO.
28830         (common-ldd-rewrite): Likewise.
28831         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
28832         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
28833         (print_version): Use PKGVERSION.
28834         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
28835         * elf/pldd.c (argp_program_bug_address): Remove variable.
28836         (more_help): New function.
28837         (argp): Use more_help.
28838         (print_version): Use PKGVERSION.
28839         * elf/sln.c (main): Use PKGVERSION.
28840         (usage): Use REPORT_BUGS_TO.
28841         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
28842         (top level): Use PKGVERSION.
28843         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
28844         (print_version): Use PKGVERSION.
28845         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
28846         (print_version): Use PKGVERSION.
28847         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
28848         (print_version): Use PKGVERSION.
28849         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
28850         (print_version): Use PKGVERSION.
28851         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
28852         (print_version): Use PKGVERSION.
28853         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
28854         (print_version): Use PKGVERSION.
28855         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
28856         and BUGURL.
28857         ($(objpfx)memusage): Likewise.
28858         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
28859         (do_version): Use PKGVERSION.
28860         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
28861         (print_version): Use PKGVERSION.
28862         * malloc/mtrace.pl ($PACKAGE): Remove variable.
28863         ($PKGVERSION): New variable.
28864         ($REPORT_BUGS_TO): Likewise.
28865         (usage): Use $REPORT_BUGS_TO.
28866         (top level): Use $PKGVERSION.
28867         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
28868         ($(objpfx)pkgvers.texi): New rule.
28869         ($(objpfx)stamp-pkgvers): Likewise.
28870         * manual/install.texi: Include pkgvers.texi.
28871         (--with-pkgversion): Document new configure option.
28872         (--with-bugurl): Likewise.
28873         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
28874         than necessarily for this particular distribution.  Use
28875         REPORT_BUGS_TO for where to report bugs.
28876         * INSTALL: Regenerated.
28877         * manual/libc.texinfo: Include pkgvers.texi.
28878         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
28879         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
28880         (print_version): Use PKGVERSION.
28881         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
28882         (print_version): Use PKGVERSION.
28883         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
28884         (print_version): Use PKGVERSION.
28885         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
28886         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
28887         macro.
28888         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
28889         (print_version): Use PKGVERSION.
28890         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
28891         (print_version): Use PKGVERSION.
28892         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
28893         and PKGVERSION.
28895         * timezone/checktab.awk: Update from tzcode 2012i.
28896         * timezone/ialloc.c: Likewise.
28897         * timezone/private.h: Likewise.
28898         * timezone/scheck.c: Likewise.
28899         * timezone/tzfile.h: Likewise.
28900         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
28901         (TZVERSION): Hardcode tzcode version number.
28902         * timezone/zdump.c: Update from tzcode 2012i.
28903         * timezone/zic.c: Likewise.
28904         * timezone/version.h: New file.
28905         * timezone/README: Describe version.h.  Update upstream location.
28907         [BZ #14824]
28908         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
28909         (mktemp): Enable declaration.
28910         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
28911         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
28912         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
28913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
28914         Likewise.
28915         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
28916         Likewise.
28917         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
28918         Likewise.
28919         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
28920         Likewise.
28921         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
28922         Likewise.
28923         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
28924         Likewise.
28926         [BZ #14821]
28927         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
28928         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
28929         for copies of such integer values.
28930         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28931         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28933 2012-11-09  Andreas Jaeger  <aj@suse.de>
28935         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
28936         definitions and declarations that are provided by
28937         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28939 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28941         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
28942         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
28943         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
28944         definition.
28946 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28948         * elf/elf.h: Update comment before AArch64 relocations.
28950 2012-11-07  David S. Miller  <davem@davemloft.net>
28952         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
28953         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28954         (__start_context): Declare.
28955         (__makecontext_ret): Delete.
28956         (__makecontext): Hook up __start_context instead of
28957         __makecontext_ret.
28958         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
28959         (sysdep_routines): Add __start_context when in stdlib.
28961 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28963         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
28964         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
28965         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
28966         hardcoded "nm".
28967         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
28968         (READELF): New variable.  Use it instead of hardcoded "readelf".
28970 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
28972         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
28973         * sysdeps/x86/Makefile: Here.
28974         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
28975         * sysdeps/x86/tst-xmmymm.sh: This.
28977 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28979         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
28980         expectations.
28981         [UNIX98] (pthread_barrier_t): Do not expect.
28982         [UNIX98] (pthread_barrierattr_t): Likewise.
28983         [UNIX98] (pthread_spinlock_t): Likewise.
28984         [UNIX98] (pthread_barrier_destroy): Likewise.
28985         [UNIX98] (pthread_barrier_init): Likewise.
28986         [UNIX98] (pthread_barrier_wait): Likewise.
28987         [UNIX98] (pthread_barrierattr_destroy): Likewise.
28988         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
28989         [UNIX98] (pthread_barrierattr_init): Likewise.
28990         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
28991         [UNIX98] (pthread_getcpuclockid): Likewise.
28992         [UNIX98] (pthread_mutex_timedlock): Likewise.
28993         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
28994         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
28995         [UNIX98] (pthread_sigmask): Likewise.
28996         [UNIX98] (pthread_spin_destroy): Likewise.
28997         [UNIX98] (pthread_spin_init): Likewise.
28998         [UNIX98] (pthread_spin_lock): Likewise.
28999         [UNIX98] (pthread_spin_trylock): Likewise.
29000         [UNIX98] (pthread_spin_unlock): Likewise.
29001         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29002         Do not expect.
29003         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29004         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29005         [XPG3 || XPG4] (pthread_cond_t): Likewise.
29006         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29007         [XPG3 || XPG4] (pthread_key_t): Likewise.
29008         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29009         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29010         [XPG3 || XPG4] (pthread_once_t): Likewise.
29011         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29012         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29013         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29014         [XPG3 || XPG4] (pthread_t): Likewise.
29016         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29017         not expect.
29018         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29020         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29021         Change function return type to int.
29023         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29024         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29025         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29026         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29027         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29028         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29029         [!POSIX] (posix_madvise): Likewise.
29030         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29031         && !UNIX98].
29032         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29033         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29034         (mode_t): Likewise.
29035         (posix_mem_offset): Likewise.
29036         (posix_typed_mem_get_info): Likewise.
29037         (posix_typed_mem_open): Likewise.
29039         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29040         Change condition to [XOPEN2K8].
29042         * conform/conformtest.pl: Preprocess allow-header data with -x c
29043         instead of from stdin.
29044         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29045         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29046         [C99-based standards] (cerfc): Likewise.
29047         [C99-based standards] (cexp2): Likewise.
29048         [C99-based standards] (cexpm1): Likewise.
29049         [C99-based standards] (clog10): Likewise.
29050         [C99-based standards] (clog1p): Likewise.
29051         [C99-based standards] (clog2): Likewise.
29052         [C99-based standards] (clgamma): Likewise.
29053         [C99-based standards] (ctgamma): Likewise.
29054         [C99-based standards] (cerff): Likewise.
29055         [C99-based standards] (cerfcf): Likewise.
29056         [C99-based standards] (cexp2f): Likewise.
29057         [C99-based standards] (cexpm1f): Likewise.
29058         [C99-based standards] (clog10f): Likewise.
29059         [C99-based standards] (clog1pf): Likewise.
29060         [C99-based standards] (clog2f): Likewise.
29061         [C99-based standards] (clgammaf): Likewise.
29062         [C99-based standards] (ctgammaf): Likewise.
29063         [C99-based standards] (cerfl): Likewise.
29064         [C99-based standards] (cerfcl): Likewise.
29065         [C99-based standards] (cexp2l): Likewise.
29066         [C99-based standards] (cexpm1l): Likewise.
29067         [C99-based standards] (clog10l): Likewise.
29068         [C99-based standards] (clog1pl): Likewise.
29069         [C99-based standards] (clog2l): Likewise.
29070         [C99-based standards] (clgammal): Likewise.
29071         [C99-based standards] (ctgammal): Likewise.
29072         * conform/data/inttypes.h-data [C99-based standards]: Include
29073         stdint.h-data.  Remove all expectations for stdint.h contents.
29074         [C99-based standards] (PRI*): Do not allow.
29075         [C99-based standards] (SCN*): Likewise.
29076         [C99-based standards] (*_t): Likewise.
29077         [C99-based-standards] (PRId8): Expect macro.
29078         [C99-based-standards] (PRIi8): Likewise.
29079         [C99-based-standards] (PRIo8): Likewise.
29080         [C99-based-standards] (PRIu8): Likewise.
29081         [C99-based-standards] (PRIx8): Likewise.
29082         [C99-based-standards] (PRIX8): Likewise.
29083         [C99-based-standards] (SCNd8): Likewise.
29084         [C99-based-standards] (SCNi8): Likewise.
29085         [C99-based-standards] (SCNo8): Likewise.
29086         [C99-based-standards] (SCNu8): Likewise.
29087         [C99-based-standards] (SCNx8): Likewise.
29088         [C99-based-standards] (PRIdLEAST8): Likewise.
29089         [C99-based-standards] (PRIiLEAST8): Likewise.
29090         [C99-based-standards] (PRIoLEAST8): Likewise.
29091         [C99-based-standards] (PRIuLEAST8): Likewise.
29092         [C99-based-standards] (PRIxLEAST8): Likewise.
29093         [C99-based-standards] (PRIXLEAST8): Likewise.
29094         [C99-based-standards] (SCNdLEAST8): Likewise.
29095         [C99-based-standards] (SCNiLEAST8): Likewise.
29096         [C99-based-standards] (SCNoLEAST8): Likewise.
29097         [C99-based-standards] (SCNuLEAST8): Likewise.
29098         [C99-based-standards] (SCNxLEAST8): Likewise.
29099         [C99-based-standards] (PRIdFAST8): Likewise.
29100         [C99-based-standards] (PRIiFAST8): Likewise.
29101         [C99-based-standards] (PRIoFAST8): Likewise.
29102         [C99-based-standards] (PRIuFAST8): Likewise.
29103         [C99-based-standards] (PRIxFAST8): Likewise.
29104         [C99-based-standards] (PRIXFAST8): Likewise.
29105         [C99-based-standards] (SCNdFAST8): Likewise.
29106         [C99-based-standards] (SCNiFAST8): Likewise.
29107         [C99-based-standards] (SCNoFAST8): Likewise.
29108         [C99-based-standards] (SCNuFAST8): Likewise.
29109         [C99-based-standards] (SCNxFAST8): Likewise.
29110         [C99-based-standards] (PRId16): Likewise.
29111         [C99-based-standards] (PRIi16): Likewise.
29112         [C99-based-standards] (PRIo16): Likewise.
29113         [C99-based-standards] (PRIu16): Likewise.
29114         [C99-based-standards] (PRIx16): Likewise.
29115         [C99-based-standards] (PRIX16): Likewise.
29116         [C99-based-standards] (SCNd16): Likewise.
29117         [C99-based-standards] (SCNi16): Likewise.
29118         [C99-based-standards] (SCNo16): Likewise.
29119         [C99-based-standards] (SCNu16): Likewise.
29120         [C99-based-standards] (SCNx16): Likewise.
29121         [C99-based-standards] (PRIdLEAST16): Likewise.
29122         [C99-based-standards] (PRIiLEAST16): Likewise.
29123         [C99-based-standards] (PRIoLEAST16): Likewise.
29124         [C99-based-standards] (PRIuLEAST16): Likewise.
29125         [C99-based-standards] (PRIxLEAST16): Likewise.
29126         [C99-based-standards] (PRIXLEAST16): Likewise.
29127         [C99-based-standards] (SCNdLEAST16): Likewise.
29128         [C99-based-standards] (SCNiLEAST16): Likewise.
29129         [C99-based-standards] (SCNoLEAST16): Likewise.
29130         [C99-based-standards] (SCNuLEAST16): Likewise.
29131         [C99-based-standards] (SCNxLEAST16): Likewise.
29132         [C99-based-standards] (PRIdFAST16): Likewise.
29133         [C99-based-standards] (PRIiFAST16): Likewise.
29134         [C99-based-standards] (PRIoFAST16): Likewise.
29135         [C99-based-standards] (PRIuFAST16): Likewise.
29136         [C99-based-standards] (PRIxFAST16): Likewise.
29137         [C99-based-standards] (PRIXFAST16): Likewise.
29138         [C99-based-standards] (SCNdFAST16): Likewise.
29139         [C99-based-standards] (SCNiFAST16): Likewise.
29140         [C99-based-standards] (SCNoFAST16): Likewise.
29141         [C99-based-standards] (SCNuFAST16): Likewise.
29142         [C99-based-standards] (SCNxFAST16): Likewise.
29143         [C99-based-standards] (PRId32): Likewise.
29144         [C99-based-standards] (PRIi32): Likewise.
29145         [C99-based-standards] (PRIo32): Likewise.
29146         [C99-based-standards] (PRIu32): Likewise.
29147         [C99-based-standards] (PRIx32): Likewise.
29148         [C99-based-standards] (PRIX32): Likewise.
29149         [C99-based-standards] (SCNd32): Likewise.
29150         [C99-based-standards] (SCNi32): Likewise.
29151         [C99-based-standards] (SCNo32): Likewise.
29152         [C99-based-standards] (SCNu32): Likewise.
29153         [C99-based-standards] (SCNx32): Likewise.
29154         [C99-based-standards] (PRIdLEAST32): Likewise.
29155         [C99-based-standards] (PRIiLEAST32): Likewise.
29156         [C99-based-standards] (PRIoLEAST32): Likewise.
29157         [C99-based-standards] (PRIuLEAST32): Likewise.
29158         [C99-based-standards] (PRIxLEAST32): Likewise.
29159         [C99-based-standards] (PRIXLEAST32): Likewise.
29160         [C99-based-standards] (SCNdLEAST32): Likewise.
29161         [C99-based-standards] (SCNiLEAST32): Likewise.
29162         [C99-based-standards] (SCNoLEAST32): Likewise.
29163         [C99-based-standards] (SCNuLEAST32): Likewise.
29164         [C99-based-standards] (SCNxLEAST32): Likewise.
29165         [C99-based-standards] (PRIdFAST32): Likewise.
29166         [C99-based-standards] (PRIiFAST32): Likewise.
29167         [C99-based-standards] (PRIoFAST32): Likewise.
29168         [C99-based-standards] (PRIuFAST32): Likewise.
29169         [C99-based-standards] (PRIxFAST32): Likewise.
29170         [C99-based-standards] (PRIXFAST32): Likewise.
29171         [C99-based-standards] (SCNdFAST32): Likewise.
29172         [C99-based-standards] (SCNiFAST32): Likewise.
29173         [C99-based-standards] (SCNoFAST32): Likewise.
29174         [C99-based-standards] (SCNuFAST32): Likewise.
29175         [C99-based-standards] (SCNxFAST32): Likewise.
29176         [C99-based-standards] (PRId64): Likewise.
29177         [C99-based-standards] (PRIi64): Likewise.
29178         [C99-based-standards] (PRIo64): Likewise.
29179         [C99-based-standards] (PRIu64): Likewise.
29180         [C99-based-standards] (PRIx64): Likewise.
29181         [C99-based-standards] (PRIX64): Likewise.
29182         [C99-based-standards] (SCNd64): Likewise.
29183         [C99-based-standards] (SCNi64): Likewise.
29184         [C99-based-standards] (SCNo64): Likewise.
29185         [C99-based-standards] (SCNu64): Likewise.
29186         [C99-based-standards] (SCNx64): Likewise.
29187         [C99-based-standards] (PRIdLEAST64): Likewise.
29188         [C99-based-standards] (PRIiLEAST64): Likewise.
29189         [C99-based-standards] (PRIoLEAST64): Likewise.
29190         [C99-based-standards] (PRIuLEAST64): Likewise.
29191         [C99-based-standards] (PRIxLEAST64): Likewise.
29192         [C99-based-standards] (PRIXLEAST64): Likewise.
29193         [C99-based-standards] (SCNdLEAST64): Likewise.
29194         [C99-based-standards] (SCNiLEAST64): Likewise.
29195         [C99-based-standards] (SCNoLEAST64): Likewise.
29196         [C99-based-standards] (SCNuLEAST64): Likewise.
29197         [C99-based-standards] (SCNxLEAST64): Likewise.
29198         [C99-based-standards] (PRIdFAST64): Likewise.
29199         [C99-based-standards] (PRIiFAST64): Likewise.
29200         [C99-based-standards] (PRIoFAST64): Likewise.
29201         [C99-based-standards] (PRIuFAST64): Likewise.
29202         [C99-based-standards] (PRIxFAST64): Likewise.
29203         [C99-based-standards] (PRIXFAST64): Likewise.
29204         [C99-based-standards] (SCNdFAST64): Likewise.
29205         [C99-based-standards] (SCNiFAST64): Likewise.
29206         [C99-based-standards] (SCNoFAST64): Likewise.
29207         [C99-based-standards] (SCNuFAST64): Likewise.
29208         [C99-based-standards] (SCNxFAST64): Likewise.
29209         [C99-based-standards] (PRIdMAX): Likewise.
29210         [C99-based-standards] (PRIiMAX): Likewise.
29211         [C99-based-standards] (PRIoMAX): Likewise.
29212         [C99-based-standards] (PRIuMAX): Likewise.
29213         [C99-based-standards] (PRIxMAX): Likewise.
29214         [C99-based-standards] (PRIXMAX): Likewise.
29215         [C99-based-standards] (SCNdMAX): Likewise.
29216         [C99-based-standards] (SCNiMAX): Likewise.
29217         [C99-based-standards] (SCNoMAX): Likewise.
29218         [C99-based-standards] (SCNuMAX): Likewise.
29219         [C99-based-standards] (SCNxMAX): Likewise.
29220         [C99-based-standards] (PRIdPTR): Likewise.
29221         [C99-based-standards] (PRIiPTR): Likewise.
29222         [C99-based-standards] (PRIoPTR): Likewise.
29223         [C99-based-standards] (PRIuPTR): Likewise.
29224         [C99-based-standards] (PRIxPTR): Likewise.
29225         [C99-based-standards] (PRIXPTR): Likewise.
29226         [C99-based-standards] (SCNdPTR): Likewise.
29227         [C99-based-standards] (SCNiPTR): Likewise.
29228         [C99-based-standards] (SCNoPTR): Likewise.
29229         [C99-based-standards] (SCNuPTR): Likewise.
29230         [C99-based-standards] (SCNxPTR): Likewise.
29231         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
29232         allow.
29233         * conform/data/stdint.h-data: Update comments to clarify
29234         requirements.
29235         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
29236         type.
29237         [C99-based standards] (INT8_MAX): Likewise.
29238         [C99-based standards] (INT16_MIN): Likewise.
29239         [C99-based standards] (INT16_MAX): Likewise.
29240         [C99-based standards] (INT32_MIN): Likewise.
29241         [C99-based standards] (INT32_MAX): Likewise.
29242         [C99-based standards] (INT64_MIN): Likewise.
29243         [C99-based standards] (INT64_MAX): Likewise.
29244         [C99-based standards] (UINT8_MAX): Likewise.
29245         [C99-based standards] (UINT16_MAX): Likewise.
29246         [C99-based standards] (UINT32_MAX): Likewise.
29247         [C99-based standards] (UINT64_MAX): Likewise.
29248         [C99-based standards] (INT_LEAST8_MIN): Likewise.
29249         [C99-based standards] (INT_LEAST8_MAX): Likewise.
29250         [C99-based standards] (INT_LEAST16_MIN): Likewise.
29251         [C99-based standards] (INT_LEAST16_MAX): Likewise.
29252         [C99-based standards] (INT_LEAST32_MIN): Likewise.
29253         [C99-based standards] (INT_LEAST32_MAX): Likewise.
29254         [C99-based standards] (INT_LEAST64_MIN): Likewise.
29255         [C99-based standards] (INT_LEAST64_MAX): Likewise.
29256         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
29257         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
29258         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
29259         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
29260         [C99-based standards] (INT_FAST8_MIN): Likewise.
29261         [C99-based standards] (INT_FAST8_MAX): Likewise.
29262         [C99-based standards] (INT_FAST16_MIN): Likewise.
29263         [C99-based standards] (INT_FAST16_MAX): Likewise.
29264         [C99-based standards] (INT_FAST32_MIN): Likewise.
29265         [C99-based standards] (INT_FAST32_MAX): Likewise.
29266         [C99-based standards] (INT_FAST64_MIN): Likewise.
29267         [C99-based standards] (INT_FAST64_MAX): Likewise.
29268         [C99-based standards] (UINT_FAST8_MAX): Likewise.
29269         [C99-based standards] (UINT_FAST16_MAX): Likewise.
29270         [C99-based standards] (UINT_FAST32_MAX): Likewise.
29271         [C99-based standards] (UINT_FAST64_MAX): Likewise.
29272         [C99-based standards] (INTPTR_MIN): Likewise.
29273         [C99-based standards] (INTPTR_MAX): Likewise.
29274         [C99-based standards] (UINTPTR_MAX): Likewise.
29275         [C99-based standards] (INTMAX_MIN): Likewise.
29276         [C99-based standards] (INTMAX_MAX): Likewise.
29277         [C99-based standards] (UINTMAX_MAX): Likewise.
29278         [C99-based standards] (PTRDIFF_MIN): Likewise.
29279         [C99-based standards] (PTRDIFF_MAX): Likewise.
29280         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
29281         [C99-based standards] (SIZE_MAX): Likewise.
29282         [C99-based standards] (WCHAR_MAX): Likewise.
29283         [C99-based standards] (WINT_MAX): Likewise.
29284         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
29285         constraint on value.
29286         [C99-based standards] (WCHAR_MIN): Likewise.
29287         [C99-based standards] (WINT_MIN): Likewise.
29288         [C99-based standards] (*_t): Allow.
29289         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
29290         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
29291         Include math.h-data and complex.h-data.  Remove all expectations
29292         of math.h and complex.h contents.
29293         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
29294         at end of line.
29295         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
29296         (struct tm): Expect tag.
29297         [C99-based-standards] (wcstof): Expect function.
29298         [C99-based-standards] (wcstold): Likewise.
29299         [C99-based-standards] (wcstoll): Likewise.
29300         [C99-based-standards] (wcstoull): Likewise.
29301         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
29302         macro-int-constant.  Specify type.
29303         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
29304         constraint on value.
29305         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29306         Specify type.
29307         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
29308         Specify value.
29309         [ISO C standards]: Do not allow headers.
29310         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
29311         wcs[abcdefghijklmnopqrstuvwxyz]*.
29312         [ISO C standards] (*_t): Do not allow.
29313         * conform/data/wctype.h-data [C99-based standards] (iswblank):
29314         Expect function.
29315         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
29316         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
29317         Specify type.
29318         [ISO C standards]: Do not allow headers.
29319         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
29320         is[abcdefghijklmnopqrstuvwxyz]*.
29321         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
29322         to[abcdefghijklmnopqrstuvwxyz]*.
29323         [ISO C standards] (*_t): Do not allow.
29324         * conform/data/stdalign.h-data: New file.
29325         * conform/data/stdbool.h-data: Likewise.
29326         * conform/data/stdnoreturn.h-data: Likewise.
29328 2012-11-07  Roland McGrath  <roland@hack.frob.com>
29330         [BZ #14815]
29331         * manual/filesys.texi (Directory Entries): Typo fix.
29332         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
29334 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29336         * elf/elf.h (EM_AARCH64): New macro.
29337         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
29338         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
29339         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
29340         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
29341         (R_AARCH64_TLSDESC): Likewise.
29342         (NT_ARM_TLS): Likewise.
29343         (NT_ARM_HW_BREAK): Likewise.
29344         (NT_ARM_HW_WATCH): Likewise.
29346 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29348         [BZ #14811]
29349         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
29350         (__ieee754_powl): Saturate nonzero exponents with absolute value
29351         below 0x1p-79 to +/- 0x1p-79.
29352         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
29353         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
29354         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
29355         nonzero exponents with absolute value below 0x1p-32 to +/-
29356         0x1p-32.
29357         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
29358         (__ieee754_powl): Saturate nonzero exponents with absolute value
29359         below 0x1p-79 to +/- 0x1p-79.
29360         * math/libm-test.inc (pow_test): Add more tests.
29362 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29364         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
29365         _dl_s390_cap_flags with kernel. Increase string length.
29366         (_dl_s390_platforms): Add z196 and zEC12.
29368 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
29370         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
29371         Change XOPEN21K to XOPEN2K.
29373 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
29375         * string/memmove.c: Use memcpy when possible.
29377 2012-11-06  Andreas Jaeger  <aj@suse.de>
29379         * po/eo.po: Update from translation team.
29381 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
29383         [BZ #14793]
29384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
29385         exponent and small x and y exponents, scale x or y up.  Increase
29386         by 2 the exponent used in scaling up.
29387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29388         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29389         * math/libm-test.inc (fma_test): Add more tests.
29390         (fma_test_towardzero): Likewise.
29391         (fma_test_downward): Likewise.
29392         (fma_test_upward): Likewise.
29394 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
29396         [BZ #14805]
29397         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
29398         fenv_t *.
29400         [BZ #14801]
29401         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
29402         namespace for names of struct fields.
29403         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
29404         fenv_t fields.
29405         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
29406         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
29408 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29410         [BZ #3665]
29411         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
29413 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29415         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
29416         PTR_DEMANGLE.
29418         [BZ #5246]
29419         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
29420         PTR_DEMANGLE.
29422 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
29424         [BZ #14797]
29425         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
29426         definitely overflow as x * y not x * y + z.
29427         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29428         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29429         * math/libm-test.inc (fma_test): Add more tests.
29430         (fma_test_towardzero): Likewise.
29431         (fma_test_downward): Likewise.
29432         (fma_test_upward): Likewise.
29434 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
29436         [BZ #157]
29438         * include/stub-tag.h: Remove file.
29439         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
29440         '#include' of it.
29441         * manual/maint.texi (Porting): Don't reference it.
29442         * Makerules ($(objpfx)stubs): Likewise.
29443         * dirent/closedir.c: Don't include <stub-tag.h>.
29444         * dirent/dirfd.c: Likewise.
29445         * dirent/fdopendir.c: Likewise.
29446         * dirent/getdents.c: Likewise.
29447         * dirent/getdents64.c: Likewise.
29448         * dirent/opendir.c: Likewise.
29449         * dirent/readdir.c: Likewise.
29450         * dirent/readdir64.c: Likewise.
29451         * dirent/readdir64_r.c: Likewise.
29452         * dirent/readdir_r.c: Likewise.
29453         * dirent/rewinddir.c: Likewise.
29454         * dirent/seekdir.c: Likewise.
29455         * dirent/telldir.c: Likewise.
29456         * gmon/profil.c: Likewise.
29457         * grp/setgroups.c: Likewise.
29458         * inet/if_index.c: Likewise.
29459         * io/access.c: Likewise.
29460         * io/chdir.c: Likewise.
29461         * io/chmod.c: Likewise.
29462         * io/chown.c: Likewise.
29463         * io/close.c: Likewise.
29464         * io/dup.c: Likewise.
29465         * io/dup2.c: Likewise.
29466         * io/dup3.c: Likewise.
29467         * io/euidaccess.c: Likewise.
29468         * io/faccessat.c: Likewise.
29469         * io/fchdir.c: Likewise.
29470         * io/fchmod.c: Likewise.
29471         * io/fchmodat.c: Likewise.
29472         * io/fchown.c: Likewise.
29473         * io/fchownat.c: Likewise.
29474         * io/fcntl.c: Likewise.
29475         * io/flock.c: Likewise.
29476         * io/fstatfs.c: Likewise.
29477         * io/fstatfs64.c: Likewise.
29478         * io/fstatvfs.c: Likewise.
29479         * io/fstatvfs64.c: Likewise.
29480         * io/futimens.c: Likewise.
29481         * io/fxstat.c: Likewise.
29482         * io/fxstat64.c: Likewise.
29483         * io/fxstatat.c: Likewise.
29484         * io/fxstatat64.c: Likewise.
29485         * io/getcwd.c: Likewise.
29486         * io/isatty.c: Likewise.
29487         * io/lchmod.c: Likewise.
29488         * io/lchown.c: Likewise.
29489         * io/link.c: Likewise.
29490         * io/linkat.c: Likewise.
29491         * io/lseek.c: Likewise.
29492         * io/lseek64.c: Likewise.
29493         * io/lxstat64.c: Likewise.
29494         * io/mkdir.c: Likewise.
29495         * io/mkdirat.c: Likewise.
29496         * io/mkfifo.c: Likewise.
29497         * io/mkfifoat.c: Likewise.
29498         * io/open.c: Likewise.
29499         * io/open64.c: Likewise.
29500         * io/openat.c: Likewise.
29501         * io/openat64.c: Likewise.
29502         * io/pipe.c: Likewise.
29503         * io/pipe2.c: Likewise.
29504         * io/poll.c: Likewise.
29505         * io/posix_fadvise.c: Likewise.
29506         * io/posix_fadvise64.c: Likewise.
29507         * io/posix_fallocate.c: Likewise.
29508         * io/posix_fallocate64.c: Likewise.
29509         * io/read.c: Likewise.
29510         * io/readlink.c: Likewise.
29511         * io/readlinkat.c: Likewise.
29512         * io/rmdir.c: Likewise.
29513         * io/sendfile.c: Likewise.
29514         * io/sendfile64.c: Likewise.
29515         * io/statfs.c: Likewise.
29516         * io/statfs64.c: Likewise.
29517         * io/statvfs.c: Likewise.
29518         * io/statvfs64.c: Likewise.
29519         * io/symlink.c: Likewise.
29520         * io/symlinkat.c: Likewise.
29521         * io/ttyname.c: Likewise.
29522         * io/ttyname_r.c: Likewise.
29523         * io/umask.c: Likewise.
29524         * io/unlink.c: Likewise.
29525         * io/unlinkat.c: Likewise.
29526         * io/utime.c: Likewise.
29527         * io/utimensat.c: Likewise.
29528         * io/write.c: Likewise.
29529         * io/xmknod.c: Likewise.
29530         * io/xmknodat.c: Likewise.
29531         * io/xstat.c: Likewise.
29532         * io/xstat64.c: Likewise.
29533         * login/getpt.c: Likewise.
29534         * login/grantpt.c: Likewise.
29535         * login/unlockpt.c: Likewise.
29536         * math/e_acoshl.c: Likewise.
29537         * math/e_acosl.c: Likewise.
29538         * math/e_asinl.c: Likewise.
29539         * math/e_atan2l.c: Likewise.
29540         * math/e_atanhl.c: Likewise.
29541         * math/e_coshl.c: Likewise.
29542         * math/e_expl.c: Likewise.
29543         * math/e_fmodl.c: Likewise.
29544         * math/e_gammal_r.c: Likewise.
29545         * math/e_hypotl.c: Likewise.
29546         * math/e_j0l.c: Likewise.
29547         * math/e_j1l.c: Likewise.
29548         * math/e_jnl.c: Likewise.
29549         * math/e_lgammal_r.c: Likewise.
29550         * math/e_log10l.c: Likewise.
29551         * math/e_log2l.c: Likewise.
29552         * math/e_logl.c: Likewise.
29553         * math/e_powl.c: Likewise.
29554         * math/e_rem_pio2l.c: Likewise.
29555         * math/e_sinhl.c: Likewise.
29556         * math/e_sqrtl.c: Likewise.
29557         * math/fclrexcpt.c: Likewise.
29558         * math/fedisblxcpt.c: Likewise.
29559         * math/feenablxcpt.c: Likewise.
29560         * math/fegetenv.c: Likewise.
29561         * math/fegetexcept.c: Likewise.
29562         * math/fegetround.c: Likewise.
29563         * math/feholdexcpt.c: Likewise.
29564         * math/fesetenv.c: Likewise.
29565         * math/fesetround.c: Likewise.
29566         * math/feupdateenv.c: Likewise.
29567         * math/fgetexcptflg.c: Likewise.
29568         * math/fraiseexcpt.c: Likewise.
29569         * math/fsetexcptflg.c: Likewise.
29570         * math/ftestexcept.c: Likewise.
29571         * math/k_cosl.c: Likewise.
29572         * math/k_rem_pio2l.c: Likewise.
29573         * math/k_sinl.c: Likewise.
29574         * math/k_tanl.c: Likewise.
29575         * math/s_asinhl.c: Likewise.
29576         * math/s_atanl.c: Likewise.
29577         * math/s_cbrtl.c: Likewise.
29578         * math/s_erfl.c: Likewise.
29579         * math/s_expm1l.c: Likewise.
29580         * math/s_log1pl.c: Likewise.
29581         * math/s_tanhl.c: Likewise.
29582         * misc/acct.c: Likewise.
29583         * misc/brk.c: Likewise.
29584         * misc/chflags.c: Likewise.
29585         * misc/chroot.c: Likewise.
29586         * misc/fchflags.c: Likewise.
29587         * misc/fgetxattr.c: Likewise.
29588         * misc/flistxattr.c: Likewise.
29589         * misc/fremovexattr.c: Likewise.
29590         * misc/fsetxattr.c: Likewise.
29591         * misc/fsync.c: Likewise.
29592         * misc/ftruncate.c: Likewise.
29593         * misc/futimes.c: Likewise.
29594         * misc/futimesat.c: Likewise.
29595         * misc/getdomain.c: Likewise.
29596         * misc/getdtsz.c: Likewise.
29597         * misc/gethostid.c: Likewise.
29598         * misc/gethostname.c: Likewise.
29599         * misc/getloadavg.c: Likewise.
29600         * misc/getpagesize.c: Likewise.
29601         * misc/getsysstats.c: Likewise.
29602         * misc/getxattr.c: Likewise.
29603         * misc/gtty.c: Likewise.
29604         * misc/ioctl.c: Likewise.
29605         * misc/lgetxattr.c: Likewise.
29606         * misc/listxattr.c: Likewise.
29607         * misc/llistxattr.c: Likewise.
29608         * misc/lremovexattr.c: Likewise.
29609         * misc/lsetxattr.c: Likewise.
29610         * misc/lutimes.c: Likewise.
29611         * misc/madvise.c: Likewise.
29612         * misc/mincore.c: Likewise.
29613         * misc/mlock.c: Likewise.
29614         * misc/mlockall.c: Likewise.
29615         * misc/mmap.c: Likewise.
29616         * misc/mprotect.c: Likewise.
29617         * misc/msync.c: Likewise.
29618         * misc/munlock.c: Likewise.
29619         * misc/munlockall.c: Likewise.
29620         * misc/munmap.c: Likewise.
29621         * misc/preadv.c: Likewise.
29622         * misc/preadv64.c: Likewise.
29623         * misc/ptrace.c: Likewise.
29624         * misc/pwritev.c: Likewise.
29625         * misc/pwritev64.c: Likewise.
29626         * misc/readv.c: Likewise.
29627         * misc/reboot.c: Likewise.
29628         * misc/remap_file_pages.c: Likewise.
29629         * misc/removexattr.c: Likewise.
29630         * misc/revoke.c: Likewise.
29631         * misc/select.c: Likewise.
29632         * misc/setdomain.c: Likewise.
29633         * misc/setegid.c: Likewise.
29634         * misc/seteuid.c: Likewise.
29635         * misc/sethostid.c: Likewise.
29636         * misc/sethostname.c: Likewise.
29637         * misc/setregid.c: Likewise.
29638         * misc/setreuid.c: Likewise.
29639         * misc/setxattr.c: Likewise.
29640         * misc/sstk.c: Likewise.
29641         * misc/stty.c: Likewise.
29642         * misc/swapoff.c: Likewise.
29643         * misc/swapon.c: Likewise.
29644         * misc/sync.c: Likewise.
29645         * misc/syncfs.c: Likewise.
29646         * misc/syscall.c: Likewise.
29647         * misc/truncate.c: Likewise.
29648         * misc/ualarm.c: Likewise.
29649         * misc/usleep.c: Likewise.
29650         * misc/ustat.c: Likewise.
29651         * misc/utimes.c: Likewise.
29652         * misc/vhangup.c: Likewise.
29653         * misc/writev.c: Likewise.
29654         * posix/_exit.c: Likewise.
29655         * posix/alarm.c: Likewise.
29656         * posix/execve.c: Likewise.
29657         * posix/fexecve.c: Likewise.
29658         * posix/fork.c: Likewise.
29659         * posix/fpathconf.c: Likewise.
29660         * posix/getaddrinfo.c: Likewise.
29661         * posix/getegid.c: Likewise.
29662         * posix/geteuid.c: Likewise.
29663         * posix/getgid.c: Likewise.
29664         * posix/getgroups.c: Likewise.
29665         * posix/getlogin.c: Likewise.
29666         * posix/getlogin_r.c: Likewise.
29667         * posix/getpgid.c: Likewise.
29668         * posix/getpid.c: Likewise.
29669         * posix/getppid.c: Likewise.
29670         * posix/getresgid.c: Likewise.
29671         * posix/getresuid.c: Likewise.
29672         * posix/getsid.c: Likewise.
29673         * posix/getuid.c: Likewise.
29674         * posix/glob64.c: Likewise.
29675         * posix/nanosleep.c: Likewise.
29676         * posix/pathconf.c: Likewise.
29677         * posix/pause.c: Likewise.
29678         * posix/posix_madvise.c: Likewise.
29679         * posix/pread.c: Likewise.
29680         * posix/pread64.c: Likewise.
29681         * posix/pwrite.c: Likewise.
29682         * posix/pwrite64.c: Likewise.
29683         * posix/sched_getaffinity.c: Likewise.
29684         * posix/sched_getp.c: Likewise.
29685         * posix/sched_gets.c: Likewise.
29686         * posix/sched_primax.c: Likewise.
29687         * posix/sched_primin.c: Likewise.
29688         * posix/sched_rr_gi.c: Likewise.
29689         * posix/sched_setaffinity.c: Likewise.
29690         * posix/sched_setp.c: Likewise.
29691         * posix/sched_sets.c: Likewise.
29692         * posix/sched_yield.c: Likewise.
29693         * posix/setgid.c: Likewise.
29694         * posix/setlogin.c: Likewise.
29695         * posix/setpgid.c: Likewise.
29696         * posix/setresgid.c: Likewise.
29697         * posix/setresuid.c: Likewise.
29698         * posix/setsid.c: Likewise.
29699         * posix/setuid.c: Likewise.
29700         * posix/sleep.c: Likewise.
29701         * posix/spawni.c: Likewise.
29702         * posix/sysconf.c: Likewise.
29703         * posix/times.c: Likewise.
29704         * posix/wait.c: Likewise.
29705         * posix/wait3.c: Likewise.
29706         * posix/wait4.c: Likewise.
29707         * posix/waitpid.c: Likewise.
29708         * resolv/gai_sigqueue.c: Likewise.
29709         * resource/getpriority.c: Likewise.
29710         * resource/getrlimit.c: Likewise.
29711         * resource/getrusage.c: Likewise.
29712         * resource/nice.c: Likewise.
29713         * resource/setpriority.c: Likewise.
29714         * resource/setrlimit.c: Likewise.
29715         * resource/ulimit.c: Likewise.
29716         * rt/aio_cancel.c: Likewise.
29717         * rt/aio_fsync.c: Likewise.
29718         * rt/aio_read.c: Likewise.
29719         * rt/aio_sigqueue.c: Likewise.
29720         * rt/aio_suspend.c: Likewise.
29721         * rt/aio_write.c: Likewise.
29722         * rt/clock_getres.c: Likewise.
29723         * rt/clock_gettime.c: Likewise.
29724         * rt/clock_nanosleep.c: Likewise.
29725         * rt/clock_settime.c: Likewise.
29726         * rt/lio_listio.c: Likewise.
29727         * rt/mq_close.c: Likewise.
29728         * rt/mq_getattr.c: Likewise.
29729         * rt/mq_notify.c: Likewise.
29730         * rt/mq_open.c: Likewise.
29731         * rt/mq_receive.c: Likewise.
29732         * rt/mq_send.c: Likewise.
29733         * rt/mq_setattr.c: Likewise.
29734         * rt/mq_timedreceive.c: Likewise.
29735         * rt/mq_timedsend.c: Likewise.
29736         * rt/mq_unlink.c: Likewise.
29737         * rt/shm_open.c: Likewise.
29738         * rt/shm_unlink.c: Likewise.
29739         * rt/timer_create.c: Likewise.
29740         * rt/timer_delete.c: Likewise.
29741         * rt/timer_getoverr.c: Likewise.
29742         * rt/timer_gettime.c: Likewise.
29743         * rt/timer_settime.c: Likewise.
29744         * setjmp/__longjmp.c: Likewise.
29745         * setjmp/setjmp.c: Likewise.
29746         * signal/kill.c: Likewise.
29747         * signal/killpg.c: Likewise.
29748         * signal/raise.c: Likewise.
29749         * signal/sigaction.c: Likewise.
29750         * signal/sigaltstack.c: Likewise.
29751         * signal/sigblock.c: Likewise.
29752         * signal/sigignore.c: Likewise.
29753         * signal/sigintr.c: Likewise.
29754         * signal/signal.c: Likewise.
29755         * signal/sigpause.c: Likewise.
29756         * signal/sigpending.c: Likewise.
29757         * signal/sigqueue.c: Likewise.
29758         * signal/sigreturn.c: Likewise.
29759         * signal/sigset.c: Likewise.
29760         * signal/sigsetmask.c: Likewise.
29761         * signal/sigstack.c: Likewise.
29762         * signal/sigsuspend.c: Likewise.
29763         * signal/sigtimedwait.c: Likewise.
29764         * signal/sigvec.c: Likewise.
29765         * signal/sigwait.c: Likewise.
29766         * signal/sigwaitinfo.c: Likewise.
29767         * signal/sysv_signal.c: Likewise.
29768         * socket/accept.c: Likewise.
29769         * socket/accept4.c: Likewise.
29770         * socket/bind.c: Likewise.
29771         * socket/connect.c: Likewise.
29772         * socket/getpeername.c: Likewise.
29773         * socket/getsockname.c: Likewise.
29774         * socket/getsockopt.c: Likewise.
29775         * socket/isfdtype.c: Likewise.
29776         * socket/listen.c: Likewise.
29777         * socket/recv.c: Likewise.
29778         * socket/recvfrom.c: Likewise.
29779         * socket/recvmsg.c: Likewise.
29780         * socket/send.c: Likewise.
29781         * socket/sendmsg.c: Likewise.
29782         * socket/sendto.c: Likewise.
29783         * socket/setsockopt.c: Likewise.
29784         * socket/shutdown.c: Likewise.
29785         * socket/sockatmark.c: Likewise.
29786         * socket/socket.c: Likewise.
29787         * socket/socketpair.c: Likewise.
29788         * stdio-common/ctermid.c: Likewise.
29789         * stdio-common/cuserid.c: Likewise.
29790         * stdio-common/remove.c: Likewise.
29791         * stdio-common/rename.c: Likewise.
29792         * stdio-common/renameat.c: Likewise.
29793         * stdio-common/tempname.c: Likewise.
29794         * stdlib/getcontext.c: Likewise.
29795         * stdlib/makecontext.c: Likewise.
29796         * stdlib/setcontext.c: Likewise.
29797         * stdlib/swapcontext.c: Likewise.
29798         * stdlib/system.c: Likewise.
29799         * streams/fattach.c: Likewise.
29800         * streams/fdetach.c: Likewise.
29801         * streams/getmsg.c: Likewise.
29802         * streams/getpmsg.c: Likewise.
29803         * streams/putmsg.c: Likewise.
29804         * streams/putpmsg.c: Likewise.
29805         * sysdeps/unix/bsd/getpt.c: Likewise.
29806         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
29807         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
29808         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29810         Likewise.
29811         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
29812         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29813         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
29814         * sysvipc/msgctl.c: Likewise.
29815         * sysvipc/msgget.c: Likewise.
29816         * sysvipc/msgrcv.c: Likewise.
29817         * sysvipc/msgsnd.c: Likewise.
29818         * sysvipc/semctl.c: Likewise.
29819         * sysvipc/semget.c: Likewise.
29820         * sysvipc/semop.c: Likewise.
29821         * sysvipc/semtimedop.c: Likewise.
29822         * sysvipc/shmat.c: Likewise.
29823         * sysvipc/shmctl.c: Likewise.
29824         * sysvipc/shmdt.c: Likewise.
29825         * sysvipc/shmget.c: Likewise.
29826         * termios/tcdrain.c: Likewise.
29827         * termios/tcflow.c: Likewise.
29828         * termios/tcflush.c: Likewise.
29829         * termios/tcgetattr.c: Likewise.
29830         * termios/tcgetpgrp.c: Likewise.
29831         * termios/tcsendbrk.c: Likewise.
29832         * termios/tcsetattr.c: Likewise.
29833         * termios/tcsetpgrp.c: Likewise.
29834         * time/adjtime.c: Likewise.
29835         * time/clock.c: Likewise.
29836         * time/getitimer.c: Likewise.
29837         * time/gettimeofday.c: Likewise.
29838         * time/setitimer.c: Likewise.
29839         * time/settimeofday.c: Likewise.
29840         * time/stime.c: Likewise.
29841         * time/time.c: Likewise.
29843 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
29845         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
29846         /usr/old/bin.
29848         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
29849         instead of spaces.
29850         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
29852 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
29854         [BZ #14796]
29855         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
29856         FE_TONEAREST before applying Dekker multiplication and Knuth
29857         addition.  Clear inexact exceptions and check for exact zero
29858         results afterwards.
29859         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29860         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29861         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29862         * math/libm-test.inc (fma_test): Add more tests.
29863         (fma_test_towardzero): Likewise.
29864         (fma_test_downward): Likewise.
29865         (fma_test_upward): Likewise.
29866         * sysdeps/generic/math_private.h (default_libc_fesetround): New
29867         function.
29868         (libc_fesetround): New macro.
29869         (libc_fesetroundf): Likewise.
29870         (libc_fesetroundl): Likewise.
29871         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
29872         function.
29873         (libc_fesetround_387): Likewise.
29874         (libc_fesetroundf): New macro.
29875         (libc_fesetround): Likewise.
29876         (libc_fesetroundl): Likewise.
29877         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
29878         function.
29879         (libc_fesetroundf): New macro.
29880         (libc_fesetround): Likewise.
29881         (libc_fesetroundl): Likewise.
29882         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
29883         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
29884         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
29885         libm_hidden_ver.
29886         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
29887         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
29888         libm_hidden_def.
29889         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
29890         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
29891         libm_hidden_ver.
29892         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
29893         libm_hidden_def.
29895         [BZ #3439]
29896         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
29897         integer constant usable in #if and use that to give value to enum
29898         constant.
29899         (FE_DIVBYZERO): Likewise.
29900         (FE_UNDERFLOW): Likewise.
29901         (FE_OVERFLOW): Likewise.
29902         (FE_INVALID): Likewise.
29903         (FE_INVALID_SNAN): Likewise.
29904         (FE_INVALID_ISI): Likewise.
29905         (FE_INVALID_IDI): Likewise.
29906         (FE_INVALID_ZDZ): Likewise.
29907         (FE_INVALID_IMZ): Likewise.
29908         (FE_INVALID_COMPARE): Likewise.
29909         (FE_INVALID_SOFTWARE): Likewise.
29910         (FE_INVALID_SQRT): Likewise.
29911         (FE_INVALID_INTEGER_CONVERSION): Likewise.
29912         (FE_TONEAREST): Likewise.
29913         (FE_TOWARDZERO): Likewise.
29914         (FE_UPWARD): Likewise.
29915         (FE_DOWNWARD): Likewise.
29916         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
29917         (FE_DIVBYZERO): Likewise.
29918         (FE_OVERFLOW): Likewise.
29919         (FE_UNDERFLOW): Likewise.
29920         (FE_INEXACT): Likewise.
29921         (FE_TONEAREST): Likewise.
29922         (FE_DOWNWARD): Likewise.
29923         (FE_UPWARD): Likewise.
29924         (FE_TOWARDZERO): Likewise.
29925         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
29926         (FE_UNDERFLOW): Likewise.
29927         (FE_OVERFLOW): Likewise.
29928         (FE_DIVBYZERO): Likewise.
29929         (FE_INVALID): Likewise.
29930         (FE_TONEAREST): Likewise.
29931         (FE_TOWARDZERO): Likewise.
29932         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
29933         (FE_OVERFLOW): Likewise.
29934         (FE_UNDERFLOW): Likewise.
29935         (FE_DIVBYZERO): Likewise.
29936         (FE_INEXACT): Likewise.
29937         (FE_TONEAREST): Likewise.
29938         (FE_TOWARDZERO): Likewise.
29939         (FE_UPWARD): Likewise.
29940         (FE_DOWNWARD): Likewise.
29941         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
29942         (FE_DIVBYZERO): Likewise.
29943         (FE_OVERFLOW): Likewise.
29944         (FE_UNDERFLOW): Likewise.
29945         (FE_INEXACT): Likewise.
29946         (FE_TONEAREST): Likewise.
29947         (FE_DOWNWARD): Likewise.
29948         (FE_UPWARD): Likewise.
29949         (FE_TOWARDZERO): Likewise.
29951 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
29953         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
29955 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
29957         * scripts/cross-test-ssh.sh (command): Use newlines to separate
29958         commands.  Quote $PWD.
29959         (blacklist_exports): Don't use remove_newlines.  Replace "declare
29960         -x" by "export".
29961         (remove_newlines): Remove.
29963 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
29965         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
29966         * stdlib/stdlib.h (atof): Moved to ...
29967         * include/bits/stdlib-float.h: Here.  New file.
29968         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
29969         * stdlib/bits/stdlib-float.h: New file.
29970         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
29971         -mno-sse -mno-mmx.
29972         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
29973         <xmmintrin.h>.
29975 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
29977         * conform/conformtest.pl (@headers): Add fenv.h.
29978         * conform/data/fenv.h-data: New file.
29979         * include/fenv.h [_ISOMAC]: Disable all contents of file except
29980         include of <math/fenv.h>.
29982         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
29983         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
29984         && !UNIX98].  Enables tests for XOPEN2K8.
29985         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
29986         POSIX2008]: Likewise.
29988         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
29989         (struct rusage): Do not expect type or its members.
29991         [BZ #3439]
29992         * math/math.h (FP_NAN): Define macro to integer constant usable in
29993         #if and use that to give value to enum constant.
29994         (FP_INFINITE): Likewise.
29995         (FP_ZERO): Likewise.
29996         (FP_SUBNORMAL): Likewise.
29997         (FP_NORMAL): Likewise.
29999 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
30001         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30002         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30003         arguments.
30005 2012-11-02  Roland McGrath  <roland@hack.frob.com>
30007         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30008         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30009         autoconf-time if not.
30010         * configure.in: Remove AC_PREREQ.
30012 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30014         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30015         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30016         of the internal implementation.
30018 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
30020         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30021         except include of <misc/sys/syslog.h>.
30023 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30026         function returns with a NULL context exit with zero.
30028 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30030         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30032 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
30034         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30035         (run_program_cmd): This.
30036         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30037         (tst_langinfo): New variable.  Use it.
30039 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
30041         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30042         floating point opcodes.
30044 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30046         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30047         variable.
30049         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30051         * sysdeps/mach/hurd/powerpc: Remove directory.
30052         * sysdeps/mach/powerpc: Likewise.
30054 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30056         * scripts/check-local-headers.sh: Ignore c++ headers.
30058 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30060         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30061         __libc_cleanup_region_start argument.
30063 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
30065         [BZ #14784]
30066         [BZ #14785]
30067         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30068         x * y using scaling, not as x * y + z.
30069         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30070         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30071         * math/libm-test.inc (fma_test): Add more tests.
30072         (fma_test_towardzero): Likewise.
30073         (fma_test_downward): Likewise.
30074         (fma_test_upward): Likewise.
30076 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
30078         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30080 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30082         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30083         New variable.
30085 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
30087         * rt/tst-shm.c (worker): Correct checking for mmap failure.
30089 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30092         Fix sort order.
30093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30094         Likewise.
30096 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30099         Fix the order of the list for glibc 2.17.
30100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30101         Likewise.
30103 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
30105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30107 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
30109         [BZ #14610]
30110         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30111         for low part of x being zero before using __atanl (y).
30112         * math/libm-test.inc (atan2_test): Add another test.
30114         * manual/install.texi (Configuring and compiling): Document
30115         general use of test-wrapper and test-wrapper-env.
30116         * INSTALL: Regenerated.
30118         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30119         (__fma): Do not extract and scale down low bits on after-rounding
30120         systems when result rounded to normal precision would have normal
30121         exponent.
30122         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30123         (__fmal): Do not extract and scale down low bits on after-rounding
30124         systems when result rounded to normal precision would have normal
30125         exponent.
30126         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30127         (__fmal): Do not extract and scale down low bits on after-rounding
30128         systems when result rounded to normal precision would have normal
30129         exponent.
30130         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30131         macro.
30132         (fma_test): Add more tests.
30133         (fma_test_towardzero): Likewise.
30134         (fma_test_downward): Likewise.
30135         (fma_test_upward): Likewise.
30137 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
30139         * sysdeps/i386/tininess.h: Renamed to ...
30140         * sysdeps/x86/tininess.h: This.
30141         * sysdeps/x86_64/tininess.h: Removed.
30143 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30145         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30146         input.  Use $(build-program-cmd).
30147         ($(objpfx)tst-array1-static.out): Likewise.
30148         ($(objpfx)tst-array2.out): Likewise.
30149         ($(objpfx)tst-array3.out): Likewise.
30150         ($(objpfx)tst-array4.out): Likewise.
30151         ($(objpfx)tst-array5.out): Likewise.
30152         ($(objpfx)tst-array5-static.out): Likewise.
30154 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
30156         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30157         if defined.
30159         * nss/nsswitch.h (nss_interface_function): Provide new
30160         macro for use with NSS functions.
30161         * grp/initgroups.c: Use new macro.
30162         * nss/getXXbyYY.c: Likewise.
30163         * nss/getXXbyYY_r.c: Likewise.
30164         * nss/getXXent.c: Likewise.
30165         * nss/getXXent_r.c: Likewise.
30166         * sysdeps/posix/getaddrinfo.c: Likewise.
30168 2012-10-30  Andreas Jaeger  <aj@suse.de>
30170         * po/ru.po: Update Russion translation from translation project.
30172 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
30174         [BZ #14152]
30175         [BZ #14783]
30176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30177         result and shift together with sticky bit instead of replicating
30178         round-to-nearest rounding.
30179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30180         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30181         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
30182         missing underflow exceptions.
30183         (fma_test_towardzero): Add more tests.
30184         (fma_test_downward): Likewise.
30185         (fma_test_upward): Likewise.
30187         [BZ #14047]
30188         * sysdeps/generic/tininess.h: New file.
30189         * sysdeps/i386/tininess.h: Likewise.
30190         * sysdeps/sh/tininess.h: Likewise.
30191         * sysdeps/x86_64/tininess.h: Likewise.
30192         * stdlib/tst-strtod-underflow.c: Likewise.
30193         * stdlib/tst-tininess.c: Likewise.
30194         * stdlib/strtod_l.c: Include <tininess.h>.
30195         (round_and_return): Do not set errno for exact underflow cases.
30196         Force an underflow exception when setting errno for underflow.
30197         Determine underflow based on rounding to normal precision if
30198         TININESS_AFTER_ROUNDING.
30199         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30200         ERANGE for exact underflow cases.
30201         * stdlib/Makefile (tests): Add tst-tininess and
30202         tst-strtod-underflow.
30203         ($(objpfx)tst-tininess): Use $(link-libm).
30204         ($(objpfx)tst-strtod-underflow): Likewise.
30206 2012-10-30  Andreas Jaeger  <aj@suse.de>
30208         [BZ#14767]
30209         * elf/Makefile (tests): Remove conditional for have-initfini-array
30210         since this is now always required and the variable does not exist
30211         anymore.
30212         (tests-static): Likewise.
30213         (modules-names): Likewise.
30215         * po/eo.po: Add Esperanto translation from translation project.
30217         * elf/tst-array1.c (fini_array): Make writeable so that it can be
30218         merged with constructor/destructor.
30219         (init_array): Likewise.
30220         * elf/tst-array2dep.c (fini_array): Likewise.
30221         (init_array): Likewise.
30223 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
30225         * manual/message.texi: Delete @cartouche tags.
30227 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
30229         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
30230         EOPNOTSUPP.
30231         * sysdeps/mach/hurd/fsync.c: Likewise.
30233         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
30234         [_POSIX_REALTIME_SIGNALS]: Change condition to
30235         [_POSIX_REALTIME_SIGNALS > 0].
30237 2012-10-27  Andreas Jaeger  <aj@suse.de>
30239         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
30240         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
30241         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
30242         [__WORDSIZE != 64]: Likewise.
30244 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
30246         *  iconvdata/tst-table.sh: Remove ${SHELL}.
30247         *  iconvdata/tst-tables.sh: Likewise.
30249 2012-10-25  David S. Miller  <davem@davemloft.net>
30251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30252         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
30253         of strtoull.
30255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
30256         ifunc-impl-list.c
30257         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30258         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
30259         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
30260         file.
30262 2012-10-25  Roland McGrath  <roland@hack.frob.com>
30264         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30265         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
30266         __getdirentries.
30268 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30269             Jim Blandy  <jimb@codesourcery.com>
30271         * scripts/cross-test-ssh.sh: New file.
30272         * manual/install.texi (Configuring and compiling): Document use of
30273         cross-test-ssh.sh.
30274         * INSTALL: Regenerated.
30276 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
30278         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
30279         EOPNOTSUPP.
30281 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
30283         * Makeconfig (run-program-prefix): Fix comment.
30285 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30286             Jim Blandy  <jimb@codesourcery.com>
30288         * Makeconfig (test-wrapper): New variable,
30289         (test-wrapper-env): Likewise.
30290         [$(cross-compiling) = yes && $(test-wrapper) != ""]
30291         (run-built-tests): Define to yes.
30292         (run-program-prefix): Use $(test-wrapper).
30293         (built-program-cmd): Likewise.
30294         * Rules (make-test-out): Use $(test-wrapper-env) and
30295         $(host-built-program-cmd).
30296         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
30297         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
30298         tst-pathopt.sh.
30299         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
30300         $(test-wrapper-env) to tst-rtld-load-self.sh.
30301         ($(objpfx)order2.out): Use $(test-wrapper).
30302         ($(objpfx)tst-initorder.out): Likewise.
30303         ($(objpfx)tst-initorder2.out): Likewise.
30304         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
30305         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
30306         (test_wrapper_env): New variable.  Use it to run ld.so.
30307         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
30308         Use it to run ld.so.
30309         (test_wrapper_env): Likewise.
30310         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
30311         $(test-wrapper) to run-iconv-test.sh.
30312         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
30313         (ICONV): Use $test_wrapper.
30314         * posix/Makefile ($(objpfx)globtest.out): Pass
30315         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
30316         globtest.sh, not $(run-program-prefix).
30317         * posix/globtest.sh (run_via_rtld_prefix): New variable.
30318         (test_wrapper): Likewise.
30319         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
30320         set together with run_via_rtld_prefix.
30321         (run_program_prefix): Define in terms of test_wrapper and
30322         run_via_rtld_prefix.
30324 2012-10-24  Roland McGrath  <roland@hack.frob.com>
30326         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
30327         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
30328         Targets removed.
30330         [BZ #14743]
30331         * include/time.h: Remove librt_hidden_proto (clock_gettime).
30332         Declare __clock_getres, __clock_gettime, __clock_settime,
30333         __clock_nanosleep, and __clock_getcpuclockid.
30334         * rt/clock_gettime.c: Define __clock_gettime as an alias.
30335         Remove librt_hidden_def (clock_gettime).
30336         * sysdeps/unix/clock_gettime.c: Likewise.
30337         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
30338         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30339         * rt/clock_getres.c: Define __clock_getres as an alias.
30340         * sysdeps/posix/clock_getres.c: Likewise.
30341         * rt/clock_settime.c: Define __clock_settime as an alias.
30342         * sysdeps/unix/clock_settime.c: Likewise.
30343         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
30344         * sysdeps/unix/clock_nanosleep.c: Likewise.
30345         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30346         * rt/clock-compat.c: New file.
30347         * rt/Makefile (librt-routines): Add clock-compat and move
30348         $(clock-routines) to ...
30349         (routines): ... here, new variable.
30350         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
30351         Don't add get_clockfreq here.
30352         * rt/Versions (libc: GLIBC_2.17): New version set.
30353         Add clock_* symbols here.
30354         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
30355         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
30356         (GLIBC_2.17): Add clock_* symbols.
30357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30359         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30361         Likewise.
30362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30363         Likewise.
30364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30368         * NEWS: Mention the move.
30370         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
30371         Use __open, __read, __close rather than their public counterparts.
30372         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30373         (__get_clockfreq_via_cpuinfo): Likewise.
30374         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
30375         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
30377         * config.h.in (HAVE_IFUNC): New #undef.
30378         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
30379         was successful.
30380         * configure: Regenerated.
30382 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30384         * configure.in: Move READELF check to start of file.
30385         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
30386         libc_cv_asm_gnu_indirect_function in the process.
30387         * configure: Regenerated.
30389 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
30391         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
30392         send the output to /dev/null.
30393         (libc_cv_cc_with_libunwind): Likewise.
30394         (libc_cv_as_noexecstack): Likewise.
30395         * configure: Regenerate.
30397 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
30399         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
30401         * posix/globtest.sh (TMPDIR): Do not set.
30402         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
30403         (testout): Likewise.
30405 2012-10-24  Andreas Jaeger  <aj@suse.de>
30407         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
30408         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
30409         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
30410         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
30411         posix_fadvise64, posix_fallocate64.
30413         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
30414         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
30415         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
30416         Likewise.
30417         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
30418         Likewise.
30419         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
30421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
30422         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
30423         <bits/fcntl-linux.h>.
30424         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
30426         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
30427         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
30428         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
30429         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
30430         [__WORDSIZE != 64]: Likewise.
30432 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30434         * Makeconfig (run-built-tests): New variable.
30435         * Rules [$(cross-compiling) = yes]: Change condition to
30436         [$(run-built-tests) = no].
30437         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
30438         to [$(run-built-tests) = yes].
30439         * elf/Makefile [$(cross-compiling) = no]: Likewise
30440         * grp/Makefile [$(cross-compiling) = no]: Likewise.
30441         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
30442         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
30443         * intl/Makefile [$(cross-compiling) = no]: Likewise.
30444         * io/Makefile [$(cross-compiling) = no]: Likewise.
30445         * libio/Makefile [$(cross-compiling) = no]: Likewise.
30446         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
30447         * misc/Makefile [$(cross-compiling) = no]: Likewise.
30448         * posix/Makefile [$(cross-compiling) = no]: Likewise.
30449         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
30450         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
30451         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
30452         * string/Makefile [$(cross-compiling) = no]: Likewise.
30454         * posix/Makefile ($(objpfx)globtest.out): Pass
30455         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
30456         $(rtld-installed-name).
30457         * posix/globtest.sh (elf_objpfx): Remove variable.
30458         (rtld_installed_name): Likewise.
30459         (library_path): Likewise.
30460         (run_program_prefix): New variable.  Use for running globtest
30461         binary.
30463 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
30464             Joseph Myers  <joseph@codesourcery.com>
30466         * Makeconfig (host-built-program-cmd): New variable.
30467         * elf/Makefile (tst-stackguard1-ARGS): Use
30468         $(host-built-program-cmd).
30469         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
30470         (tst-spawn-ARGS): Likewise.
30471         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
30473 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
30474             Jim Blandy  <jimb@codesourcery.com>
30476         * Makeconfig (run-via-rtld-prefix): New variable.
30477         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
30478         (built-program-cmd): Likewise.
30480 2012-10-22  Andreas Jaeger  <aj@suse.de>
30482         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
30483         __O_RSYNC if it exists, otherwise to O_SYNC.
30485 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
30486             Joseph Myers  <joseph@codesourcery.com>
30488         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
30489         /dev/null.
30490         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
30491         from /dev/null
30492         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
30493         /dev/null.
30495 2012-10-22  Andreas Jaeger  <aj@suse.de>
30497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
30498         Define always.
30499         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
30501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30502         bits/fcntl-linux.h.
30504         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
30505         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
30507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
30508         to __O_LARGEFILE.
30509         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
30510         to __O_LARGEFILE.
30512 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
30513             Joseph Myers  <joseph@codesourcery.com>
30515         * config.make.in (NM): New variable.
30517 2012-10-21  Andreas Jaeger  <aj@suse.de>
30519         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
30520         definitions and declarations that are provided by
30521         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30523 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30525         [BZ #14683]
30526         * elf/Makefile (tests-static): Add tst-leaks1-static.
30527         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
30528         ($(objpfx)tst-leaks1-static): New rule.
30529         ($(objpfx)tst-leaks1-static-mem): Likewise.
30530         (tst-leaks1-static-ENV): New macro.
30531         * elf/dl-open.c (dl_open_worker): Check the main application
30532         only if SHARED is defined.
30533         * elf/tst-leaks1-static.c: New file.
30535 2012-10-20  Andreas Jaeger  <aj@suse.de>
30537         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
30538         generic values for Linux.
30539         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
30540         and declarations that are provided by <bits/fcntl-linux.h> and
30541         include <bits/fcntl-linux.h>.
30542         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30545 2012-10-20  Roland McGrath  <roland@hack.frob.com>
30547         * io/fcntl.h: Move include of <bits/types.h> to the top and
30548         include it unconditionally.
30550 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
30552         * wcsmbs/Makefile (tests-ifunc): New variable.
30553         (tests): Add $(tests-ifunc).
30554         * wcsmbs/test-wcschr-ifunc.c: New file.
30555         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30556         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30557         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30558         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30559         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30561         * string/Makefile (tests-ifunc): New variable.
30562         (tests): Add $(tests-ifunc).
30563         * string/test-memccpy.c (TEST_NAME): New macro.
30564         * string/test-memchr.c (TEST_NAME): Likewise.
30565         * string/test-memcmp.c (TEST_NAME): Likewise.
30566         * string/test-memcpy.c (TEST_NAME): Likewise.
30567         * string/test-memmem.c (TEST_NAME): Likewise.
30568         * string/test-memmove.c (TEST_NAME): Likewise.
30569         * string/test-memset.c (TEST_NAME): Likewise.
30570         * string/test-rawmemchr.c (TEST_NAME): Likewise.
30571         * string/test-stpcpy.c (TEST_NAME): Likewise.
30572         * string/test-stpncpy.c (TEST_NAME): Likewise.
30573         * string/test-strcasecmp.c (TEST_NAME): Likewise.
30574         * string/test-strcasestr.c (TEST_NAME): Likewise.
30575         * string/test-strcat.c (TEST_NAME): Likewise.
30576         * string/test-strchr.c (TEST_NAME): Likewise.
30577         * string/test-strcmp.c(TEST_NAME): Likewise.
30578         * string/test-strcpy.c (TEST_NAME): Likewise.
30579         * string/test-strcspn.c (TEST_NAME): Likewise.
30580         * string/test-strlen.c (TEST_NAME): Likewise.
30581         * string/test-strncasecmp.c (TEST_NAME): Likewise.
30582         * string/test-strncmp.c (TEST_NAME): Likewise.
30583         * string/test-strncpy.c (TEST_NAME): Likewise.
30584         * string/test-strnlen.c (TEST_NAME): Likewise.
30585         * string/test-strpbrk.c (TEST_NAME): Likewise.
30586         * string/test-strrchr.c (TEST_NAME): Likewise.
30587         * string/test-strspn.c (TEST_NAME): Likewise.
30588         * string/test-strstr.c (TEST_NAME): Likewise.
30589         * string/test-bcopy-ifunc.c: New file.
30590         * string/test-bzero-ifunc.c: Likewise.
30591         * string/test-memccpy-ifunc.c: Likewise.
30592         * string/test-memchr-ifunc.c: Likewise.
30593         * string/test-memcmp-ifunc.c: Likewise.
30594         * string/test-memcpy-ifunc.c: Likewise.
30595         * string/test-memmem-ifunc.c: Likewise.
30596         * string/test-memmove-ifunc.c: Likewise.
30597         * string/test-mempcpy-ifunc.c: Likewise.
30598         * string/test-memset-ifunc.c: Likewise.
30599         * string/test-rawmemchr-ifunc.c: Likewise.
30600         * string/test-stpcpy-ifunc.c: Likewise.
30601         * string/test-stpncpy-ifunc.c: Likewise.
30602         * string/test-strcasecmp-ifunc.c: Likewise.
30603         * string/test-strcasestr-ifunc.c: Likewise.
30604         * string/test-strcat-ifunc.c: Likewise.
30605         * string/test-strchr-ifunc.c: Likewise.
30606         * string/test-strchrnul-ifunc.c: Likewise.
30607         * string/test-strcmp-ifunc.c: Likewise.
30608         * string/test-strcpy-ifunc.c: Likewise.
30609         * string/test-strcspn-ifunc.c: Likewise.
30610         * string/test-strlen-ifunc.c: Likewise.
30611         * string/test-strncasecmp-ifunc.c: Likewise.
30612         * string/test-strncat-ifunc.c: Likewise.
30613         * string/test-strncmp-ifunc.c: Likewise.
30614         * string/test-strncpy-ifunc.c: Likewise.
30615         * string/test-strnlen-ifunc.c: Likewise.
30616         * string/test-strpbrk-ifunc.c: Likewise.
30617         * string/test-strrchr-ifunc.c: Likewise.
30618         * string/test-strspn-ifunc.c: Likewise.
30619         * string/test-strstr-ifunc.c: Likewise.
30621         * debug/Makefile (tests-ifunc): New variable.
30622         (tests): Add $(tests-ifunc).
30623         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
30624         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
30625         * debug/test-stpcpy_chk-ifunc.c: New file.
30626         * debug/test-strcpy_chk-ifunc.c: Likewise.
30628 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30630         [BZ #13601]
30631         * elf/dl-load.c (open_verify): Retry read if the entire ELF
30632         header is not read in.
30634 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
30636         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
30637         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
30638         directly.  Pass built executable to script as
30639         $(built-program-cmd).
30640         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
30641         $testprogram without using LD_LIBRARY_PATH and $ldso.
30643         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
30644         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
30645         $(rtld-installed-name).
30646         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
30647         (rtld_installed_name): Likewise.
30648         (library_path): Likewise.
30649         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
30650         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
30651         $(run-program-prefix) to tst-tables.sh.
30652         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
30653         it to run tst-table-from and tst-table-to.
30654         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
30655         Pass it to tst-table.sh.
30656         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
30657         $(run-program-prefix) to tst-gettext.sh.
30658         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
30659         tst-translit.sh.
30660         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
30661         tst-gettext2.sh.
30662         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
30663         to run tst-gettext.
30664         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
30665         to run tst-gettext2.
30666         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
30667         to run tst-translit.
30668         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
30669         $(run-program-prefix) to tst-mtrace.sh.
30670         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
30671         to run tst-mtrace.
30672         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
30673         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
30674         $(rtld-installed-name).
30675         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
30676         (rtld_installed_name): Likewise.
30677         (run_program_prefix): New variable.  Use it to run wordexp-test.
30679         * Makeconfig (ARCH): Remove all definitions.
30680         (machine): Likewise.
30681         [ARCH]: Remove conditional code.
30682         [!objdir]: Give error.
30683         [!objdir] (objpfx): Remove.
30684         [!objdir] (common-objpfx): Likewise.
30685         [!objdir] (common-objdir): Likewise.
30686         * configure.in (config_makefile): Remove.  Hardcode Makefile in
30687         AC_CONFIG_FILES call.
30688         * configure: Regenerated.
30690         [BZ #13888]
30691         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
30692         or TMPDIR.
30693         (testout): Likewise.
30695         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
30696         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
30697         $(rtld-installed-name).
30698         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
30699         (rtld_installed_name): Likwise.
30700         (runit): Remove function.
30701         (run_getconf): New variable,  Use it for running getconf binary.
30703 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
30705         [BZ #14716]
30706         * string/test-memmem.c (check_result): New function.
30707         (do_one_test): Use it.
30708         (check1): New function.
30709         (test_main): Use it.
30711 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
30713         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
30715 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
30717         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
30718         (_G_LSEEK64): Likewise.
30719         (_G_MMAP64): Likewise.
30720         (_G_FSTAT64): Likewise.
30721         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
30722         (_G_LSEEK64): Likewise.
30723         (_G_MMAP64): Likewise.
30724         (_G_FSTAT64): Likewise.
30725         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
30726         unconditional.  Call __mmap64 directly.
30727         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
30728         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
30729         __lseek64 directly.
30730         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
30731         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
30732         __mmap64 directly.
30733         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
30734         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30735         __lseek64 directly.
30736         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
30737         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
30738         __lseek64 directly.
30739         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
30740         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
30741         __lseek64 directly.
30742         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
30743         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
30744         __fxstat64 directly.
30745         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
30746         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
30747         unconditional.
30748         (freopen64) [!_G_OPEN64]: Remove conditional code.
30749         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
30750         unconditional.
30751         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
30752         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
30753         unconditional.
30754         (ftello64) [!_G_LSEEK64]: Remove conditional code.
30755         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
30756         unconditional.
30757         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30758         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
30759         unconditional.
30760         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
30761         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
30762         unconditional.
30763         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30764         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
30765         unconditional.
30766         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
30767         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
30768         unconditional.
30769         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
30771 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30773         [BZ #12140]
30774         * manual/memory.texi (Malloc Tunable Parameters): Add note
30775         about free list pointers overwriting some perturb bytes.
30776         Wording suggested by Roland McGrath.
30778 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
30780         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
30781         (lgamma_test): Likewise.
30782         (tgamma_test): Likewise.
30784 2012-10-16  Florian Weimer  <fweimer@redhat.com>
30786         [BZ #14700]
30787         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
30788         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
30790 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
30792         * NEWS: Mention BZ #14716.
30793         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
30794         when removing AVAILABLE1_USES_J macro.
30796 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
30798         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
30799         (__bswap_64): __uint64_t for unsigned 64-bit int.
30801 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
30803         * include/string.h (memmem): Declare libc hidden alias.
30804         * string/memmem.c (memmem): Define libc hidden alias.
30805         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
30806         __read, __close instead of open, read, close.
30808 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
30810         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
30811         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
30812         global and hidden.
30813         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
30814         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
30815         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
30816         Likewise.
30817         (__rawmemchr_sse2): Likewise.
30818         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
30819         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
30820         (__strchr_sse2): Likewise.
30821         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
30822         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
30823         (__strcasecmp_sse2): Likewise.
30824         (__strncasecmp_sse2): Likewise.
30825         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
30826         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
30827         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
30828         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
30829         (__strrchr_sse2): Likewise.
30830         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
30831         ifunc-impl-list.c.
30832         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30833         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30834         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30835         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30836         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30837         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30838         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30839         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30840         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
30841         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
30842         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
30843         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
30844         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
30845         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30846         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30847         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30848         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30849         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30850         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
30851         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
30852         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
30853         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
30854         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
30855         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30856         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
30857         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30858         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30859         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30860         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30861         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30863         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
30864         global and hidden.
30865         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
30866         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
30867         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
30868         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
30869         Likewise.
30870         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
30871         Likewise.
30872         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
30873         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
30874         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
30875         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
30876         ifunc-impl-list.c.
30877         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30878         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30879         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30880         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30881         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30882         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30883         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30884         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30885         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30886         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30887         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30888         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30889         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30890         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
30891         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
30892         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30893         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
30894         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
30895         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30896         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30897         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30898         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30899         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30900         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30901         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30902         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
30903         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
30904         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
30905         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
30906         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30907         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
30908         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30909         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30910         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
30911         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30912         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30913         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30914         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30915         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30916         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30917         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
30919         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
30920         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
30921         * include/ifunc-impl-list.h: New file.
30922         * misc/ifunc-impl-list.c: Likewise.
30923         * misc/Makefile (routines): Add ifunc-impl-list.
30924         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
30925         * string/test-string.h: Include <ifunc-impl-list.h>.
30926         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
30927         TEST_NAME]: New variables.
30928         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
30929         are defined.
30930         (test_init): Call __libc_ifunc_impl_list to initialize
30931         func_list if TEST_IFUNC and TEST_NAME are defined.
30933         * string/Makefile (strop-tests): Add bcopy and bzero.
30934         * string/test-bcopy.c: New file.
30935         * string/test-bzero.c: Likewise.
30936         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
30937         defined.
30938         * string/test-memset.c: Support bzero test if TEST_BZERO is
30939         defined.
30940         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
30941         __libc_memmove.
30942         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
30943         __libc_memset.
30944         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
30945         of memset.
30947 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
30949         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
30950         * configure: Regenerated.
30952         * Makeconfig (+link-static-before-libc): Don't include
30953         $(link-static-libc).
30955         * libio/libio.h (_IO_pos_t): Remove.
30957 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30959         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
30960         McGrath.
30962 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30964         * crypt/crypt-entry.c: Include fips-private.h.
30965         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
30966         * crypt/md5c-test.c (main): Tolerate disabled MD5.
30967         * sysdeps/unix/sysv/linux/fips-private.h: New file.
30968         * sysdeps/generic/fips-private.h: New file, dummy fallback.
30970 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
30972         * crypt/crypt-private.h: Include stdbool.h.
30973         (_ufc_setup_salt_r): Return bool.
30974         * crypt/crypt-entry.c: Include errno.h.
30975         (__crypt_r): Return NULL with EINVAL for bad salt.
30976         * crypt/crypt_util.c (bad_for_salt): New.
30977         (_ufc_setup_salt_r): Check that salt is long enough and within
30978         the specified alphabet.
30979         * crypt/badsalttest.c: New file.
30980         * crypt/Makefile (tests): Add it.
30981         ($(objpfx)badsalttest): New.
30983 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
30985         * NEWS: Add entry for BZ #14602.
30987 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
30989         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
30990         type-generic.
30991         * math/libm-test.inc: Update comment listing what functions and
30992         macros are tested.
30993         (isgreater_test): New function.
30994         (isgreaterequal_test): Likewise.
30995         (isless_test): Likewise.
30996         (islessequal_test): Likewise.
30997         (islessgreater_test): Likewise.
30998         (isunordered_test): Likewise.
30999         (main): Call the new functions.
31001 2012-10-09  Roland McGrath  <roland@hack.frob.com>
31003         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31004         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31005         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31006         * sysdeps/i386/configure: Regenerated.
31007         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31008         * sysdeps/mach/configure: Regenerated.
31009         * sysdeps/mach/hurd/configure: Regenerated.
31010         * sysdeps/powerpc/configure: Regenerated.
31011         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31012         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31013         * sysdeps/s390/s390-32/configure: Regenerated.
31014         * sysdeps/s390/s390-64/configure: Regenerated.
31015         * sysdeps/sh/configure: Regenerated.
31016         * sysdeps/sparc/configure: Regenerated.
31017         * sysdeps/unix/sysv/linux/configure: Regenerated.
31018         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31019         * sysdeps/x86_64/configure: Regenerated.
31021         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31022         defined.  Don't check if MAP is NULL.
31024 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
31026         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31027         (_G_stat64): Likewise.
31028         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31029         (_G_stat64): Likewise.
31030         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31031         instead of struct _G_stat64.
31032         * libio/fileops.c (mmap_remap_check): Likewise.
31033         (decide_maybe_mmap): Likewise.
31034         (_IO_new_file_seekoff): Likewise.
31035         (_IO_file_stat): Likewise.
31036         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31037         _G_off64_t.
31038         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31039         instead of struct _G_stat64.
31040         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31042 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
31044         [BZ #14602]
31045         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31046         Replace with ...
31047         (CHECK_EOL): New macro.
31048         (two_way_short_needle): Check beginning of haystack for EOL.  Use
31049         CHECK_EOL.
31050         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31051         Replace with CHECK_EOL.
31052         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31053         Replace with CHECK_EOL.
31055 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
31057         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31058         type-generic.
31059         * math/libm-test.inc: Update comment listing what functions and
31060         macros are tested.
31061         (finite_test): New function.
31062         (isinf_test): Likewise.
31063         (isnan_test): Likewise.
31064         (fpclassify_test): Test subnormal input.
31065         (isfinite_test): Likewise.
31066         (isnormal_test): Likewise.
31067         (main): Call the new functions.
31069 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
31071         [BZ #14660]
31072         * Makerules (%.dynsym): Force C locale when running
31073         $(OBJDUMP) --dynamic-syms.
31075 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
31077         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31078         <stdint.h>.
31080 2012-10-06  David S. Miller  <davem@davemloft.net>
31082         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31083         upper 32-bits of the length value in %o2 since we use branch-on-register
31084         tests which consider the entire 64-bit register.
31086 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
31088         * string/test-strstr.c (check2): Add a test for page boundary.
31090 2012-10-05  David S. Miller  <davem@davemloft.net>
31092         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31093         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31094         file.
31095         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31096         sysdep_routines.
31097         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31098         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31099         and bzero when HWCAP_SPARC_CRYPTO is present.
31101 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
31103         [BZ #14602]
31104         * string/test-strstr.c (check2): New function.
31105         (test_main): Call check2.
31107         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31108         and bug-strchr1.
31109         * string/bug-strcasestr1.c (do_test): Moved to ...
31110         * string/test-strcasestr.c (check1): Here.  New function.
31111         (do_one_test): Break out result checking code into ...
31112         (check_result): This.  New function.
31113         (do_one_test): Call check_result.
31114         (test_main): Call check1.
31115         * string/bug-strchr1.c (do_test): Moved to ...
31116         * string/test-strchr.c (check1): Here.  New function.
31117         (do_one_test): Break out result checking code into ...
31118         (check_result): This.  New function.
31119         (do_one_test): Call check_result.
31120         (test_main): Call check1.
31121         * string/bug-strstr1.c (main): Moved to ...
31122         * string/test-strstr.c (check1): Here.  New function.
31123         (do_one_test): Break out result checking code into ...
31124         (check_result): This.  New function.
31125         (do_one_test): Call check_result.
31126         (test_main): Call check1.
31127         * string/bug-strcasestr1.c: Removed.
31128         * string/bug-strchr1.c: Likewise.
31129         * string/bug-strstr1.c: Likewise.
31131         * elf/Makefile (dl-routines): Add hwcaps.
31132         * elf/dl-support.c (_dl_important_hwcaps): Removed.
31133         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31134         (_dl_important_hwcaps): Moved to ...
31135         * elf/dl-hwcaps.c: Here.  New file.
31136         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31138         [BZ #14557]
31139         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31140         if IS_IN_rtld isn't defined.
31142         * elf/dl-support.c (_dl_sysinfo_map): New.
31143         Include "get-dynamic-info.h" and "setup-vdso.h".
31144         (_dl_non_dynamic_init): Call setup_vdso.
31145         * elf/dynamic-link.h: Don't include <assert.h>.
31146         (elf_get_dynamic_info): Moved to ...
31147         * elf/get-dynamic-info.h: Here.  New file.
31148         * elf/dynamic-link.h: Include "get-dynamic-info.h".
31149         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31150         * elf/setup-vdso.h: Here.  New file.
31151         * elf/rtld.c: Include "setup-vdso.h".
31152         (dl_main): Call setup_vdso.
31154 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
31156         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31157         creal in comment listing functions tested.  List finite, isinf,
31158         isnan, isless, islessequal, isgreater, isgreaterequal,
31159         islessgreater, isunordered, lgamma_r and pow10 as functions and
31160         macros not tested.  Mention which functions not tested are aliases
31161         for other functions.  Fix typo.  Note that signs of NaNs are not
31162         tested.
31164         * scripts/config.guess: Update from config.git.
31165         * scripts/config.sub: Likewise.
31167 2012-10-04  Roland McGrath  <roland@hack.frob.com>
31169         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31170         * misc/madvise.c (madvise): Renamed to __madvise.
31171         Make madvise a weak alias.
31172         * include/sys/mman.h: Declare __madvise.
31173         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31174         * sysdeps/unix/syscalls.list
31175         (madvise): Make __madvise the strong name, and madvise a weak alias.
31176         * sysdeps/unix/sysv/linux/syscalls.list
31177         (madvise, mmap): Remove redundant entries.
31178         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31179         * malloc/malloc.c (mtrim): Likewise.
31180         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31182 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31184         * sysdeps/mach/hurd/dl-cache.c: File removed.
31185         * config.h.in (USE_LDCONFIG): New #undef.
31186         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31187         * configure: Regenerated.
31188         * elf/Makefile (dl-routines): Add dl-cache only under
31189         [$(use-ldconfig) = yes].
31190         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31191         cache on [USE_LDCONFIG].
31192         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31193         [USE_LDCONFIG].
31194         * elf/rtld.c (dl_main): Likewise.
31196 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
31198         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31199         _SC_LEVEL4_CACHE_LINESIZE.
31201 2012-10-03  Roland McGrath  <roland@hack.frob.com>
31203         * sysdeps/unix/bsd/confstr.h: File removed.
31205 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
31207         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31208         sys/sdt-config.h.
31210 2012-10-02  Roland McGrath  <roland@hack.frob.com>
31212         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31213         Make 'mapoff' field ElfW(Off) rather than off_t.
31215 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
31217         * nscd/Makefile: Remove nscd-cflags and all its users.
31218         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31219         (CFLAGS-nonlib): Add compiler flags for nscd modules.
31221         [BZ #10631]
31222         * malloc.c (malloc_printerr): Clarify error message.
31224 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
31226         [BZ #14648]
31227         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31228         Set bit_FMA_Usable if FMA is supported.
31229         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
31230         macro.
31231         (bit_FMA4_Usable): Updated.
31232         (index_FMA_Usable): New macro.
31233         (CPUID_FMA): Likewise
31234         (HAS_FMA): Defined with bit_FMA_Usable.
31236 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31238         * bits/types.h (__swblk_t): Type removed.
31239         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
31240         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
31241         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31242         (__SWBLK_T_TYPE): Likewise.
31243         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31244         (__SWBLK_T_TYPE): Likewise.
31245         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31246         (__SWBLK_T_TYPE): Likewise.
31247         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31248         (__SWBLK_T_TYPE): Likewise.
31250 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
31251             Honza Horak <hhorak@redhat.com>
31253         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
31254         (xdr_mapname): Use YPMAXMAP as maxsize.
31255         (xdr_peername): Use YPMAXPEER as maxsize.
31256         (xdr_keydat): Use YPAXRECORD as maxsize.
31257         (xdr_valdat): Use YPMAXRECORD as maxsize.
31259 2012-10-01  Roland McGrath  <roland@hack.frob.com>
31261         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
31263         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
31264         * csu/init-first.c: ... here.
31265         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
31266         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31267         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
31268         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
31269         * sysdeps/i386/init-first.c: File removed.
31270         * sysdeps/sh/init-first.c: File removed.
31272 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
31274         [BZ #14645]
31275         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
31276         if x * y might underflow to zero and z is zero.
31277         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31278         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31279         * math/libm-test.inc (min_subnorm_value): New variable.
31280         (fma_test): Add more tests.
31281         (fma_test_towardzero): Likewise.
31282         (fma_test_downward): Likewise
31283         (fma_test_upward): Likewise.
31284         (initialize): Set min_subnorm_value.
31286 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
31288         [BZ #14638]
31289         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
31290         0 + 0.
31291         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
31292         mode for addition resulting in exact zero.
31293         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
31294         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
31295         exact 0 + 0.
31296         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31297         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31298         * math/libm-test.inc (fma_test): Add more tests.
31299         (fma_test_towardzero): New function.
31300         (fma_test_downward): Likewise.
31301         (fma_test_upward): Likewise.
31302         (main): Call the new functions.
31304 2012-09-28  David S. Miller  <davem@davemloft.net>
31306         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
31308 2012-09-28  Roland McGrath  <roland@hack.frob.com>
31310         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
31311         instead of SIGALRM.
31313         * sysdeps/gnu/_G_config.h: Moved to ...
31314         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
31315         * sysdeps/mach/hurd/_G_config.h: Moved to ...
31316         * sysdeps/generic/_G_config.h: ... here.
31318         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
31320         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
31322         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
31323         Conditionalize target on [libnss_test1.so-version].
31325         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
31327         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
31328         (elfobjdir): Move out of conditionals.
31330         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
31331         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
31332         (__nss_lookup_function): Conditionalize label remove_from_tree on
31333         [!DO_STATIC_NSS || SHARED], matching its only use.
31335 2012-09-28  David S. Miller  <davem@davemloft.net>
31337         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
31338         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
31339         file.
31340         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31341         sysdep_routines.
31342         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31343         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
31344         when HWCAP_SPARC_CRYPTO is present.
31346 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31348         * io/tst-mknodat.c: Create a FIFO instead of a socket.
31350 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
31352         [BZ #6530]
31353         * stdio-common/vfprintf.c (process_string_arg): Revert
31354         2000-07-22 change.
31356 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
31358         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
31359         for testcase.
31360         * stdio-common/tst-sprintf.c: Include <locale.h>
31361         (main): Test sprintf's handling of incomplete multibyte
31362         characters.
31364 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
31366         * elf/dl-runtime.c (VERSYMIDX): Removed.
31367         * elf/dl-version.c (VERSYMIDX): Likewise.
31368         * elf/do-rel.h (VERSYMIDX): Likewise.
31369         (VALIDX): Likewise.
31370         * elf/dynamic-link.h (VERSYMIDX): Likewise.
31371         * elf/rtld.c (VALIDX): Likewise.
31372         (ADDRIDX): Likewise.
31373         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
31374         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
31375         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
31376         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
31377         (VALIDX): Likewise.
31378         (ADDRIDX): Likewise.
31380 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31382         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
31384 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
31386         [BZ #11438]
31387         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
31388         to global scope.
31389         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
31390         addresses are in the same scope as 192.0.2/24.
31391         * posix/gai.conf: Document new scope table defaults.
31393 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31395         [BZ #5298]
31396         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
31397         for ftell.  Compute offsets from write pointers instead.
31398         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31400 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31402         [BZ #14543]
31403         * libio/Makefile (tests): New test case tst-fseek.
31404         * libio/tst-fseek.c: New test case to verify that fseek/ftell
31405         combination works in wide mode.
31406         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
31407         state when the external buffer state changes.
31409 2012-09-27  David S. Miller  <davem@davemloft.net>
31411         [BZ #14376]
31412         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
31413         pass reloc->r_addend in as the 'high' argument to
31414         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
31416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31418 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
31420         * rt/tst-aio2.c: Include <pthread.h>.
31421         * rt/tst-aio3.c: Likewise.
31423 2012-09-27  Steve Ellcey  <sellcey@mips.com>
31425         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
31427 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
31429         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
31430         contents on [SHARED].
31432 2012-09-26  Marek Polacek  <polacek@redhat.com>
31434         [BZ #14530]
31435         [BZ #13741]
31436         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
31437         for C++ and GCC <4.3 as well as for non GCC compilers.
31439 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31443 2012-09-25  Roland McGrath  <roland@hack.frob.com>
31445         * Makefile.in (all, install): Declare with .PHONY.
31446         Reported by Michael Hope <michael.hope@linaro.org>.
31448 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31450         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
31451         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
31452         system header.
31453         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
31454         Likewise.
31455         (sydep_routines): Add the new and the internal functions.
31456         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
31457         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
31458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
31459         (GLIBC_2.17): Add the new function.
31460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31461         (GLIBC_2.17): Likewise.
31462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
31463         (GLIBC_2.17): Likewise.
31464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
31465         (GLIBC_2.17): Likewise.
31466         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
31468 2012-09-25  Alan Modra  <amodra@gmail.com>
31470         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
31471         Add release barrier before setting once_control to say
31472         initialisation is done.  Add hints on lwarx.  Use macro in
31473         place of isync.
31474         (clear_once_control): Add release barrier.
31476 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31478         [BZ #13629]
31479         * math/s_clog.c (__clog): Handle more values close to |z| = 1
31480         specially.
31481         * math/s_clog10.c (__clog10): Likewise.
31482         * math/s_clog10f.c (__clog10f): Likewise.
31483         * math/s_clog10l.c (__clog10l): Likewise.
31484         * math/s_clogf.c (__clogf): Likewise.
31485         * math/s_clogl.c (__clogl): Likewise.
31486         * math/Makefile (libm-calls): Add x2y2m1.
31487         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
31488         (__x2y2m1): Likewise.
31489         (__x2y2m1l): Likewise.
31490         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
31491         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
31492         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
31493         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31494         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
31495         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
31496         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
31497         * sysdeps/i386/fpu/libm-test-ulps: Update.
31498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31500         [BZ #14621]
31501         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
31502         int as type of variable DEPTH.
31503         (glob): Use size_t instead of int as type of variables NEWCOUNT
31504         and OLD_PATHC.
31506 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31508         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
31509         Add s_sincosf-sse2.
31510         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
31511         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
31512         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
31513         macros for using routine as __sincosf_ia32.
31514         Use macro for function declaration and weak_alias.
31515         * sysdeps/i386/fpu/libm-test-ulps: Update.
31517         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
31518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31520         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
31521         subnormal argument.
31522         * math/s_cexpf.c (__cexpf): Likewise.
31523         * math/s_csinf.c (__csinf): Likewise.
31524         * math/s_csinhf.c (__csinhf): Likewise.
31525         * math/s_ctanf.c (__ctanf): Likewise.
31526         * math/s_ctanhf.c (__ctanhf): Likewise.
31527         * math/s_ccosh.c (__ccoshf): Likewise.
31528         * math/s_cexp.c (__cexpl): Likewise.
31529         * math/s_csin.c (__csin): Likewise.
31530         * math/s_csinh.c (__csinh): Likewise.
31531         * math/s_ctan.c (__ctan): Likewise.
31532         * math/s_ctanh.c (ctanh): Likewise.
31533         * math/s_ccoshl.c (__ccoshl): Likewise.
31534         * math/s_cexpl.c (__cexpl): Likewise.
31535         * math/s_csinl.c (__csinl): Likewise.
31536         * math/s_csinhl.c (__csinhl): Likewise.
31537         * math/s_ctanl.c (__ctanl): Likewise.
31538         * math/s_ctanhl.c (__ctanhl): Likewise.
31540 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
31542         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
31543         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
31544         (_IO_off_t): Define to __off_t, not _G_off_t.
31545         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
31546         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
31547         (_IO_wint_t): Define to wint_t, not _G_wint_t.
31548         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
31549         type of __dummy and __dummy2 fields.
31550         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
31551         (_G_ssize_t): Likewise.
31552         (_G_off_t): Likewise.
31553         (_G_pid_t): Likewise.
31554         (_G_uid_t): Likewise.
31555         (_G_wchar_t): Likewise.
31556         (_G_wint_t): Likewise.
31557         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
31558         (_G_ssize_t): Likewise.
31559         (_G_off_t): Likewise.
31560         (_G_pid_t): Likewise.
31561         (_G_uid_t): Likewise.
31562         (_G_wchar_t): Likewise.
31563         (_G_wint_t): Likewise.
31564         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
31565         (_G_ssize_t): Likewise.
31566         (_G_off_t): Likewise.
31567         (_G_pid_t): Likewise.
31568         (_G_uid_t): Likewise.
31569         (_G_wchar_t): Likewise.
31570         (_G_wint_t): Likewise.
31572 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31574         * malloc/arena.c: Include malloc-sysdep.h.
31575         (shrink_heap): Use check_may_shrink_heap to decide if madvise
31576         is sufficient to shrink the heap or an unmap is needed.
31577         * sysdeps/generic/malloc-sysdep.h: New file.  Define
31578         new function check_may_shrink_heap.
31579         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
31580         new function check_may_shrink_heap.
31582 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31584         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
31585         comments.
31587 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
31589         * catgets/test-gencat.sh: Add "set -e".
31590         * elf/tst-pathopt.sh: Likewise.
31591         * grp/tst_fgetgrent.sh: Likewise.
31592         * iconvdata/run-iconv-test.sh: Likewise.
31593         * intl/tst-gettext.sh: Likewise.
31594         * intl/tst-gettext2.sh: Likewise.
31595         * intl/tst-gettext4.sh: Likewise.
31596         * intl/tst-gettext6.sh: Likewise.
31597         * intl/tst-translit.sh: Likewise.
31598         * io/ftwtest-sh: Likewise.
31599         * libio/test-freopen.sh: Likewise.
31600         * malloc/tst-mtrace.sh: Likewise.
31601         * posix/globtest.sh: Likewise.
31602         * posix/tst-getconf.sh: Likewise.
31603         * posix/wordexp-tst.sh: Likewise.
31604         * stdio-common/tst-printf.sh: Likewise.
31605         * stdio-common/tst-unbputc.sh: Likewise.
31606         * stdlib/tst-fmtmsg.sh: Likewise.
31607         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31608         * catgets/Makefile: Do not specify -e option when running
31609         testsuite shell scripts.
31610         * elf/Makefile: Likewise.
31611         * grp/Makefile: Likewise.
31612         * iconvdata/Makefile: Likewise.
31613         * intl/Makefile: Likewise.
31614         * io/Makefile: Likewise.
31615         * libio/Makefile: Likewise.
31616         * malloc/Makefile: Likewise.
31617         * posix/Makefile: Likewise.
31618         * stdio-common/Makefile: Likewise.
31619         * stdlib/Makefile: Likewise.
31620         * sysdeps/x86_64/Makefile: Likewise.
31622         * io/ftwtest-sh: Add copyright header.
31623         * posix/globtest.sh: Likewise.
31624         * posix/tst-getconf.sh: Likewise.
31625         * posix/wordexp-tst.sh: Likewise.
31626         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
31628 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
31630         [BZ #13679]
31631         * Makeconfig (+link): Defined as $(+link-static) if
31632         $(build-shared) isn't yes.
31633         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
31634         isn't yes.
31635         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
31637         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
31639         [BZ #14562]
31640         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
31641         new chunk size with MALLOC_ALIGN_MASK.
31643 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
31645         [BZ #5044]
31646         * stdio-common/printf_fphex.c: Include <stdbool.h> and
31647         <rounding-mode.h>.
31648         (__printf_fphex): Determine rounding using get_rounding_mode and
31649         round_away.
31650         * stdio-common/tst-printf-round.c (struct hex_test): New
31651         structure.
31652         (hex_tests): New variable.
31653         (test_hex_in_one_mode): New function.
31654         (do_test): Also run tests for hex float output.
31656 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
31658         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31659         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31660         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
31661         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
31662         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
31663         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
31664         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31665         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
31667 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
31669         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
31670         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
31671         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
31672         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
31674 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
31676         [BZ #14579]
31677         * elf/rtld.c (dl_main): Limit the check for self loading to normal
31678         mode only.
31679         * elf/tst-rtld-load-self.sh: New test.
31680         * elf/Makefile: Run it.
31682 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
31684         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
31685         (tst-writev-ENV): Remove.
31686         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
31688 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
31690         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
31692 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
31694         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
31695         unconditional.
31696         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
31697         Likewise.
31698         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
31699         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
31700         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
31701         Likewise.
31703 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
31705         [BZ #14587]
31706         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
31707         * config.make.in (have-cpp-asm-debuginfo): Removed.
31708         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
31709         * configure: Regenerated.
31711 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
31713         [BZ #5044]
31714         * stdio-common/printf_fp.c: Include <stdbool.h> and
31715         <rounding-mode.h>.
31716         (___printf_fp): Determine rounding using get_rounding_mode and
31717         round_away.
31718         * stdio-common/tst-printf-round.c: New file.
31719         * stdio-common/Makefile (tests): Add tst-printf-round.
31720         (link-libm): New variable.
31721         ($(objpfx)tst-printf-round): Depend in $(link-libm).
31723 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
31725         [BZ #14576]
31726         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
31727         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
31728         Likewise.
31729         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
31730         Likewise.
31732 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
31734         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
31735         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31736         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31737         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
31739 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
31741         [BZ #14518]
31742         * include/rounding-mode.h: New file.
31743         * sysdeps/generic/get-rounding-mode.h: Likewise.
31744         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
31745         * stdlib/strtod_l.c: Include <rounding-mode.h>.
31746         (MAX_VALUE): New macro.
31747         (MIN_VALUE): Likewise.
31748         (overflow_value): New function.
31749         (underflow_value): Likewise.
31750         (round_and_return): Use overflow_value and underflow_value to
31751         determine return values in overflow and underflow cases.  Use
31752         round_away to determine rounding depending on rounding mode.
31753         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
31754         determine return values in overflow and underflow cases.
31755         * stdlib/tst-strtod-round.c: Include <fenv.h>.
31756         (struct test_results): New structure.
31757         (struct test): Use struct test_results to store expected results
31758         for all rounding modes.
31759         (TEST): Include expected results for all rounding modes.
31760         (test_in_one_mode): New function.
31761         (do_test): Use test_in_one_mode to compute and check results.
31762         Check results for all rounding modes.
31763         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
31764         $(link-libm).
31766 2012-12-09  Allan McRae  <allan@archlinux.org>
31768         * sysdeps/i386/fpu/libm-test-ulps: Update
31770 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
31772         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
31773         (_G_int32_t): Likewise.
31774         (_G_uint16_t): Likewise.
31775         (_G_uint32_t): Likewise.
31776         (_G_HAVE_BOOL): Likewise.
31777         (_G_HAVE_ATEXIT): Likewise.
31778         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31779         (_G_HAVE_IO_FILE_OPEN): Likewise.
31780         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
31781         (_G_int32_t): Likewise.
31782         (_G_uint16_t): Likewise.
31783         (_G_uint32_t): Likewise.
31784         (_G_HAVE_BOOL): Likewise.
31785         (_G_HAVE_ATEXIT): Likewise.
31786         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31787         (_G_HAVE_IO_FILE_OPEN): Likewise.
31788         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
31789         (_G_int32_t): Likewise.
31790         (_G_uint16_t): Likewise.
31791         (_G_uint32_t): Likewise.
31792         (_G_HAVE_BOOL): Likewise.
31793         (_G_HAVE_ATEXIT): Likewise.
31794         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
31795         (_G_HAVE_IO_FILE_OPEN): Likewise.
31797 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
31799         * csu/libc-tls.c: Update copyright years.
31801 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
31803         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
31804         [!_G_USING_THUNKS]: Remove conditional code.
31805         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
31806         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
31808         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
31809         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
31810         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31811         (_G_VTABLE_LABEL_PREFIX): Likewise.
31812         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31813         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31814         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31815         (_G_VTABLE_LABEL_PREFIX): Likewise.
31816         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31817         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
31818         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
31819         (_G_VTABLE_LABEL_PREFIX): Likewise.
31820         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
31822 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
31824         * libio/Makefile: Include ../Makeconfig before tests.
31825         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
31826         only if $(build-shared) is yes.
31828         * iconv/gconv_db.c: Update copyright years.
31830 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31832         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
31833         unwind info if defined PIC. Fix special cases description.
31834         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
31836         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
31837         DP_HI_MASK entry.
31838         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
31840 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
31842         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
31844         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
31845         is NULL.
31847         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
31848         (LDLIBS-tst-chk4): This.
31849         (LDFLAGS-tst-chk5): Renamed to ...
31850         (LDLIBS-tst-chk5): This.
31851         (LDFLAGS-tst-chk6): Renamed to ...
31852         (LDLIBS-tst-chk6): This.
31853         (LDFLAGS-tst-lfschk4): Renamed to ...
31854         (LDLIBS-tst-lfschk4): This.
31855         (LDFLAGS-tst-lfschk5): Renamed to ...
31856         (LDLIBS-tst-lfschk5): This.
31857         (LDFLAGS-tst-lfschk6): Renamed to ...
31858         (LDLIBS-tst-lfschk6): This.
31860         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
31861         on $(common-objpfx)soversions.mk.
31863 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
31865         [BZ #10014]
31866         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
31867         example host name.
31869 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31871         * malloc/arena.c (arena_get_retry): New function that gets
31872         another arena for the caller to try its request on.
31873         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
31874         current arena cannot fulfill the request.
31875         (__libc_memalign): Likewise.
31876         (__libc_memalign): Likewise.
31877         (__libc_pvalloc): Likewise.
31878         (__libc_calloc): Likewise.
31880 2012-09-05  John Tobey  <john.tobey@gmail.com>
31882         [BZ #13542]
31883         * manual/arith.texi (Operations on Complex): Fix description
31884         of carg branch cut.
31886 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31888         [BZ #10014]
31889         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
31890         host name.
31892         [BZ #10038]
31893         * manual/memory.texi (Memory): Make order of menu items match
31894         order of sections.
31896 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31898         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
31899         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
31900         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
31902 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31904         * csu/libc-tls.c (static_dtv): Renamed to ...
31905         (_dl_static_dtv): This.  Make it global.
31906         (_dl_initial_dtv): Removed.
31907         (__libc_setup_tls): Updated.
31908         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
31909         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
31910         DL_INITIAL_DTV.
31912 2012-09-06  Petr Machata  <pmachata@redhat.com>
31914         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
31915         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
31916         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
31917         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
31919 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31921         [BZ #14545]
31922         * csu/libc-tls.c (_dl_initial_dtv): New variable.
31923         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
31924         freeing dtv[-1].
31926 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
31928         [BZ #14544]
31929         * Makeconfig (link-static-before-libc): Replace $(+prector)
31930         with $(+prectorT).
31931         (link-static-after-libc): Replace $(+postctor) with
31932         $(+postctorT).
31933         (link-bounded): Replace $(+prector)/$(+postctor) with
31934         $(+prectorT)/$(+postctorT).
31935         (+prectorT): New macro.
31936         (+postctorT): Likewise.
31938 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
31940         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
31941         (round_str): Handle values above the maximum for IBM long double
31942         as inexact.
31943         * stdlib/tst-strtod-round.c (tests): Regenerated.
31945 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31947         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
31948         assembler flag.
31949         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
31950         zarch_nohighgprs around the zarch optimized routines.
31951         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
31952         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
31953         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
31954         for zarch.
31956 2012-09-05  David S. Miller  <davem@davemloft.net>
31958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31960         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
31961         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
31962         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
31963         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31964         entries.
31966 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31968         * malloc/arena.c: Fold copyright years.
31969         * malloc/mcheck.c, malloc/memusage.c: Likewise.
31971 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31973         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
31975 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31977         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
31979 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31981         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
31982         change internal state upon failure.
31984 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
31986         * malloc/mcheck.c (mcheck_check_all): Fix typo.
31987         * malloc/memusage.c (mmap): Likewise.
31988         (mmap64, mremap): Likewise.  Adjust name in comment.
31990 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31992         * libio/fileops.c: Fix typos in comments.
31993         * libio/oldfileops.c: Likewise.
31994         * libio/wfileops.c: Likewise.
31996 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31998         [BZ #1349]
31999         * malloc/Makefile (tests): Add tst-malloc-usable test case.
32000         (tst-malloc-usable-ENV): Set environment for test case.
32001         * malloc/hooks.c (malloc_check_get_size): New function to get
32002         requested size.
32003         * malloc/malloc.c (musable): Use malloc_check_get_size.
32004         * malloc/tst-malloc-usable.c: New test case.
32006 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32008         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32010 2012-09-05  Allan McRae  <allan@archlinux.org>
32012         [BZ #13966]
32013         * configure.in (CXX_SYSINCLUDES): Use compiler output to
32014         determine header location.
32015         * configure: Regenerated.
32017 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32019         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32020         float format.
32021         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32022         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32023         format.
32024         (test): Regenerate.
32026 2012-09-04  David S. Miller  <davem@davemloft.net>
32028         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32029         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32030         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32032 2012-09-04  Florian Weimer  <fweimer@redhat.com>
32034         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32035         failures.
32037         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32039 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
32041         [BZ #9914]
32042         * libio/iogetdelim.c: Include <limits.h>.
32043         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32044         + len + 1 would overflow.
32046 2012-09-03  Andreas Jaeger  <aj@suse.de>
32048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32049         * sysdeps/i386/fpu/libm-test-ulps: Update.
32051 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32053         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32054         Add s_sinf-sse2, s_conf-sse2.
32056         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32057         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32058         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32059         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32061         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32062         for using routine as __sinf_ia32.
32063         Use macro for function declaration and weak_alias.
32064         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32065         for using routine as __cosf_ia32.
32066         Use macro for function declaration and weak_alias.
32068         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32069         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32071         * sysdeps/x86_64/fpu/s_sinf.S: New file.
32072         * sysdeps/x86_64/fpu/s_cosf.S: New file.
32073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32075         * math/libm-test.inc (cos_test): Add more test cases.
32076         (sin_test): Likewise.
32077         (sincos_test): Likewise.
32079 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32081         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32082         (IFUNC_RESOLVE): Make pointers to the specialized implementations
32083         hidden.
32084         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32086 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
32088         [BZ #14538]
32089         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32090         first element of the GOT.
32091         (elf_machine_load_address): Return the difference between
32092         the runtime address of _DYNAMIC and elf_machine_dynamic ().
32094 2012-09-01  Allan McRae  <allan@archlinux.org>
32096         [BZ #13412]
32097         * configure.in (AWK): Require gawk version 3.0 or later.
32098         * configure: Regenerated.
32100 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
32102         * sysdeps/unix/sysv/linux/kernel-features.h
32103         (__ASSUME_POSIX_CPU_TIMERS): Remove.
32104         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32105         [__NR_clock_getres]: Make code unconditional.
32106         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32107         (clock_getcpuclockid): Remove code left unreachable by removal of
32108         conditionals.
32109         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32110         code unconditional.
32111         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32112         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32113         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32114         Make code unconditional.
32115         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32116         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32117         * sysdeps/unix/sysv/linux/clock_settime.c
32118         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32119         conditional code.
32120         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32121         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32123 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
32125         [BZ #14476]
32126         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32127         scripts/test-installation.pl.
32129         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32130         and $ld_so_version if it is set.
32132 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32134         [BZ #14516]
32135         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32136         failure if reading from procfs failed.
32137         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32139 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32141         * sysdeps/unix/sysv/linux/kernel-features.h
32142         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32143         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32144         Remove conditional code.
32145         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32146         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32147         Remove conditional code.
32148         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32149         * sysdeps/unix/sysv/linux/i386/fxstat.c
32150         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32151         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32152         * sysdeps/unix/sysv/linux/i386/fxstatat.c
32153         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32155         * sysdeps/unix/sysv/linux/i386/lxstat.c
32156         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32158         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32159         Remove conditional code.
32160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32161         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32162         Remove conditional code.
32163         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32164         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32165         <kernel-features.h>.
32166         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32167         Remove.
32168         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32169         Remove conditional code.
32170         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32171         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32172         Remove conditional.
32174 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
32176         [BZ #5400]
32177         * NEWS: Add fixed bug number.
32179 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
32181         [BZ #14519]
32182         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32183         underflowing exponent in case of negative sign.
32184         * stdlib/tst-strtod-round-data: Add more tests.
32185         * stdlib/tst-strtod-round.c (tests): Regenerated.
32187         [BZ #3479]
32188         * stdlib/strtod_l.c (NDIG): Remove.
32189         (HEXNDIG): Likewise.
32190         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32191         smallest representable value.
32192         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32193         lie within an exact representation of 1/2 ulp of the result.
32194         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32195         unconditionally.
32196         (TENS_P9_IDX): Define unconditionally.
32197         (TENS_P9_SIZE): Likewise.
32198         (TENS_P10_IDX): Likewise.
32199         (TENS_P10_SIZE): Likewise.
32200         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32201         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32202         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32203         entries for 10^2^13 and 10^2^14.
32204         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32205         (TENS_P13_IDX): Define.
32206         (TENS_P13_SIZE): Likewise.
32207         (TENS_P14_IDX): Likewise.
32208         (TENS_P14_SIZE): Likewise.
32209         (_fpioconst_pow10): Change array size to
32210         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
32211         unconditional.
32212         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32213         1024]: Add entries for 10^2^13 and 10^2^14.
32214         [LAST_POW10 > _LAST_POW10]: Remove #error.
32215         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32216         (_fpioconst_pow10): Change array size to
32217         FPIOCONST_POW10_ARRAY_SIZE.
32218         * stdlib/gen-fpioconst.c: New file.
32219         * stdlib/gen-tst-strtod-round.c: Likewise.
32220         * stdlib/tst-strtod-round-data: Likewise.
32221         * stdlib/tst-strtod-round.c: Likewise.
32222         * stdlib/Makefile (tests): Add tst-strtod-round.
32224         [BZ #14459]
32225         * stdlib/strtod_l.c: Include <stdint.h>.
32226         (NDEBUG): Do not define.
32227         (round_and_return): Change EXPONENT parameter to type intmax_t.
32228         Rearrange calculations to avoid internal overflow possibilities.
32229         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
32230         Rearrange calculations to avoid internal overflow possibilities.
32231         Assert that number fits inside MPNSIZE limbs.
32232         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
32233         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
32234         calculations and add assertions to avoid internal overflow
32235         possibilities.  Add casts to avoid signed/unsigned operations.
32236         * stdlib/tst-strtod-overflow.c: New file.
32237         * stdlib/Makefile (tests): Add tst-strtod-overflow.
32239 2012-08-25  Marek Polacek  <polacek@redhat.com>
32241         * time/time.h: Fix some typos in comments.
32243 2012-08-23  Roland McGrath  <roland@hack.frob.com>
32245         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
32246         * posix/tst-rfc3484-2.c: Likewise.
32247         * posix/tst-rfc3484-3.c: Likewise.
32249 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
32251         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
32252         (EF_ARM_ABI_FLOAT_HARD): Likewise.
32254 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
32256         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
32257         #include of fxstatat64.c.
32259 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32261         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
32262         * shadow/getspent_r.c: Likewise.
32263         * shadow/getspnam.c: Likewise.
32264         * shadow/getspnam_r.c: Likewise.
32265         * gshadow/getsgent.c: Likewise.
32266         * gshadow/getsgent_r.c: Likewise.
32267         * gshadow/getsgnam.c: Likewise.
32268         * gshadow/getsgnam_r.c: Likewise.
32269         * inet/getnetbyad.c: Likewise.
32270         * inet/getnetbyad_r.c: Likewise.
32271         * inet/getnetbynm.c: Likewise.
32272         * inet/getnetbynm_r.c: Likewise.
32273         * inet/getnetent.c: Likewise.
32274         * inet/getnetent_r.c: Likewise.
32275         * inet/getproto.c: Likewise.
32276         * inet/getproto_r.c: Likewise.
32277         * inet/getprtent.c: Likewise.
32278         * inet/getprtent_r.c: Likewise.
32279         * inet/getprtname.c: Likewise.
32280         * inet/getprtname_r.c: Likewise.
32281         * inet/getrpcbyname.c: Likewise.
32282         * inet/getrpcbyname_r.c: Likewise.
32283         * inet/getrpcbynumber.c: Likewise.
32284         * inet/getrpcbynumber_r.c: Likewise.
32285         * inet/getrpcent.c: Likewise.
32286         * inet/getrpcent_r.c: Likewise.
32287         * inet/getaliasent.c: Likewise.
32288         * inet/getaliasent_r.c: Likewise.
32289         * inet/getaliasname.c: Likewise.
32290         * inet/getaliasname_r.c: Likewise.
32291         * nscd/getgrgid_r.c: Likewise.
32292         * nscd/getgrnam_r.c: Likewise.
32293         * nscd/gethstbyad_r.c: Likewise.
32294         * nscd/gethstbynm3_r.c: Likewise.
32295         * nscd/getpwnam_r.c: Likewise.
32296         * nscd/getpwuid_r.c: Likewise.
32297         * nscd/getsrvbynm_r.c: Likewise.
32298         * nscd/getsrvbypt_r.c: Likewise.
32299         * nscd/gai.c: Likewise.
32301         * configure.in (build_nscd): New substituted variable, set
32302         by --disable-build-nscd and defaults to $use_nscd.
32303         * configure: Regenerated.
32304         * config.make.in (build-nscd): New substituted variable.
32305         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
32306         Change conditional to require [$(build-nscd) = yes] as well.
32307         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
32309         [BZ# 13696]
32310         * configure.in (use_nscd): New substituted variable, set by
32311         --disable-nscd.  If enabled, define USE_NSCD.
32312         * configure: Regenerated.
32313         * config.h.in: Add USE_NSCD.
32314         * config.make.in (use-nscd): New substituted variable.
32315         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
32316         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
32317         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
32318         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
32319         (CFLAGS-getgrnam_r.c): Likewise.
32320         (CFLAGS-initgroups.c): Likewise.
32321         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
32322         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
32323         Variables removed.
32324         * inet/getnetgrent_r.c
32325         (nscd_setnetgrent): New function, broken out of ...
32326         (setnetgrent): ... here.  Call it.
32327         (innetgr): Conditionalize nscd bits on [USE_NSCD].
32328         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
32329         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
32330         * nscd/Makefile (routines, aux): Move definitions after include of
32331         Makeconfig.  Conditionalize on [$(use-nscd) != no].
32332         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
32333         Conditionalize on [USE_NSCD].
32334         (is_nscd, nscd_init_cb): Likewise.
32335         (nss_load_library): Conditionalize init callback on [USE_NSCD].
32336         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
32337         * nss/nss_db/db-init.c: Likewise.
32338         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
32339         [USE_NSCD].
32340         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
32341         (make_request): Use it.
32342         (cache_valid_p): New function.
32343         (__check_pf): Use it.
32344         * NEWS: Add item for --disable-nscd.
32346 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
32348         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
32349         to support sed >= 4.2.1-20-ga9bf076.
32350         * configure: Regenerated.
32352 2012-08-22  Roland McGrath  <roland@hack.frob.com>
32354         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
32355         Conditionalize whole body on [IREL].
32357 2012-08-22  Jeff Law <law@redhat.com>
32359         [BZ #14505]
32360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
32361         if the family is PF_UNSPEC.
32363 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
32365         * Makerules (lib-version): Rename from V.
32366         (install-lib-nosubdir): Change V to lib-version.
32368 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
32370         [BZ #14252]
32371         * powerpc32/power6/wcschr.c: New file.
32372         * powerpc32/power6/wcscpy.c: New file.
32373         * powerpc32/power6/wcsrchr.c: New file.
32374         * powerpc64/power6/wcschr.c: New file.
32375         * powerpc64/power6/wcscpy.c: New file.
32376         * powerpc64/power6/wcsrchr.c: New file.
32378 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32380         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
32381         (two_way_short_needle): Use it.
32382         * string/strstr.c (AVAILABLE1_USES_J): Define.
32383         * string/strcasestr.c: Likewise.
32385         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
32386         array references.
32387         * string/strcasestr.c (TOLOWER): Make side-effect safe.
32389         [BZ #11607]
32390         * NEWS: Add an entry.
32391         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
32392         define their defaults.
32393         (two_way_short_needle): Detect end-of-string on-the-fly.
32394         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
32395         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
32396         * string/bug-strcasestr1.c: New test.
32397         * string/Makefile: Run it.
32399 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
32401         [BZ #11607]
32402         * string/str-two-way.h (two_way_short_needle): Optimize matching of
32403         the first character.
32405 2012-08-21  Roland McGrath  <roland@hack.frob.com>
32407         * csu/elf-init.c (__libc_csu_irel): Function removed.
32408         * csu/libc-start.c (apply_irel): New function.
32409         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
32411 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
32413         * sysdeps/unix/sysv/linux/kernel-features.h
32414         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
32415         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32416         <kernel-features.h>.
32417         [__NR_fadvise64_64]: Make code unconditional.
32418         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
32419         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32420         !__NR_fadvise64_64)]: Likewise.
32421         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
32422         !__NR_fadvise64_64))]: Likewise.
32423         [__NR_fadvise64]: Make code unconditional.
32424         [!__NR_fadvise64]: Remove conditional code.
32425         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
32426         <kernel-features.h>.
32427         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32428         unconditional.
32429         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32430         conditional code.
32431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
32432         not include <kernel-features.h>.
32433         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32434         unconditional.
32435         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32436         conditional code.
32437         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
32438         include <kernel-features.h>.
32439         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
32440         unconditional.
32441         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
32442         conditional code.
32444 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32446         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
32447         slight instruction rearrangements per scrollpipe analysis.
32448         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32450 2012-08-20  Roland McGrath  <roland@hack.frob.com>
32452         * manual/syslog.texi (syslog; vsyslog, closelog):
32453         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
32454         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
32456         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
32457         DSOCAPS to match condition on defining it.
32459 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
32461         * sysdeps/unix/sysv/linux/kernel-features.h
32462         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
32463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
32464         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32465         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
32467         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32468         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
32470         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
32471         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
32473         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
32474         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
32476         * sysdeps/unix/sysv/linux/kernel-features.h
32477         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
32478         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
32479         unconditional.
32480         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32481         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
32482         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32483         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32484         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
32485         Make code unconditional.
32486         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32487         (__mmap64) [!__NR_mmap2]: Likewise.
32488         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
32489         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
32490         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32491         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
32492         [__NR_mmap2]: Make code unconditional.
32493         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
32494         (__mmap64) [!__NR_mmap2]: Likewise.
32496 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32498         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
32500 2012-08-18  Andreas Jaeger  <aj@suse.de>
32502         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
32504 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32506         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
32507         * include/unistd.h (__have_sock_cloexec): Likewise.
32508         (__have_pipe2): Likewise.
32509         (__have_dup3): Likewise.
32511 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
32513         [BZ #9685]
32514         * include/unistd.h (__have_pipe2): Change define into an extern int.
32515         (__have_dup3): Likewise.
32516         * socket/have_sock_cloexec.c: Include fcntl.h.
32517         (__have_pipe2): New variable.
32518         (__have_dup3): Likewise.
32520 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
32522         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
32524 2012-08-17  Marek Polacek  <polacek@redhat.com>
32526         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
32527         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
32529 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32531         * configure.in: Add AC_SUBST for sysheaders.
32532         * configure: Regenerated.
32533         * config.make.in (sysheaders): New substituted variable.
32535         * sysdeps/unix/mkfifo.c: Moved ...
32536         * sysdeps/posix/mkfifo.c: ... here.
32537         * sysdeps/unix/mkfifoat.c: Moved ...
32538         * sysdeps/posix/mkfifoat.c: ... here.
32540         * sysdeps/unix/utime.c: Moved ...
32541         * sysdeps/posix/utime.c: ... here.
32543         * sysdeps/unix/time.c: Moved ...
32544         * sysdeps/posix/time.c: ... here.
32545         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
32546         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
32548         * sysdeps/unix/nice.c: Moved ...
32549         * sysdeps/posix/nice.c: ... here.
32551         * sysdeps/unix/alarm.c: Moved ...
32552         * sysdeps/posix/alarm.c: ... here.
32554         * intl/Makefile ($(codeset_mo)): Depend on the input file.
32556 2012-08-17  Jeff Law <law@redhat.com>
32558         * intl/Makefile (codeset_mo): New variable.
32559         ($(codeset_mo)): New target.
32560         (tst-codeset.out): Depend on that.  Remove explicit rule.
32561         (tst-gettext3.out, tst-gettext5.out): Likewise.
32562         (LOCPATH-ENV, tst-codeset-ENV): New variables.
32563         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
32564         * intl/tst-codeset.sh: Remove.
32565         * intl/tst-gettext3.sh: Likewise.
32566         * intl/tst-gettext5.sh: Likewise.
32568 2012-08-17  Roland McGrath  <roland@hack.frob.com>
32570         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
32571         * sysdeps/unix/syscalls.list: ... here.
32573         * sysdeps/posix/getaddrinfo.c
32574         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
32575         (gaiconf_init, gaiconf_reload): Use them.
32576         [!_STATBUF_ST_NSEC]
32577         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
32578         Define using time_t rather than struct timespec.
32580         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
32581         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
32582         Macros removed.
32583         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
32584         [!NO_THREADS].
32585         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
32586         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
32587         Likewise.
32589         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
32590         __libc_cleanup_push argument.
32592         * bits/param.h: New file.
32593         * misc/sys/param.h: New file.
32594         * include/sys/param.h: New file.
32595         * misc/Makefile (headers): Add bits/param.h.
32596         * sysdeps/generic/sys/param.h: File removed.
32597         * sysdeps/unix/sysv/linux/bits/param.h: New file.
32598         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
32599         * sysdeps/mach/hurd/bits/param.h: New file.
32600         * sysdeps/mach/hurd/sys/param.h: File removed.
32602         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
32603         last change.
32605         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
32606         [_IO_MTSAFE_IO].
32607         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
32608         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
32609         New macros.
32611         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
32612         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
32613         rather than -D_IO_MTSAFE_IO conditionally.
32614         * stdio-common/Makefile (CPPFLAGS): Likewise.
32615         * wcsmbs/Makefile (CPPFLAGS): Likewise.
32616         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
32617         Use $(libio-mtsafe).
32618         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
32619         of -D_IO_MTSAFE_IO.
32620         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
32621         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
32622         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
32623         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
32624         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
32625         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
32626         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
32627         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
32628         (CFLAGS-fread_u_chk.c): Likewise.
32629         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
32630         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
32631         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
32632         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
32633         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
32634         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
32635         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
32636         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
32637         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
32639         * libio/Makefile: Test [$(libc-reentrant) = yes]
32640         instead of [$(filter %REENTRANT, $(defines)) nonempty].
32642         * Makeconfig
32643         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
32644         * sysdeps/pthread/configure: File removed.
32645         * sysdeps/pthread/Makeconfig: New file.
32646         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
32647         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
32649 2012-08-16  Gary Benson  <gbenson@redhat.com>
32651         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
32652         unmapping the first object in a namespace.
32654 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32656         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
32657         (__internal_setnetgrent): ... this.  Add internal_function to
32658         definition.  Add libc_hidden_def.
32659         (setnetgrent): Update caller.
32660         (internal_endnetgrent): Renamed to ...
32661         (__internal_endnetgrent): ... this.  Add internal_function to
32662         definition.  Add libc_hidden_def.
32663         (endnetgrent): Update caller.
32664         (internal_getnetgrent_r): Renamed to ...
32665         (__internal_getnetgrent_r): ... this.  Add internal_function to
32666         definition.  Add libc_hidden_def.
32667         (__getnetgrent_r): Update caller.
32668         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
32670 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32672         * stdlib/longlong.h: Update from GCC.
32674 2012-08-16  Roland McGrath  <roland@hack.frob.com>
32676         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
32677         on _QL, which is set by umul_ppmm but never used.
32678         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
32679         variables, which are set by GMP macros but never used.
32680         * stdio-common/_itowa.c (_itowa): Likewise.
32681         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
32682         * stdlib/mod_1.c (mpn_mod_1): Likewise.
32684 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
32686         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
32687         struct La_sh_regs is not constant.
32688         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
32689         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
32690         and struct La_sparc64_regs are not constant.
32692 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
32694         * sysdeps/unix/sysv/linux/kernel-features.h
32695         (__ASSUME_POSIX_TIMERS): Remove.
32696         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32697         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32698         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
32699         Make code unconditional.
32700         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32701         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
32702         Make code unconditional.
32703         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32704         * sysdeps/unix/sysv/linux/clock_nanosleep.c
32705         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
32706         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32707         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
32708         Make code unconditional.
32709         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
32710         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
32711         (__libc_missing_posix_timers): Remove.
32713 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32715         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
32716         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
32718         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
32720         * elf/dl-sym.c: Include <stdlib.h>.
32722         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
32723         constants, which avoids warnings in 32-bit builds.
32725         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
32726         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
32728         * misc/lseek.c: File moved to ...
32729         * io/lseek.c: ... here.
32731         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
32733         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
32734         shifting LEN more than 31 bits at once.
32736 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32738         [BZ #14195]
32739         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
32740         segmentation fault for a case of two empty input strings.
32741         * string/test-strncasecmp.c (check1): Renamed to...
32742         (bz12205): ...this.
32743         (bz14195): Add new testcase for two empty input strings and N > 0.
32744         (test_main): Call new testcase, adapt for renamed function.
32746 2012-08-15  Andreas Jaeger  <aj@suse.de>
32748         [BZ #14090]
32749         * crypt/md5test2.c: New test, based on test supplied by Serge
32750         Belyshev <belyshev@depni.sinp.msu.ru>.
32751         * crypt/Makefile (xtests): Add md5test-giant..
32752         * crypt/Makefile ($(objpfx)md5test-giant): Add.
32754 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
32756         [BZ #14090]
32757         * crypt/md5.c (md5_process_block): Don't assume the buffer
32758         length is less than 2**32.
32759         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
32760         length is less than 2**64.
32762 2012-08-15  Roland McGrath  <roland@hack.frob.com>
32764         * string/str-two-way.h: Include <sys/param.h>.
32765         (MAX): Macro removed.
32767         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
32768         Move #define and #undef of memmove to just before and after
32769         including <string.h>.
32771         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
32772         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
32773         and after including <string.h>.  Move declarations of
32774         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
32775         to before #include "string/memmove.c".
32777         * include/dirent.h: Declare __getdirentries.
32779         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
32780         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
32782 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
32784         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
32785         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
32786         * sysdeps/i386/configure: Regenerated.
32787         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
32788         STABS_CURRENT_FILE, and STABS_FUN.
32789         (END): Remove call to STABS_FUN_END.
32790         (STABS_CURRENT_FILE1): Delete.
32791         (STABS_CURRENT_FILE): Likewise.
32792         (STABS_FUN): Likewise.
32793         (STABS_FUN_END): Likewise.
32794         (STABS_FUN2): Likewise.
32795         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
32796         * sysdeps/x86_64/configure: Regenerated.
32798 2012-08-14  Roland McGrath  <roland@hack.frob.com>
32800         * elf/dl-open.c: Include <atomic.h>.
32801         * elf/dl-lookup.c: Likewise.
32803 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
32805         * sysdeps/unix/sysv/linux/kernel-features.h
32806         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
32807         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
32808         unconditionally.
32809         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
32810         unconditionally.
32811         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
32812         condition on __ASSUME_CLONE_THREAD_FLAGS.
32814 2012-08-14  Andreas Jaeger  <aj@suse.de>
32816         * sysdeps/i386/fpu/libm-test-ulps: Update.
32818 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
32820         * include/atomic.h (atomic_exchange_and_add): Split into ...
32821         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
32822         New atomic macros.
32824 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
32826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32828 2012-08-13  Jeff Law <law@redhat.com>
32830         * manual/stdio.texi (snprintf): Clarify handling of the trailing
32831         null byte in the output string.
32833 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
32835         * sysdeps/unix/sysv/linux/kernel-features.h
32836         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
32837         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
32838         (__ASSUME_ARG_MAX_STACK_BASED): Define.
32839         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
32840         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
32841         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
32842         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
32844 2012-08-09  Jeff Law <law@redhat.com>
32846         [BZ #13939]
32847         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
32848         When avoid_arena is set, don't retry in the that arena.  Pick the
32849         next one, whatever it might be.
32850         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
32851         (arena_lock): Pass in new parameter to arena_get2.
32852         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
32853         arena_get2.
32854         (__libc_malloc): Unify retrying after main arena failure with
32855         __libc_memalign version.
32856         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
32858 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32860         [BZ #14166]
32861         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
32862         to __redirect_strstr.
32863         (__strstr_sse42): Use typeof __redirect_strstr.
32864         (__strstr_ia32): Likewise.
32865         (__libc_strstr): New prototype.
32866         (strstr): Renamed to ...
32867         (__libc_strstr): This.
32868         (strstr): New strong alias of __libc_strstr.
32869         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32870         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
32871         __redirect_time.
32872         Include <time.h>.
32873         (__libc_time): New prototype.
32874         (time_ifunc): Replace time with __libc_time.
32875         (time): New strong alias and hidden definition of __libc_time.
32876         (__GI_time): Remove strong alias.
32877         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
32878         Include <stddef.h>.
32879         (memmove): Redefined to __redirect_memmove.
32880         (__memmove_sse2): Use typeof __redirect_memmove.
32881         (__memmove_ssse3): Likewise.
32882         (__memmove_ssse3_back): Likewise.
32883         (__libc_memmove): New prototype.
32884         (memmove): Renamed to ...
32885         (__libc_memmove): This.
32886         (memmove): New strong alias of __libc_memmove.
32888 2012-08-08  Mark Salter  <msalter@redhat.com>
32890         * elf/elf.h
32891         (R_MN10300_TLS_GD): Define.
32892         (R_MN10300_TLS_LD): Likewise.
32893         (R_MN10300_TLS_LDO): Likewise.
32894         (R_MN10300_TLS_GOTIE): Likewise.
32895         (R_MN10300_TLS_IE): Likewise.
32896         (R_MN10300_TLS_LE): Likewise.
32897         (R_MN10300_TLS_DTPMOD): Likewise.
32898         (R_MN10300_TLS_DTPOFF): Likewise.
32899         (R_MN10300_TLS_TPOFF): Likewise.
32900         (R_MN10300_SYM_DIFF): Likewise.
32901         (R_MN10300_ALIGN): Likewise.
32902         (R_MN10300_NUM): Update.
32904 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
32906         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
32907         Remove.
32909 2012-08-08  Roland McGrath  <roland@hack.frob.com>
32911         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
32913         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
32914         sysdeps/unix -> sysdeps/posix move.
32915         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
32917 2012-08-07      Allan McRae     <allan@archlinux.org>
32919         [BZ #14303]
32920         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
32921         (SUNOS_CPP): Likewise.
32922         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
32923         not found.
32924         (open_input): Call CPP using execvp.
32926 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
32928         * sysdeps/unix/sysv/linux/kernel-features.h
32929         (__ASSUME_PROT_GROWSUPDOWN): Remove.
32930         (__ASSUME_NO_CLONE_DETACHED): Likewise.
32931         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
32932         (__ASSUME_WAITID_SYSCALL): Likewise.
32933         * sysdeps/unix/sysv/linux/dl-execstack.c
32934         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
32935         code unconditional.
32936         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
32937         conditional code.
32938         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
32939         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
32940         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
32941         code.
32942         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
32943         unconditional.
32944         [__ASSUME_WAITID_SYSCALL]: Likewise.
32945         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
32947 2012-08-07  Roland McGrath  <roland@hack.frob.com>
32949         * sysdeps/unix/closedir.c: Renamed to ...
32950         * sysdeps/posix/closedir.c: ... here.
32951         * sysdeps/unix/dirfd.c: Renamed to ...
32952         * sysdeps/posix/dirfd.c: ... here.
32953         * sysdeps/unix/dirstream.h: Renamed to ...
32954         * sysdeps/posix/dirstream.h: ... here.
32955         * sysdeps/unix/fdopendir.c: Renamed to ...
32956         * sysdeps/posix/fdopendir.c: ... here.
32957         * sysdeps/unix/opendir.c: Renamed to ...
32958         * sysdeps/posix/opendir.c: ... here.
32959         * sysdeps/unix/readdir.c: Renamed to ...
32960         * sysdeps/posix/readdir.c: ... here.
32961         * sysdeps/unix/readdir_r.c: Renamed to ...
32962         * sysdeps/posix/readdir_r.c: ... here.
32963         * sysdeps/unix/rewinddir.c: Renamed to ...
32964         * sysdeps/posix/rewinddir.c: ... here.
32965         * sysdeps/unix/seekdir.c: Renamed to ...
32966         * sysdeps/posix/seekdir.c: ... here.
32967         * sysdeps/unix/telldir.c: Renamed to ...
32968         * sysdeps/posix/telldir.c: ... here.
32969         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
32970         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
32971         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
32972         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
32974         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
32975         * bits/fcntl.h: ... here.
32977         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
32978         not 0.
32979         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
32980         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
32981         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
32982         (struct flock): Move l_start, l_len to the beginning.
32983         Use __pid_t for l_pid.
32984         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
32985         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
32986         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
32987         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
32988         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
32989         [__USE_LARGEFILE64] (struct flock64): New type.
32990         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
32992         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
32993         * bits/dirent.h: ... here.
32995         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
32996         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
32998 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
33000         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33001         Change from 2.6.0 to 2.6.16.
33002         * sysdeps/unix/sysv/linux/configure: Regenerated.
33003         * sysdeps/unix/sysv/linux/kernel-features.h
33004         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33005         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33006         version.
33007         (__ASSUME_UTIMES): Likewise.
33008         (__ASSUME_CLONE_STOPPED): Remove.
33009         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33010         architectures, not kernel version.
33011         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33012         (__ASSUME_NO_CLONE_DETACHED): Likewise.
33013         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33014         (__ASSUME_WAITID_SYSCALL): Likewise.
33015         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33016         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33017         * README: State 2.6.16 as minimum Linux kernel version.  Do not
33018         refer to older versions.
33020 2012-08-06  Roland McGrath  <roland@hack.frob.com>
33022         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33023         Define alphasort64 as an alias.
33024         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33025         Define versionsort64 as an alias.
33026         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33027         Define scandir64 as an alias.
33028         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33029         Define scandirat64 as an alias.
33030         * dirent/alphasort64.c (alphasort64):
33031         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33032         * dirent/versionsort64.c: Likewise.
33033         * dirent/scandir64.c: Likewise.
33034         * dirent/scandirat64.c: Likewise.
33035         * sysdeps/wordsize-64/alphasort.c: File removed.
33036         * sysdeps/wordsize-64/alphasort64.c: File removed.
33037         * sysdeps/wordsize-64/scandir.c: File removed.
33038         * sysdeps/wordsize-64/scandir64.c: File removed.
33039         * sysdeps/wordsize-64/scandirat.c: File removed.
33040         * sysdeps/wordsize-64/scandirat64.c: File removed.
33041         * sysdeps/wordsize-64/versionsort.c: File removed.
33042         * sysdeps/wordsize-64/versionsort64.c: File removed.
33043         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33044         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33045         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33046         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33047         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33048         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33049         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33050         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33052         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33053         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33054         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33055         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33056         [defined __arch64__ || defined __sparcv9]
33057         (__INO_T_MATCHES_INO64_T): New macro.
33058         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33059         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33060         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33061         * sysdeps/unix/sysv/linux/bits/dirent.h
33062         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33063         (_DIRENT_MATCHES_DIRENT64): New macro.
33065         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33066         Define lockf64 as an alias.
33067         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33068         Define fseeko64 as an alias.
33069         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33070         Define ftello64 as an alias.
33071         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33072         Define _IO_fgetpos64 and fgetpos64 as aliases.
33073         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33074         Define _IO_fsetpos64 and fsetpos64 as aliases.
33075         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33076         Conditionalize body on this.
33077         * libio/fseeko64.c: Likewise.
33078         * libio/ftello64.c: Likewise.
33079         * libio/iofgetpos64.c: Likewise.
33080         * libio/iofsetpos64.c: Likewise.
33081         * sysdeps/wordsize-64/lockf.c: File removed.
33082         * sysdeps/wordsize-64/lockf64.c: File removed.
33083         * sysdeps/wordsize-64/fseeko.c: File removed.
33084         * sysdeps/wordsize-64/fseeko64.c: File removed.
33085         * sysdeps/wordsize-64/ftello.c: File removed.
33086         * sysdeps/wordsize-64/ftello64.c: File removed.
33087         * sysdeps/wordsize-64/iofgetpos.c: File removed.
33088         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33089         * sysdeps/wordsize-64/iofsetpos.c: File removed.
33090         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33091         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33092         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33093         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33094         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33095         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33096         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33097         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33098         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33099         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33100         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33102         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33103         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33104         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33106         [defined __arch64__ || defined __sparcv9]
33107         (__OFF_T_MATCHES_OFF64_T): New macro.
33108         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33109         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33110         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33111         (__OFF_T_MATCHES_OFF64_T): New macro.
33113 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33115         * stdlib/secure-getenv.c (__secure_getenv): Replace
33116         GLIBC_2_16 with GLIBC_2_17.
33118 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
33120         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33121         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33123 2012-08-03  David S. Miller  <davem@davemloft.net>
33125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33127 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33129         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33130         Remove.
33131         (__ASSUME_CORRECT_SI_PID): Likewise.
33132         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33133         (__ASSUME_TMPFS_NAME): Likewise.
33134         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33135         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33136         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33137         (HAVE_AUX_SECURE): Make definition unconditional.
33138         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33139         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33141 2012-08-03  Roland McGrath  <roland@hack.frob.com>
33143         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33144         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33145         * sysdeps/mach/hurd/eloop-threshold.h: New file.
33146         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33147         __eloop_threshold instead of SYMLOOP_MAX.
33149         * sysdeps/generic/eloop-threshold.h: New file.
33150         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33151         of MAXSYMLINKS.
33152         * elf/chroot_canon.c (chroot_canon): Likewise.
33154 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
33156         [BZ #13717]
33157         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33158         Change to 2.6.0 everywhere.
33159         * sysdeps/unix/sysv/linux/configure: Regenerated.
33160         * sysdeps/unix/sysv/linux/kernel-features.h
33161         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33162         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33163         kernel versions.
33164         (__ASSUME_POSIX_TIMERS): Define unconditionally.
33165         (__ASSUME_FUTEX_REQUEUE): Remove.
33166         (__ASSUME_STATFS64): Define unconditionally.
33167         (__ASSUME_AT_SECURE): Likewise.
33168         (__ASSUME_CORRECT_SI_PID): Likewise.
33169         (__ASSUME_TGKILL): Define without depending on kernel version for
33170         i386.
33171         (__ASSUME_UTIMES): Likewise.
33172         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33173         kernel version.
33174         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33175         (__ASSUME_TMPFS_NAME): Likewise.
33176         * README: Update reference to Linux kernel versions.
33178 2012-08-02  Marek Polacek  <polacek@redhat.com>
33180         [BZ# 14150]
33181         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
33182         libc_cv_asm_type_prefix with %.
33183         * configure: Regenerated.
33184         * include/libc-symbols.h: Remove comment about
33185         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33186         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33187         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33188         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33189         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33190         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33191         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33192         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33193         * elf/tst-unique2mod1.c: Likewise.
33194         * elf/tst-unique1mod2.c: Likewise.
33195         * elf/tst-unique1mod1.c: Likewise.
33196         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33197         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33198         Replace ASM_TYPE_DIRECTIVE with .type.
33199         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33200         * sysdeps/i386/sysdep.h: Likewise.
33201         * sysdeps/x86_64/sysdep.h: Likewise.
33202         * sysdeps/sh/sysdep.h: Likewise.
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33204         Do not define ASM_TYPE_DIRECTIVE.
33205         * sysdeps/powerpc/sysdep.h: Likewise.
33206         * sysdeps/powerpc/powerpc32/sysdep.h:
33207         Replace ASM_TYPE_DIRECTIVE with .type.
33208         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33209         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33210         * sysdeps/i386/fpu/e_powf.S: Likewise.
33211         * sysdeps/i386/fpu/e_expl.S: Likewise.
33212         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33213         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33214         * sysdeps/i386/fpu/e_pow.S: Likewise.
33215         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33216         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33217         * sysdeps/i386/fpu/s_expm1.S: Likewise.
33218         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33219         * sysdeps/i386/fpu/e_log2.S: Likewise.
33220         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33221         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33222         * sysdeps/i386/fpu/e_powl.S: Likewise.
33223         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33224         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33225         * sysdeps/i386/fpu/e_logl.S: Likewise.
33226         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
33227         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
33228         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
33229         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33230         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33231         * sysdeps/i386/fpu/e_log.S: Likewise.
33232         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33233         * sysdeps/i386/fpu/e_logf.S: Likewise.
33234         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33235         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33236         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
33237         * sysdeps/i386/fpu/e_log10.S: Likewise.
33238         * sysdeps/i386/fpu/s_frexp.S: Likewise.
33239         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33240         * sysdeps/i386/fpu/s_asinh.S: Likewise.
33241         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
33242         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33243         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
33244         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
33245         * sysdeps/i386/i686/strtok.S: Likewise.
33246         * sysdeps/i386/i386-mcount.S: Likewise.
33247         * sysdeps/i386/strtok.S: Likewise.
33248         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
33249         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33250         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33251         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33252         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33253         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33254         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
33255         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
33256         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33257         * sysdeps/x86_64/_mcount.S: Likewise.
33258         * sysdeps/x86_64/strtok.S: Likewise.
33259         * sysdeps/sh/_mcount.S: Likewise.
33261 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33263         * libio/iofopen.c: Include <fcntl.h>.
33264         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
33265         (_IO_fopen64, fopen64): Define as aliases.
33266         * libio/iofopen64.c: Include <fcntl.h>.
33267         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
33268         Conditionalize body on this.
33269         * sysdeps/wordsize-64/iofopen.c: File removed.
33270         * sysdeps/wordsize-64/iofopen64.c: File removed.
33272 2012-08-01  Marek Polacek  <polacek@redhat.com>
33274         * libc/Makeconfig: Use elf in place of binfmt-subdir.
33275         Use dlfcn directly instead of a variable.
33276         (binfmt-subdir): Do not define.
33277         (dlfcn): Likewise.
33279 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
33281         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
33282         Remove all definitions.
33283         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
33284         <kernel-features.h>.
33285         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33286         (miss_F_GETOWN_EX): Remove all definitions.
33287         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
33288         macro definition.
33289         [!__ASSUME_FCNTL64]: Remove conditional code.
33290         [__ASSUME_FCNTL64]: Make code unconditional.
33291         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
33292         <kernel-features.h>.
33293         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
33294         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
33295         (lockf64) [__NR_fcntl64]: Make code unconditional.
33296         (lockf64) [__ASSUME_FCNTL64]: Likewise.
33298         * sysdeps/unix/sysv/linux/kernel-features.h
33299         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
33300         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
33301         Make code unconditional.
33302         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33303         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
33305         [__NR_vfork]: Make code unconditional.
33306         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33307         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
33309         [__NR_vfork]: Make code unconditional.
33310         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
33311         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
33313 2012-08-01  Roland McGrath  <roland@hack.frob.com>
33315         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
33316         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
33318         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33319         Define mkstemp64 as an alias.
33320         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33321         Define mkstemps64 as an alias.
33322         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33323         Define mkostemp64 as an alias.
33324         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
33325         Define mkostemps64 as an alias.
33326         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
33327         Conditionalize body on this.
33328         * misc/mkostemp64.c: Likewise.
33329         * misc/mkostemps64.c: Likewise.
33330         * misc/mkstemps64.c: Likewise.
33331         * sysdeps/wordsize-64/mkstemp64.c: File removed.
33332         * sysdeps/wordsize-64/mkostemp64.c: File removed.
33333         * sysdeps/wordsize-64/mkostemp.c: File removed.
33334         * sysdeps/wordsize-64/mkstemp.c: File removed.
33335         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
33336         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
33337         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
33338         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
33340         [BZ #14138]
33341         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
33342         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
33343         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
33344         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
33346         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
33347         compat_symbol macros from <shlib-compat.h> rather than the underlying
33348         default_symbol_version and symbol_version macros, so that DEFAULT
33349         lines in shlib-versions are respected.
33350         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
33352 2012-08-01  Florian Weimer  <fweimer@redhat.com>
33354         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
33355         Declare with warn_unused_result.
33356         (setgid, setregid, setegid, setresgid): Likewise.
33357         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
33358         Likewise.
33359         * WUR-REPORT: Remove set*id functions.
33361 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
33363         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
33365 2012-07-31  Roland McGrath  <roland@hack.frob.com>
33367         [BZ #10191]
33368         * include/sys/socket.h (__libc_accept, __libc_accept4):
33369         Add attribute_hidden.
33370         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
33372         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
33373         use of PTR_MANGLE.
33374         * inet/getnetgrent_r.c (setup): Likewise.
33376         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
33378 2012-07-31  David S. Miller  <davem@davemloft.net>
33380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33382 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
33384         [BZ #13629]
33385         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
33386         value between 1.0 and 2.0 and smaller part has absolute value less
33387         than 1.0.
33388         * math/s_clog10.c (__clog10): Likewise.
33389         * math/s_clog10f.c (__clog10f): Likewise.
33390         * math/s_clog10l.c (__clog10l): Likewise.
33391         * math/s_clogf.c (__clogf): Likewise.
33392         * math/s_clogl.c (__clogl): Likewise.
33393         * math/libm-test.inc (clog_test): Add more tests.
33394         (clog10_test): Likewise.
33395         * sysdeps/i386/fpu/libm-test-ulps: Update.
33396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33398 2012-07-31  Florian Weimer  <fweimer@redhat.com>
33400         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
33401         Exit with zero in case no suitable GID is found, and write a
33402         message to standard error.
33404 2012-07-30  Roland McGrath  <roland@hack.frob.com>
33406         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
33407         rather than to 1.
33408         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
33409         (MAXPATHLEN): Removed.
33410         (NOGROUP, NODEV): New macros.
33411         (setbit, clrbit, isset, isclr): New macros.
33412         (howmany, roundup, powerof2): New macros.
33413         (DEV_BSIZE): New macro.
33415         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
33416         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
33418         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
33419         definition on [!__NO_LONG_DOUBLE_MATH].
33421         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
33422         PTR_MANGLE and PTR_DEMANGLE.
33424         * socket/accept4.c (accept4): Rename to __libc_accept4.
33425         Define accept4 as a weak alias.
33427         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
33428         on [_DIRENT_HAVE_D_TYPE].
33429         * io/ftw.c (ftw_dir): Likewise.
33431         * io/xmknod.c (__xmknod): Don't check PATH for being null.
33433         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
33435         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
33436         Use the BSD numbers rather than the arbitrary ones we had.
33437         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
33438         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
33439         (SIGXCPU, SIGXFSZ): New macros.
33440         (_NSIG): Now 32.
33442         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
33443         initializer on [_LIBC_REENTRANT].
33445         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
33446         definitions inside [_POSIX_MAPPED_FILES].
33448         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
33450         * dirent/opendir.c: Include <fcntl.h>.
33452         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
33453         (__libc_getspecific): Likewise.
33454         (__libc_key_create): Likewise.
33456         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
33457         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
33458         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
33459         (tmpfile64): Define as alias.
33460         * sysdeps/wordsize-64/tmpfile.c: File removed.
33461         * sysdeps/wordsize-64/tmpfile64.c: File removed.
33462         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
33463         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
33465         * stdio-common/vfscanf.c: Include <stdbool.h>.
33466         * nss/makedb.c: Likewise.
33467         * stdio-common/_i18n_number.h: Likewise.
33468         * argp/argp-help.c: Likewise.
33469         * posix/wordexp.c: Likewise.
33470         * sysdeps/posix/spawni.c: Likewise.
33471         * nss/nss_files/files-initgroups.c: Likewise.
33472         * stdio-common/reg-modifier.c: Include <stdlib.h>.
33473         * nss/nss_files/files-initgroups.c: Likewise.
33474         * nss/nss_db/db-netgrp.c: Likewise.
33475         * nss/nss_db/db-initgroups.c: Likewise.
33476         * io/fchmodat.c: Include <sys/stat.h>.
33478         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
33479         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
33481         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
33482         [HAVE_MMAP].
33484         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
33485         Add multiple inclusion protection.
33487 2012-07-27  David S. Miller  <davem@davemloft.net>
33489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33491 2012-07-27  Gary Benson  <gbenson@redhat.com>
33493         [BZ #14298]
33494         * elf/rtld.c: Include <stap-probe.h>.
33495         (dl_main): Added static probes "init_start" and "init_complete".
33496         * elf/dl-load.c: Include <stap-probe.h>.
33497         (lose): Take new parameter "nsid".
33498         Added static probe "map_failed".
33499         (_dl_map_object_from_fd): Pass namespace id to lose.
33500         Added static probe "map_start".
33501         (open_verify): Pass namespace id to lose.
33502         * elf/dl-open.c: Include <stap-probe.h>.
33503         (dl_open_worker) Added static probes "map_complete", "reloc_start"
33504         and "reloc_complete".
33505         * elf/dl-close.c: Include <stap-probe.h>.
33506         (_dl_close_worker): Added static probes "unmap_start" and
33507         "unmap_complete".
33508         * elf/rtld-debugger-interface.txt: New file documenting the above.
33510 2012-07-26  Roland McGrath  <roland@hack.frob.com>
33512         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
33513         rather than a string variable.
33514         * sunrpc/rpc_main.c (h_output): Likewise.
33515         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
33517 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
33519         * inet/check_native.c: New file.
33521 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
33523         [BZ #13629]
33524         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
33525         if larger part has absolute value 1.0.
33526         * math/s_clog10.c (__clog10): Likewise.
33527         * math/s_clog10f.c (__clog10f): Likewise.
33528         * math/s_clog10l.c (__clog10l): Likewise.
33529         * math/s_clogf.c (__clogf): Likewise.
33530         * math/s_clogl.c (__clogl): Likewise.
33531         * math/libm-test.inc (clog_test): Add more tests.
33532         (clog10_test): Likewise.
33533         * sysdeps/i386/fpu/libm-test-ulps: Update.
33534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33536         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
33537         (pltexit): Likewise.
33538         (La_regs): Likewise.
33539         (La_retval): Likewise.
33540         (int_retval): Likewise.
33541         Update #error for removed macros to refer only to definitions in
33542         tst-audit.h.
33543         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
33544         macro.
33545         (pltexit): Likewise.
33546         (La_regs): Likewise.
33547         (La_retval): Likewise.
33548         (int_retval): Likewise.
33549         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
33550         macro.
33551         (pltexit): Likewise.
33552         (La_regs): Likewise.
33553         (La_retval): Likewise.
33554         (int_retval): Likewise.
33555         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
33556         macro.
33557         (pltexit): Likewise.
33558         (La_regs): Likewise.
33559         (La_retval): Likewise.
33560         (int_retval): Likewise.
33561         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
33562         macro.
33563         (pltexit): Likewise.
33564         (La_regs): Likewise.
33565         (La_retval): Likewise.
33566         (int_retval): Likewise.
33567         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
33568         macro.
33569         (pltexit): Likewise.
33570         (La_regs): Likewise.
33571         (La_retval): Likewise.
33572         (int_retval): Likewise.
33573         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
33574         macro.
33575         (pltexit): Likewise.
33576         (La_regs): Likewise.
33577         (La_retval): Likewise.
33578         (int_retval): Likewise.
33579         * sysdeps/generic/tst-audit.h: Update comment to refer only to
33580         macro definitions in tst-audit.h.
33581         * sysdeps/i386/tst-audit.h: New file.
33582         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
33583         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
33584         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
33585         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
33586         * sysdeps/sh/tst-audit.h: Likewise.
33587         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
33588         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
33589         * sysdeps/x86_64/tst-audit.h: Likewise.
33591 2012-07-26  Andreas Jaeger  <aj@suse.de>
33593         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
33594         ptrace.
33596         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
33597         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
33598         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
33599         PTRACE_O_MASK.
33600         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
33601         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
33602         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
33604         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
33605         value.
33607         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
33608         _sigsys.
33609         (si_call_addr, si_syscall, si_arch): Define new macro.
33610         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
33611         _sigsys.
33612         (si_call_addr, si_syscall, si_arch): Define new marcro.
33613         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
33614         _sigsys.
33615         (si_call_addr, si_syscall, si_arch): Define new macro.
33616         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
33617         _sigsys.
33618         (si_call_addr, si_syscall, si_arch): Define new macro.
33620 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33622         [BZ #13717]
33623         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33624         Change to 2.4.21 where previously 2.4.1.
33625         * sysdeps/unix/sysv/linux/configure: Regenerated.
33626         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
33627         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
33628         Linux kernel version.
33629         (__ASSUME_STD_AUXV): Remove.
33630         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
33631         kernel version.
33632         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
33633         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
33634         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
33635         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
33636         (__ASSUME_NETLINK_SUPPORT): Likewise.
33637         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
33638         (__no_netlink_support): Remove conditional definition.
33639         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
33640         Remove.
33641         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33642         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
33643         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
33644         (if_nameindex_ioctl): Remove.
33645         (if_nameindex_netlink): Do not handle __no_netlink_support.
33646         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33647         code.
33648         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
33649         Remove conditional code.
33650         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
33651         code.
33652         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
33653         unconditional.
33654         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
33655         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
33656         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
33657         Remove.
33658         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
33659         [!__ASSUME_STD_AUXV]: Remove conditional code.
33660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
33661         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
33662         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
33663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
33664         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
33665         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33666         code.
33667         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
33669         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
33670         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33671         conditional code.
33672         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
33673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
33674         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
33675         code.
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
33677         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
33678         conditional code.
33679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
33680         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33681         code unconditional.
33682         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33683         conditional code.
33684         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33685         unconditional.
33686         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33687         conditional code.
33688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33689         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33690         unconditional.
33691         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33692         conditional code.
33693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33694         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33695         code unconditional.
33696         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33697         conditional code.
33698         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33699         unconditional.
33700         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33701         conditional code.
33702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33703         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
33704         code unconditional.
33705         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33706         conditional code.
33707         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
33708         unconditional.
33709         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
33710         conditional code.
33712 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
33714         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
33715         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
33716         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
33717         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
33718         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
33719         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33720         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33721         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
33722         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
33723         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
33724         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
33725         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
33726         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
33727         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33728         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
33729         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
33730         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
33731         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
33732         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
33733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
33734         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
33735         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
33736         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33738 2012-07-25  Florian Weimer  <fweimer@redhat.com>
33740         * Versions.def: Add GLIBC_2.17.
33741         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
33742         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
33743         Introduce __libc_secure_getenv.
33744         * stdlib/Versions (2.17): Add secure_getenv
33745         (GLIBC_PRIVATE): Add __libc_secure_getenv.
33746         * stdlib/secure-getenv.c: Rename __secure_getenv to
33747         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
33748         symbol __secure_getenv for GLIBC_2.0.
33749         * stdlib/tst-secure-getenv.c: New.
33750         * stdlib/Makefile (tests): Add testcase.
33751         * manual/startup.texi (Environment Access): Document
33752         secure_getenv.
33753         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
33754         __libc_secure_getenv.
33755         * inet/ruserpass.c (ruserpass): Likewise.
33756         * malloc/mtrace.c (mtrace): Likewise.
33757         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
33758         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
33759         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
33760         * sysdeps/posix/tempname.c: Likewise.  Evaluate
33761         HAVE_SECURE_GETENV.
33762         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
33763         __secure_getenv to __libc_secure_getenv.
33764         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
33765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33766         Likewise.
33767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33768         Likewise.
33769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33771         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33777 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
33779         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
33780         (struct La_i86_retval): Likewise.
33781         (struct La_x86_64_regs): Likewise.
33782         (struct La_x86_64_retval): Likewise.
33783         (struct La_x32_regs): Likewise.
33784         (struct La_x32_retval): Likewise.
33785         (struct La_ppc32_regs): Likewise.
33786         (struct La_ppc32_retval): Likewise.
33787         (struct La_ppc64_regs): Likewise.
33788         (struct La_ppc64_retval): Likewise.
33789         (struct La_sh_regs): Likewise.
33790         (struct La_sh_retval): Likewise.
33791         (struct La_s390_32_regs): Likewise.
33792         (struct La_s390_32_retval): Likewise.
33793         (struct La_s390_64_regs): Likewise.
33794         (struct La_s390_64_retval): Likewise.
33795         (struct La_sparc32_regs): Likewise.
33796         (struct La_sparc32_retval): Likewise.
33797         (struct La_sparc64_regs): Likewise.
33798         (struct La_sparc64_retval): Likewise.
33799         (struct audit_ifaces): Remove architecture-specific pltenter and
33800         pltexit members.
33801         * sysdeps/i386/ldsodefs.h: New file.
33802         * sysdeps/powerpc/ldsodefs.h: Likewise.
33803         * sysdeps/s390/ldsodefs.h: Likewise.
33804         * sysdeps/sh/ldsodefs.h: Likewise.
33805         * sysdeps/sparc/ldsodefs.h: Likewise.
33806         * sysdeps/x86_64/ldsodefs.h: Likewise.
33808 2012-07-25  Marek Polacek  <polacek@redhat.com>
33810         [BZ #6808]
33811         * math/libm-test.inc (yn_test): Add another test.
33812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
33813         to ERANGE when the result is +-Inf.
33814         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33815         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
33816         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
33817         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
33819 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
33821         * conform/data/time.h-data (NULL): Use macro-constant.  Require
33822         equal to 0.
33823         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
33824         clock_t.
33825         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
33827 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
33829         * configure.in <sysdeps resolving>: Correct printing
33830         Implies_before.
33831         * configure: Regenerate.
33833 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
33835         * math/w_ilogb.c: Include <limits.h>.
33836         * math/w_ilogbl.c: Likewise.
33838 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33840         * manual/lang.texi (__va_copy): Document primarily as ISO C99
33841         va_copy.  Document allowing for unavailable va_copy only as
33842         pre-C99 compatibility.
33843         * manual/string.texi (Copying and Concatenation): Use va_copy
33844         instead of __va_copy in concat example.
33846 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
33848         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
33849         (__sendto): Use create_address_port.  Initialize APORT and deallocate
33850         it if not null.
33852         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
33853         with O_NOLINK passed to __file_name_lookup.
33855         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
33856         with O_NOLINK passed to __file_name_lookup.
33858         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
33859         negative N or less than NGIDS.
33861         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
33862         type to string_t.  Set ERANGE as errno and return it if NAME is not big
33863         enough.  Use memcpy instead of strncpy.
33865 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
33867         * elf/Makefile (check-data): Remove.
33868         (localplt.data): New vpath directive.
33869         ($(objpfx)check-localplt.out): Use localplt.data from vpath
33870         instead of $(check-data).
33871         * scripts/data/localplt-generic.data: Move to ...
33872         * sysdeps/generic/localplt.data: ... here.
33873         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
33874         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
33875         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
33876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
33877         ... here.
33878         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
33879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33880         ... here.
33881         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
33882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
33883         ... here.
33884         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
33885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33886         ... here.
33887         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
33888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
33889         ... here.
33890         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
33891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
33892         ... here.
33894 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33896         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
33897         PPC32 and PPC64 files.
33898         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
33899         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
33901 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33903         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
33904         __makecontext_ret to ...
33905         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33906         ... here and call exit if uc_link is NULL.  New file.
33907         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
33908         __makecontext_ret.S.
33909         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
33910         __makecontext_ret to ...
33911         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33912         ... here and call exit if uc_link is NULL.  New file.
33913         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
33914         __makecontext_ret.S.
33916 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33918         * elf/elf.h (R_390_IRELATIVE): New definition.
33919         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
33920         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
33921         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
33922         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33923         (elf_machine_lazy_rel): Likewise.
33924         * sysdeps/s390/dl-irel.h: New file.
33925         * sysdeps/s390/s390-64/memcpy.S: New asm code.
33926         * sysdeps/s390/s390-64/memset.S: New asm code.
33927         * sysdeps/s390/s390-64/memcmp.S: New asm code.
33928         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
33929         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
33930         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
33931         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
33932         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
33933         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
33934         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
33935         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
33936         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
33937         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
33938         * sysdeps/s390/s390-32/memcpy.S: New asm code.
33939         * sysdeps/s390/s390-32/memset.S: New asm code.
33940         * sysdeps/s390/s390-32/memcmp.S: New asm code.
33942 2012-07-17  Marek Polacek  <polacek@redhat.com>
33944         [BZ #14349]
33945         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
33946         * sysdeps/s390/s390-64/configure.in: Likewise.
33947         * sysdeps/sparc/configure.in: Likewise.
33948         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
33949         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
33950         * sysdeps/i386/configure.in: Likewise.
33951         * sysdeps/x86_64/configure.in: Likewise.
33952         * sysdeps/sh/configure.in: Likewise.
33953         * sysdeps/s390/s390-32/configure: Regenerated.
33954         * sysdeps/s390/s390-64/configure: Likewise.
33955         * sysdeps/x86_64/configure: Likewise.
33956         * sysdeps/sh/configure: Likewise.
33957         * sysdeps/powerpc/powerpc64/configure: Likewise.
33958         * sysdeps/powerpc/powerpc32/configure: Likewise.
33959         * sysdeps/sparc/configure: Likwise.
33960         * sysdeps/i386/configure: Likewise.
33962         * elf/dl-open.c: Comment fixes.
33964 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
33966         * Makefile [CXX] (check-data): Remove.
33967         [CXX] (c++-types.data): New vpath directive.
33968         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
33969         vpath.  Do not allow for C++ type data being missing.
33970         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
33971         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
33972         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
33973         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
33974         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
33975         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
33976         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
33977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
33978         ... here.
33979         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
33980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33981         ... here.
33982         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
33983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
33984         ... here.
33985         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
33986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
33987         ... here.
33988         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
33989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
33990         ... here.
33991         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
33992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
33993         ... here.
33994         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
33995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
33996         ... here.
33997         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
33998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34000         * elf/tls-macros.h (TLS_LE): Move architecture-specific
34001         definitions to architecture-specific files.
34002         (TLS_IE): Likewise.
34003         (TLS_LD): Likewise.
34004         (TLS_GD): Likewise.
34005         * sysdeps/i386/tls-macros.h: New file.
34006         * sysdeps/powerpc/tls-macros.h: Likewise.
34007         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34008         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34009         * sysdeps/sh/tls-macros.h: Likewise.
34010         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34011         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34012         * sysdeps/x86_64/tls-macros.h: Likewise.
34014 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34016         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34017         zero value for regular exit case.
34019         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34020         (__start_context): Preserve zero value for regular exit case.
34022 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
34023             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34025         * manual/setjmp.texi (setcontext): Clarify normal process
34026         termination when uc_link is the null pointer.
34027         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34028         exit call.
34030 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
34032         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34033         preprocessor.  Test for each exception mask separately.
34035 2012-07-16  Andreas Jaeger  <aj@suse.de>
34037         * po/ru.po: Update from translation team.
34039 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
34041         * conform/data/string.h-data (NULL): Use macro-constant.  Require
34042         equal to 0.
34043         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34044         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34045         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34046         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34049 2012-07-13  Andreas Jaeger  <aj@suse.de>
34051         * po/fr.po: Update from translation team.
34053 2012-07-12  Marek Polacek  <polacek@redhat.com>
34055         [BZ #14173]
34056         * math/libm-test.inc (yn_test): Add test for BZ #14173.
34057         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34058         loop condition.
34060 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
34062         [BZ #13717]
34063         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34064         Change to 2.4.1 where previously 2.4.0.
34065         * sysdeps/unix/sysv/linux/configure: Regenerated.
34066         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34067         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34068         version.
34069         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34070         (__ASSUME_AT_CLKTCK): Remove.
34071         (__ASSUME_AT_PAGESIZE): Likewise.
34072         (__ASSUME_AT_XID): Likewise.
34073         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34074         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34075         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34076         unconditionally.
34077         (HAVE_AUX_PAGESIZE): Likewise.
34078         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34079         [__ASSUME_AT_CLKTCK]: Make code unconditional.
34080         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34082 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
34084         [BZ #14307]
34085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34086         the temporary buffer used to invoke __gethostbyname2_r,
34087         __gethostbyaddr_r and gethostbyname4_r to make room for struct
34088         host_data / struct gaih_addrtuple.
34089         * resolv/nss_dns/dns-host.c (global scope): Move definition of
34090         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34091         header file nss/nsswitch.h.
34092         * nss/nsswitch.h (global scope): Add definition of implementation
34093         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34094         resolv/nss_dns/dns-host.c).
34096 2012-07-11  Andreas Jaeger  <aj@suse.de>
34098         * po/fr.po: Update from translation team.
34100         * po/sv.po: Update from translation team
34101         * po/fr.po: Another update from translation team.
34103 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34105         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34106         for subnormals or multiply small sinh result by itself.
34107         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34110 2012-07-11  David S. Miller  <davem@davemloft.net>
34112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34114 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
34116         [BZ #14347]
34117         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34118         (INTERNAL_MARK): Shift it here.
34120 2012-07-10  Marek Polacek  <polacek@redhat.com>
34122         [BZ #14151]
34123         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
34124         libc_cv_asm_global_directive with .globl.
34125         * configure: Regenerated.
34126         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34127         with .globl.
34128         * sysdeps/i386/configure: Regenerated.
34129         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34130         with .globl.
34131         * sysdeps/x86_64/configure: Regenerated.
34132         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34133         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34134         * elf/tst-unique2mod2.c: Likewise.
34135         * elf/tst-unique2mod1.c: Likewise.
34136         * elf/tst-unique1mod2.c: Likewise.
34137         * elf/tst-unique1mod1.c: Likewise.
34138         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34139         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34140         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34141         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34142         * sysdeps/mach/sysdep.h: Likewise.
34143         * sysdeps/i386/sysdep.h: Likewise.
34144         * sysdeps/i386/i386-mcount.S: Likewise.
34145         * sysdeps/x86_64/_mcount.S: Likewise.
34146         * sysdeps/x86_64/sysdep.h: Likewise.
34147         * sysdeps/sh/_mcount.S: Likewise.
34148         * sysdeps/sh/sysdep.h: Likewise.
34149         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34150         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34151         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34152         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34153         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34154         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34155         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34156         * locale/localeinfo.h: Likewise.
34157         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34158         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34160 2012-07-09  Roland McGrath  <roland@hack.frob.com>
34162         [BZ #14336]
34163         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34164         system".
34165         * manual/message.texi (The Uniforum approach): Likewise.
34166         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34167         (glibc iconv Implementation): Likewise.
34169 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
34171         [BZ #14337]
34172         * math/s_clog.c (__clog): Avoid scaling a value down where that
34173         could result in underflow.
34174         * math/s_clog10.c (__clog10): Likewise.
34175         * math/s_clog10f.c (__clog10f): Likewise.
34176         * math/s_clog10l.c (__clog10l): Likewise.
34177         * math/s_clogf.c (__clogf): Likewise.
34178         * math/s_clogl.c (__clogl): Likewise.
34179         * math/libm-test.inc (clog_test): Add more tests.
34180         (clog10_test): Likewise.
34181         * sysdeps/i386/fpu/libm-test-ulps: Update.
34182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34184 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
34186         [BZ #14283]
34187         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34188         by 7 not 8 to examine high bit of fractional part.
34190         [BZ #14042]
34191         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34192         for call to __mcount_internal.
34193         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34194         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34195         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34197 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
34199         [BZ #14154]
34200         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34201         approximation for values within 0x1p-13f of an odd multiple of
34202         pi/4.
34203         * math/libm-test.inc (tan_test): Do not allow spurious underflow
34204         exception.  Add more tests.
34205         * sysdeps/i386/fpu/libm-test-ulps: Update.
34207         [BZ #6778]
34208         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34209         inputs and return -1 for them.  Do not check for +Inf in case not
34210         reachable for +Inf.
34211         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34212         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34213         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34214         and return -1 for them.  Do not check for +Inf in case not
34215         reachable for +Inf.
34216         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34217         define.
34218         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34219         and return -1 for them.  Do not check for +Inf in case not
34220         reachable for +Inf.
34221         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
34222         spurious underflow.
34223         * sysdeps/i386/fpu/libm-test-ulps: Update.
34224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34226 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
34228         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
34230 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
34232         [BZ #14157]
34233         [BZ #14331]
34234         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
34235         could result in spurious underflow.  Scale down values above
34236         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
34237         * math/s_csqrtf.c (__csqrtf): Likewise.
34238         * math/s_csqrtl.c (__csqrtl): Likewise.
34239         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
34240         spurious underflow.
34241         * sysdeps/i386/fpu/libm-test-ulps: Update.
34242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34244 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
34246         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
34247         xopen-msg.sed.
34248         * catgets/xopen-msg.awk: New file.
34249         * catgets/xopen-msg.sed: Removed.
34251         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
34252         po2text.sed.
34253         * intl/po2test.awk: New file.
34254         * intl/po2test.sed: Removed.
34256 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
34258         [BZ #14328]
34259         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
34260         or multiply small sinh result by itself.
34261         * math/s_ctanf.c (__ctanf): Likewise.
34262         * math/s_ctanh.c (__ctanh): Likewise.
34263         * math/s_ctanhf.c (__ctanhf): Likewise.
34264         * math/s_ctanhl.c (__ctanhl): Likewise.
34265         * math/s_ctanl.c (__ctanl): Likewise.
34266         * math/libm-test.inc (ctan_test_tonearest): New function.
34267         (ctan_test_towardzero): Likewise.
34268         (ctan_test_downward): Likewise.
34269         (ctan_test_upward): Likewise.
34270         (ctanh_test_tonearest): Likewise.
34271         (ctanh_test_towardzero): Likewise.
34272         (ctanh_test_downward): Likewise.
34273         (ctanh_test_upward): Likewise.
34274         (main): Call these new functions.
34275         * sysdeps/i386/fpu/libm-test-ulps: Update.
34276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34278 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
34280         * .gitignore: Delete /ports entry.
34282 2012-07-03  Andreas Jaeger  <aj@suse.de>
34284         * po/bg.po: Update from translation team.
34285         * po/cs.po: Likewise.
34286         * po/de.po: Likewise.
34287         * po/hr.po: Likewise.
34288         * po/nl.pl: Likewise.
34289         * po/pl.po: Likewise.
34290         * po/vi.po: Likewise.
34292 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
34294         * Makeconfig [!+link] (+link-before-libc): New variable.
34295         [!+link] (+link-after-libc): Likewise.
34296         [!+link] (+link-tests): Likewise.
34297         [!+link] (+link): Define in terms of $(+link-before-libc) and
34298         $(+link-after-libc).
34299         [!+link-static] (+link-static-before-libc): New variable.
34300         [!+link-static] (+link-static-after-libc): Likewise.
34301         [!+link-static] (+link-static-tests): Likewise.
34302         [!+link-static] (+link-static): Define in terms of
34303         $(+link-static-before-libc) and $(+link-static-after-libc).
34304         [build-shared] (link-libc-before-gnulib): New variable.
34305         [build-shared] (link-libc-tests): Likewise.
34306         [build-shared] (link-libc): Define in terms of
34307         $(link-libc-before-gnulib).
34308         [!build-shared] (link-libc-tests): New variable.
34309         (link-libc-static-tests): New variable.
34310         [!gnulib] (gnulib-arch): New variable.
34311         [!gnulib] (gnulib-tests): Likewise.
34312         [!gnulib] (static-gnulib-arch): Likewise.
34313         [!gnulib] (static-gnulib-tests): Likewise.
34314         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
34315         Define with "=" instead of ":=".
34316         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
34317         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
34318         * Rules (binaries-all-notests): New variable.
34319         (binaries-all-tests): Likewise.
34320         (binaries-static-notests): Likewise.
34321         (binaries-static-tests): Likewise.
34322         (binaries-all): Define using $(binaries-all-notests) and
34323         $(binaries-all-tests).
34324         (binaries-static): Define using $(binaries-static-notests) and
34325         $(binaries-static-tests).
34326         (binaries-shared-tests): New variable.
34327         (binaries-shared-notests): Likewise.
34328         (binaries-shared): Remove variable.
34329         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
34330         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
34331         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
34332         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
34333         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
34334         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
34335         * elf/Makefile (sln-modules): New variable.
34336         (extra-objs): Add $(sln-modules:=.o).
34337         (ldconfig-modules): Add static-stubs.
34338         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
34339         * elf/static-stubs.c: New file.
34341         [BZ #14283]
34342         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
34343         by 7 not 8 to examine high bit of fractional part.  Use volatile
34344         variables when splitting into final array of floats if
34345         __FLT_EVAL_METHOD__ != 0.
34346         * math/libm-test.inc (cos_test): Add another test.
34347         (sin_test): Likewise.
34348         * sysdeps/i386/fpu/libm-test-ulps: Update.
34350         [BZ #14273]
34351         * math/libm-test.inc (cosh_test): Add more tests.
34353         * version.h (RELEASE): Set to "development".
34354         (VERSION): Set to "2.16.90".
34356 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
34358         * NEWS: Update copyright. Remove last-updated date.
34359         Mention math library bug fixes and timezone data changes.
34360         * README: Mention GNU/Hurd, x32, and HPPA support status.
34362 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
34364         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
34366 2012-06-27  Andreas Jaeger  <aj@suse.de>
34368         * manual/contrib.texi (Contributors): Add Samuel Thibault.
34370 2012-06-25  Andreas Jaeger  <aj@suse.de>
34372         * sysdeps/s390/fpu/libm-test-ulps: Update.
34374 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
34375             Thomas Schwinge  <thomas@codesourcery.com>
34377         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
34378         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
34379         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
34380         fanotify_mark.
34382 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
34384         * sysdeps/mach/start.c: Remove file.
34385         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
34386         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
34387         * sysdeps/sh/init-first.c: Likewise.
34389         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
34390         registers for frame unwinding purposes, add CFI directives.
34391         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34392         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
34393         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
34394         Likewise.
34396         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
34397         __fortify_fail returning.
34398         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
34400         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
34401         sysdeps/sh/____longjmp_chk.S.
34402         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
34403         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
34404         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
34405         (gen-as-const-headers): Append sigaltstack-offsets.sym.
34407         * sysdeps/sh/abort-instr.h: New file.
34408         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
34409         process in case exit returns.
34411         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
34412         initialize the GOT register before use.
34414         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
34415         calculation of ARGC > 4.
34417         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
34418         meaningful names to some local labels.
34420 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
34421             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34423         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
34424         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
34425         (__arch_compare_and_exchange_val_16_acq): Likewise.
34426         (__arch_compare_and_exchange_val_32_acq): Likewise.
34427         (atomic_exchange_and_add): Fix gUSA sequence.
34428         (atomic_add): Likewise.
34429         (atomic_add_negative): Likewise.
34430         (atomic_add_zero): Likewise.
34431         (atomic_bit_test_set): Likewise.
34433 2012-06-22  Andreas Schwab  <schwab@redhat.com>
34435         [BZ #13579]
34436         * include/link.h (struct link_map): Add l_free_initfini.
34437         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
34438         l_initfini.
34439         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
34440         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
34441         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
34442         set.
34444 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
34446         * configure.in: Use AC_LANG_SOURCE.
34447         * configure: Regenerate.
34449 2012-06-22  Roland McGrath  <roland@hack.frob.com>
34451         * configure.in (libc_cv_localstatedir): New substituted variable.
34452         * configure: Regenerated.
34453         * config.make.in (localstatedir): New variable, substituted from
34454         libc_cv_localstatedir.
34455         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
34456         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
34457         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
34458         * sysdeps/gnu/configure: Regenerated.
34460 2012-06-21  Jeff Law  <law@redhat.com>
34462         [BZ #14277]
34463         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
34464         free.  Simplify list management for _LIBC case.
34466 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
34468         [BZ #14273]
34469         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34470         Clear sign bit of 64-bit integer value before comparing against
34471         overflow value.
34473         * sysdeps/mach/configure: Regenerated.
34475 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
34477         [BZ #14278]
34478         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
34480 2012-06-21  Jeff Law  <law@redhat.com>
34482         [BZ #13882]
34483         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
34484         uint16_t for elements in the "seen" array to avoid char overflows.
34485         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34486         * elf/dl-open.c (dl_open_worker): Likewise.
34488 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
34490         * scripts/list-sources.sh: Scan PORTS for translations.
34491         * po/libc.pot: Regenerated.
34493 2012-06-21  Andreas Jaeger  <aj@suse.de>
34495         [BZ #12194]
34496         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
34497         warning.
34498         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
34499         * bits/byteswap-16.h (__bswap_16): Likewise.
34500         * bits/byteswap.h (__bswap_constant_16): Likewise.
34502 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
34504         [BZ #14117]
34505         * sysdeps/i386/fpu_control.h: Removed.
34506         * sysdeps/x86_64/fpu_control.h: Moved to ...
34507         * sysdeps/x86/fpu_control.h: Here.
34509         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
34510         (_FPU_SETCW): Likewise.
34512 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
34514         [BZ #14117]
34515         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
34516         * sysdeps/x86/fpu/bits/mathinline.h: This.
34517         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
34519         [BZ #14050]
34520         [BZ #14117]
34521         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
34522         functions if __x86_64__ is defined.
34524 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
34526         * string/endian.h: Add !__ASSEMBLER__ condition for including
34527         conversion interfaces.
34529 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
34531         [BZ #14241]
34532         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
34533         of ABS(x) in calculating zero to negative powers other than odd
34534         integers.
34535         * math/libm-test.inc (pow_test): Add more tests.
34537 2012-06-15  Andreas Jaeger  <aj@suse.de>
34539         * manual/contrib.texi (Contributors): Update entry of Liubov
34540         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
34541         Machado Filho.
34543 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
34545         * string/string.h: Add __wur to GNU version of strerror_r.
34547 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
34549         [BZ #14229]
34550         * string/Makefile (tests): Add tst-strtok_r.
34551         * string/tst-strtok_r.c: New file.
34552         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
34553         RAX_LP/RDX_LP on SAVE_PTR.
34555 2012-06-14  Roland McGrath  <roland@hack.frob.com>
34557         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
34559 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
34561         * libm_test.inc (csqrt_test): Allow more spurious underflow
34562         exceptions.
34563         (j0_test): Likewise.
34564         (j1_test): Likewise.
34565         (y0_test): Likewise.
34566         (y1_test): Likewise.
34568 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
34570         * po/Makefile (libc.pot): Use UTF-8 charset.
34572 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
34574         [BZ #14210]
34575         Suppress sign-conversion warning from FD_SET.
34576         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
34577         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
34578         not unsigned long int.
34579         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
34581 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
34583         [BZ #14050]
34584         [BZ #14117]
34585         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
34586         __extern_always_inline instead of __extern_inline.
34587         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
34588         (__signbit): Likewise.
34589         (__signbitl): Support C++ namespace.
34590         (lrintf): New inline function.
34591         (lrint): Likewise.
34592         (llrintf): Likewise.
34593         (llrint): Likewise.
34594         (fmaxf): Likewise.
34595         (fmax): Likewise.
34596         (fminf): Likewise.
34597         (fmin): Likewise.
34598         (rint): Likewise.
34599         (rintf): Likewise.
34600         (ceil): Likewise.
34601         (ceilf): Likewise.
34602         (floor): Likewise.
34603         (floorf): Likewise.
34604         (nearbyint): Likewise.
34605         (nearbyintf): Likewise.
34607 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
34609         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
34610         non-default versions.
34612 2012-06-11  Roland McGrath  <roland@hack.frob.com>
34614         [BZ #14218]
34615         * manual/argp.texi (Argp): Reword argp_parse description slightly.
34617 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
34619         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
34620         (FE_UPWARD, FE_DOWNWARD): Don't define.
34621         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
34622         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34624         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
34625         reading it.
34626         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34627         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34629 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34631         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34632         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
34633         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
34634         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
34636 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
34638         [BZ #14117]
34639         * sysdeps/i386/fpu/bits/fenv.h: Removed.
34640         * sysdeps/i386/fpu/Implies: New file.
34641         * sysdeps/x86_64/fpu/Implies: Likewise.
34642         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
34643         * sysdeps/x86/fpu/bits/fenv.h: This.
34645         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
34646         __SSE_MATH__.
34648 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34650         [BZ #14134]
34651         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
34652         character 0xffff that matches the last element of the
34653         conversion table.
34655 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34657         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
34658         fmodl commit.
34660 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34662         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
34663         values higher than 25.6283.
34665 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34667         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
34668         subnormal exponent extraction and add some __builtin_expect.
34669         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
34670         Fix for subnormal mantissa calculation.
34672 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
34674         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
34675         cpu2 is -1 and errno is not ENOSYS.
34677 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
34679         [BZ #14117]
34680         * sysdeps/i386/i486/bits/string.h: Renamed to ...
34681         * sysdeps/x86/bits/string.h: This.
34682         * sysdeps/x86_64/bits/string.h: Removed.
34684         * sysdeps/i386/i486/bits/string.h: Define inline functions only
34685         if not compiling for x86-64, but compiling for >= i486.
34687         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
34688         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
34690         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
34691         New macro from Linux kernel 3.4.0.
34692         (FP_XSTATE_MAGIC2): Likewise.
34693         (FP_XSTATE_MAGIC2_SIZE): Likewise.
34694         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
34695         (struct _fpx_sw_bytes): New struct.
34696         (struct _xsave_hdr): Likewise.
34697         (struct _ymmh_state): Likewise.
34698         (struct _xstate): Likewise.
34700         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
34701         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
34702         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
34703         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
34704         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
34705         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
34707         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
34708         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
34709         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
34710         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
34711         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
34712         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
34714 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34716         [BZ #13743]
34717         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
34718         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
34719         (sysdep_headers): Include sys/platform/ppc.h.
34720         * sysdeps/powerpc/test-gettimebase.c: Test for
34721         __ppc_get_timebase() to catch future ISA opcode/insn changes.
34722         * manual/Makefile (appendices): Include platform.texi.
34723         * manual/contrib.texi (Contributors): Update @node pointers.
34724         * manual/maint.texi (Maintenance): Likewise.
34725         (Platform): New node.
34726         * manual/platform.texi: New file.  Document the new features.
34728 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34729             Jakub Jelinek  <jakub@redhat.com>
34731         [BZ #14188]
34732         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
34733         where __builtin_expect is unavailable.
34735 2012-06-03  David S. Miller  <davem@davemloft.net>
34737         * stdlib/longlong.h: Updated from GCC.
34739 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
34741         [BZ #14042]
34742         * sysdeps/powerpc/powerpc32/mcount.c: New file.
34743         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
34744         __mcount_internal.
34745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34746         (GLIBC_2.16): Likewise.
34748 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34750         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
34752 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
34755         (default-abi): New variable.
34756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
34757         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
34758         variable.
34759         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
34760         Likewise.
34761         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
34762         Likewise.
34763         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
34764         Likewise.
34766         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
34767         definition.  Document in comment.
34769 2012-06-01  David S. Miller  <davem@davemloft.net>
34771         * stdlib/longlong.h: Updated from GCC.
34773 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34775         [BZ #14117]
34776         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
34777         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
34778         sys/debugreg.h sys/io.h here.
34779         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
34780         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
34781         sys/io.h.
34782         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
34783         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
34784         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
34785         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
34786         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
34787         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
34789         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
34790         Define only if __x86_64__ is defined.
34792 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
34794         [BZ #14048]
34795         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
34796         Use int64_t for variable i.
34797         * math/libm-test.inc (fmod_test): Add more tests.
34799         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
34800         z computation is not scheduled after fetestexcept.
34801         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
34802         Use math_force_eval instead of asm to ensure calculation scheduled
34803         before exception test.
34804         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
34805         Ensure a1 + u.d computation is not scheduled after fetestexcept.
34807 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
34809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
34810         computation is not scheduled after fetestexcept.
34812 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
34814         [BZ #14117]
34815         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
34816         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
34818 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34820         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
34821         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34823 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34825         [BZ #14117]
34826         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
34827         <bits/wordsize.h>.
34828         (__WCHAR_MIN): Support __WORDSIZE == 64.
34829         (__WCHAR_MAX): Likewise.
34831         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
34832         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
34834         [BZ #14183]
34835         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
34836         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
34838         [BZ #14117]
34839         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
34840         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
34842         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
34843         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
34845         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
34846         Defined to 1 if __x86_64__ isn't defined.
34847         (_STAT_VER_LINUX_OLD): New.
34848         (st_atime): Remove duplicate.
34849         (st_mtime): Likewise.
34850         (st_ctime): Likewise.
34852 2012-05-31  David S. Miller  <davem@davemloft.net>
34854         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
34855         entries.
34857 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
34859         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
34860         gen-libm-test.pl.
34862         [BZ #14132]
34863         * elf/dl-reloc.c: Include <_itoa.h>.
34864         (_dl_reloc_bad_type): Remove use of INTUSE.
34865         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
34866         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
34867         * stdio-common/psiginfo.c (psiginfo): Likewise.
34868         * stdio-common/psignal.c (psignal): Likewise.
34869         * string/strsignal.c (strsignal): Likewise.
34870         * include/signal.h (_sys_siglist): Declare hidden proto.
34871         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
34872         INTVARDEF with libc_hidden_data_def.
34873         * stdio-common/itoa-udigits.c: Likewise.
34874         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
34875         (_itoa_lower_digits_internal): Remove declaration.
34876         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
34877         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
34878         (_sys_sigabbrev_internal): Remove aliases.
34879         (_sys_siglist): Define hidden alias.
34881 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
34883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34884         bits/sysctl.h.
34886 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
34888         [BZ #14117]
34889         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
34890         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
34892         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
34893         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
34894         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
34895         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
34896         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
34897         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
34899         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
34900         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
34901         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
34903         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
34904         with __addr.
34905         (insw): Likewise.
34906         (insl): Likewise.
34907         (outsb): Likewise.
34908         (outsw): Likewise.
34909         (outsl): Likewise.
34911         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
34912         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
34913         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34915         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
34916         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
34917         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
34918         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
34919         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
34920         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
34922         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
34923         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
34925         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
34926         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
34928         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
34929         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
34930         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
34932         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
34933         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
34934         to ...
34935         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
34937         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
34938         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
34939         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34941         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
34942         for x86-64.
34943         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34945 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
34947         * math/math.h (M_El): Use two more decimal places.
34948         (M_LOG2El): Likewise.
34949         (M_LOG10El): Likewise.
34950         (M_LN2l): Likewise.
34951         (M_LN10l): Likewise.
34952         (M_PIl): Likewise.
34953         (M_PI_2l): Likewise.
34954         (M_PI_4l): Likewise.
34955         (M_1_PIl): Likewise.
34956         (M_2_PIl): Likewise.
34957         (M_2_SQRTPIl): Likewise.
34958         (M_SQRT2l): Likewise.
34959         (M_SQRT1_2l): Likewise.
34961 2012-05-31  David S. Miller  <davem@davemloft.net>
34963         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
34964         values between float registers.
34965         * sysdeps/sparc/sparc64/memset.S: Likewise.
34966         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34968 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
34970         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
34971         -D_FORTIFY_SOURCE=1.
34972         (CPPFLAGS-tst-longjmp_chk.c): Define.
34973         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
34974         (CPPFLAGS-tst-longjmp_chk2.c): Define.
34975         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
34976         CFLAGS-tst-wchar-h.c.
34978 2012-05-31  Marek Polacek  <polacek@redhat.com>
34980         [BZ #14132]
34981         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
34982         __endmntent_internal): Remove declaration.
34983         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
34984         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
34985         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
34987 2012-05-30  David S. Miller  <davem@davemloft.net>
34989         * sysdeps/sparc/sparc32/soft-fp/q_util.c
34990         (___Q_simulate_exceptions): Use real FP ops rather than writing
34991         into the %fsr.
34992         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
34993         Likewise.
34995 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
34997         [BZ #14117]
34998         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
34999         * sysdeps/x86/bits/xtitypes.h: This.
35001         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35002         * sysdeps/x86/bits/wordsize.h: This.
35004         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35005         * sysdeps/x86/bits/huge_vall.h: This.
35007         * sysdeps/i386/bits/select.h: Removed.
35008         * sysdeps/x86_64/bits/select.h: Renamed to ...
35009         * sysdeps/x86/bits/select.h: This.
35011         * sysdeps/i386/bits/setjmp.h: Removed.
35012         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35013         * sysdeps/x86/bits/setjmp.h: This.
35015         * sysdeps/i386/bits/mathdef.h: Removed.
35016         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35017         * sysdeps/x86/bits/mathdef.h: This.
35019 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
35021         [BZ #14132]
35022         * include/sys/socket.h (__connect_internal)
35023         (__libc_sa_len_internal): Remove declaration.
35024         (__connect, __libc_sa_len): Declare hidden_proto.
35025         (SA_LEN): Remove use of INTUSE.
35026         * socket/connect.c: Add libc_hidden_def.
35027         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35028         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35029         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35030         alias.
35031         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35032         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35033         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35034         of adding _internal alias.
35036 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35038         [BZ #14117]
35039         * sysdeps/i386/bits/link.h: Removed.
35040         * sysdeps/i386/bits/linkmap.h: Likewise.
35041         * sysdeps/x86_64/bits/link.h: Renamed to ...
35042         * sysdeps/x86/bits/link.h: This.
35043         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35044         * sysdeps/x86/bits/linkmap.h: This.
35046         * sysdeps/i386/bits/endian.h: Removed.
35047         * sysdeps/x86_64/bits/endian.h: Renamed to ...
35048         * sysdeps/x86/bits/endian.h: This.
35050         * sysdeps/i386/bits/byteswap.h: Removed.
35051         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35052         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35053         * sysdeps/x86/bits/byteswap.h: This.
35054         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35055         * sysdeps/x86/bits/byteswap-16.h: This.
35056         * sysdeps/i386/Implies: Add x86.
35057         * sysdeps/x86_64/Implies: Likewise.
35059 2012-05-30  David S. Miller  <davem@davemloft.net>
35061         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35062         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35063         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35064         (FP_TRAPPING_EXCEPTIONS): Define.
35065         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35066         (FP_TRAPPING_EXCEPTIONS): Define.
35067         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35068         subnormals only when inexact has been signalled or underflow
35069         exceptions are enabled.
35070         (_FP_PACK_CANONICAL): Likewise.
35072 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35074         [BZ #14183]
35075         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35076         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35078 2012-05-30  Richard Henderson  <rth@twiddle.net>
35080         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35081         with #ifndef NOT_IN_libc.
35083         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
35084         marked to avoid plt entry.
35086 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
35088         [BZ #14112]
35089         * Makeconfig (default-abi): New macro.
35090         (abi-includes): Likewise.
35091         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
35092         $(abi-$(default-abi)-lib-soname) for soname if defined.
35093         ($(common-objpfx)gnu/lib-names.stmp): Generate from
35094         abi-variants.
35095         * Makefile (installed-stubs): Likewise.
35096         * include/stubs-biarch.h: Removed.
35097         * scripts/lib-names.awk: Only handle one library at a time.
35098         * scripts/soversions.awk: Remove WORDSIZE support.
35099         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35100         entries.
35101         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35102         Removed.
35103         (syscall-list-default-condition): Likewise.
35104         (syscall-list-default-condition): Likewise.
35105         (syscall-list-includes): Likewise.
35106         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35107         syscall-list-* with abi-*.  Handle undefined abi-variants.
35108         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35109         * sysdeps/unix/sysv/linux/i386/Implies: New file.
35110         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35111         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35112         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35113         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35114         Removed.
35115         (syscall-list-32-options): Likewise.
35116         (syscall-list-32-condition): Likewise.
35117         (syscall-list-64-options): Likewise.
35118         (syscall-list-64-condition): Likewise.
35119         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35120         macro.
35121         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35122         Renamed to ...
35123         (abi-*): This.
35124         (abi-64-ld-soname): New macro.
35125         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35126         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35127         Renamed to ...
35128         (abi-*): This.
35129         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35130         * sysdeps/x86_64/x32/shlib-versions: Likewise.
35132 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
35134         * sysdeps/unix/sysv/linux/kernel-features.h
35135         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35136         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35137         include <kernel-features.h>.
35138         [!__NR_ftruncate64]: Remove conditional code.
35139         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35140         [__NR_ftruncate64]: Make code unconditional.
35141         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35142         * sysdeps/unix/sysv/linux/truncate64.c: Do not
35143         include <kernel-features.h>.
35144         [!__NR_ftruncate64]: Remove conditional code.
35145         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35146         [__NR_ftruncate64]: Make code unconditional.
35147         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35149         include <kernel-features.h>.
35150         [!__NR_ftruncate64]: Remove conditional code.
35151         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35152         [__NR_ftruncate64]: Make code unconditional.
35153         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35155         include <kernel-features.h>.
35156         [!__NR_ftruncate64]: Remove conditional code.
35157         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35158         [__NR_ftruncate64]: Make code unconditional.
35159         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35161         * configure.in (libc_cv_fpie): Weaken to a compile test using
35162         LIBC_TRY_CC_OPTION.
35163         * configure: Regenerated.
35165 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35171         Refreshed.
35172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35178         Refreshed.
35180 2012-05-27  David S. Miller  <davem@davemloft.net>
35182         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35183         (___Q_zero): New.
35184         (__Q_simulate_exceptions): Return void.  Change to simulate
35185         exceptions by writing into the %fsr.
35186         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35187         (__Qp_handle_exceptions): Likewise.
35188         (numbers): Delete.
35189         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35190         __Qp_handle_exceptions.
35191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35192         __Qp_handle_exceptions.
35193         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35194         as unused and give dummy FP_RND_NEAREST initializer.
35195         (FP_INHIBIT_RESULTS): Define.
35196         (___Q_simulate_exceptions): Update declaration.
35197         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35198         formatting.
35199         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35200         as unused and give dummy FP_RND_NEAREST initializer.
35201         (__Qp_handle_exceptions): Update declaration.
35202         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35203         formatting.
35205 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
35207         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35208         the temporary FPU control word.
35209         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35210         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35211         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35212         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35213         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35214         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35215         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35216         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35217         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35218         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35219         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35221 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35223         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
35224         fields.
35226 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
35228         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
35229         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
35230         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
35231         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
35232         Likewise.
35233         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
35234         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
35235         Likewise.
35237 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
35239         * po/h.po: Update from translation team.
35241 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
35243         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
35245         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
35246         handling of denormals.
35247         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35248         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
35249         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35250         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35251         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35252         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
35253         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
35254         Likewise.
35256 2012-05-26  Marek Polacek  <polacek@redhat.com>
35258         [BZ #14152]
35259         * math/libm-test.inc (fma_test): Don't always expect underflow
35260         exception.
35262 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35264         [BZ #12416]
35265         * elf/tst-execstack.c: Include stackinfo.h.
35266         (do_test): Adjust test case to ensure that pthread_getattr_np
35267         behaviour remains the same after marking stack executable.
35269 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35271         * sysdeps/unix/sysv/linux/kernel-features.h
35272         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
35273         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
35274         kernel-features.h.
35275         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35276         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35277         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
35278         kernel-features.h.
35279         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
35280         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35282 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
35284         * configure.in: Define the default includes to being none.
35285         * configure: Regenerated.
35287 2012-05-25  Roland McGrath  <roland@hack.frob.com>
35289         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
35290         * sysdeps/x86_64/setjmp.S: Likewise.
35291         * sysdeps/i386/bsd-setjmp.S: Likewise.
35292         * sysdeps/i386/bsd-_setjmp.S: Likewise.
35293         * sysdeps/i386/setjmp.S: Likewise.
35294         * sysdeps/i386/__longjmp.S: Likewise.
35295         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
35296         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
35298         * include/stap-probe.h: New file.
35299         * configure.in: Handle --enable-systemtap.
35300         * configure: Regenerated.
35301         * config.h.in (USE_STAP_PROBE): New #undef.
35302         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
35303         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
35304         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35306 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
35308         [BZ #13717]
35309         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35310         to 2.4.0 where earlier.
35311         * sysdeps/unix/sysv/linux/configure: Regenerated.
35312         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35313         <kernel-features.h>.
35314         [__ASSUME_32BITUIDS]: Make code unconditional.
35315         [!__ASSUME_32BITUIDS]: Remove conditional code.
35316         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
35317         <kernel-features.h>.
35318         [__ASSUME_32BITUIDS]: Make code unconditional.
35319         [!__ASSUME_32BITUIDS]: Remove conditional code.
35320         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
35321         [__ASSUME_32BITUIDS]: Make code unconditional.
35322         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
35323         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
35324         <kernel-features.h>.
35325         [__ASSUME_32BITUIDS]: Make code unconditional.
35326         [!__ASSUME_32BITUIDS]: Remove conditional code.
35327         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
35328         <kernel-features.h>.
35329         [__ASSUME_32BITUIDS]: Make code unconditional.
35330         [!__ASSUME_32BITUIDS]: Remove conditional code.
35331         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
35332         <kernel-features.h>.
35333         [__ASSUME_32BITUIDS]: Make code unconditional.
35334         [!__ASSUME_32BITUIDS]: Remove conditional code.
35335         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
35336         <kernel-features.h>.
35337         [__ASSUME_32BITUIDS]: Make code unconditional.
35338         [!__ASSUME_32BITUIDS]: Remove conditional code.
35339         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35340         <kernel-features.h>.
35341         [__ASSUME_32BITUIDS]: Make code unconditional.
35342         [!__ASSUME_32BITUIDS]: Remove conditional code.
35343         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35344         <kernel-features.h>.
35345         [__ASSUME_32BITUIDS]: Make code unconditional.
35346         [!__ASSUME_32BITUIDS]: Remove conditional code.
35347         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
35348         <kernel-features.h>.
35349         [__ASSUME_32BITUIDS]: Make code unconditional.
35350         [!__ASSUME_32BITUIDS]: Remove conditional code.
35351         * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
35364         <kernel-features.h>.
35365         [__NR_setresgid] (__setresgid): Do not declare.
35366         [__ASSUME_32BITUIDS]: Make code unconditional.
35367         [!__ASSUME_32BITUIDS]: Remove conditional code.
35368         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
35369         <kernel-features.h>.
35370         [__NR_setresuid] (__setresuid): Do not declare.
35371         [__ASSUME_32BITUIDS]: Make code unconditional.
35372         [!__ASSUME_32BITUIDS]: Remove conditional code.
35373         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
35374         <kernel-features.h>.
35375         [__ASSUME_32BITUIDS]: Make code unconditional.
35376         [!__ASSUME_32BITUIDS]: Remove conditional code.
35377         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
35378         <kernel-features.h>.
35379         [__ASSUME_32BITUIDS]: Make code unconditional.
35380         [!__ASSUME_32BITUIDS]: Remove conditional code.
35381         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
35382         <kernel-features.h>.
35383         [__ASSUME_32BITUIDS]: Make code unconditional.
35384         [!__ASSUME_32BITUIDS]: Remove conditional code.
35385         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
35386         <kernel-features.h>.
35387         [__ASSUME_32BITUIDS]: Make code unconditional.
35388         [!__ASSUME_32BITUIDS]: Remove conditional code.
35389         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
35390         <kernel-features.h>.
35391         [__ASSUME_32BITUIDS]: Make code unconditional.
35392         [!__ASSUME_32BITUIDS]: Remove conditional code.
35393         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
35394         <kernel-features.h>.
35395         [__ASSUME_32BITUIDS]: Make code unconditional.
35396         [!__ASSUME_32BITUIDS]: Remove conditional code.
35397         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
35398         <kernel-features.h>.
35399         [__ASSUME_32BITUIDS]: Make code unconditional.
35400         [!__ASSUME_32BITUIDS]: Remove conditional code.
35401         * sysdeps/unix/sysv/linux/i386/setreuid.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/setuid.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/shmctl.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/kernel-features.h
35414         (__ASSUME_SETRESUID_SYSCALL): Remove.
35415         (__ASSUME_SETRESGID_SYSCALL): Likewise.
35416         (__ASSUME_32BITUIDS): Likewise.
35417         (__ASSUME_LDT_WORKS): Likewise.
35418         (__ASSUME_O_DIRECTORY): Likewise.
35419         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
35420         architecture but not kernel version.
35421         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35422         (__ASSUME_MMAP2_SYSCALL): Likewise.
35423         (__ASSUME_STAT64_SYSCALL): Likewise.
35424         (__ASSUME_IPC64): Likewise.
35425         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
35426         <kernel-features.h>.
35427         [__ASSUME_32BITUIDS]: Make code unconditional.
35428         [!__ASSUME_32BITUIDS]: Remove conditional code.
35429         * sysdeps/unix/sysv/linux/opendir.c: Do not include
35430         <kernel-features.h>.
35431         [__ASSUME_O_DIRECTORY]: Make code unconditional.
35432         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
35433         132096]: Remove conditional code.
35434         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
35435         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35436         <kernel-features.h>.
35437         [__ASSUME_32BITUIDS]: Make code unconditional.
35438         [!__ASSUME_32BITUIDS]: Remove conditional code.
35439         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35440         <kernel-features.h>.
35441         [__ASSUME_32BITUIDS]: Make code unconditional.
35442         [!__ASSUME_32BITUIDS]: Remove conditional code.
35443         * sysdeps/unix/sysv/linux/setegid.c: Do not include
35444         <kernel-features.h>.
35445         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
35446         unconditional.
35447         (__setresgid): Do not declare.
35448         [__ASSUME_32BITUIDS]: Make code unconditional.
35449         [!__ASSUME_32BITUIDS]: Remove conditional code.
35450         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
35451         <kernel-features.h>.
35452         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
35453         unconditional.
35454         (__setresuid): Do not declare.
35455         [__ASSUME_32BITUIDS]: Make code unconditional.
35456         [!__ASSUME_32BITUIDS]: Remove conditional code.
35457         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35458         <kernel-features.h>.
35459         [__ASSUME_32BITUIDS]: Make code unconditional.
35460         [!__ASSUME_32BITUIDS]: Remove conditional code.
35461         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
35462         <kernel-features.h>.
35463         [__ASSUME_32BITUIDS]: Make code unconditional.
35464         [!__ASSUME_32BITUIDS]: Remove conditional code.
35466 2012-05-25  Richard Henderson  <rth@twiddle.net>
35468         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
35469         dl_hwcap to ifunc resolver.
35470         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
35471         elf_ifunc_invoke.
35472         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
35473         dl_hwcap to ifunc resolver.
35474         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
35476 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35478         [BZ #14153]
35479         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
35480         for |x| <= 2**-26, not 2**-57.
35481         * math/libm-test.inc (acos_test): Do not allow spurious underflow
35482         exception.
35484 2012-05-24  Jeff Law  <law@redhat.com>
35486         * stdio-common/Makefile (tests): Add bug25.
35487         * stdio-common/bug25.c: New test.
35489 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35491         [BZ #13576]
35492         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
35493         multiple of MALLOC_ALIGNMENT in size.
35494         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
35496 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35498         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
35499         Require >= 256.
35500         (FILENAME_MAX): Use macro-int-constant.
35501         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
35502         (_IOFBF): Use macro-int-constant.
35503         (_IOLBF): Likewise.
35504         (_IONBF): Likewise.
35505         (SEEK_CUR): Likewise.
35506         (SEEK_END): Likewise.
35507         (SEEK_SET): Likewise.
35508         (TMP_MAX): Likewise.
35509         (EOF): Use macro-int-constant.  Require < 0.
35510         (NULL): Use macro-constant.  Require == 0.
35511         (stdin): Require type to be FILE *.
35512         (stdout): Likewise.
35513         (stderr): Likewise.
35514         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
35515         macro-int-constant.
35516         (EXIT_SUCCESS): Likewise.
35517         (NULL): Use macro-constant.  Require == 0.
35518         (RAND_MAX): Use macro-int-constant.
35519         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
35520         [C99-based standards] (strtof): Require function.
35521         [C99-based standards] (strtold): Likewise.
35522         [C99-based standards] (strtoll): Likewise.
35523         [C99-based standards] (strtoull): Likewise.
35524         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35525         [ISO || ISO99 || ISO11] (limits.h): Likewise.
35526         [ISO || ISO99 || ISO11] (math.h): Likewise.
35527         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
35528         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35529         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35531 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
35533         [BZ #14132]
35534         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
35535         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
35536         * intl/dgettext.c (DCGETTEXT): Likewise.
35537         * intl/gettext.c (DCGETTEXT): Likewise.
35538         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
35539         * posix/regex_internal.h (gettext): Likewise.
35540         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
35541         Remove declaration.
35542         * include/argz.h (__argz_count_internal)
35543         (__argz_stringify_internal): Remove declaration.
35544         (__argz_count, __argz_stringify): Declare hidden proto.
35545         * intl/dcgettext.c: Remove use of INTDEF.
35546         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
35547         * string/argz-stringify.c: Likewise.
35548         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35549         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35550         Declare hidden proto.
35551         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
35552         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
35553         Declare hidden proto.
35554         * include/stdio.h (__asprintf_internal): Don't declare.
35555         (__asprintf): Don't define as macro.  Declare hidden proto.
35556         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
35557         (__fsetlocking): Declare hidden proto.
35558         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
35559         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
35560         hidden proto.
35561         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
35562         (_IO_setlinebuf): Remove use of INTUSE.
35563         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
35564         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
35565         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
35566         Remove declaration.
35567         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
35568         (_IO_do_flush): Remove use of INTUSE.
35569         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
35570         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
35571         (_IO_adjust_column, _IO_least_wmarker)
35572         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
35573         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
35574         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
35575         (_IO_default_doallocate, _IO_wdefault_doallocate)
35576         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
35577         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
35578         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
35579         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
35580         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
35581         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
35582         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
35583         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
35584         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
35585         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
35586         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
35587         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
35588         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
35589         proto.
35590         (_IO_flush_all_internal, _IO_adjust_column_internal)
35591         (_IO_default_uflow_internal, _IO_default_finish_internal)
35592         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
35593         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
35594         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
35595         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
35596         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
35597         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
35598         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
35599         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
35600         (_IO_file_close_internal, _IO_file_close_it_internal)
35601         (_IO_file_underflow_internal, _IO_file_overflow_internal)
35602         (_IO_file_init_internal, _IO_file_attach_internal)
35603         (_IO_file_fopen_internal, _IO_file_read_internal)
35604         (_IO_file_sync_internal, _IO_file_seek_internal)
35605         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
35606         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
35607         (_IO_str_underflow_internal, _IO_str_overflow_internal)
35608         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
35609         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
35610         (_IO_list_all_internal, _IO_link_in_internal)
35611         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
35612         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
35613         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
35614         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
35615         (_IO_do_write_internal, _IO_padn_internal)
35616         (_IO_getline_info_internal, _IO_getline_internal)
35617         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
35618         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
35619         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
35620         (_IO_vfscanf_internal, _IO_vfprintf_internal)
35621         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
35622         (_IO_init_internal, _IO_un_link_internal): Don't declare.
35623         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
35624         with libc_hidden_ver, remove use of INTUSE.
35625         * libio/genops.c: Likewise.
35626         * libio/freopen.c: Likewise.
35627         * libio/freopen64.c: Likewise.
35628         * libio/iofclose.c: Likewise.
35629         * libio/iofdopen.c: Likewise.
35630         * libio/iofflush.c: Likewise.
35631         * libio/iofflush_u.c: Likewise.
35632         * libio/iofgets.c: Likewise.
35633         * libio/iofgets_u.c: Likewise.
35634         * libio/iofopen.c: Likewise.
35635         * libio/iofopncook.c: Likewise.
35636         * libio/iofread.c: Likewise.
35637         * libio/iofread_u.c: Likewise.
35638         * libio/ioftell.c: Likewise.
35639         * libio/iofwrite.c: Likewise.
35640         * libio/iogetline.c: Likewise.
35641         * libio/iogets.c: Likewise.
35642         * libio/iogetwline.c: Likewise.
35643         * libio/iopadn.c: Likewise.
35644         * libio/iopopen.c: Likewise.
35645         * libio/ioseekoff.c: Likewise.
35646         * libio/ioseekpos.c: Likewise.
35647         * libio/iosetbuffer.c: Likewise.
35648         * libio/iosetvbuf.c: Likewise.
35649         * libio/ioungetc.c: Likewise.
35650         * libio/ioungetwc.c: Likewise.
35651         * libio/iovdprintf.c: Likewise.
35652         * libio/iovsprintf.c: Likewise.
35653         * libio/iovsscanf.c: Likewise.
35654         * libio/memstream.c: Likewise.
35655         * libio/obprintf.c: Likewise.
35656         * libio/oldfileops.c: Likewise.
35657         * libio/oldiofclose.c: Likewise.
35658         * libio/oldiofdopen.c: Likewise.
35659         * libio/oldiofopen.c: Likewise.
35660         * libio/oldiopopen.c: Likewise.
35661         * libio/oldstdfiles.c: Likewise.
35662         * libio/putc.c: Likewise.
35663         * libio/setbuf.c: Likewise.
35664         * libio/setlinebuf.c: Likewise.
35665         * libio/stdfiles.c: Likewise.
35666         * libio/strops.c: Likewise.
35667         * libio/vasprintf.c: Likewise.
35668         * libio/vscanf.c: Likewise.
35669         * libio/vsnprintf.c: Likewise.
35670         * libio/vswprintf.c: Likewise.
35671         * libio/wfiledoalloc.c: Likewise.
35672         * libio/wfileops.c: Likewise.
35673         * libio/wgenops.c: Likewise.
35674         * libio/wmemstream.c: Likewise.
35675         * libio/wstrops.c: Likewise.
35676         * libio/__fpurge.c: Likewise.
35677         * libio/__fsetlocking.c: Likewise.
35678         * assert/assert.c: Likewise.
35679         * debug/fgets_chk.c: Likewise.
35680         * debug/fgets_u_chk.c: Likewise.
35681         * debug/fread_chk.c: Likewise.
35682         * debug/fread_u_chk.c: Likewise.
35683         * debug/gets_chk.c: Likewise.
35684         * debug/obprintf_chk.c: Likewise.
35685         * debug/vasprintf_chk.c: Likewise.
35686         * debug/vdprintf_chk.c: Likewise.
35687         * debug/vsnprintf_chk.c: Likewise.
35688         * debug/vsprintf_chk.c: Likewise.
35689         * malloc/mtrace.c: Likewise.
35690         * misc/error.c: Likewise.
35691         * misc/syslog.c: Likewise.
35692         * stdio-common/asprintf.c: Likewise.
35693         * stdio-common/fxprintf.c: Likewise.
35694         * stdio-common/getw.c: Likewise.
35695         * stdio-common/isoc99_fscanf.c: Likewise.
35696         * stdio-common/isoc99_scanf.c: Likewise.
35697         * stdio-common/isoc99_vfscanf.c: Likewise.
35698         * stdio-common/isoc99_vscanf.c: Likewise.
35699         * stdio-common/isoc99_vsscanf.c: Likewise.
35700         * stdio-common/printf-prs.c: Likewise.
35701         * stdio-common/printf_fp.c: Likewise.
35702         * stdio-common/printf_fphex.c: Likewise.
35703         * stdio-common/printf_size.c: Likewise.
35704         * stdio-common/putw.c: Likewise.
35705         * stdio-common/scanf.c: Likewise.
35706         * stdio-common/sprintf.c: Likewise.
35707         * stdio-common/tmpfile.c: Likewise.
35708         * stdio-common/vfprintf.c: Likewise.
35709         * stdio-common/vfscanf.c: Likewise.
35710         * stdlib/strfmon_l.c: Likewise.
35711         * sunrpc/openchild.c: Likewise.
35712         * sunrpc/xdr_stdio.c: Likewise.
35713         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
35714         * sysdeps/mach/hurd/tmpfile.c: Likewise.
35716 2012-05-24  Roland McGrath  <roland@hack.frob.com>
35718         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35720         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
35721         in the third column, to generate for the shared library an IFUNC
35722         that uses _dl_vdso_vsym.
35723         * Makerules (COMPILE.c, compile-stdin.c): New variables.
35724         * Makeconfig (object-suffixes-noshared): New variable.
35726         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
35727         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
35728         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
35729         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
35731         [BZ #14132]
35732         * include/sys/time.h (__gettimeofday): Remove macro.
35733         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
35734         * time/gettimeofday.c (__gettimeofday): Remove #undef.
35735         Remove INTDEF.
35736         (__gettimeofday): Add libc_hidden_def.
35737         (gettimeofday): Add libc_hidden_weak.
35738         * sysdeps/mach/gettimeofday.c: Likewise.
35739         * sysdeps/posix/gettimeofday.c: Likewise.
35740         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35741         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35742         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
35743         (__gettimeofday_internal): Remove strong_alias.
35744         (__gettimeofday): Add libc_hidden_def.
35745         (gettimeofday): Add libc_hidden_weak.
35746         * sysdeps/unix/syscalls.list (gettimeofday):
35747         Remove __gettimeofday_internal alias.
35749 2012-05-24  Daniel Jacobowitz  <drow@false.org>
35750             H.J. Lu  <hongjiu.lu@intel.com>
35752         [BZ #12495]
35753         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
35754         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
35755         (largebin_index_32_big): New.
35756         (largebin_index): Use it for 16-byte alignment.
35757         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
35758         correction with front_misalign.
35760 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
35762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
35763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35764         Likewise.
35765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
35766         Likewise.
35767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35768         Likewise.
35769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
35770         Likewise.
35771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
35772         Likewise.
35773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
35774         Likewise.
35775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
35776         Likewise.
35777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35778         Likewise.
35779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
35780         Likewise.
35781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
35782         Likewise.
35783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35784         Likewise.
35785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
35786         Likewise.
35788         * scripts/data/c++-types-x32-linux-gnu.data: New file.
35789         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
35791 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
35793         [BZ #10846]
35794         [BZ #14036]
35795         * math/libm-test.inc (exp_test): Add test from bug 14036.
35796         (pow_test): Add test from bug 10846.
35798         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
35799         and other flags.
35800         (special_function): Do not include flags in test name.
35801         (parse_args): Likewise.
35802         * sysdeps/i386/fpu/libm-test-ulps: Update.
35803         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35804         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35805         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35808         * math/gen-libm-test.pl (%beautify): Add entries for underflow
35809         exceptions.
35810         * math/libm-test.inc ("Philosophy"): Update comment about
35811         exception testing.
35812         (UNDERFLOW_EXCEPTION): New macro.
35813         (UNDERFLOW_EXCEPTION_OK): Likewise.
35814         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
35815         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
35816         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
35817         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
35818         (INVALID_EXCEPTION_OK): Update value.
35819         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35820         (OVERFLOW_EXCEPTION_OK): Likewise.
35821         (IGNORE_ZERO_INF_SIGN): Likewise.
35822         (test_exceptions): Handle underflow exceptions.
35823         (acos_test): Update for underflow exception expectations.
35824         (cexp_test): Likewise.
35825         (clog_test): Likewise.
35826         (clog10_test): Likewise.
35827         (csqrt_test): Likewise.
35828         (ctan_test): Likewise.
35829         (ctanh_test): Likewise.
35830         (exp_test): Likewise.
35831         (exp10_test): Likewise.
35832         (exp2_test): Likewise.
35833         (expm1_test): Likewise.
35834         (fma_test): Likewise.
35835         (j0_test): Likewise.
35836         (jn_test): Likewise.
35837         (nexttoward_test): Likewise.
35838         (pow_test): Likewise.
35839         (scalbn_test): Likewise.
35840         (scalbln_test): Likewise.
35841         (tan_test): Likewise.
35842         (y1_test): Likewise.
35843         * sysdeps/i386/fpu/libm-test-ulps: Update.
35844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35846 2012-05-23  David S. Miller  <davem@davemloft.net>
35848         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35849         (__libc_sigaction): Remove unused local variables.
35851 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35853         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
35855 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
35857         mktime: avoid signed integer overflow
35858         * time/mktime.c (__mktime_internal): Do not mishandle the case
35859         where diff == INT_MIN.
35861         mktime: simplify computation of average
35862         * time/mktime.c (ranged_convert): Use new time_t_avg function
35863         instead of rolling our own (probably-slower) code.
35865         mktime: do not assume signed right shift propagates sign bit
35866         * time/mktime.c (isdst_differ): New static function.
35867         (__mktime_internal): No need to normalize tm_isdst now.
35868         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
35869         tm_isdst values.
35871         mktime: merge another wrapv change from gnulib
35872         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
35873         from some compilers.
35875         mktime: remove incorrect attempt at unusual arithmetics
35876         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
35877         The code didn't really work on such machines anyway.
35878         (TYPE_MINIMUM): Assume two's complement.
35879         (twos_complement_arithmetic): Verify that long_int and time_t
35880         are two's complement (or unsigned, in the latter case).
35882         mktime: check signed shifts on long_int and time_t, too
35883         * time/mktime.c (SHR): Check that shifts work as desired
35884         on the types long_int and time_t too, as SHR is used on
35885         such types.
35887         mktime: do not assume 'long' is wide enough
35888         * time/mktime.c (verify): Move decl up.
35889         (long_int): New type.
35890         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
35891         to remove assumption in the code that 'long' is wide enough to
35892         store year values.  This assumption is not true on x32 and on
35893         some non-glibc platforms.
35895         mktime: merge wrapv change from gnulib
35896         * time/mktime.c (WRAPV): New macro.
35897         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
35898         (guess_time_tm, __mktime_internal): Do not assume that signed
35899         integer overflow wraps around; modern compilers generate code
35900         where this assumption is no longer valid.
35902 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35904         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
35905         Replace "jmp L(pseudo_end)" with "ret".
35906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
35907         Likewise.
35909 2012-05-23  Andreas Jaeger  <aj@suse.de>
35911         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
35912         * sysdeps/unix/sysv/linux/poll.c: Remove file.
35914 2012-05-23  Andreas Jaeger  <aj@suse.de>
35915             Maximilian Attems  <max@stro.at>
35917         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
35918         New macros.
35920 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
35922         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
35923         code so that pseudo_end is just ret and the stack pointer is
35924         correct also for static library in error case.
35926 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
35928         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
35929         move to syscalls.list.
35930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35935         * manual/install.texi (Running make install): Do not mention Linux
35936         kernel version for which pt_chown is not needed.
35937         (Linux): Do not mention problems with nscd with 2.0 kernels.
35938         * INSTALL: Regenerated.
35940 2012-05-23  Andreas Jaeger  <aj@suse.de>
35942         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
35943         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
35944         macro.
35945         * sysdeps/unix/sysv/linux/s390/bits/mman.h
35946         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35947         * sysdeps/unix/sysv/linux/sh/bits/mman.h
35948         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35949         * sysdeps/unix/sysv/linux/i386/bits/mman.h
35950         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35951         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
35952         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35953         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
35954         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
35955         * sysdeps/unix/sysv/linux/bits/in.h
35956         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
35958 2012-05-22  Roland McGrath  <roland@hack.frob.com>
35960         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
35961         (PREPARE_VERSION): Just use assert instead, it will be elided
35962         under [NDEBUG] anyway.
35964 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35966         * sysdeps/unix/sysv/linux/Makefile: Include
35967         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
35968         (sysdep_routines): Remove sysctl.
35969         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
35970         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
35971         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
35972         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
35973         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
35975 2012-05-22  Andreas Jaeger  <aj@suse.de>
35977         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
35978         that pseudo_end is just ret and the stack pointer is correct also
35979         for static library in error case.
35981 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
35983         [BZ #14122]
35984         * nss/nsswitch.c (defconfig_entries): New variable.
35985         (__nss_database_lookup): Don't leak defconfig entries.
35986         (nss_parse_service_list): Don't leak on error paths.
35987         (free_database_entries): New function.
35988         (free_defconfig): New function.
35989         (free_mem): Move common code to free_database_entries.
35991 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35993         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
35994         Add arch_prctl.
35995         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
35997         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35998         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
35999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36000         New macro.
36001         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36002         (INTERNAL_SYSCALL_TYPES): Likewise.
36003         (LOAD_ARGS_TYPES_[1-6]): Likewise.
36004         (LOAD_REGS_TYPES_[1-6]): Likewise.
36005         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36006         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36008 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36010         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36011         copysignl for GLIBC_2_0.
36012         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36013         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36014         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36015         logbl for GLIBC_2_0.
36016         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36017         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36019 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36021         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36022         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36024         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36025         Use "neg %eax".
36027         * time/mktime.c: Update copyright years.
36029 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36031         mktime: merge comment-quoting-style change from gnulib
36032         * time/mktime.c: Quote 'like this' in comments.
36033         The GNU coding standards suggest that we no longer quote `like this',
36034         as "`" and "'" are typically rendered asymmetrically nowadays.
36035         The typical gnulib style is to quote 'like this' when quoting
36036         code, and "like this" when quoting English.
36038         * time/mktime.c (compile-command): Add "-I.".
36040         mktime: merge mktime-internal.h change from gnulib
36041         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36043         mktime: merge time_r change from gnulib
36044         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36046         mktime: merge DEBUG change from gnulib
36047         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36048         case system <time.h> has a #define.
36050         mktime: merge <sys/types.h> change from gnulib
36051         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36052         since <time.t> is now guaranteed to define time_t.
36054         mktime: merge HAVE_CONFIG_H change from gnulib
36055         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36057 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36059         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36060         Use "neg %eax".
36062         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36063         __rlim_t cast.
36064         (struct rusage): Use anonymous union to pad each field to
36065         __syscall_slong_t.
36067 2012-05-21  David S. Miller  <davem@davemloft.net>
36069         * Makefules (o-iterator): Remove .s cases.
36070         (compile-command.s): Delete.
36071         (COMPILE.s): Delete.
36072         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36074 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
36076         * configure.in (libc_cv_predef_stack_protector): Only consider
36077         "foobar" and "__stack_chk_fail" lines in libc_undefs.
36078         * configure: Regenerated.
36080 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36083         New macro.  Use R*LP on int and pointer.
36084         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36085         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36086         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36087         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36089         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36090         [__WORDSIZE_TIME64_COMPAT32] instead of
36091         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36092         (struct utmp): Likewise.
36093         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36094         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36095         Renamed to ...
36096         (__WORDSIZE_TIME64_COMPAT32): This.
36097         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36098         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36099         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36100         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36101         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36102         (__WORDSIZE_TIME64_COMPAT32): New macro.
36104 2012-05-21  Andreas Jaeger  <aj@suse.de>
36106         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36107         only if [SHARED]. Add prototype for __wcschr_ia32.
36109 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36111         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36112         of %rbp unmolested in the jmp_buf while mangling the low bits.
36113         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36114         unmolested high bits of %rbp while demangling the low bits.
36115         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36117 2012-05-21  Andreas Jaeger  <aj@suse.de>
36119         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36120         * sunrpc/svc_simple.c: Use it for registerrpc.
36121         * sunrpc/xcrypt.c: Use it for passwd2des.
36123         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36125 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36127         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36128         Don't define if [__SYSCALL_WORDSIZE != 32].
36129         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36130         New macro.
36132 2012-05-21  Bruno Haible  <bruno@clisp.org>
36133             Andreas Jaeger  <aj@suse.de>
36135         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36136         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36137         inptr and inend for must_buffer_ch.
36138         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36139         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36140         * stdio-common/Makefile (tests): Remove bug15.
36141         (bug15-ENV): Remove macro.
36142         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36143         anymore.
36145 2012-05-19  Andreas Jaeger  <aj@suse.de>
36146             Roland McGrath  <roland@hack.frob.com>
36148         * manual/contrib.texi: Completely rewritten. It contains now an
36149         alphabetical list of contributors and their contributions.
36151 2012-05-21  Richard Henderson  <rth@twiddle.net>
36153         * misc/getauxval.c (__getauxval): Use unsigned long int.
36154         * misc/sys/auxv.h: Include <sys/cdefs.h>.
36155         (getauxval): Use unsigned long int.
36157 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
36159         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36161 2012-05-21  Roland McGrath  <roland@hack.frob.com>
36163         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36164         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36165         __alignof__ (long double).
36167 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36171 2012-05-20  Richard Henderson  <rth@twiddle.net>
36173         * misc/getauxval.c: New file.
36174         * misc/sys/auxv.h: New file.
36175         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36176         (routines): Add getauxval.
36177         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36178         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36179         * elf/dl-sysdep.c (_dl_auxv): Remove.
36180         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36181         * elf/dl-support.c (_dl_auxv): New variable.
36182         (_dl_aux_init): Initialize it.
36183         * manual/startup.texi (Auxiliary Vector): New node.
36184         * sysdeps/generic/bits/hwcap.h: New file.
36185         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36186         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
36187         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36188         * sysdeps/sparc/sysdep.h: ... here.  Include it.
36189         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36190         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36192         Update.
36193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36196         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36199         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36202 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36206 2012-05-19  David S. Miller  <davem@davemloft.net>
36208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36210 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36212         [BZ #14123]
36213         * math/s_ccosh.c: Include <float.h>
36214         (__ccosh): Avoid internal overflow calculating sinh and cosh
36215         values before multiplying by sin and cos values.
36216         * math/s_ccoshf.c: Likewise.
36217         * math/s_ccoshl.c: Likewise.
36218         * math/s_csin.c: Likewise.
36219         * math/s_csinf.c: Likewise.
36220         * math/s_csinl.c: Likewise.
36221         * math/s_csinh.c: Likewise.
36222         * math/s_csinhf.c: Likewise.
36223         * math/s_csinhl.c: Likewise.
36224         * math/libm-test.inc (ccos_test): Add more tests.
36225         (ccosh_test): Likewise.
36226         (csin_test): Likewise.
36227         (csinh_test): Likewise.
36228         * sysdeps/i386/fpu/libm-test-ulps: Update.
36229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36231 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
36233         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
36234         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
36236         * sysdeps/x86_64/x32/_itoa.h: Add comment.
36238 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
36240         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
36241         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
36242         * sysdeps/powerpc/soft-fp/Versions: Likewise.
36243         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
36244         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
36245         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
36246         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
36247         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
36248         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
36249         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
36250         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
36251         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
36252         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
36253         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
36254         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
36255         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
36256         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
36257         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
36258         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
36259         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
36260         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
36261         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
36262         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
36263         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
36264         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
36265         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
36266         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
36267         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
36268         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
36269         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
36270         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
36272 2012-05-18  Andreas Jaeger  <aj@suse.de>
36274         * csu/.gitignore: Delete.
36276 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36278         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
36279         (timex): Use __syscall_slong_t.
36281 2012-05-18  Andreas Jaeger  <aj@suse.de>
36282             Carlos O'Donell  <carlos_odonell@mentor.com>
36284         * manual/install.texi (Configuring and compiling): Update
36285         description about files modified in the source directory.
36286         * INSTALL: Regenerated.
36288 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36290         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
36291         value.  Use "or" to set return value to -1.
36292         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
36293         negate return value.
36295 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36297         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
36298         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
36299         failure if the compiler has Graphite support disabled.
36300         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
36301         Likewise.
36302         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
36303         (CFLAGS-memmove.c): Likewise.
36304         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
36305         Likewise.
36307 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
36309         * sysdeps/x86_64/x32/_itoa.h: New file.
36311         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
36312         getdents system call only if kernel and user dirents have the
36313         same d_ino and d_off.
36315         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36316         LLONG_MAX != LONG_MAX.
36317         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36318         (_fitoa_word): Likewise.
36320         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
36321         years.
36322         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
36323         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
36324         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
36326         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
36327         include <bits/wordsize.h>.  Check __x86_64__ instead of
36328         __WORDSIZE.
36329         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
36330         if __x86_64__ is defined.  Use anonymous union on fpstate.
36332         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
36333         anonymous union.
36335 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
36337         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
36338         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
36339         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
36340         Refer to _rtld_local_ro instead of _rtld_global_ro.
36341         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
36342         Likewise.
36343         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
36344         Likewise.
36345         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
36346         Likewise.
36347         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
36348         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
36349         of _rtld_global, and rtld_progname instead of _dl_argv[0].
36351         * sysdeps/powerpc/powerpc32/dl-machine.c
36352         (__elf_machine_runtime_setup) [PROF]: Don't reference
36353         _dl_prof_resolve.
36355 2012-05-18  Andreas Jaeger  <aj@suse.de>
36357         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
36358         function only available for GCCs before 3.4 since GCC 3.4
36359         introduced a builtin.
36360         (lrint): Likewise.
36361         (llrintf): Likewise.
36362         (llrint): Likewise.
36363         (fmaxf): Likewise.
36364         (fmax): Likewise.
36365         (fminf): Likewise.
36366         (fmin): Likewise.
36367         (rint): Likewise.
36368         (rintf): Likewise.
36369         (nearbyint): Likewise.
36370         (nearbyintf): Likewise.
36371         (ceil): Likewise.
36372         (ceilf): Likewise.
36373         (floor): Likewise.
36374         (floorf): Likewise.
36376 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36378         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
36379         on both fields and cast pointer to __syscall_ulong_t.
36381         * bits/types.h (__fsword_t): New type.
36382         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
36383         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
36384         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36385         (__FSWORD_T_TYPE): Likewise.
36386         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36387         (__FSWORD_T_TYPE): Likewise.
36388         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36389         (__FSWORD_T_TYPE): Likewise.
36390         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
36391         (__FSWORD_T_TYPE): Likewise.
36392         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
36393         __SWORD_TYPE with __fsword_t.
36394         (statfs64): Likewise.
36396 2012-05-17  David S. Miller  <davem@davemloft.net>
36398         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
36400 2012-05-17  Andreas Jaeger  <aj@suse.de>
36402         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
36403         warning.
36405 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36407         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
36409 2012-05-17  Andreas Jaeger  <aj@suse.de>
36411         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
36412         when it is used.
36414 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36416         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
36418 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36420         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
36421         * sysdeps/x86_64/tst-mallocalign1.c: New file.
36423 2012-05-17  Andreas Jaeger  <aj@suse.de>
36424             Carlos O'Donell  <carlos_odonell@mentor.com>
36426         [BZ #14059]
36427         * sysdeps/x86_64/multiarch/init-arch.h
36428         (bit_YMM_Usable): Rename to...
36429         (bit_AVX_Usable): ... this.
36430         (bit_FMA4_Usable): New macro.
36431         (bit_XMM_state): New macro.
36432         (bit_YMM_state): New macro.
36433         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
36434         [__ASSEMBLER__] (index_AVX_Usable): ... this.
36435         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
36436         (CPUID_OSXSAVE): New macro.
36437         (CPUID_AVX): New macro.
36438         (CPUID_FMA4): New macro.
36439         (index_YMM_Usable): Rename to...
36440         (index_AVX_Usable): ... this.
36441         (HAS_AVX): Use HAS_ARCH_FEATURE.
36442         (HAS_FMA4): Likewise.
36443         (HAS_YMM_USABLE): Remove.
36444         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36445         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
36446         are present.
36447         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
36448         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
36449         * sysdeps/x86_64/multiarch/Makefile: Likewise.
36450         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
36451         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
36453 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
36455         * math/libm-test.c: Support platforms without multiple rounding modes.
36456         * math/bug-nextafter.c: Support platforms without FP exceptions.
36457         * math/bug-nexttoward.c: Likewise.
36458         * math/test-fenv.c: Likewise.
36459         * math/test-misc.c: Likewise.
36460         * stdlib/bug-getcontext.c: Likewise.
36462 2012-05-17  Andreas Jaeger  <aj@suse.de>
36464         * manual/examples/search.c (critter_cmp): Change signature to
36465         avoid warnings.
36466         * manual/string.texi (Collation Functions): Likewise.
36468 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36470         * bits/types.h: Fold copyright years.
36471         * bits/typesizes.h: Likewise.
36472         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
36473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
36474         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
36475         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
36476         * time/time.h: Likewise.
36478 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
36480         [BZ #208]
36481         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
36482         in instead of returning them.  Return void.
36483         (__libc_mallinfo): Accumulate over all arenas.
36484         (__malloc_stats): Adjust for change in int_mallinfo interface.
36486 2012-05-16  Roland McGrath  <roland@hack.frob.com>
36488         [BZ #10375]
36489         * configure.in (NM): Add AC_CHECK_TOOL for it.
36490         (libc_extra_cflags): New substituted variable.
36491         Check for -fstack-protector being used implicitly.
36492         * configure: Regenerated.
36493         * config.make.in (config-extra-cflags): New variable,
36494         gets @libc_extra_cflags@.
36495         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
36497         [BZ #10375]
36498         * configure.in: Check for _FORTIFY_SOURCE being predefined.
36499         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
36500         * configure: Regenerated.
36501         * config.make.in (CPPUNDEFS): New substituted variable.
36502         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
36503         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
36504         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
36506 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36508         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
36509         (mq_attr): Use __syscall_slong_t.
36511 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36513         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
36514         Check __x86_64__ instead of __WORDSIZE.
36515         (_STAT_VER_LINUX): Likewise.
36516         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
36517         __syscall_ulong_t and __syscall_slong_t.
36518         (stat64): Likewise.
36520 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36522         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
36524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36526         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
36528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36530         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
36531         __syscall_ulong_t.
36533         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
36534         include <bits/wordsize.h>.  Check __x86_64__ instead of
36535         __WORDSIZE.
36536         (greg_t): Use "__extension__ long long int" if __x86_64__ is
36537         defined.
36538         (mcontext_t): Replace "unsigned long" with "unsigned long long".
36540         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
36541         include <bits/wordsize.h>.  Check __x86_64__ instead of
36542         __WORDSIZE.
36543         (user_regs_struct): Use "__extension__ unsigned long long"
36544         instead of "unsigned long" if __x86_64__ is defined.
36545         (user): Likewise.  Pad after pointer field if __ILP32__ is
36546         defined.
36548 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
36550         * configure.in (makeinfo): Require version 4.5 or later.  Allow
36551         versions 5 to 9.
36552         * configure: Regenerated.
36553         * manual/install.texi (texinfo): Increase version requirement to
36554         4.5 or later.
36555         * INSTALL: Regenerated.
36557         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
36559 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36561         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
36563         * sysdeps/x86_64/x32/ffs.c: New file.
36565         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
36566         __syscall_ulong_t.
36567         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
36568         defined.  Use __syscall_ulong_t.
36569         (shminfo): Use __syscall_ulong_t.
36570         (shm_info): Likewise.
36572         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
36573         __syscall_ulong_t.
36575         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
36576         <bits/wordsize.h>.
36577         (msgqnum_t): Use __syscall_ulong_t.
36578         (msglen_t): Likewise.
36579         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
36580         __syscall_ulong_t.
36582         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
36583         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36585         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
36587         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
36588         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
36590         * sysvipc/sys/msg.h (msgbuf): Replace long int with
36591         __syscall_slong_t.
36593         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
36594         include <bits/wordsize.h>.  Check __x86_64__ instead of
36595         __WORDSIZE.
36597         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
36598         "unsigned long long int" if __x86_64__ is defined.
36599         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
36601         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
36602         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
36603         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
36605         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
36606         <stdint.h>.
36607         (GET_PC): Cast to uintptr_t first.
36608         (GET_FRAME): Likewise.
36609         (GET_STACK): Likewise.
36611         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
36612         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
36613         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
36614         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
36615         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
36616         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
36617         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
36618         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
36619         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
36620         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
36621         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
36622         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
36623         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36624         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
36625         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
36626         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
36627         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
36628         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
36629         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
36630         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
36631         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
36632         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
36633         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
36634         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
36635         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
36636         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
36637         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
36638         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
36639         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
36641 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
36643         * Makerules (+depfiles): Also collect depfiles from .oS in
36644         $(extra-objs).
36645         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
36646         .oS, $(libnldbl-routines)).
36648         * Makerules (native-compile-mkdep-flags): Define.
36649         * sunrpc/Makefile (extra-objs): Add $(addprefix
36650         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
36651         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
36652         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
36653         calling $(make-target-directory).
36655 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36657         * bits/types.h (__snseconds_t): Removed.
36658         * time/time.h (struct timespec): Replace __snseconds_t with
36659         __syscall_slong_t.
36660         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
36661         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
36662         Likewise.
36663         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36664         (__SNSECONDS_T_TYPE): Likewise.
36665         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36666         (__SNSECONDS_T_TYPE): Likewise.
36667         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36668         (__SNSECONDS_T_TYPE): Likewise.
36670 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36672         * sysdeps/mach/hurd/bits/typesizes.h
36673         (__SYSCALL_SLONG_TYPE): New macro.
36674         (__SYSCALL_ULONG_TYPE): Likewise.
36676 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36678         * bits/types.h (__syscall_slong_t): New type.
36679         (__syscall_ulong_t): Likewise.
36681         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
36682         (__SYSCALL_ULONG_TYPE): Likewise.
36683         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36684         (__SYSCALL_SLONG_TYPE): Likewise.
36685         (__SYSCALL_ULONG_TYPE): Likewise.
36686         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36687         (__SYSCALL_SLONG_TYPE): Likewise.
36688         (__SYSCALL_ULONG_TYPE): Likewise.
36689         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36690         (__SYSCALL_SLONG_TYPE): Likewise.
36691         (__SYSCALL_ULONG_TYPE): Likewise.
36693 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36695         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
36696         Add sigaltstack-offsets.sym.
36697         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
36698         <sigaltstack-offsets.h>.
36699         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
36700         longjmp_msg pointer.
36701         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
36702         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
36703         signal stack.
36704         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
36706 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36708         * elf/stackguard-macros.h: Remove file.
36709         * sysdeps/generic/stackguard-macros.h: New file.
36710         * sysdeps/i386/stackguard-macros.h: Likewise.
36711         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36712         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36713         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36714         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36715         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36716         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36717         * sysdeps/x86_64/stackguard-macros.h: Likewise.
36718         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
36719         <elf/stackguard-macros.h>.
36721         [BZ #14109]
36722         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
36723         __aligned__ in attribute.
36724         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
36725         (gregset_t): Likewise.
36727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36729         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
36730         * sysdeps/x86_64/64/Implies-after: Here.  New file.
36731         * sysdeps/x86_64/x32/Implies-after: New file.
36733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36735         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
36736         and access return value for _dl_profile_fixup.  Use R10_LP to
36737         load frame size.
36739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36741         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
36743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36745         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
36746         * sysdeps/x86_64/x32/sysdep.h: New file.
36748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36750         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
36751         * sysdeps/x86_64/setjmp.S: Likewise.
36753 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36755         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
36756         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
36757         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
36758         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
36759         remove unused global constant.
36761 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
36763         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
36764         include of <not-cancel.h>.
36766 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36768         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
36770 2012-05-15  Jeff Law  <law@redhat.com>
36771             Andreas Jaeger  <aj@suse.de>
36773         [BZ #13594]
36774         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
36775         out from...
36776         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
36777         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
36778         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
36779         code changing __hst_map_handle.map.
36781 2012-05-15  Roland McGrath  <roland@hack.frob.com>
36783         * configure.in (sysnames): Look for Implies-before and Implies-after
36784         files.
36785         * configure: Regenerated.
36787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36789         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
36790         8-byte data alignment with LP_SIZE alignment.
36792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36794         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
36795         into R10_LP.
36797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36799         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
36801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36803         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
36804         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
36805         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
36806         Likewise.
36807         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36811         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
36812         (stackinfo_sub_sp): Likewise.
36814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36816         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
36817         RAX_LP.
36819 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36821         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
36822         into R*_LP.
36824 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36826         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36827         sizes into R*_LP.
36829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36831         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
36833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36835         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
36836         into R11_LP and load __x86_64_shared_cache_size_half into
36837         R8_LP.
36839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
36841         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
36842         R8_LP.
36844 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36846         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
36847         logb for POWER7.
36848         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
36849         logbf for POWER7.
36850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
36851         logbl for POWER7.
36852         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
36853         powerpc32/power7/fpu/s_logb.c via #include.
36854         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
36855         powerpc32/power7/fpu/s_logbf.c via #include.
36856         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
36857         powerpc32/power7/fpu/s_logbl.c via #include.
36859 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
36861         * README.libm: Remove file.
36863 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36865         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
36866         count for x32.  Use R*_LP and omit operand-size suffix.
36868 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36870         * shlib-versions: Move x86_64-.*-linux.* entries to ...
36871         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
36872         * sysdeps/x86_64/x32/shlib-versions: New file.
36874 2012-05-14  Roland McGrath  <roland@hack.frob.com>
36876         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
36877         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
36878         Use _dl_fatal_printf instead.
36880 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36882         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
36883         set if not set by the user.  Do not allow for being unset.
36884         * sysdeps/unix/sysv/linux/configure: Regenerated.
36886 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36888         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
36889         the `q' suffix from lea and replace .quad with ASM_ADDR.
36891 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
36894         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
36895         instead of $17.
36896         (PTR_DEMANGLE): Likewise.
36898 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36900         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
36901         (LP_OP): Likewise.
36902         (ASM_ADDR): Likewise.
36903         (RAX_LP): Likewise.
36904         (RBP_LP): Likewise.
36905         (RBX_LP): Likewise.
36906         (RCX_LP): Likewise.
36907         (RDI_LP): Likewise.
36908         (RSI_LP): Likewise.
36909         (RSP_LP): Likewise.
36910         (R8_LP): Likewise.
36911         (R9_LP): Likewise.
36912         (R10_LP): Likewise.
36913         (R10_LP): Likewise.
36914         (R11_LP): Likewise.
36915         (R12_LP): Likewise.
36916         (R13_LP): Likewise.
36917         (R14_LP): Likewise.
36918         (R15_LP): Likewise.
36920 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
36922         * sysdeps/x86_64/x32/dl-machine.h: New file.
36924 2012-05-14  Andreas Jaeger  <aj@suse.de>
36926         * manual/Makefile (subdir): Remove export of subdir.
36927         (all): Remove target.
36928         (.PHONY): Remove all from list.
36929         (mkinstalldirs): Remove.
36930         (.PHONY): Remove installdirs from list.
36931         ($(inst_infodir)/libc.info): Use make-target-directory.
36932         (installdirs): Remove.
36933         (subdir_%): Remove.
36934         (glibc-targets): Remove.
36935         (lib): Remove.
36936         (stubs): Remove.
36937         ($(objpfx)stubs ../po/manual.pot): Remove.
36938         ($(objpfx)stamp%): Remove.
36939         (make-target-directory): Remove.
36940         (subdir_install): Remove.
36941         (routines): Remove.
36942         (aux): Remove.
36943         (sources): Remove.
36944         (objects): Remove.
36945         (headers): Remove.
36947         [BZ #13750]
36948         * manual/.gitignore: Remove, it's not needed anymore.
36949         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
36950         all files in it.
36951         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
36952         directory.
36953         (texis): Renamed to $(objpfx)texis.
36954         (texis-path): New, contains path to generated files.
36955         (chapters.%): Use texis-path for complete path, add extra argument
36956         libc-texinfo.sh.
36957         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
36958         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36959         (summary,texi, stamp-summary): Use complete path of
36960         files. Generate files in build dir.
36961         (dir-add.texi): Build in build dir.
36962         (libm-err.texi,stamp-libm-err): Likewise.
36963         (version.texi, stamp-version): Likewise.
36964         (.%c.texi): Likewise.
36965         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
36966         (mostlyclean): Remove target.
36967         (realclean): Remove target.
36968         (generated): Add new variable with contents from mostlyclean and
36969         realclean, remove entries duplicated in common-mostlyclean, add
36970         stamp-libm-err and stamp-version.
36971         (generated-dirs): Add libc directory.
36972         ($(inst_infodir)/libc.info): Install files from build dir.
36974         * manual/install.texi (Configuring and compiling): Adjust since
36975         the info files are not part of the tar ball anymore.
36977 2012-05-14  Andreas Jaeger  <aj@suse.de>
36979         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
36980         variable.
36982 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
36984         [BZ #13717]
36985         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36986         to 2.2.0 where earlier.
36987         * sysdeps/unix/sysv/linux/configure: Regenerated.
36988         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
36989         Remove conditional code.
36990         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
36991         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
36992         Remove conditional code.
36993         [!__NR_lchown]: Likewise.
36994         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
36995         [__NR_lchown]: Likewise.
36996         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
36997         comment referencing __ASSUME_LCHOWN_SYSCALL.
36998         * sysdeps/unix/sysv/linux/i386/sigaction.c
36999         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37000         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37001         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37002         Remove conditional code.
37003         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37004         (__protocol_available): Remove #if 0 code.
37005         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37006         conditional code.
37007         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37008         * sysdeps/unix/sysv/linux/kernel-features.h
37009         (__ASSUME_GETCWD_SYSCALL): Don't define.
37010         (__ASSUME_REALTIME_SIGNALS): Likewise.
37011         (__ASSUME_PREAD_SYSCALL): Likewise.
37012         (__ASSUME_PWRITE_SYSCALL): Likewise.
37013         (__ASSUME_POLL_SYSCALL): Likewise.
37014         (__ASSUME_LCHOWN_SYSCALL): Likewise.
37015         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37016         non-SPARC.
37017         (__ASSUME_SIOCGIFNAME): Don't define.
37018         (__ASSUME_MSG_NOSIGNAL): Likewise.
37019         (__ASSUME_SENDFILE): Define unconditionally.
37020         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37021         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37022         conditional code.
37023         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37024         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37025         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37026         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37027         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37028         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37029         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37031         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37032         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37034         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37035         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37037         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37038         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37040         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37041         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37043         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37044         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37046         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37047         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37049         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37050         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37052         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37053         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37054         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37055         Remove conditional code.
37056         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37057         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37058         Remove conditional code.
37059         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37060         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37061         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37062         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37063         Remove conditional code.
37064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37065         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37066         Remove conditional code.
37067         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37068         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37069         Remove conditional code.
37070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37071         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37072         Remove conditional code.
37073         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37074         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37075         Remove conditional code.
37076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37077         * sysdeps/unix/sysv/linux/sh/pwrite64.c
37078         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37079         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37080         * sysdeps/unix/sysv/linux/sigaction.c
37081         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37082         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37083         * sysdeps/unix/sysv/linux/sigpending.c
37084         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37085         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37086         * sysdeps/unix/sysv/linux/sigprocmask.c
37087         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37088         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37089         * sysdeps/unix/sysv/linux/sigsuspend.c
37090         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37091         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37092         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37093         (__libc_missing_rt_sigs): Remove.
37094         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37095         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37096         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37097         Remove conditional code.
37098         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37099         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37100         return 1.
37101         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37102         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37103         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37104         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37106 2012-05-14  Andreas Jaeger  <aj@suse.de>
37108         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37109         it's not used in glibc.
37110         (__coshm1): Likewise.
37111         (__acosh1p): Likewise.
37112         (__sgn): Likewise.
37114         * manual/string.texi (Copying and Concatenation): Add missing
37115         variable in concat example.
37116         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37120         [BZ #14103]
37121         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37122         __builtin_clzl with __builtin_clzll.
37124 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
37126         [BZ #14104]
37127         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37128         libc_freeres_ptr.
37130 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37132         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37133         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37134         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37135         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37137 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
37139         * NEWS: Update ia64 info.
37141 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
37143         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37144         used as bcopy.
37146 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
37148         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37149         * sysdeps/unix/syscalls.list (dup3): Likewise.
37150         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37151         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37153 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37155         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37156         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37158 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
37160         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37161         thread pointer.
37162         (TLS_IE): Use mov/add instead of movq/addq to load thread
37163         pointer.
37164         (TLS_GD_PREFIX): New.
37165         (TLS_GD): Use it.
37167 2012-05-11  David S. Miller  <davem@davemloft.net>
37169         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37170         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37171         (_FPU_SETCW): Likewise.
37173 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37175         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37176         is 32-byte aligned.
37178 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
37180         [BZ #11837]
37181         * iconvdata/gb18030.c: Update tables.
37182         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
37183         characters specially.
37184         (BODY for TO_LOOP): Add encoding of missing ranges.
37186 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
37188         [BZ #13673]
37189         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37190         * sysdeps/mach/hurd/dup3.c: Likewise.
37191         * sysdeps/mach/hurd/readlinkat.c: Likewise.
37192         * sysdeps/powerpc/memmove.c:: Likewise.
37194 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37196         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37197         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37199 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37201         * elf/elf.h (R_X86_64_RELATIVE64): New.
37202         (R_X86_64_NUM): Updated.
37203         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37204         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
37205         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37206         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37207         tst-quad1pie tst-quad2pie
37208         (modules-names): Add tst-quadmod1 tst-quadmod2.
37209         ($(objpfx)tst-quad1): New dependency.
37210         ($(objpfx)tst-quad2): Likewise.
37211         ($(objpfx)tst-quad1pie): Likewise.
37212         ($(objpfx)tst-quad2pie): Likewise.
37213         * sysdeps/x86_64/tst-quad1.c: New file.
37214         * sysdeps/x86_64/tst-quad1pie.c: New file.
37215         * sysdeps/x86_64/tst-quad2.c: Likewise.
37216         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37217         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37218         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37219         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37220         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37222 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37224         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37225         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
37226         * streams/stropts.h (t_scalar_t): Define type.
37228         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
37229         (_PATH_PRESERVE): Set to "/var/lib".
37230         (_PATH_RWHODIR): Set to "/var/spool/rwho".
37232         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
37233         instead of int.
37235         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
37236         if __dir_mkfile succeeded.
37238         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
37239         checking for _hurd_dtablesize.  Unlock it right after having
37240         finished _hurd_dtable allocation.
37242 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37244         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
37245         * sysdeps/mach/hurd/configure: Regenerated.
37246         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
37247         special-casing to...
37248         * sysdeps/gnu/configure.in: ... this new file.
37249         * sysdeps/unix/sysv/linux/configure: Regenerated.
37250         * sysdeps/gnu/configure: New generated file.
37252         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
37253         for Linux: use nsec instead of usec, as well as:
37254         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
37255         members of type struct timespec.
37256         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
37257         New macros.
37258         (struct stat64): Likewise.
37259         (_STATBUF_ST_NSEC): New macro.
37260         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
37262         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37263         __strtoul_internal rather than strtoul.
37265 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37267         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
37268         and reject them.
37270 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37272         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
37273         which preserves existing values.
37274         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
37276 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37278         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
37279         TIMEOUT values.  Return EINVAL for NFDS values either negative or
37280         greater than FD_SETSIZE.
37282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37284         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
37285         allocated, call __vm_protect to finish enabling the existing space, and
37286         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
37287         allocate the remainder.
37289 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37291         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
37292         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
37294 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37296         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
37297         sysdeps/mach/hurd/readlink.c.
37299         * posix/tst-sysconf.c (posix_options): Only use
37300         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
37301         _POSIX_SYNCHRONIZED_IO when they are defined
37302         * sysdeps/mach/hurd/bits/posix_opt.h:
37303         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
37304         (_XOPEN_REALTIME): Undefine macro.
37305         (_XOPEN_REALTIME_THREADS): Undefine macro.
37306         (_XOPEN_SHM): Undefine macro.
37307         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
37308         macro to -1.
37309         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
37310         macro to -1.
37311         (_POSIX_ASYNC_IO): Undefine macro.
37312         (_POSIX_PRIORITIZED_IO): Undefine macro.
37313         (_POSIX_SPIN_LOCKS): Define macro to -1.
37315         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
37316         SA_NODEFER, SA_RESETHAND.
37317         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
37318         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
37319         F_DUPFD_CLOEXEC.
37321 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37323         * elf/Makefile (pldd-modules): Define unconditionally.
37325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37327         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
37329 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37331         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
37332         Return ENOENT when name is empty.
37333         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
37335 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37337         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
37339         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
37341 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37343         Fix mlock in all cases except non-readable pages.
37344         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
37345         instead of VM_PROT_ALL as parameter to __vm_wire function.
37347         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
37348         (__mkdir): When path is `/', just fail with EEXIST.
37349         * sysdeps/mach/hurd/mkdirat.c: Likewise.
37351 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37353         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
37354         <sys/uio.h> (for writev).
37355         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
37356         and <sys/param.h> (for MIN).
37358 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
37360         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
37361         REQUESTED_TIME.  Properly set the remaining time and return EINTR
37362         if interrupted.
37364 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37366         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
37367         Depend on against $(link-rpcuserlibs).
37369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37371         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
37372         (__libc_stack_end): Do not use attribute_relro.
37373         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
37374         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
37375         to libthread-provided value.
37376         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
37377         attribute_relro.
37379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37381         [BZ #3748]
37382         * bits/libc-lock.h (__libc_once_get): New macro.
37383         * sysdeps/mach/bits/libc-lock.h: Likewise.
37384         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
37385         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
37386         instead of using implementation details.
37388         * libio/fileops.c: Unconditionally include <kernel-features.h>.
37389         * libio/freopen.c: Likewise.
37390         * libio/freopen64.c: Likewise.
37391         * misc/syslog.c: Likewise.
37392         * nscd/connections.c: Likewise.
37393         * nscd/netgroupcache.c: Likewise.
37394         * sysdeps/posix/getcwd.c: Likewise.
37396 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37398         * math/w_ilogbf.c: Add #include <limits.h>.
37400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37402         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
37403         path instead of returning without unlocking.
37405         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
37406         immediate-write ioctls.
37407         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
37409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37411         * sysdeps/mach/hurd/i386/init-first.c (init): Use
37412         __builtin_frame_address instead of making assumptions about the
37413         location of the return address relative to DATA.  Force early load of
37414         the return address.
37415         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
37416         __builtin_frame_address.
37418         dup3 for GNU Hurd.
37419         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
37420         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
37421         implement dup3 and do some further code clean-ups.
37422         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
37423         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
37425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37427         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
37429         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
37430         HURD_CRITICAL_END around holding _hurd_dtable_lock.
37431         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
37432         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
37433         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
37434         d->port.lock.
37436         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
37437         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
37438         when handler == SIG_ERR, not when handler != SIG_ERR.
37440 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37442         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
37443         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
37444         definitions.
37446         accept4 for GNU Hurd.
37447         * include/sys/socket.h (__libc_accept4): New prototype.
37448         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
37449         to implement __libc_accept4.
37450         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
37451         __libc_accept4.
37452         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
37454         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
37455         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
37456         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
37457         signal-defines.sym.
37459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37461         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
37463 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
37465         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
37466         assertion on O_CLOEXEC flag.
37467         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
37468         * hurd/intern-fd.c: Likewise.
37469         * hurd/port2fd.c: Likewise.
37471 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37473         [BZ #3906]
37474         * bits/in.h (IPV6_PKTINFO): Define new macro.
37475         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
37477 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37479         [BZ #13954]
37480         [BZ #13955]
37481         [BZ #13956]
37482         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
37483         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37484         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
37485         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37486         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37487         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37488         * math/libm-test.inc (logb_test) : Additional logb tests.
37490 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
37491             Andreas Jaeger  <aj@suse.de>
37493         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
37494         * configure: Regenerated.
37495         * config.h.in (LINK_OBSOLETE_RPC): New macro.
37496         * config.make.in (link-obsolete-rpc): New substituted variable.
37497         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
37498         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
37499         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37500         (shared-only-routines): Don't set it under [link-obsolete-rpc],
37501         so that libc.a contains the symbols.
37502         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
37503         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
37504         * sunrpc/auth_none.c: Likewise.
37505         * sunrpc/auth_unix.c: Likewise.
37506         * sunrpc/authdes_prot.c: Likewise.
37507         * sunrpc/authuxprot.c: Likewise.
37508         * sunrpc/clnt_gen.c: Likewise.
37509         * sunrpc/clnt_perr.c: Likewise.
37510         * sunrpc/clnt_raw.c: Likewise.
37511         * sunrpc/clnt_simp.c: Likewise.
37512         * sunrpc/clnt_tcp.c: Likewise.
37513         * sunrpc/clnt_udp.c: Likewise.
37514         * sunrpc/clnt_unix.c: Likewise.
37515         * sunrpc/des_crypt.c: Likewise.
37516         * sunrpc/des_soft.c: Likewise.
37517         * sunrpc/get_myaddr.c: Likewise.
37518         * sunrpc/key_call.c: Likewise.
37519         * sunrpc/key_prot.c: Likewise.
37520         * sunrpc/netname.c: Likewise.
37521         * sunrpc/pm_getmaps.c: Likewise.
37522         * sunrpc/pm_getport.c: Likewise.
37523         * sunrpc/pmap_clnt.c: Likewise.
37524         * sunrpc/pmap_prot.c: Likewise.
37525         * sunrpc/pmap_prot2.c: Likewise.
37526         * sunrpc/pmap_rmt.c: Likewise.
37527         * sunrpc/publickey.c: Likewise.
37528         * sunrpc/rpc_cmsg.c: Likewise.
37529         * sunrpc/rpc_common.c: Likewise.
37530         * sunrpc/rpc_dtable.c: Likewise.
37531         * sunrpc/rpc_prot.c: Likewise.
37532         * sunrpc/rpc_thread.c: Likewise.
37533         * sunrpc/rtime.c: Likewise.
37534         * sunrpc/svc.c: Likewise.
37535         * sunrpc/svc_auth.c: Likewise.
37536         * sunrpc/svc_raw.c: Likewise.
37537         * sunrpc/svc_run.c: Likewise.
37538         * sunrpc/svc_tcp.c: Likewise.
37539         * sunrpc/svc_udp.c: Likewise.
37540         * sunrpc/svc_unix.c: Likewise.
37541         * sunrpc/svcauth_des.c: Likewise.
37542         * sunrpc/xcrypt.c: Likewise.
37543         * sunrpc/xdr.c: Likewise.
37544         * sunrpc/xdr_array.c: Likewise.
37545         * sunrpc/xdr_float.c: Likewise.
37546         * sunrpc/xdr_intXX_t.c: Likewise.
37547         * sunrpc/xdr_mem.c: Likewise.
37548         * sunrpc/xdr_rec.c: Likewise.
37549         * sunrpc/xdr_ref.c: Likewise.
37550         * sunrpc/xdr_sizeof.c: Likewise.
37551         * sunrpc/xdr_stdio.c: Likewise.
37553 2012-05-10  Roland McGrath  <roland@hack.frob.com>
37555         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
37556         change.  Update copyright years.
37558 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37560         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
37562 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
37563             Joseph Myers  <joseph@codesourcery.com>
37564             Paul Pluzhnikov  <ppluzhnikov@google.com>
37566         [BZ #14012]
37567         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
37568         requiring rpcgen.
37569         [cross-compiling] (extra-libs): Likewise.
37570         [cross-compiling] (extra-libs-others): Likewise.
37571         [cross-compiling] (librpcsvc-routines): Likewise.
37572         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
37573         [cross-compiling] (omit-deps): Likewise.
37574         (sunrpc-CPPFLAGS): New variable.
37575         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
37576         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
37577         (cross-rpcgen-objs): New variable.
37578         (extra-objs): Append $(cross-rpcgen-objs).
37579         ($(cross-rpcgen-objs)): New rule.
37580         ($(objpfx)cross-rpcgen): Likewise.
37581         (rpcgen-cmd): Define to use $(built-program-file).  Expand
37582         comment.
37583         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
37584         ($(objpfx)x%.stmp): Likewise.
37585         * sunrpc/proto.h [IS_IN_build] (_): Define.
37586         [IS_IN_build] (_libc_intl_domainname): Likewise.
37588 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
37590         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
37591         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
37592         and R_X86_64_TPOFF64.
37594 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
37596         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
37597         sysdeps/unix/sysv/syscalls.list.
37598         (stime): Likewise.
37599         (utime): Likewise.
37600         * sysdeps/unix/sysv/syscalls.list: Remove file.
37602 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
37604         [BZ #3440]
37605         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
37606         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
37607         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
37608         (__LC_IDENTIFICATION): Make these macros useful in #if
37609         expressions, as required by C99.
37611 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
37613         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
37614         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
37615         after this.
37617 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
37619         * stdlib/longlong.h: Updated from GCC.
37621 2012-05-09  Andreas Jaeger  <aj@suse.de>
37623         * nscd/nscd.c (run_modes): Make named enum, reorder so that
37624         default is first entry.
37625         (run_mode): Set type.
37626         (main): Remove informal message about syslog.
37627         (options): Fix typo.
37629         [BZ #14053]
37630         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
37631         to asm.
37632         (lrint): Likewise.
37633         (llrintf): Likewise.
37634         (llrint): Likewise.
37635         (rint): Likewise.
37636         (rintf): Likewise.
37637         (nearbyint): Likewise.
37638         (nearbyintf): Likewise.
37640 2012-05-09  Andreas Jaeger  <aj@suse.de>
37641             Pedro Alves  <palves@redhat.com>
37643         * nscd/nscd.c (run_mode): Use enum.
37644         (main): Cleanup coding style issue.
37646 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
37647             Andreas Jaeger  <aj@suse.de>
37649         * nscd/nscd.c (go_background): Replaced with...
37650         (run_mode): ... this.
37651         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
37652         (options): Add -F --foreground.
37653         (main): Implement it.
37654         (parse_opt): Parse it.
37656 2012-05-09  Andreas Jaeger  <aj@suse.de>
37658         [BZ #14083]
37659         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
37660         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
37661         -Wconversion warning.
37662         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
37663         Likewise.
37665 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
37667         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
37668         == 0.
37669         (LC_ALL): Use macro-int-constant.
37670         (LC_COLLATE): Likewise.
37671         (LC_CTYPE): Likewise.
37672         (LC_MESSAGES): Likewise.
37673         (LC_MONETARY): Likewise.
37674         (LC_NUMERIC): Likewise.
37675         (LC_TIME): Likewise.
37676         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
37677         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37678         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37679         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
37680         Specify type.
37681         [C99-based standards] (float_t): Expect type.
37682         [C99-based standards] (double_t): Expect type.
37683         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
37684         type.
37685         [C99-based standards] (HUGE_VALL): Likewise.
37686         [C99-based standards] (INFINITY): Likewise.
37687         [C99-based standards] (NAN): Likewise.
37688         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
37689         [C99-based standards] (FP_NAN): Likewise.
37690         [C99-based standards] (FP_NORMAL): Likewise.
37691         [C99-based standards] (FP_SUBNORMAL): Likewise.
37692         [C99-based standards] (FP_ZERO): Likewise.
37693         [C99-based standards] (FP_FAST_FMA): Use
37694         optional-macro-int-constant.  Specify type.  Require == 1.
37695         [C99-based standards] (FP_FAST_FMAF): Likewise.
37696         [C99-based standards] (FP_FAST_FMAL): Likewise.
37697         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
37698         [C99-based standards] (FP_ILOGBNAN): Likewise.
37699         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37700         Specify type.
37701         [C99-based standards] (MATH_ERREXCEPT): Likewise.
37702         [C99-based standards] (math_errhandling): Specify type.
37703         [ISO99 || ISO11] (signgam): Do not allow.
37704         [non-C99-based standards] (copysignf): Do not allow.
37705         [non-C99-based standards] (exp2f): Likewise.
37706         [non-C99-based standards] (log2f): Likewise.
37707         [non-C99-based standards] (modff): Allow.
37708         [non-C99-based standards] (erff): Do not allow.
37709         [non-C99-based standards] (erfcf): Likewise.
37710         [non-C99-based standards] (gammaf): Likewise.
37711         [non-C99-based standards] (hypotf): Likewise.
37712         [non-C99-based standards] (j0f): Likewise.
37713         [non-C99-based standards] (j1f): Likewise.
37714         [non-C99-based standards] (jnf): Likewise.
37715         [non-C99-based standards] (lgammaf): Likewise.
37716         [non-C99-based standards] (tgammaf): Likewise.
37717         [non-C99-based standards] (y0f): Likewise.
37718         [non-C99-based standards] (y1f): Likewise.
37719         [non-C99-based standards] (ynf): Likewise.
37720         [non-C99-based standards] (isnanf): Likewise.
37721         [non-C99-based standards] (acoshf): Likewise.
37722         [non-C99-based standards] (asinhf): Likewise.
37723         [non-C99-based standards] (atanhf): Likewise.
37724         [non-C99-based standards] (cbrtf): Likewise.
37725         [non-C99-based standards] (expm1f): Likewise.
37726         [non-C99-based standards] (ilogbf): Likewise.
37727         [non-C99-based standards] (log1pf): Likewise.
37728         [non-C99-based standards] (logbf): Likewise.
37729         [non-C99-based standards] (nextafterf): Likewise.
37730         [non-C99-based standards] (remainderf): Likewise.
37731         [non-C99-based standards] (rintf): Likewise.
37732         [non-C99-based standards] (scalbf): Likewise.
37733         [non-C99-based standards] (copysignl): Likewise.
37734         [non-C99-based standards] (exp2l): Likewise.
37735         [non-C99-based standards] (log2l): Likewise.
37736         [non-C99-based standards] (modfl): Allow.
37737         [non-C99-based standards] (erfl): Do not allow.
37738         [non-C99-based standards] (erfcl): Likewise.
37739         [non-C99-based standards] (gammal): Likewise.
37740         [non-C99-based standards] (hypotl): Likewise.
37741         [non-C99-based standards] (j0l): Likewise.
37742         [non-C99-based standards] (j1l): Likewise.
37743         [non-C99-based standards] (jnl): Likewise.
37744         [non-C99-based standards] (lgammal): Likewise.
37745         [non-C99-based standards] (tgammal): Likewise.
37746         [non-C99-based standards] (y0l): Likewise.
37747         [non-C99-based standards] (y1l): Likewise.
37748         [non-C99-based standards] (ynl): Likewise.
37749         [non-C99-based standards] (isnanl): Likewise.
37750         [non-C99-based standards] (acoshl): Likewise.
37751         [non-C99-based standards] (asinhl): Likewise.
37752         [non-C99-based standards] (atanhl): Likewise.
37753         [non-C99-based standards] (cbrtl): Likewise.
37754         [non-C99-based standards] (expm1l): Likewise.
37755         [non-C99-based standards] (ilogbl): Likewise.
37756         [non-C99-based standards] (log1pl): Likewise.
37757         [non-C99-based standards] (logbl): Likewise.
37758         [non-C99-based standards] (nextafterl): Likewise.
37759         [non-C99-based standards] (remainderl): Likewise.
37760         [non-C99-based standards] (rintl): Likewise.
37761         [non-C99-based standards] (scalbl): Likewise.
37762         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37763         [non-C99-based standards] (FP_*): Do not allow.
37764         [C99-based standards] (FP_*): Change to
37765         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
37766         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37767         allow.
37768         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
37769         (SIG_ERR): Likewise.
37770         [X/Open-based standards] (SIG_HOLD): Likewise.
37771         (SIG_IGN): Likewise.
37772         (SIGABRT): Use macro-int-constant.  Specify type.  Require
37773         positive value.
37774         (SIGFPE): Likewise.
37775         (SIGILL): Likewise.
37776         (SIGINT): Likewise.
37777         (SIGSEGV): Likewise.
37778         (SIGTER): Likewise.
37779         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
37780         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
37781         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
37782         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
37783         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
37784         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
37785         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
37786         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
37787         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
37788         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
37789         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
37790         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
37791         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
37792         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
37793         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
37794         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
37795         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
37796         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
37797         [X/Open-based standards] (SIGTRAP): Likewise.
37798         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
37799         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
37800         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
37801         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
37802         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37803         allow.
37805 2012-05-08  Ian Wienand  <ianw@vmware.com>
37807         [BZ #14080]
37808         * time/tzset.c (__tzset_parse_tz): Update default rules for
37809         daylight time changes in the Energy Policy Act of 2005.
37811 2012-05-09  Andreas Jaeger  <aj@suse.de>
37813         [BZ #13983]
37814         * elf/ldconfig.c (parse_conf): Change string to make clear that
37815         ldconfig only issued a warning if ld.so.conf does not exist.
37817 2012-05-08  David S. Miller  <davem@davemloft.net>
37819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
37820         movxtod instead of popping the value on the stack.
37822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37824 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
37826         * config.h.in: Add HAVE_ARM_PCS_VFP.
37828 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
37830         [BZ #13979]
37831         * include/features.h: Warn if user requests __FORTIFY_SOURCE
37832         checking but the checks are disabled for any reason.
37834 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
37836         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
37837         and ELF64_R_TYPE with ELFW(R_TYPE).
37839 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
37841         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
37842         (ulimit): Likewise.
37844         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
37845         (settimeofday): Likewise.
37847 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
37849         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
37850         a struct th_u2 inside the union, and move tu_block/tu_code into
37851         a new th_u3 union of tu_block/tu_code inside of that.  Move
37852         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
37853         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
37854         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
37855         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
37856         (th_stuff): Change to th_u1.tu_stuff.
37857         (th_data): Define.
37858         (th_msg): Change to th_u1.th_u2.tu_data.
37860 2012-05-07  David S. Miller  <davem@davemloft.net>
37862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37864         [BZ #14074]
37865         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
37866         (SETUP_PIC_REG): Use it.
37867         (SETUP_PIC_REG_LEAF): Use it.
37869 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
37871         [BZ #13885]
37872         [BZ #13923]
37873         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37874         USE_AS_EXPM1L.
37875         (EXPL_FINITE): Likewise.
37876         (FLDLOG): Likewise.
37877         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37878         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37879         e_expl.S.
37880         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37881         USE_AS_EXPM1L.
37882         (EXPL_FINITE): Likewise.
37883         (FLDLOG): Likewise.
37884         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
37885         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
37886         e_expl.S.
37887         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
37888         test of -max_value argument for long double.
37889         * sysdeps/i386/fpu/libm-test-ulps: Update.
37890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37892 2012-05-06  David S. Miller  <davem@davemloft.net>
37894         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
37895         quad soft-float symbols whose references which are compiler
37896         generated.
37897         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
37899 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
37901         [BZ #13884]
37902         [BZ #13914]
37903         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37904         USE_AS_EXP10L.
37905         (EXPL_FINITE): Likewise.
37906         (FLDLOG): Likewise.
37907         (c0): Likewise.
37908         (c1): Likewise.
37909         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37910         Adjust comments for base varying.
37911         (__expl_finite): Change alias to EXPL_FINITE.
37912         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
37913         e_expl.S.
37914         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
37915         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
37916         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
37917         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
37918         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
37919         USE_AS_EXP10L.
37920         (EXPL_FINITE): Likewise.
37921         (FLDLOG): Likewise.
37922         (c0): Likewise.
37923         (c1): Likewise.
37924         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
37925         Adjust comments for base varying.
37926         (__expl_finite): Change alias to EXPL_FINITE.
37927         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
37928         tests for bugs.
37929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37931         [BZ #14064]
37932         * math/libm-test.inc (check_float_internal): Correct ulp
37933         calculation for subnormal expected results.
37935 2012-05-06  Andreas Jaeger  <aj@suse.de>
37937         * Makeconfig (+math-flags): New, set to -frounding-math.
37938         (+cflags): Add +math-flags so that all of glibc gets compiled with
37939         it.
37941         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
37943 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
37945         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
37946         Disable one test.
37948         [BZ #13787]
37949         [BZ #13922]
37950         [BZ #14036]
37951         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
37952         (__ieee754_expl): Allow for and saturate large arguments.
37953         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
37954         (u_threshold): Likewise.
37955         (__exp): Call __ieee754_exp before checking for overflow and
37956         underflow.
37957         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
37958         (u_threshold): Likewise.
37959         (__expf): Call __ieee754_expf before checking for overflow and
37960         underflow.
37961         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
37962         (u_threshold): Likewise.
37963         (__expl): Call __ieee754_expl before checking for overflow and
37964         underflow.
37965         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
37966         (__ieee754_expl): Allow for and saturate large arguments.
37967         * math/libm-test.inc (exp_test): Add another test.  Do not allow
37968         missing overflow exception on overflow.
37969         (expm1_test): Do not allow missing overflow exception on overflow.
37971         * sysdeps/i386/fpu/e_expl.c: Move to ...
37972         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
37973         rather than using inline asm.
37974         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
37975         * sysdeps/x86_64/fpu/e_expl.S: Copy from
37976         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
37978         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
37979         (nice): Likewise.
37980         (poll): Likewise.
37981         (signal): Likewise.
37982         (time): Likewise.
37983         (times): Likewise.
37985 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
37987         * sysdeps/unix/syscalls.list (adjtime): Add entry from
37988         sysdeps/unix/common/syscalls.list.
37989         (fchmod): Likewise.
37990         (fchown): Likewise.
37991         (ftruncate): Likewise.
37992         (getrusage): Likewise.
37993         (gettimeofday): Likewise.
37994         (setpgid): Likewise.
37995         (setregid): Likewise.
37996         (setreuid): Likewise.
37997         (sigaction): Likewise.
37998         (truncate): Likewise.
37999         (vhangup): Likewise.
38000         * sysdeps/unix/common/syscalls.list: Remove file.
38001         * sysdeps/unix/bsd/Implies: Don't include unix/common.
38002         * sysdeps/unix/sysv/linux/Implies: Likewise.
38004 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
38006         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38008         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38009         Moved to ...
38010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38011         Here.
38012         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38013         to ...
38014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38015         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38016         to ...
38017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38018         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38019         to ...
38020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38021         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38022         to ...
38023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38024         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38025         to ...
38026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38027         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38028         to ...
38029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38030         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38031         to ...
38032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38033         Here.
38034         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38035         to ...
38036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38037         Here.
38038         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38039         to ...
38040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38041         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38042         Moved to ...
38043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38044         Here.
38045         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38046         to ...
38047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38049 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38051         * sysdeps/unix/common/bits/dirent.h: Remove file.
38052         * sysdeps/unix/common/bits/fcntl.h: Likewise.
38054         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38055         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38056         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38057         * sysdeps/unix/bsd/isatty.c: Likewise.
38058         * sysdeps/unix/bsd/tcdrain.c: Likewise.
38059         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38060         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38062 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38064         [BZ #13563]
38065         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38066         long double comparison inaccuracies.
38067         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38070 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
38072         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38073         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38075 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
38077         [BZ #14049]
38078         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38079         nonzero digits before rounding a hex value.
38080         * stdlib/tst-strtod.c (tests): Add another test.
38082 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38084         * sysdeps/s390/fpu/libm-test-ulps: Update.
38086 2012-05-03  Andreas Jaeger  <aj@suse.de>
38088         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38089         does not get optimized out.
38090         (malloc_opt_barrier): New.
38092 2012-05-03  Andreas Jaeger  <aj@suse.de>
38093             Roland McGrath  <roland@hack.frob.com>
38095         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38096         intermediate file deletion.
38097         (generated): Add .symlist files.
38099 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
38101         [BZ #13775]
38102         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38103         Redirect under this condition.
38104         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38105         [__USE_GNU] (__dprintf_chk): Not under this condition.
38106         [__USE_GNU] (__vdprintf_chk): Likewise.
38107         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38108         under this condition.
38109         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38110         [__USE_XOPEN2K8] (dprintf): Define under this condition.
38111         [__USE_XOPEN2K8] (vdprintf): Likewise.
38112         [__USE_GNU] (__dprintf_chk): Not under this condition.
38113         [__USE_GNU] (__vdprintf_chk): Likewise.
38114         [__USE_GNU] (dprintf): Likewise.
38115         [__USE_GNU] (vdprintf): Likewise.
38117 2012-05-03  Roland McGrath  <roland@hack.frob.com>
38119         * elf/Makefile (common-generated): Set this instead of generated for
38120         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
38121         $(all-built-dso)-derived lists.
38123 2012-05-03  Andreas Jaeger  <aj@suse.de>
38125         * sysdeps/i386/fpu/libm-test-ulps: Update.
38127         * FAQ: Removed.
38128         * FAQ.in: Likewise.
38129         * scripts/gen-FAQ.pl: Likewise.
38130         * manual/install.texi (Installation): Point to online location of
38131         FAQ.
38132         * Makefile (files-for-dist): Remove FAQ.
38133         (FAQ): Remove.
38135 2012-05-02  Allan McRae  <allan@archlinux.org>
38137         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38138         (LDFLAGS-reldepmod5.so): Likewise.
38139         (LDFLAGS-reldep6mod1.so): Likewise.
38140         (LDFLAGS-reldep6mod4.so): Likewise.
38141         (LDFLAGS-reldep8mod3.so): Likewise.
38142         (LDFLAGS-unload4mod1.so): Likewise.
38143         (LDFLAGS-unload4mod2.so): Likewise.
38144         (LDFLAGS-tst-initorder): Likewise.
38145         (LDFLAGS-tst-initordera2.so): Likewise.
38146         (LDFLAGS-tst-initordera3.so): Likewise.
38147         (LDFLAGS-tst-initordera4.so): Likewise.
38148         (LDFLAGS-tst-initorderb2.so): Likewise.
38149         (LDFLAGS-noload): Likewise.
38150         (LDFLAGS-next): Likewise.
38151         (LDFLAGS-order2mod1.so): Likewise.
38152         (LDFLAGS-order2mod2.so): Likewise.
38153         (LDFLAGS-tst-initorder2): Likewise.
38154         (LDFLAGS-tst-initorder2a.so): Likewise.
38155         (LDFLAGS-tst-initorder2b.so): Likewise.
38156         (LDFLAGS-tst-initorder2c.so): Likewise.
38157         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38159 2012-05-02  David S. Miller  <davem@davemloft.net>
38161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38163 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38165         [BZ #14055]
38166         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38168 2012-05-02  Andreas Jaeger  <aj@suse.de>
38170         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38171         since we manipulate rounding mode.
38172         (CPPFLAGS-test-idouble.c): Likewise.
38173         (CPPFLAGS-test-ifloat.c): Likewise.
38174         (CFLAGS-test-ldouble.c): Likewise.
38175         (CFLAGS-test-double.c): Likewise.
38176         (CFLAGS-test-float.c): Likewise.
38177         (CFLAGS-test-misc.c): Likewise.
38178         (CFLAGS-test-test-fenv.c): Likewise.
38180 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38182         [BZ #2550]
38183         [BZ #2570]
38184         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38185         comparisons to determine direction to adjust input.
38187 2012-05-01  Roland McGrath  <roland@hack.frob.com>
38189         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38190         output to the target.
38192         * scripts/localplt.awk: New file.
38193         * elf/Makefile ($(objpfx)check-localplt): Target removed.
38194         (check-localplt-CFLAGS): Variable removed.
38195         ($(all-built-dso:=.jmprel)): New static pattern rule.
38196         (generated): Add those targets.
38197         (localplt-built-dso): New variable.
38198         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38200         * elf/check-localplt.c: File removed.
38202         * scripts/check-execstack.awk: New file.
38203         * elf/Makefile ($(objpfx)check-execstack): Target removed.
38204         (check-execstack-CFLAGS): Variable removed.
38205         ($(objpfx)check-execstack.h): Target removed.
38206         ($(objpfx)execstack-default): New target.
38207         (generated): Add that instead of check-execstack.h.
38208         ($(all-built-dso:=.phdr)): New static pattern rule.
38209         (generated): Add those targets.
38210         * elf/check-execstack.c: File removed.
38212         * scripts/check-textrel.awk: New file.
38213         * elf/Makefile ($(objpfx)check-textrel): Target removed.
38214         (check-textrel-CFLAGS): Variable removed.
38215         (all-built-dso): Use := to define.o
38216         ($(all-built-dso:=.dyn)): New static pattern rule.
38217         (generated): Add those targets.
38218         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38219         * config.make.in (READELF): New substituted variable.
38220         * elf/check-textrel.c: File removed.
38222 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38224         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38225         allow.
38226         * conform/data/ctype.h-data [C99-based standards] (isblank):
38227         Expect function.
38228         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
38229         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
38230         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38231         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
38232         Specify type.  Require positive value.
38233         (EILSEQ): Likewise.
38234         (ERANGE): Likewise.
38235         [ISO || POSIX] (EILSEQ): Do not expect.
38236         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
38237         Specify type.  Require positive value.
38238         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
38239         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
38240         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
38241         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
38242         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
38243         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
38244         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
38245         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
38246         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
38247         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
38248         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
38249         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
38250         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
38251         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
38252         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
38253         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
38254         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
38255         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
38256         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
38257         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
38258         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
38259         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
38260         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
38261         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
38262         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
38263         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
38264         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
38265         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
38266         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
38267         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
38268         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
38269         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
38270         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
38271         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
38272         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
38273         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
38274         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
38275         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
38276         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
38277         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
38278         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
38279         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
38280         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
38281         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
38282         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
38283         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
38284         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
38285         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
38286         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
38287         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
38288         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
38289         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
38290         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
38291         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
38292         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
38293         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
38294         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
38295         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
38296         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
38297         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
38298         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
38299         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
38300         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
38301         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
38302         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
38303         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
38304         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
38305         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
38306         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
38307         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
38308         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
38309         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
38310         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
38311         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
38312         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
38313         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
38314         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
38315         Require >= 2.
38316         (FLT_ROUNDS): Expect as macro, not constant.
38317         (FLT_MANT_DIG): Use macro-int-constant.
38318         (DBL_MANT_DIG): Likewise.
38319         (LDBL_MANT_DIG): Likewise.
38320         (FLT_DIG): Likewise.
38321         (DBL_DIG): Likewise.
38322         (LDBL_DIG): Likewise.
38323         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
38324         (DBL_MIN_EXP): Likewise.
38325         (LDBL_MIN_EXP): Likewise.
38326         (FLT_MAX_EXP): Use macro-int-constant.
38327         (DBL_MAX_EXP): Likewise.
38328         (LDBL_MAX_EXP): Likewise.
38329         (FLT_MAX_10_EXP): Likewise.
38330         (DBL_MAX_10_EXP): Likewise.
38331         (LDBL_MAX_10_EXP): Likewise.
38332         (FLT_MAX): Use macro-constant.
38333         (DBL_MAX): Likewise.
38334         (LDBL_MAX): Likewise.
38335         (FLT_EPSILON): Use macro-constant.  Give upper bound.
38336         (DBL_EPSILON): Likewise.
38337         (LDBL_EPSILON): Likewise.
38338         (FLT_MIN): Likewise.
38339         (DBL_MIN): Likewise.
38340         (LDBL_MIN): Likewise.
38341         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
38342         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
38343         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
38344         [ISO11] (FLT_HAS_SUBNORM): Likewise.
38345         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
38346         [ISO11] (DBL_DECIMAL_DIG): Likewise.
38347         [ISO11] (FLT_DECIMAL_DIG): Likewise.
38348         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
38349         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
38350         [ISO11] (FLT_TRUE_MIN): Likewise.
38351         [ISO11] (LDBL_TRUE_MIN): Likewise.
38352         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38353         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
38354         (SCHAR_MIN): Use macro-int-constant.  Specify type.
38355         (SCHAR_MAX): Likewise.
38356         (UCHAR_MAX): Likewise.
38357         (CHAR_MIN): Likewise.
38358         (CHAR_MAX): Likewise.
38359         (MB_LEN_MAX): Use macro-int-constant.
38360         (SHRT_MIN): Use macro-int-constant.  Specify type.
38361         (SHRT_MAX): Likewise.
38362         (USHRT_MAX): Likewise.
38363         (INT_MAX): Likewise.
38364         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
38365         bound negative.
38366         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38367         bound with "U".
38368         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38369         bound with "L".
38370         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
38371         bound negative.  Suffix upper bound with "L".
38372         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
38373         bound with "UL".
38374         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
38375         Specify type.
38376         [C99-based standards] (LLONG_MAX): Likewise.
38377         [C99-based standards] (ULLONG_MAX): Likewise.
38378         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
38379         == 0.
38380         [ISO11] (max_align_t): Require type.
38381         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38383         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
38384         from $CFLAGS, without defining away __attribute__ calls.
38385         (checknamespace): Use $CFLAGS_namespace.
38387         * conform/conformtest.pl (@keywords): Only include C99 keywords
38388         for standards based on C99 or C11.
38390         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
38391         Disable tests.
38392         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
38393         UNIX98]: Likewise.
38395         * conform/conformtest.pl: Handle "macro-int-constant" and test for
38396         usability of symbols in #if.
38398         * conform/conformtest.pl: If macro or constant types start
38399         "promoted:", expect the symbol to be of the following type
38400         promoted by the integer promotions.
38402         * conform/conformtest.pl: Parse all "constant" and "macro" lines
38403         in one place.  Also handle "macro-constant".
38405         * conform/conformtest.pl: Only accept expected macro values with
38406         "==".  Parse all "macro" lines in one place.
38407         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
38409         * conform/conformtest.pl: Handle braced types on "constant" lines
38410         instead of handling "typed-constant".
38411         * conform/data/signal.h-data: Use "constant" instead of
38412         "typed-constant".
38414         * conform/conformtest.pl: Handle "optional-" at start of lines in
38415         one place rather than duplicating several cases.  Handle each
38416         format of "macro" line with initial "optional-".
38418         * conform/conformtest.pl: Only accept expected constant or
38419         optional-constant values with "==".  Parse all "constant" lines in
38420         one place.  Parse all "optional-constant" lines in one place.
38421         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
38422         * conform/data/fmtmsg.h-data: Likewise.
38423         * conform/data/netinet/in.h-data: Likewise.
38424         * conform/data/tar.h-data: Likewise.
38425         * conform/data/limits.h-data: Use "==" form on "constant" and
38426         "optional-constant" lines.
38428         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
38429         Use -std=c99 for XOPEN2K.
38430         (@knownproblems): Remove.
38431         (newtoken): Don't check %isknown.
38433         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
38434         Do not expect macro.
38435         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
38436         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
38437         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
38438         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
38439         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
38440         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
38441         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
38442         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
38443         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
38444         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
38445         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
38446         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
38447         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
38448         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
38449         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
38450         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
38451         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
38452         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
38453         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
38454         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
38455         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
38456         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
38457         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
38458         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
38459         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
38460         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
38461         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
38462         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
38463         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
38464         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
38465         [XPG3] (acosh): Likewise.
38466         [XPG3] (asinh): Likewise.
38467         [XPG3] (atanh): Likewise.
38468         [XPG3] (cbrt): Likewise.
38469         [XPG3] (expm1): Likewise.
38470         [XPG3] (ilogb): Likewise.
38471         [XPG3] (log1p): Likewise.
38472         [XPG3] (logb): Likewise.
38473         [XPG3] (nextafter): Likewise.
38474         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
38475         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
38476         [XPG3] (remainder): Likewise.
38477         [XPG3] (rint): Likewise.
38478         [XPG3 || XPG4 || UNIX98] (round): Likewise.
38479         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
38480         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
38481         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
38482         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
38483         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
38484         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
38485         [UNIX98 || XOPEN2K] (scalb): Expect.
38486         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
38487         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
38488         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
38489         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
38490         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
38491         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
38492         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
38493         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
38494         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
38495         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
38496         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
38497         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
38498         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
38499         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
38500         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
38501         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
38502         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
38503         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
38504         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
38505         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
38506         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
38507         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
38508         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
38509         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
38510         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
38511         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
38512         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
38513         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
38514         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
38515         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
38516         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
38517         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
38518         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
38519         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
38520         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
38521         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
38522         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
38523         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
38524         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
38525         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
38526         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
38527         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
38528         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
38529         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
38530         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
38531         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
38532         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
38533         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
38534         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
38535         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
38536         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
38537         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
38538         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
38539         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
38540         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
38541         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
38542         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
38543         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
38544         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
38545         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
38546         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
38547         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
38548         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
38549         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
38550         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
38551         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
38552         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
38553         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
38554         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
38555         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
38556         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
38557         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
38558         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
38559         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
38560         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
38561         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
38562         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
38563         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
38564         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
38565         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
38566         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
38567         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
38568         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
38569         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
38570         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
38571         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
38572         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
38573         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
38574         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
38575         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
38576         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
38577         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
38578         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
38579         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
38580         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
38581         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
38582         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
38583         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
38584         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
38585         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
38586         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
38587         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
38588         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
38589         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
38590         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
38591         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
38592         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
38593         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
38594         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
38595         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
38596         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
38597         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
38598         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
38599         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
38600         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
38601         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
38602         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
38603         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
38604         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
38605         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
38606         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
38607         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
38608         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
38609         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
38610         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
38611         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
38612         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
38613         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
38614         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
38615         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
38616         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
38617         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
38618         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
38619         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
38620         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
38621         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
38622         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
38624         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
38625         _XOPEN_SOURCE_EXTENDED for XPG4.
38627         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
38629         * Makeconfig (localtime): Remove variable.
38630         (inst_localtime-file): Likewise.
38632 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38635         Update.
38636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38637         Update.
38638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38639         Update.
38640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38641         Update.
38642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38643         Update.
38644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
38645         Update.
38646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38647         Update.
38648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
38649         Update.
38650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38651         Update.
38653 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
38655         [BZ #2550]
38656         [BZ #2570]
38657         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
38658         comparisons to determine direction to adjust input.
38659         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
38660         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
38661         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
38662         Likewise.
38663         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
38664         Likewise.
38665         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38666         Likewise.
38667         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
38668         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
38669         Likewise.
38670         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
38671         Likewise.
38672         * math/libm-test.inc (nexttoward_test): Add more tests.
38674 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38676         [BZ #14040]
38677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
38678         in version GLIBC_2.1, not GLIBC_2.0.
38679         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
38680         Likewise.
38682 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
38684         [BZ #13942]
38685         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
38686         (1 - x) * (1 + x).
38687         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38688         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
38689         * math/libm-test.inc (acos_test): Add more tests.
38690         (asin_test): Likewise.
38691         * sysdeps/i386/fpu/libm-test-ulps: Update.
38692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38694         [BZ #14034]
38695         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
38696         of square root.
38697         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
38698         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
38699         * math/libm-test.inc (acos_test_tonearest): New function.
38700         (acos_test_towardzero): Likewise.
38701         (acos_test_downward): Likewise.
38702         (acos_test_upward): Likewise.
38703         (asin_test_tonearest): Likewise.
38704         (asin_test_towardzero): Likewise.
38705         (asin_test_downward): Likewise.
38706         (asin_test_upward): Likewise.
38707         (main): Call the new functions.
38708         * sysdeps/i386/fpu/libm-test-ulps: Update.
38709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38711         [BZ #13884]
38712         [BZ #13924]
38713         * math/e_exp10.c: Include <float.h>.
38714         (__ieee754_exp10): Handle underflow here rather than multiplying
38715         large negative argument by M_LN10.
38716         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
38717         of __ieee754_expf.
38718         * math/e_exp10l.c: Include <float.h>.
38719         (__ieee754_exp10l): Handle underflow here rather than multiplying
38720         large negative argument by M_LN10l.
38721         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
38722         spurious overflow exception on underflow.
38724 2012-04-29  Marek Polacek  <polacek@redhat.com>
38726         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
38727         (__fortify_function): New macro.
38728         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
38729         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
38730         __extern_always_inline.
38731         * libio/bits/stdio2.h: Likewise.
38732         * libio/bits/stdio.h: Likewise.
38733         * string/string.h: Likewise.
38734         * string/bits/string3.h: Likewise.
38735         * include/stdio.h: Likewise.
38736         * stdlib/bits/stdlib.h: Likewise.
38737         * stdlib/stdlib.h: Likewise.
38738         * rt/bits/mqueue2.h: Likewise.
38739         * rt/mqueue.h: Likewise.
38740         * posix/bits/unistd.h: Likewise.
38741         * posix/unistd.h: Likewise.
38742         * io/bits/poll2.h: Likewise.
38743         * io/bits/fcntl2.h: Likewise.
38744         * io/fcntl.h: Likewise.
38745         * io/sys/poll.h: Likewise.
38746         * misc/bits/syslog.h: Likewise.
38747         * misc/bits/syslog-ldbl.h: Likewise.
38748         * misc/sys/syslog.h: Likewise.
38749         * socket/bits/socket2.h: Likewise.
38750         * socket/sys/socket.h: Likewise.
38751         * debug/tst-chk1.c: Likewise.
38752         * wcsmbs/bits/wchar2.h: Likewise.
38753         * wcsmbs/bits/wchar-ldbl.h: Likewise.
38754         * wcsmbs/wchar.h: Likewise.
38756 2012-04-29  Andreas Jaeger  <aj@suse.de>
38758         * Makerules (tests): Remove enable-check-abi protection.
38759         (check-abi-warn): Remove.
38760         (check-abi-%): Remove check-abi-warn usage.
38762         * configure.in: Remove check-abi configure option.
38763         * configure: Regenerated.
38764         * config.make.in (enable-check-abi): Remove.
38766 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
38768         [BZ #14033]
38769         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
38770         double functions to double *_finite functions.
38772         [BZ #13941]
38773         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
38774         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
38775         LDBL_MIN_EXP.
38776         * stdio-common/Makefile (tests): Add tst-sprintf3.
38777         * stdio-common/tst-sprintf3.c: New file.
38779         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
38780         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
38782 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
38784         * conform/conformtest.pl: Remove duplicate typed-constant
38785         handling.
38787 2012-04-28  David S. Miller  <davem@davemloft.net>
38789         * Makerules (%.abilist): Add vpath on sysdep_dirs.
38790         (check-abi-%): Remove AWK script prerequisite and explicit
38791         abilist directory.
38792         (check-abi): Rewrite to just diff the symlist with the abilist.
38793         (config-tls, config-abi-config): Delete, no longer used.
38794         (update-abi-%): Remove AWK script and explicit abilist directory.
38795         (update-abi): Rewrite to simply compare and conditionally copy the
38796         symlist and the sysdep abilist file.  Remove update-abi-config
38797         checks.
38798         * abilist/ld.abilist: Remove.
38799         * abilist/libBrokenLocale.abilist: Remove.
38800         * abilist/libanl.abilist: Remove.
38801         * abilist/libcrypt.abilist: Remove.
38802         * abilist/libdl.abilist: Remove.
38803         * abilist/librt.abilist: Remove.
38804         * abilist/libthread_db.abilist: Remove.
38805         * abilist/libutil.abilist: Remove.
38806         * scripts/extract-abilist.awk: Remove.
38807         * scripts/merge-abilist.awk: Remove.
38808         * sysdeps/generic/libcidn.abilist: New file.
38809         * sysdeps/generic/libnss_compat.abilist: New file.
38810         * sysdeps/generic/libnss_db.abilist: New file.
38811         * sysdeps/generic/libnss_dns.abilist: New file.
38812         * sysdeps/generic/libnss_files.abilist: New file.
38813         * sysdeps/generic/libnss_hesiod.abilist: New file.
38814         * sysdeps/generic/libnss_nis.abilist: New file.
38815         * sysdeps/generic/libnss_nisplus.abilist: New file.
38816         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
38817         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
38818         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
38819         file.
38820         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
38821         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
38822         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
38823         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
38824         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
38825         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
38826         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
38827         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
38828         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
38829         file.
38830         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
38831         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
38832         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
38833         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
38834         file.
38835         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
38836         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
38837         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
38838         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
38839         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
38840         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
38841         file.
38842         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
38843         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
38844         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
38845         file.
38846         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
38847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
38848         New file.
38849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
38850         New file.
38851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
38852         New file.
38853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
38854         New file.
38855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
38856         New file.
38857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
38858         New file.
38859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
38860         New file.
38861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
38862         New file.
38863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
38864         New file.
38865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
38866         New file.
38867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
38868         New file.
38869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
38870         New file.
38871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
38872         New file.
38873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
38874         file.
38875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38876         New file.
38877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38878         New file.
38879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
38880         file.
38881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38882         New file.
38883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38884         New file.
38885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
38886         file.
38887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38888         New file.
38889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38890         New file.
38891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38892         New file.
38893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38894         New file.
38895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38896         New file.
38897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38898         New file.
38899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
38900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
38901         file.
38902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38903         New file.
38904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
38905         file.
38906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
38907         file.
38908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
38909         file.
38910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
38911         file.
38912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
38913         file.
38914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38915         New file.
38916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
38917         file.
38918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
38919         file.
38920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38921         New file.
38922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
38923         file.
38924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
38925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
38926         file.
38927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38928         New file.
38929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
38930         file.
38931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
38932         file.
38933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
38934         file.
38935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
38936         file.
38937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
38938         file.
38939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38940         New file.
38941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
38942         file.
38943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
38944         file.
38945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38946         New file.
38947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
38948         file.
38949         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38950         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
38951         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
38952         file.
38953         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
38954         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
38955         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
38956         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
38957         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
38958         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
38959         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
38960         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
38961         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
38962         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
38963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
38964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
38965         file.
38966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38967         New file.
38968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
38969         file.
38970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
38971         file.
38972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
38973         file.
38974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
38975         file.
38976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
38977         file.
38978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38979         New file.
38980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38981         New file.
38982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
38983         file.
38984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38985         New file.
38986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
38987         file.
38988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
38989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
38990         file.
38991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38992         New file.
38993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
38994         file.
38995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
38996         file.
38997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
38998         file.
38999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39000         file.
39001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39002         file.
39003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39004         New file.
39005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39006         New file.
39007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39008         file.
39009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39010         New file.
39011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39012         file.
39014 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
39016         * conform/conformtest.pl: Fix typo in handling typed-constant from
39017         allow-header.
39019 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39021         * README: Cut down references to pre-2.6 Linux kernels and
39022         Linuxthreads.  Update lists of configurations in libc and ports
39023         and sort alphabetically.  Say "or newer" with Linux kernel version
39024         requirements.
39026         * config.h.in [IS_IN_build]: Allow compiling without optimization.
39028 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39030         [BZ #887]
39031         * math/libm-test.inc (logb_test_downward): New test to expose
39032         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39033         rounding mode.
39035 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
39037         [BZ #14027]
39038         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39039         to be done.
39040         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39041         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39043 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
39045         * sysdeps/unix/i386/brk.S: Remove file.
39046         * sysdeps/unix/i386/dl-brk.S: Likewise.
39047         * sysdeps/unix/i386/pipe.S: Likewise.
39048         * sysdeps/unix/i386/sigreturn.S: Likewise.
39049         * sysdeps/unix/i386/syscall.S: Likewise.
39050         * sysdeps/unix/i386/vfork.S: Likewise.
39051         * sysdeps/unix/i386/wait.S: Likewise.
39053         * sysdeps/unix/common/tcsendbrk.c: Move to ...
39054         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39056         * configure.in (arm*-none*): Do not allow without
39057         --enable-hacker-mode.
39058         (netbsd*): Remove case setting base_os.
39059         (386bsd*): Likewise.
39060         (freebsd*): Likewise.
39061         (bsdi*): Likewise.
39062         (osf*): Likewise.
39063         (sunos*): Likewise.
39064         (ultrix*): Likewise.
39065         (newsos*): Likewise.
39066         (dynix*): Likewise.
39067         (*bsd*): Likewise.
39068         (sysv*): Likewise.
39069         (isc*): Likewise.
39070         (esix*): Likewise.
39071         (sco*): Likewise.
39072         (minix*): Likewise.
39073         (irix4*): Likewise.
39074         (irix6*): Likewise.
39075         (solaris[2-9]*): Likewise.
39076         (none): Likewise.
39077         * configure: Regenerated.
39079 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39081         [BZ #11521]
39082         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39083         overflow or cancellation in calculating denominator.
39084         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39085         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39086         down expression to avoid unexpected rounding in newer GCCs.
39087         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39089 2012-04-26  David S. Miller  <davem@davemloft.net>
39091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39092         long-double compat symbols.
39093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39107 2012-04-25  David S. Miller  <davem@davemloft.net>
39109         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39110         HWCAP_* values only after the memory barriers have been defined.
39111         (atomic_full_barrier): Define.
39112         (atomic_read_barrier): Define.
39113         (atomic_write_barrier): Define.
39115 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39117         * shlib-versions: Add libgcc_s version information.
39118         * sysdeps/generic/libgcc_s.h: Remove.
39119         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39120         libgcc_s.h.
39121         * sysdeps/gnu/unwind-resume.c: Likewise.
39122         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39124 2012-04-25  David S. Miller  <davem@davemloft.net>
39126         * sysdeps/unix/sparc/brk.S: Delete.
39127         * sysdeps/unix/sparc/dl-brk.S: Delete.
39128         * sysdeps/unix/sparc/pipe.S: Delete.
39129         * sysdeps/unix/sparc/sysdep.S: Delete.
39130         * sysdeps/unix/sparc/sysdep.h: Delete.
39131         * sysdeps/unix/sparc/vfork.S: Delete.
39132         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39133         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39134         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39135         (ret_ERRVAL, r0, r1, MOVE): Define.
39136         (JUMPTARGET): Remove.
39137         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39138         sysdeps/unix/sparc/sysdep.h
39139         (ENTRY, END): Remove.
39140         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39142 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
39144         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39145         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39146         -DIS_IN_build.
39148         * timezone/README: Update upstream location and email address for
39149         tzcode and tzdata.
39150         * timezone/zdump.c: Update from tzcode 2012b.
39151         * timezone/zic.c: Likewise.
39153         * configure.in (libc_cv_as_needed): Remove test.
39154         * configure: Regenerated.
39155         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39156         conditional definition.
39157         [$(have-as-needed) != yes] (no-as-needed): Likewise.
39158         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39159         * config.make.in (have-as-needed): Remove variable.
39161 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39162             Paul Pluzhnikov  <ppluzhnikov@google.com>
39164         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39165         strings correctly.
39167 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
39169         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39170         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39171         * sysdeps/sh/strlen.S: Likewise.
39173 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39175         * sysdeps/unix/fork.S: Remove file.
39176         * sysdeps/unix/i386/fork.S: Likewise.
39177         * sysdeps/unix/sparc/fork.S: Likewise.
39179         * sysdeps/unix/system.c: Remove file.
39180         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39182         * sysdeps/unix/getegid.S: Remove file.
39183         * sysdeps/unix/geteuid.S: Likewise.
39185 2012-04-24  Roland McGrath  <roland@hack.frob.com>
39187         * scripts/check-localplt.awk: New file.
39188         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39189         of diff.
39190         * scripts/data/localplt-generic.data: Add a comment.
39192         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39193         NODE when __dir_mkfile failed.
39194         * sysdeps/mach/hurd/symlinkat.c: Likewise.
39195         Reported by Ludovic Courtès <ludo@gnu.org>.
39197 2012-04-24  Andreas Jaeger  <aj@suse.de>
39199         * Makerules (common-clean): Also remove gen-as-const-headers
39200         files.
39202 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39204         * Makerules (native-compile): Do not change working directory for
39205         build.  Use $(OUTPUT_OPTION) in command.
39206         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39208 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39210         [BZ #13886]
39211         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39212         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39213         * math/libm-test.inc (floor_test): Add more tests.
39214         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39216 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
39218         * sysdeps/unix/getdents.c: Remove file.
39219         * sysdeps/unix/sysv/getdents.c: Likewise.
39220         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39222         * sysdeps/unix/syscalls.list (madvise): Add syscall from
39223         sysdeps/unix/mman/syscalls.list.
39224         (mmap): Likewise.
39225         (mprotect): Likewise.
39226         (msync): Likewise.
39227         (munmap): Likewise.
39228         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
39229         * sysdeps/unix/mman/syscalls.list: Remove.
39230         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
39232         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
39233         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
39234         * configure: Regenerated.
39235         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
39236         $(libgcc_s_suffix).
39237         * config.make.in (libgcc_s_suffix): Remove variable.
39239 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
39241         * sysdeps/unix/sysv/gethostname.c: Move to ...
39242         * sysdeps/posix/gethostname.c: ... here.
39244         * sysdeps/unix/execve.S: Remove file.
39246         * sysdeps/unix/_exit.S: Remove file.
39248 2012-04-23  Andreas Jaeger  <aj@suse.de>
39250         [BZ #13739]
39251         * manual/Makefile: Remove make dist support, there's no
39252         need for a stand-alone documentation tar ball.
39253         (TEXI2DVI): Define always, it's not in Makeconfig.
39254         (dist): Removed.
39255         (tar-it): Removed.
39256         (edition): Removed.
39257         (glibc-doc-$(edition).tar): Removed
39258         (%.Z): Removed.
39259         (%.gz): Removed.
39260         (%.uu): Removed.
39261         (ETAGS): Remove, it's in Makeconfig.
39262         (move-if-change): Remove, it's in Makeconfig.
39264 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
39266         [BZ #13970]
39267         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
39268         (strtod, strtof, strtold, strtol, strtoul, strtoq)
39269         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
39270         (strtod_l, strtof_l, strtold_l): Remove __wur.
39271         It is not necessarily an error to ignore strtol's return value.
39272         One can reliably look at the stored endptr to decide whether
39273         the number had valid syntax.
39275 2012-04-21  Andreas Jaeger  <aj@suse.de>
39277         [BZ #13739]
39278         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
39280 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
39282         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
39283         * sysdeps/unix/sysv/Versions: Remove file.
39285 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
39287         [BZ #13927]
39288         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39290 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
39292         [BZ #7064]
39293         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
39294         version from __vm86.
39296 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
39298         * sysdeps/unix/common/lxstat.c: Remove file.
39299         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
39301         * sysdeps/unix/sysv/Makefile: Remove file.
39303         * sysdeps/unix/sysv/direct.h: Remove file.
39305         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
39306         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
39307         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
39308         * sysdeps/unix/sysv/bits/signum.h: Likewise.
39309         * sysdeps/unix/sysv/bits/stat.h: Likewise.
39310         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
39311         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
39313         * sysdeps/unix/sysv/setrlimit.c: Remove file.
39315         * sysdeps/unix/xmknod.c: Remove file.
39316         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
39318         * sysdeps/unix/sysv/settimeofday.c: Remove file.
39320         * sysdeps/unix/sysv/i386/time.S: Remove file.
39322         * sysdeps/unix/fxstat.c: Remove file.
39323         * sysdeps/unix/xstat.c: Likewise.
39324         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
39326         * sysdeps/unix/sysv/sigaction.c: Remove file.
39328         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
39329         (sysdep_headers): Remove variable.
39330         [termio.h not in sysdep_headers] (generated): Likewise.
39331         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
39332         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
39333         * sysdeps/unix/sysv/tcdrain.c: Likewise.
39334         * sysdeps/unix/sysv/tcflow.c: Likewise.
39335         * sysdeps/unix/sysv/tcflush.c: Likewise.
39336         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
39337         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
39338         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
39339         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
39340         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
39342         * sysdeps/unix/siglist.c: Remove file.
39344         * sysdeps/unix/getppid.S: Remove file.
39346         * sysdeps/unix/mkdir.c: Remove file.
39347         * sysdeps/unix/rmdir.c: Likewise.
39349 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
39351         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
39352         ERR_MAX value.
39353         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
39354         errlist-compat value.
39356 2012-04-18  David S. Miller  <davem@davemloft.net>
39358         * sysdeps/generic/memcopy.h (reg_char): Delete.
39359         * debug/strcat_chk.c: Use char, not reg_char.
39360         * debug/strcpy_chk.c: Likewise.
39361         * debug/strncat_chk.c: Likewise.
39362         * debug/strncpy_chk.c: Likewise.
39363         * string/memchr.c: Likewise.
39364         * string/memrchr.c: Likewise.
39365         * string/rawmemchr.c: Likewise.
39366         * string/strcat.c: Likewise.
39367         * string/strchr.c: Likewise.
39368         * string/strchrnul.c: Likewise.
39369         * string/strcmp.c: Likewise.
39370         * string/strcpy.c: Likewise.
39371         * string/strncat.c: Likewise.
39372         * string/strncmp.c: Likewise.
39373         * string/strncpy.c: Likewise.
39375 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39377         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39378         __builtin_memcopy is called when src and dest ranges are known to not
39379         overlap.
39381 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39383         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
39384         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
39385         fwd_align_merge macro call.
39386         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39387         bwd_align_merge macro call.
39388         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39390 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
39392         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
39393         bwd_align_merge macros.
39394         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
39395         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
39396         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39398 2012-04-18  David S. Miller  <davem@davemloft.net>
39400         * sysdeps/sparc/sparc64/memcopy.h: Delete.
39402 2012-04-18  Andreas Jaeger  <aj@suse.de>
39404         [BZ# 6794]
39405         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
39406         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
39407         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39409         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
39410         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
39411         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39413         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
39414         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
39415         Adjust for changed ldbl-128 files.
39417         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
39418         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
39419         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
39421 2012-04-17  David S. Miller  <davem@davemloft.net>
39423         * sysdeps/sparc/sparc32/memcopy.h: Delete.
39425 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
39427         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39428         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
39429         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
39430         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
39431         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
39432         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
39434 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39436         [BZ #6794]
39437         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
39438         * math/libm-test.inc: Add ilogb errno and exception tests.
39439         * math/w_ilogb.c: New file: ilogb wrapper.
39440         * math/w_ilogbf.c: New file: ilogbf wrapper.
39441         * math/w_ilogbl.c: New file: ilogbl wrapper.
39442         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
39443         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
39444         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
39445         exception being thrown with 0.0 as argument.
39446         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
39447         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
39448         exception being thrown with 0.0 as argument.
39449         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
39450         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39451         exception being thrown with 0.0 as argument.
39452         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
39453         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
39454         exception being thrown with 0.0 as argument.
39455         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
39456         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
39457         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
39458         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
39459         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
39460         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
39461         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
39462         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
39463         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
39465 2012-04-17  Petr Baudis  <pasky@ucw.cz>
39467         * include/sys/uio.h: Change __vector to __iovec to avoid clash
39468         with altivec.
39470 2012-04-16  Marek Polacek  <polacek@redhat.com>
39472         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
39474 2012-04-16  Marek Polacek  <polacek@redhat.com>
39476         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
39477         operands of fdivp instruction.
39479 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39481         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
39482         * elf/tst-auditmod3b.c: Likewise.
39483         * elf/tst-auditmod4b.c: Likewise.
39484         * elf/tst-auditmod5b.c: Likewise.
39485         * elf/tst-auditmod6b.c: Likewise.
39486         * elf/tst-auditmod6c.c: Likewise.
39487         * elf/tst-auditmod7b.c: Likewise.
39488         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
39489         * sysdeps/x86_64/preconfigure.in: Likewise.
39490         * sysdeps/x86_64/preconfigure: Regenerated.
39492 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
39494         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
39495         __ILP32__.
39497 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
39499         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39500         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
39502 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
39504         [BZ #13973]
39505         * locale/iso-639.def: Fix gl language name. Spotted by
39506         Yaron Shahrabani.
39508 2012-04-12  Roland McGrath  <roland@hack.frob.com>
39510         [BZ #2074]
39511         * libio/libio.h (__io_write_fn): Update comment.
39513 2012-04-12  Petr Baudis  <pasky@ucw.cz>
39515         [BZ #2074]
39516         * stdio.texi (Hook Functions): The user provided writer function
39517         is not allowed to return -1.
39519 2012-04-11  David S. Miller  <davem@davemloft.net>
39521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39523 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
39525         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
39526         Add a leading slash to rtkaio.
39528 2012-04-11  Jim Meyering  <meyering@redhat.com>
39530         [BZ #11959]
39531         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
39532         It is not necessarily an error to ignore fwrite's return
39533         value.  One can reliably use ferror to test for errors after
39534         the fact.
39536 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39538         * bits/types.h (__snseconds_t): New type.
39539         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
39541         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
39542         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39543         (__SNSECONDS_T_TYPE): Likewise.
39544         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39545         (__SNSECONDS_T_TYPE): Likewise.
39546         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39547         (__SNSECONDS_T_TYPE): Likewise.
39549 2012-04-10  Andreas Jaeger  <aj@suse.de>
39551         [BZ #2636]
39552         * manual/time.texi (Processor Time): Return type of times is
39553         elapsed real time since an arbitrary point in the past.
39554         (CPU Time): Move CLK_TCK from here...
39555         (Processor Time): ...to here.  Correct description.
39556         * manual/conf.texi (Constants for Sysconf): Correct description of
39557         _SC_CLK_TCK.
39559 2012-04-10  David S. Miller  <davem@davemloft.net>
39561         [BZ #13967]
39562         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
39563         where the is a gap between DT_REL(A) and DT_JMPREL.
39565 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
39567         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
39568         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39569         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39571 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39573         * elf/dl-support.c (_dl_inhibit_cache): New variable.
39574         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
39575         (dl_main): Handle --inhibit-cache.
39576         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
39577         _dl_inhibit_cache.
39578         * elf/dl-load.c (_dl_map_object): Use it.
39579         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
39581 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39583         [BZ #13872]
39584         * sysdeps/i386/fpu/e_powl.S (p78): New object.
39585         (__ieee754_powl): Saturate large exponents rather than testing for
39586         overflow of y*log2(x).
39587         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39588         * math/libm-test.inc (pow_test): Do not permit spurious overflow
39589         exceptions.
39591         [BZ #11521]
39592         * math/s_ctan.c: Include <float.h>.
39593         (__ctan): Avoid internal overflow or cancellation in calculating
39594         denominator.
39595         * math/s_ctanf.c: Likewise.
39596         * math/s_ctanl.c: Likewise.
39597         * math/s_ctanh.c: Likewise.
39598         * math/s_ctanhf.c: Likewise.
39599         * math/s_ctanhl.c: Likewise.
39600         * math/libm-test.inc (ctan_test): Add more tests.
39601         (ctanh_test): Likewise.
39602         * sysdeps/i386/fpu/libm-test-ulps: Update.
39603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39605 2012-04-09  Andreas Jaeger  <aj@suse.de>
39607         [BZ #6894]
39608         * manual/filesys.texi (Directory Entries): Mention that d_namlen
39609         is an optional BSD extension.
39611         [BZ #10254]
39612         * manual/stdio.texi (Opening Streams): Document additional fopen
39613         parameters.
39615 2012-04-09  Roland McGrath  <roland@hack.frob.com>
39617         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
39618         %eax without telling the compiler.
39620 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
39622         [BZ # 13963]
39623         * manual/install.texi: Use sourceware.org.
39625 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
39627         [BZ #13873]
39628         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
39629         (__ieee754_pow): Generate overflow and underflow using huge*huge
39630         and tiny*tiny rather than just returning constant infinity or zero
39631         for large exponents.
39632         * math/libm-test.inc (pow_test): Require overflow exceptions for
39633         applicable cases of large exponents.
39635         [BZ #706]
39636         * sysdeps/i386/fpu/e_pow.S (p10): New object.
39637         (__ieee754_pow): Use iterative multiplication algorithm only for
39638         integer exponents with absolute value below 1024.  Check for odd
39639         integer exponents when using algorithm for real exponents.
39640         * math/libm-test.inc (pow_test): Add more tests.
39641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39643 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
39645         [BZ #13705]
39646         * math/libm-test.inc (exp_test): Do not allow overflow exception
39647         on underflow test.
39649 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
39651         [BZ #13705]
39652         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
39653         instead of __kernel_standard_f.
39655 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
39657         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
39658         * sysdeps/x86_64/memset_chk.S: Likewise.
39660 2012-04-08  Andreas Jaeger  <aj@suse.de>
39662         [BZ #10153]
39663         * manual/startup.texi (Environment Access): Describe return value
39664         for putenv and setenv.
39666         [BZ #6895]
39667         * manual/filesys.texi (Directory Entries): Add description for
39668         DT_LNK.
39670         [BZ #6890]
39671         * manual/filesys.texi (Directory Entries): Clarify that it's file
39672         system not operating system in the description of DT_UNKNOWN.
39674         [BZ #6578]
39675         * manual/syslog.texi (closelog): Fix reference, it's openlog.
39677 2012-04-08  Stephen Compall  <s11@member.fsf.org>
39679         [BZ #6649]
39680         * manual/llio.texi (Opening and Closing Files): Add cross
39681         reference to explain mode argument.
39683 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
39685         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
39686         * sysdeps/x86_64/memset_chk.S: Likewise.
39688 2012-04-07  David S. Miller  <davem@davemloft.net>
39690         * elf/elf.h (R_SPARC_WDISP10): Define.
39691         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
39692         R_SPARC_SIZE32.
39693         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
39694         R_SPARC_SIZE64 and R_SPARC_H34.
39696 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
39698         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
39699         conditions and remove no longer applicable assertion.
39701 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39703         * bits/byteswap.h: Include <features.h>.
39704         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
39705         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
39707 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
39709         * bits/byteswap.h (__bswap_16): Removed.
39710         Include <bits/byteswap-16.h> to get __bswap_16.
39711         * sysdeps/i386/bits/byteswap.h: Likewise.
39712         * sysdeps/s390/bits/byteswap.h: Likewise.
39713         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39714         * bits/byteswap-16.h: New file.
39715         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39716         * sysdeps/s390/bits/byteswap-16.h: Likewise.
39717         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
39718         * string/Makefile (headers): Add bits/byteswap-16.h.
39720 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39722         [BZ #13895]
39723         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
39724         extra indirection.
39725         * nss/Makefile (tests-static, tests): Add tst-nss-static.
39726         * nss/tst-nss-static.c: New.
39728 2012-04-06  Robert Millan  <rmh@gnu.org>
39730         [BZ #6486]
39731         * manual/llio.texi (File Position Primitive): lseek
39732         refers to WHENCE when it really means OFFSET.
39734 2012-04-06  Andreas Jaeger  <aj@suse.de>
39736         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
39737         strncmp declarations.
39739         * abilist/libc.abilist: Add __poll and __ppoll.
39741 2012-04-05  David S. Miller  <davem@davemloft.net>
39743         * scripts/check-local-headers.sh: Accept a host triplet in the
39744         path matched by the exclude regexp.
39746         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
39747         definition.
39748         * sysdeps/powerpc/powerpc32/dl-machine.h
39749         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
39750         * sysdeps/s390/s390-32/dl-machine.h
39751         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39752         * sysdeps/sparc/sparc32/dl-machine.h
39753         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39754         * sysdeps/sparc/sparc64/dl-machine.h
39755         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
39757         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
39758         lazy binding.
39759         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
39760         undefined symbol errors.
39762         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
39763         DT_NEEDED entries.
39765 2012-04-05  Michael Matz  <matz@suse.de>
39767         [BZ #13592]
39768         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
39770 2012-04-05  Andreas Jaeger  <aj@suse.de>
39772         [BZ #13908]
39773         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
39774         comment.
39776 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39778         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
39779         which ROUND is no valid rounding mode.
39781 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39783         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
39784         read again.
39785         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
39787 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39789         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
39790         an exception using FPU order intentionally.
39792 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39794         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
39795         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
39796         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
39797         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
39799 2012-04-05  Simon Josefsson  <simon@josefsson.org>
39801         [BZ #12340]
39802         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
39803         EINVAL when BUFLEN is too smal.
39805 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
39807         [BZ #13553]
39808         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
39809         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
39811 2012-04-03  Andreas Jaeger  <aj@suse.de>
39813         [BZ #13938]
39814         * manual/setjmp.texi (System V contexts): Fix sentence.
39816         [BZ #13926]
39817         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
39818         New macro for this case.
39819         [!__GNUC__] (__bswap_64): New inline function for this case.
39820         * sysdeps/x86_64/bits/byteswap.h: Likewise.
39821         * bits/byteswap.h: Likewise.
39822         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
39823         ull, guard with __GLIBC_HAVE_LONG_LONG.
39825         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
39826         __GLIBC_HAVE_LONG_LONG.
39828         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
39829         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
39831 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39833         [BZ #13691]
39834         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
39835         inptr and inend, rather than using last_ch.
39837 2012-04-02  David S. Miller  <davem@davemloft.net>
39839         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
39840         * stdio-common/printf-parse.h (read_int): Change return type to
39841         'int', return -1 on INT_MAX overflow.
39842         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
39843         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
39844         overflows INT_MAX.  Check for overflow of in-format-string precision
39845         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
39846         SIZE_MAX not INT_MAX for integer overflow test.
39847         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
39848         skip the construct in the format string but do not record anything.
39849         * stdio-common/bug22.c: Adjust to test both width/prevision
39850         INT_MAX overflow as well as total length INT_MAX overflow.  Check
39851         explicitly for proper errno values.
39853 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
39855         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
39856         CHAR_MAX.
39857         * string/test-strcmp.c [! WIDE]: Likewise.
39858         * time/tst-mktime2.c: Likewise for INT_MAX.
39859         * string/test-string.h: #include <sys/param.h> for MIN.
39861         * csu/init-first.c (__libc_init_first): Call __ctype_init.
39862         * sysdeps/i386/init-first.c (init): Likewise.
39863         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
39864         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
39865         * sysdeps/sh/init-first.c (init): Likewise.
39867 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
39869         * po/ru.po: Update from translation team.
39870         * po/vi.po: Likewise.
39872 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39874         * resolv/nss_dns/dns-host.c: Merge copyright years.
39876 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39878         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39879         Optimize memcpy with prefetch if
39880         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
39881         src, dst pointers have unequal 16 byte alignments.
39883 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39885         [BZ #13928]
39886         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
39887         from a CNAME entry and return the minimum ttl for the query.
39888         (gaih_getanswer_slice): Likewise.
39890 2012-03-30  Jeff Law  <law@redhat.com>
39892         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
39893         due to long keys.
39894         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
39895         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
39897         * resolv/nss_dns/dns-host.c: Update copyright year.
39899 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
39901         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
39902         requests to save a system call.  Fix check that all bytes are sent.
39904         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
39905         comments for sendmmsg.
39907 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39909         [BZ #13691]
39910         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
39911         with only 1 character between 0x0041 and 0x01b0.
39912         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
39913         * wcsmbs/tst-mbsnrtowcs.c: New file.
39915 2012-03-29  David S. Miller  <davem@davemloft.net>
39917         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
39918         small copies by hand.
39920 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39922         [BZ #13761]
39923         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
39924         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
39925         group memberships.
39927 2012-03-28  David S. Miller  <davem@davemloft.net>
39929         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
39930         that branches into memcpy.
39931         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39932         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
39933         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39934         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
39935         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
39936         bits.
39937         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
39938         implementation too.
39939         * sysdeps/sparc/mempcpy.S: New file.
39941         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
39942         the IFUNC routine in the libc case.
39943         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39945         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
39946         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
39947         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
39948         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
39949         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
39950         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
39951         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
39952         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
39954         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
39955         loop to 256 bytes instead of 64 bytes and fix test signedness.
39957         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
39958         * sysdeps/sparc/sparc32/Makefile: rather than here...
39959         * sysdeps/sparc/sparc64/Makefile: and here.
39961 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
39963         * malloc/mallocbug.c: Avoid warnings about unused variables.
39965 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39967         [BZ #13760]
39968         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
39969         in the right place. Discard and retry query if response is
39970         larger than input buffer size.
39972 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
39974         [BZ #369]
39975         [BZ #2678]
39976         [BZ #3866]
39977         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
39978         x for large integer exponent.
39979         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39980         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
39981         sign of result as needed afterwards.
39982         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
39983         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
39984         result for underflowing pow the same as for overflow.
39985         (__kernel_standard_l): Handle powl overflow and underflow here
39986         rather than calling __kernel_standard.
39987         * math/libm-test.inc (pow_test): Add more tests.
39989         [BZ #3868]
39990         [BZ #13879]
39991         [BZ #13910]
39992         [BZ #13911]
39993         [BZ #13912]
39994         [BZ #13913]
39995         [BZ #13915]
39996         [BZ #13916]
39997         [BZ #13917]
39998         [BZ #13918]
39999         [BZ #13919]
40000         [BZ #13920]
40001         [BZ #13921]
40002         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40003         * sysdeps/ieee754/k_standard.c: Include <float.h>.
40004         (__kernel_standard_l): New function.
40005         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40006         __kernel_standard.
40007         * math/w_acosl.c (__acosl): Likewise.
40008         * math/w_asinl.c (__asinl): Likewise.
40009         * math/w_atan2l.c (__atan2l): Likewise.
40010         * math/w_atanhl.c (__atanhl): Likewise.
40011         * math/w_coshl.c (__coshl): Likewise.
40012         * math/w_exp10l.c (__exp10l): Likewise.
40013         * math/w_exp2l.c (__exp2l): Likewise.
40014         * math/w_fmodl.c (__fmodl): Likewise.
40015         * math/w_hypotl.c (__hypotl): Likewise.
40016         * math/w_j0l.c (__j0l, __y0l): Likewise.
40017         * math/w_j1l.c (__j1l, __y1l): Likewise.
40018         * math/w_jnl.c (__jnl, __ynl): Likewise.
40019         * math/w_lgammal.c (__lgammal): Likewise.
40020         * math/w_log10l.c (__log10l): Likewise.
40021         * math/w_log2l.c (__log2l): Likewise.
40022         * math/w_logl.c (__logl): Likewise.
40023         * math/w_powl.c (__powl): Likewise.
40024         * math/w_remainderl.c (__remainderl): Likewise.
40025         * math/w_scalbl.c (sysv_scalbl): Likewise.
40026         * math/w_sinhl.c (__sinhl): Likewise.
40027         * math/w_sqrtl.c (__sqrtl): Likewise.
40028         * math/w_tgammal.c (__tgammal): Likewise.
40029         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40030         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40031         * math/libm-test.inc (acos_test): Add more tests.
40032         (acosh_test): Likewise.
40033         (asin_test): Likewise.
40034         (atanh_test): Likewise.
40035         (exp_test): Likewise.
40036         (exp10_test): Likewise.
40037         (exp2_test): Likewise.
40038         (expm1_test): Likewise.
40039         (lgamma_test): Likewise.
40040         (log_test): Likewise.
40041         (log10_test): Likewise.
40042         (log1p_test): Likewise.
40043         (log2_test): Likewise.
40044         (pow_test): Do not allow some spurious overflow exceptions.
40045         (sqrt_test): Add more tests.
40046         (tgamma_test): Likewise.
40047         (y0_test): Likewise.
40048         (y1_test): Likewise.
40049         (yn_test): Likewise.
40051 2012-03-27  Anton Blanchard  <anton@samba.org>
40053         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40054         MAP_HUGETLB.
40055         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40056         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40057         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40059 2012-03-27  David S. Miller  <davem@davemloft.net>
40061         * conform/Makefile: Run run-conformtest.sh using $(BASH).
40063         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40064         have-as-vis3 check.
40066 2012-03-27  Andreas Jaeger  <aj@suse.de>
40068         * sysdeps/x86_64/elf/configure.in: Moved to ...
40069         * sysdeps/x86_64/configure.in: ... here.
40070         * sysdeps/x86_64/elf/start.S: Moved to ...
40071         * sysdeps/x86_64/start.S: ... here.
40072         * sysdeps/x86_64/elf/configure: Delete.
40074         * sysdeps/x86_64/configure.in: Merge contents from
40075         sysdeps/i386/configure.in (without i686 check).
40077         * sysdeps/i386/elf/Versions: Merge into ...
40078         * sysdeps/i386/Versions: ... this.
40079         * sysdeps/i386/elf/Versions: Delete file.
40080         * sysdeps/i386/elf/start.S: Moved to ...
40081         * sysdeps/i386/start.S: ...here.
40082         * sysdeps/i386/elf/configure.in: Merge into...
40083         * sysdeps/i386/configure.in: ...here.
40084         * sysdeps/i386/elf/configure.in: Delete file.
40085         * sysdeps/i386/elf/configure: Delete file.
40087         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40088         * debug/backtracesyms.c: ... here.
40089         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40090         * debug/backtracesymsfd.c: ... here.
40091         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40092         * sysdeps/generic/ifunc-sel.h: ... here.
40094         * sysdeps/unix/i386/start.c: Delete file.
40095         * sysdeps/unix/sparc/start.c: Delete file.
40096         * sysdeps/unix/start.c: Delete file.
40098         * sysdeps/sh/elf/configure.in: Moved to ...
40099         * sysdeps/sh/configure.in: ... here.
40100         * sysdeps/sh/elf/start.S: Moved to ...
40101         * sysdeps/sh/start.S: ... here.
40102         * sysdeps/sh/elf/configure: Delete file.
40104         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40105         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40106         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40107         * sysdeps/powerpc/powerpc64/entry.h: ... here.
40108         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40109         * sysdeps/powerpc/powerpc64/start.S: here.
40110         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40111         * sysdeps/powerpc/powerpc64/Makefile: ... this.
40112         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40113         * sysdeps/powerpc/powerpc64/configure.in: ... this.
40114         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40116         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40117         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40118         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40119         * sysdeps/powerpc/powerpc32/start.S: ... here.
40120         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40121         * sysdeps/powerpc/powerpc32/configure.in: ... this.
40122         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40124         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40125         * sysdeps/powerpc/ifunc-sel.h: ... here.
40126         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40127         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40129         * sysdeps/sparc/elf/configure.in: Moved to ...
40130         * sysdeps/sparc/configure.in: ... here.
40131         * sysdeps/sparc/elf/configure: Delete file.
40132         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40133         * sysdeps/sparc/sparc32/start.S: ... here.
40134         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40135         * sysdeps/sparc/sparc64/start.S: ... here.
40136         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40137         * sysdeps/sparc/sparc32/Makefile: ... this.
40138         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40139         * sysdeps/sparc/sparc64/Makefile: ... this.
40141         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40142         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40143         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40144         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40145         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40146         * sysdeps/s390/s390-32/setjmp.S: ... here.
40147         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40148         * sysdeps/s390/s390-32/configure.in: ... here.
40149         * sysdeps/s390/s390-32/elf/configure: Delete file.
40150         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40151         * sysdeps/s390/s390-32/start.S: ... here.
40153         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40154         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40155         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40156         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40157         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40158         * sysdeps/s390/s390-64/setjmp.S: ... here.
40159         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40160         * sysdeps/s390/s390-64/configure.in: ... here
40161         * sysdeps/s390/s390-64/elf/configure: Delete file.
40162         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40163         * sysdeps/s390/s390-64/start.S: ... here.
40164         * sysdeps/s390/s390-64/elf/configure: Delete.
40166         * configure.in: Remove support for elf directories in sysdeps.
40168         * configure: Regenerated.
40169         * sysdeps/i386/configure: Regenerated.
40170         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40171         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40172         * sysdeps/s390/s390-32/configure: Regenerated.
40173         * sysdeps/s390/s390-64/configure: Regenerated.
40174         * sysdeps/sh/configure: Regenerated.
40175         * sysdeps/sparc/configure: Regenerated.
40176         * sysdeps/x86_64/configure: Regenerated.
40178 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
40180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40182         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40183         denormal result into account.
40185 2012-03-25  Roland McGrath  <roland@hack.frob.com>
40187         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40188         Reported by Allan McRae <allan@archlinux.org>.
40190 2012-03-23  Jeff Law  <law@redhat.com>
40192         * nss/getnssent.c (__nss_getent): Fix typo.
40194 2012-03-23  David S. Miller  <davem@davemloft.net>
40196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40198 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
40200         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40201         to pad to uint64_t for each field.
40202         (dl_tls_index): Replace unsigned long with uint64_t.
40204 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
40205         Paul Pluzhnikov  <ppluzhnikov@google.com>
40207         [BZ #6528]
40208         * grp/Makefile (otherlibs): Don't set it.
40209         * inet/Makefile (otherlibs): Likewise.
40210         * login/Makefile (otherlibs): Likewise.
40211         * nscd/Makefile (otherlibs): Likewise.
40212         * posix/Makefile (otherlibs): Likewise.
40213         * pwd/Makefile (otherlibs): Likewise.
40214         * rt/Makefile (otherlibs): Likewise.
40215         * sunrpc/Makefile (otherlibs): Likewise.
40216         * nss/Makefile (otherlibs): Likewise.
40217         Add libnss_files to routines and static-only-routines.
40218         ($(objpfx)getent): Remove rule.
40219         * resolv/Makefile: Add libnss_dns and libresolv to routines and
40220         static-only-routines.
40222 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40224         [BZ #13892]
40225         * math/s_cexp.c: Include <float.h>.
40226         (__cexp): Handle exp result overflowing not necessarily
40227         overflowing both real and imaginary parts of result.
40228         * math/s_cexpf.c: Likewise.
40229         * math/s_cexpl.c: Likewise.
40230         * math/libm-test.inc (cexp_test): Add more tests.
40231         * sysdeps/i386/fpu/libm-test-ulps: Update.
40232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40234 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40236         * include/link.h (ELFW): New macro.
40237         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
40238         Replace ELF64_R_TYPE with ELFW(R_TYPE).
40240 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40242         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
40243         with uint64_t.
40245 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40247         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
40248         declaration.
40249         (struct La_x32_retval): Likewise.
40251 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
40253         * sysdeps/x86_64/preconfigure.in: New file.
40254         * sysdeps/x86_64/preconfigure: New generated file.
40256 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
40258         [BZ #13824]
40259         * math/e_exp2l.c: Include <float.h>.
40260         (__ieee754_exp2l): Handle overflow and underflow cases
40261         separately.  Only pass fractional part of argument to
40262         __ieee754_expl.
40263         * math/libm-test.inc (exp2_test): Add more tests.
40265         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
40266         negating x to take absolute value.
40267         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
40268         Likewise.
40269         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
40270         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
40271         Likewise.
40272         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
40273         computing low part if x was negated.
40274         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
40276 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40278         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
40279         la_x32_gnu_pltexit.
40280         (pltexit): Cast int_retval to ptrdiff_t.
40281         * elf/tst-auditmod3b.c: Likewise.
40282         * elf/tst-auditmod4b.c: Likewise.
40283         * elf/tst-auditmod5b.c: Likewise.
40284         * elf/tst-auditmod6b.c: Likewise.
40285         * elf/tst-auditmod6c.c: Likewise.
40286         * elf/tst-auditmod7b.c: Likewise.
40288         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
40289         and x32_gnu_pltexit.
40291         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
40292         __ELF_NATIVE_CLASS.
40293         (La_x32_regs): New macro.
40294         (La_x32_retval): Likewise.
40295         (la_x32_gnu_pltenter): New function prototype.
40296         (la_x32_gnu_pltexit): Likewise.
40298 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
40300         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
40301         exponent.
40303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40305         * configure.in (libc_cv_cc_nofma): Check for option to disable
40306         generation of FMA instructions.
40307         * configure: Regenerate.
40308         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
40309         * sysdeps/ieee754/dbl-64/Makefile: New file.
40310         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
40311         Remove brandred-fma4.
40312         (CFLAGS-brandred-fma4.c): Remove.
40313         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
40314         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
40315         define.
40316         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
40317         define.
40319 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40321         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40322         LLONG_MAX != LONG_MAX.
40323         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40324         (_fitoa_word): Likewise.
40325         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
40326         LLONG_MAX != LONG_MAX.
40327         * stdio-common/_itowa.h: Include <_itoa.h>.
40328         (_itowa_word): Use _ITOA_WORD_TYPE on value.
40329         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
40330         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
40331         only if not defined.
40332         (_ITOA_WORD_TYPE): Likewise.
40333         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40334         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
40336 2012-03-21  David S. Miller  <davem@davemloft.net>
40338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40340 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
40342         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
40343         of x86_64 when setting libc_cv_slibdir, libdir and
40344         libc_cv_localedir.
40345         * sysdeps/unix/sysv/linux/configure: Regenerated.
40347 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40349         * manual/lang.texi (Old Varargs): Remove section.
40350         (How Variadic): Update menu.
40351         (va_start): Do not mention varargs.h.
40353 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40354             Joseph Myers  <joseph@codesourcery.com>
40356         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
40357         link test.
40358         * configure: Regenerated.
40360 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
40362         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
40363         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
40364         conformtest.pl
40366 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40368         * NOTES: Remove.
40369         * Makefile (files-for-dist): Remove NOTES.
40370         (NOTES): Remove rule.
40371         * README: Don't refer to NOTES.
40372         * manual/creature.texi: Don't include macros.texi.
40373         * manual/intro.texi (creature.texi): Remove comment referring to
40374         NOTES.
40376         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
40377         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
40378         * configure: Regenerated.
40379         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
40380         LIBC_TRY_CC_OPTION.
40381         (libc_cv_as_i686): Likewise.
40382         (libc_cv_cc_avx): Likewise.
40383         (libc_cv_cc_sse2avx): Likewise.
40384         (libc_cv_cc_fma4): Likewise.
40385         (libc_cv_cc_novzeroupper): Likewise.
40386         * sysdeps/i386/configure: Regenerated.
40388         [BZ #13883]
40389         * sysdeps/i386/fpu/s_cexp.S: Remove.
40390         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40391         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40392         * math/libm-test.inc (cexp_test): Add more tests.
40393         * sysdeps/i386/fpu/libm-test-ulps: Update.
40394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40396 2012-03-21  Allan McRae  <allan@archlinux.org>
40398         * timezone/Makefile: Do not install iso3166.tab and zone.tab
40400 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
40402         [BZ #13871]
40403         * math/w_exp2.c: Do not include <float.h>.
40404         (o_threshold, u_threshold): Remove.
40405         (__exp2): Calculate result before checking finiteness and calling
40406         __kernel_standard.
40407         * math/w_exp2f.c: Likewise.
40408         * math/w_exp2l.c: Likewise.
40409         * math/libm-test.inc (exp2_test): Require overflow exception for
40410         1e6 input.
40412         [BZ #3866]
40413         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
40414         range of signed 64-bit integers before using fistpll.  Remove
40415         checks for whether integers fit in mantissa bits.
40416         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
40417         the range of signed 32-bit integers before using fistpl.  Remove
40418         checks for whether integers fit in mantissa bits.
40419         * sysdeps/i386/fpu/e_powl.S (p64): New object.
40420         (__ieee754_powl): Test for y outside the range of signed 64-bit
40421         integers before using fistpll.  Reduce 64-bit values to 63-bit
40422         ones as needed.
40423         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
40424         divide-by-zero is raised for zero to large negative powers.
40425         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
40426         (__ieee754_powl): Test for y outside the range of signed 64-bit
40427         integers before using fistpll.  Reduce 64-bit values to 63-bit
40428         ones as needed.
40429         * math/libm-test.inc (pow_test): Add more tests.
40431 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40433         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
40434         <stdio-common/_itoa.h>.
40435         * debug/segfault.c: Likewise.
40436         * elf/dl-cache.c: Likewise.
40437         * elf/dl-minimal.c: Likewise.
40438         * elf/dl-misc.c: Likewise.
40439         * elf/dl-sysdep.c: Likewise.
40440         * elf/dl-version.c: Likewise.
40441         * elf/rtld.c: Likewise.
40442         * hurd/hurdsock.c: Likewise.
40443         * hurd/lookup-retry.c: Likewise.
40444         * malloc/malloc.c: Likewise.
40445         * malloc/mtrace.c: Likewise.
40446         * nscd/nscd_getgr_r.c: Likewise.
40447         * nscd/nscd_getpw_r.c: Likewise.
40448         * nscd/nscd_getserv_r.c: Likewise.
40449         * posix/getopt_init.c: Likewise.
40450         * posix/wordexp.c: Likewise.
40451         * stdio-common/_itoa.c: Likewise.
40452         * stdio-common/printf_fphex.c: Likewise.
40453         * stdio-common/vfprintf.c: Likewise.
40454         * string/_strerror.c: Likewise.
40455         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
40456         * sysdeps/i386/i686/hp-timing.h: Likewise.
40457         * sysdeps/mach/_strerror.c: Likewise.
40458         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
40459         * sysdeps/mach/hurd/sethostid.c: Likewise.
40460         * sysdeps/mach/hurd/xmknodat.c: Likewise.
40461         * sysdeps/mach/xpg-strerror.c: Likewise.
40462         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40463         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40464         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
40465         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
40466         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40467         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
40468         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40469         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40470         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
40471         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
40472         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
40473         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40474         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
40475         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40476         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40477         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
40478         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
40479         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
40480         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
40481         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
40482         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
40484         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
40486         * stdio-common/_itoa.h: Moved to ...
40487         * sysdeps/generic/_itoa.h: Here.
40489         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
40491         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
40492         instead of "_itoa.h" and "_itowa.h".
40493         * stdio-common/vfprintf.: Likewise.
40495 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40497         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
40498         <bits/wordsize.h>.
40499         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
40500         (__signbit): Likwise.
40501         (llrintf): Likwise.
40502         (llrint): Likwise.
40504 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40506         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
40507         __WORDSIZE != 64.
40509 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
40511         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
40512         OVERFLOW_EXCEPTION_OK.
40513         * math/libm-test.inc ("Philosophy"): Update comment about
40514         exception testing.
40515         (OVERFLOW_EXCEPTION): Define.
40516         (OVERFLOW_EXCEPTION_OK): Likewise.
40517         (INVALID_EXCEPTION_OK): Renumber.
40518         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40519         (IGNORE_ZERO_INF_SIGN): Likewise.
40520         (test_exceptions): Handle FE_OVERFLOW.
40521         (exp10_test): Expect overflow exceptions.
40522         (exp2_test): Likewise.
40523         (expm1_test): Likewise.
40524         (nextafter_test): Likewise.
40525         (pow_test): Likewise.
40526         (scalbn_test): Likewise.
40527         (scalbln_test): Likewise.
40529 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40531         * sysdeps/x86_64/bits/atomic.h
40532         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
40533         64bit integer.
40534         (atomic_exchange_acq): Likewise.
40535         (__arch_exchange_and_add_body): Likewise.
40536         (__arch_add_body): Likewise.
40537         (atomic_add_negative): Likewise.
40538         (atomic_add_zero): Likewise.
40540 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40542         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
40543         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
40545 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40547         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
40548         Check __x86_64__ instead of __WORDSIZE.
40550 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40552         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
40554 2012-03-19  David S. Miller  <davem@davemloft.net>
40556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40558         * sysdeps/sparc/fpu/fenv_private.h: New file.
40559         * sysdeps/sparc/fpu/math_private.h: Use it.
40560         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
40561         Remove.
40562         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
40563         (libc_feholdexcept_setroundl): Remove.
40564         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
40565         Remove.
40566         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
40567         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
40569 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40571         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
40572         int64_t instead of long int.
40573         (INSERT_WORDS64): Likwise.
40575 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
40577         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
40578         _Unwind_GetCFA return to _Unwind_Ptr first.
40580 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
40582         [BZ #13629]
40583         * math/s_clog.c: Include <float.h>.
40584         (__clog): Scale large or subnormal inputs.
40585         * math/s_clogf.c: Likewise.
40586         * math/s_clogl.c: Likewise.
40587         * math/s_clog10.c: Include <float.h>.
40588         (M_LOG10_2): Define.
40589         (__clog10): Scale large or subnormal inputs.
40590         * math/s_clog10f.c: Likewise.
40591         * math/s_clog10l.c: Likewise.
40592         * math/libm-test.inc (clog_test): Add more tests.
40593         (clog10_test): Likewise.
40594         * sysdeps/i386/fpu/libm-test-ulps: Update.
40595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40597         [BZ #11451]
40598         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
40599         x and y.
40600         * math/libm-test.inc (atan2_test): Add another test.
40602         * Makerules (common-objdir-compile): Remove.
40603         * sysdeps/unix/Makefile (config-generated): Do not add
40604         $(unix-generated) to variable.
40605         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
40606         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
40607         Remove rule.
40608         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
40609         Likewise.
40610         [generic bits/local_lim.h] (before-compile): Do not append to
40611         variable.
40612         [generic bits/local_lim.h] (common-generated): Likewise.
40613         [generic sys/param.h] (before-compile): Do not append to variable.
40614         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
40615         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
40616         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
40617         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
40618         include.
40619         [generic sys/param.h] (sys/param.h-includes): Remove variable.
40620         [generic sys/param.h] (sys/param.h-includes): Remove rule.
40621         [generic sys/param.h] ($(addprefix
40622         $(common-objpfx),$(sys/param.h-includes))): Likewise.
40623         [generic sys/param.h] (common-generated): Do not append to
40624         variable.
40625         [generic sys/param.h] (sysdep_headers): Likewise.
40626         [generic bits/errno.h] (before-compile): Do not append to
40627         variable.
40628         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
40629         rule.
40630         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
40631         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
40632         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
40633         [generic bits/errno.h] (common-generated): Do not append to
40634         variable.
40635         [generic bits/ioctls.h] (before-compile): Do not append to
40636         variable.
40637         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
40638         rule.
40639         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
40640         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
40641         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
40642         rule.
40643         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
40644         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
40645         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
40646         [generic bits/ioctls.h] (common-generated): Do not append to
40647         variable.
40648         [generic sys/syscall.h] (syscall.h): Remove variable.
40649         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
40650         rule.
40651         [generic sys/syscall.h] (before-compile): Do not append to
40652         variable.
40653         [generic sys/syscall.h] (common-generated): Likewise.
40654         * sysdeps/unix/errnos-tmpl.c: Remove file.
40655         * sysdeps/unix/errnos.awk: Likewise.
40656         * sysdeps/unix/ioctls-tmpl.c: Likewise.
40657         * sysdeps/unix/ioctls.awk: Likewise.
40658         * sysdeps/unix/mk-local_lim.c: Likewise.
40659         * sysdeps/unix/snarf-ioctls: Likewise.
40661 2012-03-19  Richard Henderson  <rth@twiddle.net>
40663         * sysdeps/i386/fpu/fenv_private.h: New file.
40664         * sysdeps/i386/fpu/math_private.h: Use it.
40665         (math_opt_barrier, math_force_eval): Remove.
40666         (libc_feholdexcept_setround_53bit): Remove.
40667         (libc_feupdateenv_53bit): Remove.
40668         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40669         (math_opt_barrier, math_force_eval): Remove.
40670         (libc_feholdexcept): Remove.
40671         (libc_feholdexcept_setround): Remove.
40672         (libc_fetestexcept, libc_fesetenv): Remove.
40673         (libc_feupdateenv_test): Remove.
40674         (libc_feupdateenv, libc_feholdsetround): Remove.
40675         (libc_feresetround): Remove.
40677         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
40678         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40680         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
40681         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
40682         (libc_feupdateenv_testl): New.
40683         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
40684         (libc_feupdateenv_testf): New.
40685         (libc_feupdateenv): Use libc_feupdateenv_test.
40686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
40687         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
40689         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
40690         (libc_feholdsetroundf, libc_feholdsetroundl): New.
40691         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
40692         (libc_feresetround_noex): New.
40693         (libc_feresetround_noexf): New.
40694         (libc_feresetround_noexl): New.
40695         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
40696         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
40697         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
40698         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
40699         SET_RESTORE_ROUND.
40700         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
40701         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
40702         (__cos): Likewise.
40703         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
40704         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
40705         SET_RESTORE_ROUND_NOEX.
40706         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
40707         SET_RESTORE_ROUND_NOEXF.
40708         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
40709         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
40710         (libc_feholdsetroundf): New.
40711         (libc_feresetround, libc_feresetroundf): New.
40713         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
40714         (libc_feholdexcept_setround_53bit): Convert from macro to function.
40715         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
40717         * sysdeps/generic/math_private.h: Include <fenv.h>.
40718         (default_libc_feholdexcept): New.
40719         (default_libc_feholdexcept_setround): New.
40720         (default_libc_fesetenv, default_libc_feupdateenv): New.
40721         (libc_feholdexcept): Only define if undefined.
40722         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
40723         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
40724         (libc_feholdexcept_setroundl): Likewise.
40725         (libc_feholdexcept_setround_53bit): Likewise.
40726         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
40727         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
40728         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
40729         (libc_feupdateenv_53bit): Likewise.
40730         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
40731         (libc_feholdexcept): Convert from macro to inline function.
40732         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
40733         (libc_fesetenv, libc_feupdateenv): Likewise.
40735         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
40736         not previously defined.
40737         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
40738         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
40739         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
40740         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
40741         * sysdeps/ieee754/flt-32/math_private.h: New file.
40742         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
40743         math_private.h below SET_FLOAT_WORD.
40744         (__isnan, __isinf_ns, __finite): Remove.
40745         (__isnanf, __isinf_nsf, __finitef): Remove.
40747 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
40749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40751 2012-03-17  David S. Miller  <davem@davemloft.net>
40753         [BZ #6471]
40754         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
40755         for 2.16.
40757 2012-03-16  David S. Miller  <davem@davemloft.net>
40759         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
40760         warnings.
40762         [BZ #6471]
40763         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
40764         properly.
40765         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
40766         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
40767         sysdep_routines when subdir is sysvipc.
40768         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
40769         __getshmlba helper.
40771         * sysdeps/sparc/fpu/libm-test/ulps: Update.
40773 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40775         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
40776         [__LP64__].
40778 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40780         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
40781         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
40782         (__lround): Renamed to ...
40783         (__llround): This.  Replace long int with long long int.
40784         Define lround functions as aliases of llround functions.
40785         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
40787 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40789         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
40790         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
40791         adresses to uintptr_t.  Replace "long int" and "unsigned long
40792         int" with "greg_t" on va_arg.
40794 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40796         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
40797         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
40799         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
40800         Move e_machine check before EI_CLASS check.  Handle x32
40801         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
40802         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
40803         SKIP_EM_IA_64 and include
40804         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
40806         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
40807         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
40808         (add_system_dir): New macro.
40810         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
40811         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
40813 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40815         [BZ #2551]
40816         [BZ #2552]
40817         [BZ #2553]
40818         [BZ #2554]
40819         [BZ #2562]
40820         [BZ #2563]
40821         [BZ #2565]
40822         [BZ #2566]
40823         [BZ #2576]
40824         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
40825         (y0): Likewise.
40826         * math/w_j0f.c (j0f): Likewise.
40827         (y0f): Likewise.
40828         * math/w_j0l.c (__j0l): Likewise.
40829         (__y0l): Likewise.
40830         * math/w_j1.c (j1): Likewise.
40831         (y1): Likewise.
40832         * math/w_j1f.c (j1f): Likewise.
40833         (y1f): Likewise.
40834         * math/w_j1l.c (__j1l): Likewise.
40835         (__y1l): Likewise.
40836         * math/w_jn.c (jn): Likewise.
40837         (yn): Likewise.
40838         * math/w_jnf.c (jnf): Likewise.
40839         (ynf): Likewise.
40840         * math/w_jnl.c (__jnl): Likewise.
40841         (__ynl): Likewise.
40842         * math/libm-test.inc (j0_test): Add more tests.
40843         (j1_test): Likewise.
40844         (jn_test): Likewise.  Add trailing semicolon to existing test.
40845         (y0_test): Likewise.
40846         (y1_test): Likewise.
40847         * sysdeps/i386/fpu/libm-test-ulps: Update.
40848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40850         [BZ #13851]
40851         [BZ #13854]
40852         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
40853         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
40854         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
40855         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
40856         (__tanl): Set errno for infinite argument.
40857         * sysdeps/i386/fpu/mptan.c: Remove.
40858         * sysdeps/i386/fpu/s_tan.S: Likewise.
40859         * sysdeps/i386/fpu/s_tanl.S: Likewise.
40860         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
40861         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
40862         * math/libm-test.inc (tan_test): Add more tests and enable more
40863         tests for double and long double.
40864         * sysdeps/i386/fpu/libm-test-ulps: Update.
40865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40867 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
40869         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
40870         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
40872 2012-03-16  Roland McGrath  <roland@hack.frob.com>
40874         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
40875         * configure.in: Use it for both main tree and add-ons.
40876         * configure: Regenerated.
40878 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
40880         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
40882 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
40884         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
40885         in comment.
40887         [BZ #13851]
40888         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
40889         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
40890         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
40891         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
40892         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
40893         infinite argument.
40894         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
40895         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
40896         != 0 for prec == 2.
40897         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
40898         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
40899         * sysdeps/i386/fpu/s_cosl.S: Likewise.
40900         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
40901         * sysdeps/i386/fpu/s_sinl.S: Likewise.
40902         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
40903         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
40904         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
40905         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
40906         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
40907         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
40908         * math/libm-test.inc (cos_test): Add more tests and enable more
40909         tests for long double.
40910         (sin_test): Likewise.
40911         (sincos_test): Likewise.
40912         * sysdeps/i386/fpu/libm-test-ulps: Update.
40913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40915 2012-03-16  David S. Miller  <davem@davemloft.net>
40917         * sysdeps/sparc/fpu/math_private.h: New file.
40919 2012-03-15  David S. Miller  <davem@davemloft.net>
40921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
40922         file.
40923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
40924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
40925         file.
40926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
40927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
40928         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
40929         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
40930         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
40931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
40932         sysdep routines.
40933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
40935         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
40936         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
40938         * sysdeps/sparc/sparc-ifunc.h: New file.
40939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
40940         sparc-ifunc.h
40941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
40942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
40943         Likewise.
40944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
40945         Likewise.
40946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
40947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
40948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
40950         Likewise.
40951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
40953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
40955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
40956         Likewise.
40957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
40958         Likewise.
40959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
40961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
40962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
40963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
40964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
40965         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
40966         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
40967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
40968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
40969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
40970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
40971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
40972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
40973         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
40974         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
40975         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
40976         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
40977         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
40978         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
40979         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
40980         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
40981         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
40982         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
40984 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
40986         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
40987         scaling.
40988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40990 2012-03-15  Andreas Jaeger  <aj@suse.de>
40992         [BZ #13852]
40993         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
40994         ieee754/flt-32 implementation for sin, cos and sincos.
40995         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
40996         * sysdeps/i386/fpu/s_cosf.S: Likewise.
40997         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
40998         * sysdeps/i386/fpu/s_sinf.S: Likewise.
40999         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41000         ieee754/flt-32 implementation for tan.
41002         * math/libm-test.inc (cos_test): Enable some large input tests for
41003         float as well
41004         (sin_test): Likewise.
41005         (sincos_test): Likewise.
41006         (tan_test): Add tests for large input.
41008         * sysdeps/i386/fpu/libm-test-ulps: Update.
41010 2012-03-15  Andreas Jaeger  <aj@suse.de>
41012         [BZ #13658]
41013         * math/libm-test.inc (cos_test): Add more test cases.
41014         (sin_test): Likewise.
41015         (sincos_test): Likewise.
41017 2012-03-15  Andreas Jaeger  <aj@suse.de>
41019         [BZ #13837]
41020         * math/libm-test.inc (cos_test): Add a test case for large input
41021         value.
41022         (sin_test): Likewise.
41023         (sincos_test): Likewise.
41025 2012-03-15  Andreas Jaeger  <aj@suse.de>
41026             Joseph Myers  <joseph@codesourcery.com>
41028         [BZ #13658]
41029         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41030         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41031         * sysdeps/i386/fpu/branred.c: Likewise.
41032         * sysdeps/i386/fpu/dosincos.c: Likewise.
41033         * sysdeps/i386/fpu/mpa.c: Likewise.
41034         * sysdeps/i386/fpu/s_cos.S: Likewise.
41035         * sysdeps/i386/fpu/s_sin.S: Likewise.
41036         * sysdeps/i386/fpu/s_sincos.S: Likewise.
41037         * sysdeps/i386/fpu/sincos32.c: Likewise.
41039         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41040         Define.
41041         (libc_feupdateenv_53bit): Define.
41042         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41043         Define.
41044         (libc_feupdateenv_53bit): Define.
41046         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41047         53 bit (without extend i386 double precision).
41049         * math/libm-test.inc (sincos_test): Add tests for large input.
41050         (sin): Likewise.
41051         (cos): Likewise.
41053         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41055 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
41057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41059 2012-03-15  David S. Miller  <davem@davemloft.net>
41061         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41062         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41063         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41064         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41069         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41070         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41077         file.
41078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41080         file.
41081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41083         file.
41084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41086         file.
41087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41088         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41089         fmin/fmax sysdep routines.
41090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41092 2012-03-14  David S. Miller  <davem@davemloft.net>
41094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41095         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41096         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41097         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41098         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41099         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41100         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41101         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41107         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41108         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41109         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41114         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41115         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41116         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41117         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41118         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41119         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41120         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41121         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41122         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41123         routines.
41124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41125         file.
41126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41128         file.
41129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41131         file.
41132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41134         file.
41135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41137         file.
41138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41140         file.
41141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41142         file.
41143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41144         file.
41145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41146         file.
41147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41148         New file.
41149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41150         file.
41151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41152         file.
41153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41155         file.
41156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41158         file.
41159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41161         file.
41162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41164         VIS3 routines.
41166         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41167         New file.
41169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41171         * sysdeps/sparc/configure.in: New file.
41172         * sysdeps/sparc/configure: Generate.
41173         * configure.in (libc_cv_sparc_as_vis3): Substitute.
41174         * configure: Regenerate.
41175         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41176         * config.make.in (have-as-vis3): New.
41177         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41178         available use -Av9d instead of -Av9a.
41179         * sysdeps/sparc/sparc64/Makefile: Likewise.
41180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41182         New file.
41183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41184         file.
41185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41186         New file.
41187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41188         file.
41189         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41190         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41191         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41192         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41193         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41195         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41196         fzeros/fnegs to load 0x80000000 into a float register instead of
41197         using the stack.
41198         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41200 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41202         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41203         bits/syscall.h.
41204         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41205         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41206         ($(inst_includedir)/bits/syscall.h): Remove rule.
41207         ($(objpfx)bits/syscall.d): Include instead of
41208         $(objpfx)syscall-list.d.
41209         (generated): Change syscall-list.h and syscall-list.d to
41210         bits/syscall.h and bits/syscall.d.
41212 2012-03-14  Roland McGrath  <roland@hack.frob.com>
41214         [BZ #13846]
41215         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41217 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
41219         [BZ #13841]
41220         * math/s_csqrt.c: Include <float.h>.
41221         (__csqrt): Scale large or subnormal inputs.
41222         * math/s_csqrtf.c: Likewise.
41223         * math/s_csqrtl.c: Likewise.
41224         * math/libm-test.inc (csqrt_test): Add more tests.
41225         * sysdeps/i386/fpu/libm-test-ulps: Update.
41226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41228         [BZ #13840]
41229         * math/libm-test.inc (hypot_test): Add more tests.
41231 2012-03-13  David S. Miller  <davem@davemloft.net>
41233         [BZ #13840]
41234         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
41235         double-precision for the calculation instead of scaling.
41237 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
41239         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
41240         manipulate bits before adding and subtracting TWO52[sx].
41241         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
41242         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
41243         Likewise.
41244         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
41246 2012-03-13  David S. Miller  <davem@davemloft.net>
41248         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
41249         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
41250         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
41251         rtld-global-offsets.h
41252         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41254         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
41255         large parameters.
41257         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
41259         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
41260         'err' in the ifdef scope in which it is actually used.
41262         * nss/nss_db/db-init.c: Include string.h
41264 2012-03-12  David S. Miller  <davem@davemloft.net>
41266         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41267         masking out of the most significant byte of random value used.
41268         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41269         Fix coding style in previous change.
41271         * sysdeps/unix/sysv/linux/kernel-features.h
41272         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
41273         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
41274         expression.
41275         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
41276         later.
41278 2012-03-11  David S. Miller  <davem@davemloft.net>
41280         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41281         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
41282         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
41283         for 'resultvar' otherwise things get truncated on 64-bit.
41285         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41286         Fix masking out of the most significant byte of random value used.
41288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41290 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
41292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41294 2012-03-09  David S. Miller  <davem@davemloft.net>
41296         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
41297         variables with appropriate CPP guards.
41298         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
41299         from the frame pointer, not the stack pointer.  Correct layout
41300         comments.  Fix test on resulting framesize and the management of
41301         the outregs buffer for pltexit.  Preserve floating point return
41302         values across _dl_call_pltexit call.
41303         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
41304         framesize and the management of the outregs buffer for pltexit.
41305         Preserve floating point return values across _dl_call_pltexit
41306         call.
41307         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
41308         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
41309         (la_sparc64_gnu_pltexit): New functions.
41310         (print_exit): Fix format string for return register value.
41312 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
41314         * sunrpc/Makefile (others): Add rpcgen.
41315         ($(objpfx)rpcgen): Remove special build rule and dependency on
41316         libc.
41317         * sunrpc/rpcgen.c: New file.
41319 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
41321         [BZ #13673]
41322         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
41323         * stdio-common/bug-vfprintf-nargs.c: Likewise.
41324         * sysdeps/i386/crti.S: Likewise.
41325         * sysdeps/i386/crtn.S: Likewise.
41326         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
41327         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
41328         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
41329         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
41330         * sysdeps/sh/crti.S: Likewise.
41331         * sysdeps/sh/crtn.S: Likewise.
41332         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41334         [BZ #13673]
41335         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
41336         with URL.
41337         * locale/programs/locfile-kw.gperf: Likewise.
41338         * locale/programs/charmap-kw.h: Regenerated.
41339         * locale/programs/locfile-kw.h: Likewise.
41341         [BZ #13673]
41342         * intl/plural.y: Replace FSF snail mail address with URL.
41343         * intl/plural.c: Regenerated.
41345 2012-03-09  Richard Henderson  <rth@twiddle.net>
41347         * include/math_private.h: Remove file.
41348         * math/math_private.h: Move file ...
41349         * sysdeps/generic/math_private.h: ... here.
41351         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
41352         * sysdeps/powerpc/fpu/math_private.h: Likewise.
41353         * sysdeps/x86_64/fpu/math_private.h: Likewise.
41355         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
41356         and <math_private.h>.
41357         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41358         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41359         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41360         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41361         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41362         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
41363         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41364         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41365         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41366         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41367         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41368         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41369         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41370         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41371         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41372         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41373         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41374         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41375         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41376         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41377         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41378         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41379         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41381         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41382         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41383         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41384         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41385         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41386         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41387         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41388         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41389         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41390         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41391         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41392         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41393         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41394         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41395         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41396         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41397         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
41398         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41399         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41400         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41401         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41402         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41403         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
41404         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41405         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41406         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41407         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41408         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
41409         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41410         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41411         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41412         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41413         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41414         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41415         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41416         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
41417         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41418         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41419         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41420         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41421         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
41422         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41423         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41424         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41425         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
41426         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
41427         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
41428         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41429         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
41430         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41431         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
41432         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
41433         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
41434         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41435         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
41436         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
41437         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
41438         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
41439         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
41440         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41441         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41442         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
41443         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
41444         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
41445         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41446         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41447         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41448         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41449         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41450         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41451         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41452         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41453         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41454         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41455         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41456         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41457         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41458         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41459         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41460         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41461         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41462         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41463         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41464         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41465         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41466         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41467         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41468         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41469         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41470         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41471         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
41472         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41473         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41474         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41475         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41476         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41477         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41478         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41479         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41480         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
41481         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41482         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41483         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41484         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
41485         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41486         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
41487         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
41488         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41489         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41490         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
41491         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
41492         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41493         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41494         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41495         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
41496         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41497         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41498         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41499         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41500         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
41501         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
41502         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41503         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41504         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41505         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
41506         * sysdeps/ieee754/k_standard.c: Likewise.
41507         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41508         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41509         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41510         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41511         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41512         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41513         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41514         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41515         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41516         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41517         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41518         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41519         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41520         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41521         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41522         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41523         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
41524         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41525         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41526         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
41527         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
41528         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
41529         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41530         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41531         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
41532         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
41533         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41534         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41535         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41536         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41537         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
41538         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41539         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41540         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41541         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
41542         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41543         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41544         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
41545         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
41546         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41547         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
41548         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
41549         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
41550         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41551         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
41552         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
41553         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41554         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41555         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41556         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41557         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41558         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
41559         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41560         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
41561         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41562         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41563         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
41564         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
41565         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41566         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41567         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41568         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
41569         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41570         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41571         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41572         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41573         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41574         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41575         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41576         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41577         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41579         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41580         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41581         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41582         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41583         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
41584         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41585         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41586         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
41587         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
41588         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
41589         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41590         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41591         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
41592         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41593         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41594         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
41595         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41596         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41597         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
41598         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41599         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
41600         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
41601         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41602         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41603         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
41604         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
41605         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
41606         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
41607         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41608         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41609         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41610         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41611         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
41612         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41613         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41614         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
41615         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
41616         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41617         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41618         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41619         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41620         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41621         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41622         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41623         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41624         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41625         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41626         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41627         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41628         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41629         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41630         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41631         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41632         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
41633         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41634         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41635         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41636         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41637         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41638         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41639         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41640         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
41641         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41642         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41643         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
41644         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
41645         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41646         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
41647         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
41648         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41649         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
41650         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
41651         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41652         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41653         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41654         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41655         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41656         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
41657         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41658         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41659         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41660         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41661         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
41662         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
41663         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41664         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41665         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41666         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
41667         * sysdeps/ieee754/s_lib_version.c: Likewise.
41668         * sysdeps/ieee754/s_matherr.c: Likewise.
41669         * sysdeps/ieee754/s_signgam.c: Likewise.
41670         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41671         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41672         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
41673         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
41674         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
41675         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41676         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
41677         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
41678         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
41679         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
41680         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
41681         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
41682         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41683         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41684         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
41685         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41686         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41687         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41688         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41689         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41690         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41692 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41694         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
41695         * sunrpc/rpc_main.c: Likewise.
41696         * sunrpc/rpc_svcout.c: Likewise.
41698 2012-03-09  David S. Miller  <davem@davemloft.net>
41700         * include/math_private.h: New file.
41702 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
41704         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
41705         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
41706         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
41707         from <bits/socket_type.h>.
41708         (enum __socket_type): Don't define here.
41709         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
41710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41711         bits/socket_type.h.
41713         [BZ #13566]
41714         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
41715         checking __USE_GNU.
41717         * Makerules ($(inst_includedir)/%.h): New rule.
41718         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
41719         (install-others): Remove variable setting.
41720         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
41722 2012-03-08  Richard Henderson  <rth@twiddle.net>
41724         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
41725         from macro to inline function; merge with the
41726         !__LIBC_INTERNAL_MATH_INLINES version.
41727         (__ieee754_sqrtf): Likewise.
41729         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
41730         to inline function.
41731         (__rintf, __floor, __floorf): Likewise.
41733         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
41734         macro to inline function.
41735         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
41737         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
41738         not <math/math_private.h>.
41740 2012-03-08  David S. Miller  <davem@davemloft.net>
41742         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
41743         copyright year.
41744         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
41746 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
41748         * resolv/gai_misc.c (handle_requests): Fix struct timespec
41749         normalization.
41750         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
41751         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41753 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
41755         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
41756         be defined individually, they must be defined as a block.  Define
41757         S for printing a string instead of hidint the different by using a
41758         macro for adding the 'l'.
41759         * stdio-common/tst-fphex-wide.c: Adjust.
41761 2012-03-07  Marek Polacek  <polacek@redhat.com>
41763         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
41765 2012-03-08  Marek Polacek  <polacek@redhat.com>
41767         [BZ #13806]
41768         * stdio-common/Makefile (tests): Add tst-fphex-wide.
41769         * stdio-common/tst-fphex.c: Define a few macros to make the
41770         test reusable.  Use them.
41771         * stdio-common/tst-fphex-wide.c: New file.
41773 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
41775         [BZ #6911]
41776         * manual/macros.texi (gnusystems): New macro.
41777         (nongnusystems): Likewise.
41778         (gnulinuxhurdsystems): Likewise.
41779         (gnuhurdsystems): Likewise..
41780         (gnulinuxsystems): Likewise.
41781         * manual/charset.texi: Use new macros or @theglibc{} to refer to
41782         variants of the GNU system, not "GNU system".
41783         * manual/conf.texi: Likewise.
41784         * manual/errno.texi: Likewise.  Update example of errno macro
41785         expansion.
41786         * manual/filesys.texi: Likewise.
41787         (getumask): Document as specific to GNU/Hurd.
41788         * manual/install.texi: Likewise.  Reword some references to
41789         GNU/Linux.
41790         * manual/intro.texi: Likewise.
41791         * manual/io.texi: Likewise.
41792         (File Name Portability): Detail which constraints are inapplicable
41793         to all GNU systems and which are only inapplicable to GNU/Hurd.
41794         * manual/job.texi: Likewise.
41795         * manual/llio.texi: Likewise.
41796         (O_NOCTTY): Document as present on GNU/Linux.
41797         * manual/maint.texi: Likewise.
41798         * manual/memory.texi: Likewise.
41799         * manual/pattern.texi: Likewise.
41800         * manual/pipe.texi: Likewise.
41801         * manual/process.texi: Likewise.
41802         * manual/resource.texi: Likewise.
41803         (RUSAGE_CHILDREN): Remove statement about specifying a particular
41804         child on GNU/Hurd.
41805         * manual/setjmp.texi: Likewise.
41806         * manual/signal.texi: Likewise.
41807         * manual/startup.texi: Likewise.
41808         * manual/stdio.texi: Likewise.
41809         * manual/terminal.texi: Likewise.
41810         (ONLCR): Document as POSIX.
41811         (OXTABS): Document availability on GNU/Linux as XTABS.
41812         (ONOEOT): Document availability separately from other bits.
41813         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
41814         * manual/time.texi: Likewise.
41815         * manual/users.texi: Likewise.
41816         * INSTALL: Regenerated.
41817         * sysdeps/gnu/errlist.c: Regenerated.
41819         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
41820         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
41821         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
41822         puts.
41823         * configure: Regenerated.
41825 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
41827         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
41828         default includes instead of AC_HEADER_CHECK.
41829         * sysdeps/i386/configure: Regenerated.
41831         [BZ #10716]
41832         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
41833         * math/s_cacoshf.c (__cacoshf): Likewise.
41834         * math/s_cacoshl.c (__cacoshl): Likewise.
41835         * math/s_casinh.c (__casinh): Set signs of result from argument.
41836         * math/s_casinhf.c (__casinhf): Likewise.
41837         * math/s_casinhl.c (__casinhl): Likewise.
41838         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
41839         (casinh_test): Add more tests.
41840         * sysdeps/i386/fpu/libm-test-ulps: Update.
41841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41843 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
41845         * po/zh_TW.po: Update from translation team.
41847         * login/Makefile (distribute): Remove variable.
41848         * catgets/Makefile: Likewise.
41849         * mach/Makefile: Likewise.
41850         * malloc/Makefile: Likewise.
41851         * misc/Makefile: Likewise.
41852         * iconv/Makefile: Likewise.
41853         * nscd/Makefile: Likewise.
41854         * hurd/Makefile: Likewise.
41855         * manual/Makefile: Likewise.
41856         * locale/Makefile: Likewise.
41857         * intl/Makefile: Likewise.
41858         * conform/Makefile: Likewise.
41859         * nss/Makefile: Likewise.
41860         * time/Makefile: Likewise.
41861         * soft-fp/Makefile: Likewise.
41862         * dirent/Makefile: Likewise.
41863         * gmon/Makefile: Likewise.
41864         * po/Makefile: Likewise.
41865         * rt/Makefile: Likewise.
41866         * socket/Makefile: Likewise.
41867         * math/Makefile: Likewise.
41868         * signal/Makefile: Likewise.
41869         * debug/Makefile: Likewise.
41870         * elf/Makefile: Likewise.
41871         * timezone/Makefile: Likewise.
41872         * stdlib/Makefile: Likewise.
41873         * iconvdata/Makefile: Likewise.
41874         * sunrpc/Makefile: Likewise.
41875         * io/Makefile: Likewise.
41876         * argp/Makefile: Likewise.
41877         * inet/Makefile: Likewise.
41878         * hesiod/Makefile: Likewise.
41879         * grp/Makefile: Likewise.
41880         * csu/Makefile: Likewise.
41881         * wctype/Makefile: Likewise.
41882         * crypt/Makefile: Likewise.
41883         * libio/Makefile: Likewise.
41884         * string/Makefile: Likewise.
41885         * nis/Makefile: Likewise.
41886         * resolv/Makefile: Likewise.
41887         * stdio-common/Makefile: Likewise.
41888         * wcsmbs/Makefile: Likewise.
41889         * dlfcn/Makefile: Likewise.
41890         * posix/Makefile: Likewise.
41892         [BZ #6959]
41893         * timezone/Makefile: Don't install timezone files, just the programs
41894         and scripts.
41896 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
41898         * nss/databases.def: Add missing gshadow entry.
41900         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
41902 2012-03-06  Marek Polacek  <polacek@redhat.com>
41904         [BZ #13726]
41905         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
41906         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41907         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
41908         * stdio-common/tst-long-dbl-fphex.c: New file.
41910 2012-03-06  David S. Miller  <davem@davemloft.net>
41912         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41913         (set_obp_int): New function.
41914         (get_obp_int): New function.
41915         (__get_clockfreq_via_dev_openprom): Likewise.
41916         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
41917         Avoid unused variable warnings on 'val' and use builtin_expect.
41918         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
41919         __builtin_expect.
41920         (INLINE_CLONE_SYSCALL): Likewise.
41922 2012-03-05  David S. Miller  <davem@davemloft.net>
41924         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41926 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
41928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41930         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
41931         only for |x| >= 40.
41932         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41934 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
41936         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
41937         Replace gettimeofday with __vdso_gettimeofday.
41939         * sysdeps/unix/sysv/linux/x86_64/init-first.c
41940         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
41941         __vdso_clock_gettime and __vdso_getcpu.
41943         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
41944         time with __vdso_time.
41946 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41948         * manual/lang.texi (size_t): Note types to which size_t may be
41949         equivalent with the GNU C Library, but do not describe when
41950         differences between them are significant.
41952 2012-03-05  Andreas Jaeger  <aj@suse.de>
41954         * sysdeps/i386/fpu/libm-test-ulps: Update.
41956 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
41958         [BZ #3976]
41959         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
41960         (__ieee754_pow): Save and restore rounding mode and use
41961         round-to-nearest for main computations.
41962         * math/libm-test.inc (pow_test_tonearest): New function.
41963         (pow_test_towardzero): Likewise.
41964         (pow_test_downward): Likewise.
41965         (pow_test_upward): Likewise.
41966         (main): Call the new functions.
41967         * sysdeps/i386/fpu/libm-test-ulps: Update.
41968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41970         [BZ #3976]
41971         * math/libm-test.inc (cosh_test_tonearest): New function.
41972         (cosh_test_towardzero): Likewise.
41973         (cosh_test_downward): Likewise.
41974         (cosh_test_upward): Likewise.
41975         (sinh_test_tonearest): Likewise.
41976         (sinh_test_towardzero): Likewise.
41977         (sinh_test_downward): Likewise.
41978         (sinh_test_upward): Likewise.
41979         (main): Call the new functions.
41980         * sysdeps/i386/fpu/libm-test-ulps: Update.
41981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41983 2012-03-05  Tom de Vries  <tom@codesourcery.com>
41985         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
41986         default stack guard is set in last bytes.
41987         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
41989 2012-03-05  Kees Cook  <keescook@chromium.org>
41991         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
41993         [BZ #13656]
41994         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
41995         possibly allocate from heap instead of stack.
41996         * stdio-common/bug-vfprintf-nargs.c: New file.
41997         * stdio-common/Makefile (tests): Add nargs overflow test.
41999 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
42001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42003 2012-03-03  Marek Polacek  <polacek@redhat.com>
42005         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42006         * math/math_private.h: Likewise.
42007         * stdlib/tst-strtod.c: Likewise.
42008         * sysdeps/i386/i486/bits/atomic.h: Likewise.
42009         * sysdeps/x86_64/bits/atomic.h: Likewise.
42011 2012-03-02  David S. Miller  <davem@davemloft.net>
42013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42017         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42018         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42019         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42020         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42022 2012-03-02  Roland McGrath  <roland@hack.frob.com>
42024         [BZ #13792]
42025         * manual/examples/README: New file, says the example source files
42026         can be used under GPL>=2.
42027         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42028         line containing just "*/".
42029         * manual/examples/add.c: Add copyright header (GPL>=2).
42030         * manual/examples/argp-ex1.c: Likewise.
42031         * manual/examples/argp-ex2.c: Likewise.
42032         * manual/examples/argp-ex3.c: Likewise.
42033         * manual/examples/argp-ex4.c: Likewise.
42034         * manual/examples/atexit.c: Likewise.
42035         * manual/examples/db.c: Likewise.
42036         * manual/examples/dir.c: Likewise.
42037         * manual/examples/dir2.c: Likewise.
42038         * manual/examples/execinfo.c: Likewise.
42039         * manual/examples/filecli.c: Likewise.
42040         * manual/examples/filesrv.c: Likewise.
42041         * manual/examples/fmtmsgexpl.c: Likewise.
42042         * manual/examples/genpass.c: Likewise.
42043         * manual/examples/inetcli.c: Likewise.
42044         * manual/examples/inetsrv.c: Likewise.
42045         * manual/examples/isockad.c: Likewise.
42046         * manual/examples/longopt.c: Likewise.
42047         * manual/examples/memopen.c: Likewise.
42048         * manual/examples/memstrm.c: Likewise.
42049         * manual/examples/mkfsock.c: Likewise.
42050         * manual/examples/mkisock.c: Likewise.
42051         * manual/examples/mygetpass.c: Likewise.
42052         * manual/examples/pipe.c: Likewise.
42053         * manual/examples/popen.c: Likewise.
42054         * manual/examples/rprintf.c: Likewise.
42055         * manual/examples/search.c: Likewise.
42056         * manual/examples/select.c: Likewise.
42057         * manual/examples/setjmp.c: Likewise.
42058         * manual/examples/sigh1.c: Likewise.
42059         * manual/examples/sigusr.c: Likewise.
42060         * manual/examples/stpcpy.c: Likewise.
42061         * manual/examples/strdupa.c: Likewise.
42062         * manual/examples/strftim.c: Likewise.
42063         * manual/examples/strncat.c: Likewise.
42064         * manual/examples/subopt.c: Likewise.
42065         * manual/examples/swapcontext.c: Likewise.
42066         * manual/examples/termios.c: Likewise.
42067         * manual/examples/testopt.c: Likewise.
42068         * manual/examples/testpass.c: Likewise.
42069         * manual/examples/timeval_subtract.c: Likewise.
42071         [BZ #13792]
42072         * manual/time.texi (Elapsed Time): Move timeval_subtract example
42073         function to ...
42074         * manual/timeval_subtract.c.texi: ... here, new file.
42076 2012-03-02  David S. Miller  <davem@davemloft.net>
42078         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42080 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
42082         [BZ #3976]
42083         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42084         (__sin): Save and restore rounding mode and use round-to-nearest
42085         for all computations.
42086         (__cos): Save and restore rounding mode and use round-to-nearest
42087         for all computations.
42088         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42089         <fenv.h>.
42090         (tan): Save and restore rounding mode and use round-to-nearest for
42091         all computations.
42092         * math/libm-test.inc (cos_test_tonearest): New function.
42093         (cos_test_towardzero): Likewise.
42094         (cos_test_downward): Likewise.
42095         (cos_test_upward): Likewise.
42096         (sin_test_tonearest): Likewise.
42097         (sin_test_towardzero): Likewise.
42098         (sin_test_downward): Likewise.
42099         (sin_test_upward): Likewise.
42100         (tan_test_tonearest): Likewise.
42101         (tan_test_towardzero): Likewise.
42102         (tan_test_downward): Likewise.
42103         (tan_test_upward): Likewise.
42104         (main): Call the new functions.
42105         * sysdeps/i386/fpu/libm-test-ulps: Update.
42106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42108         [BZ #10135]
42109         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42110         small n, then large n, before computing and testing k+n.
42111         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42112         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42113         Likewise.
42114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42115         Likewise.
42116         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42117         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42118         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42119         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42120         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42121         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42122         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42123         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42124         * math/libm-test.inc (scalbn_test): Add more tests.
42125         (scalbln_test): Likewise.
42127         * manual/filesys.texi (mode_t): Describe constraints on size and
42128         signedness, not exact equivalence to a particular type.
42129         (ino_t): Likewise.
42130         (ino64_t): Likewise.
42131         (dev_t): Likewise.
42132         (nlink_t): Likewise.
42133         (blkcnt_t): Likewise.
42134         (blkcnt64_t): Likewise.
42135         * manual/llio.texi (off_t): Likewise.
42137         [BZ #3976]
42138         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42139         (__ieee754_exp): Save and restore rounding mode and use
42140         round-to-nearest for all computations.
42141         * math/libm-test.inc (exp_test_tonearest): New function.
42142         (exp_test_towardzero): Likewise.
42143         (exp_test_downward): Likewise.
42144         (exp_test_upward): Likewise.
42145         (main): Call the new functions.
42146         * sysdeps/i386/fpu/libm-test-ulps: Update.
42147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42149 2012-03-01  Chris Demetriou  <cgd@google.com>
42151         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42152         have predictable order.
42154 2012-03-01  David S. Miller  <davem@davemloft.net>
42156         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42158         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42159         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42160         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42161         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42163         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42164         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42165         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42167         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42168         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42169         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42170         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42171         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42175         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42176         * sysdeps/sparc/fpu/libm-test-ulps: to here.
42177         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42179         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42180         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42181         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42182         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42183         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42184         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42185         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42186         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42187         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42188         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42189         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42190         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42192         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42193         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42195         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42196         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42197         * sysdeps/sparc/elf/configure: Regenerated.
42199 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
42201         * configure.in (AS, LD): Require binutils 2.20 or later.
42202         * configure: Regenerated.
42203         * manual/install.texi (Tools for Compilation): Give binutils 2.20
42204         as required minimum version.
42205         * INSTALL: Regenerated.
42207         [BZ #2541]
42208         [BZ #4108]
42209         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42210         before squaring exponent.
42211         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42212         bottom long double and 27 bits of top long double before squaring
42213         exponent.
42214         * math/libm-test.inc (erfc_test): Add more tests.
42215         * sysdeps/i386/fpu/libm-test-ulps: Update.
42216         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42219 2012-03-01  Kai Tietz  <ktietz@redhat.com>
42221         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42222         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42223         containing bit-fields.
42224         * soft-fp/extended.h (_FP_UNION_E): Likewise.
42225         * soft-fp/single.h (_FP_UNION_S): Likewise.
42226         * soft-fp/double.h (_FP_UNION_D): Likewise.
42228 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42230         [BZ #13786]
42231         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
42232         not include ../strcmp.S.
42233         [USE_AS_STRNCASECMP_L]: Likewise.
42234         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
42235         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
42236         * sysdeps/i386/i686/multiarch/strncase_l-c.c
42237         (__strncasecmp_l_ia32): Define as alias to
42238         __strncasecmp_l_nonascii.
42240         [BZ #5794]
42241         * math/libm-test.inc (expm1_test): Add test for bug 5794.
42242         * sysdeps/i386/fpu/libm-test-ulps: Update.
42243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42245         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
42246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42248 2012-02-29  Jeff Law  <law@redhat.com>
42250         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
42251         out of bounds read.
42253 2012-02-29  Marek Polacek  <polacek@redhat.com>
42255         [BZ #13706]
42256         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
42257         * elf/Makefile: Add rules to run tst-unused-dep.out.
42259 2012-02-28  David S. Miller  <davem@davemloft.net>
42261         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
42262         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
42263         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
42264         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
42265         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
42266         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
42268 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
42270         * math/libm-test.inc (llround_test): Move one test from
42271         lround_test.  Use TEST_f_L in moved test.
42272         (lround_test): Move misplaced test to llround_test.  Add testcase
42273         from bug 2561.
42275 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
42277         * sysdeps/x86_64/fpu/e_expf.S: New file.
42278         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
42280 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
42282         [BZ #13637]
42283         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
42284         of remain_len that may cause incomplete multi-byte character and
42285         false match.
42286         * posix/bug-regex33.c: New file.
42287         * posix/Makefile (tests): Add bug-regex33.
42289 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
42291         * manual/macros.texi: New file.
42292         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
42293         * manual/libc.texinfo: Include macros.texi.
42294         * manual/creatute.texi: Likewise.
42295         * manual/install.texi: Likewise.
42296         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
42297         @glibcadj{} in references to the GNU C Library.
42298         * manual/charset.texi: Likewise.
42299         * manual/conf.texi: Likewise.
42300         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
42301         when not using those macros.
42302         * manual/creature.texi: Likewise.
42303         * manual/crypt.texi: Likewise.
42304         * manual/errno.texi: Likewise.
42305         * manual/filesys.texi: Likewise.
42306         * manual/header.texi: Likewise.
42307         * manual/install.texi: Likewise.
42308         * manual/intro.texi: Likewise.
42309         * manual/io.texi: Likewise.
42310         * manual/job.texi: Likewise.
42311         * manual/lang.texi: Likewise.
42312         * manual/libc.texiinfo: Likewise.
42313         * manual/llio.texi: Likewise.
42314         * manual/locale.texi: Likewise.
42315         * manual/maint.texi: Likewise.
42316         * manual/math.texi: Likewise.
42317         * manual/memory.texi: Likewise.
42318         * manual/message.texi: Likewise.
42319         * manual/nss.texi: Likewise.
42320         * manual/pattern.texi: Likewise.
42321         * manual/process.texi: Likewise.
42322         * manual/resource.texi: Likewise.
42323         * manual/search.texi: Likewise.
42324         * manual/setjmp.texi: Likewise.
42325         * manual/signal.texi: Likewise.
42326         * manual/socket.texi: Likewise.
42327         * manual/startup.texi: Likewise.
42328         * manual/stdio.texi: Likewise.
42329         * manual/string.texi: Likewise.
42330         * manual/sysinfo.texi: Likewise.
42331         * manual/syslog.texi: Likewise.
42332         * manual/terminal.texi: Likewise.
42333         * manual/time.texi: Likewise.
42334         * manual/users.texi: Likewise.
42335         * INSTALL: Regenerated.
42336         * NOTES: Regenerated.
42337         * sysdeps/gnu/errlist.c: Regenerated.
42339 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
42341         * include/dirent.h: Include <dirstream.h> before
42342         <dirent/dirent.h>.
42344 2012-02-28  David S. Miller  <davem@davemloft.net>
42346         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
42347         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
42348         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
42349         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
42351 2012-02-27  David S. Miller  <davem@davemloft.net>
42353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
42354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
42355         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
42356         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
42358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
42359         frame pointer instead of stack pointer relative arg slot.
42360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42361         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42362         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42364 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
42366         [BZ #3992]
42367         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
42369 2012-02-27  David S. Miller  <davem@davemloft.net>
42371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
42372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
42373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
42375         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
42376         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
42377         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
42378         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
42380 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42382         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
42383         later.  Allow versions 5-9.
42384         * configure: Regenerated.
42385         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
42386         required minimum version and 4.6 as recommended version.  Do not
42387         mention bugs in GCC 2.7 and 2.8.
42388         * INSTALL: Regenerated.
42390 2012-02-27  David S. Miller  <davem@davemloft.net>
42392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
42393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
42394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
42395         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
42396         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
42397         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
42398         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
42399         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
42401         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
42402         manipulate bits before adding and subtracting TWO112[sx].
42403         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42405 2012-02-27  Roland McGrath  <roland@hack.frob.com>
42407         [BZ #13775]
42408         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
42409         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
42410         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
42411         being in POSIX, because they are in 1003.1-2008.
42413         * rt/tst-aio.c: Include <fcntl.h>.
42414         * rt/tst-aio7.c: Likewise.
42415         * rt/tst-aio64.c: Likewise.
42417         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
42419 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
42421         * manual/install.texi (--with-headers): Describe headers as
42422         interface headers, not private headers.
42423         (Specific advice for GNU/Linux systems): Describe use of headers
42424         from "make headers_install", not private headers from older
42425         kernels.
42426         * INSTALL: Regenerated.
42427         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
42428         Change to 2.6.19.
42429         * sysdeps/unix/sysv/linux/configure: Regenerated.
42431         * manual/llio.texi (fclean): Remove documentation.
42433         * manual/Makefile (libc-texi-generated): New variable.  Include
42434         version.texi.
42435         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
42436         $(libc-texi-generated), not duplicated list of files.
42437         (version.texi, stamp-version): New rules.
42438         (realclean): Remove $(libc-texi-generated), not individual files
42439         from that list.  Do not remove dir-add.texinfo.
42440         * manual/libc.texinfo: Comment out uses of edition numbers and
42441         references to printed manual.  Remove last-updated dates.
42442         (EDITION): Comment out.
42443         (ISBN): Likewise.
42444         (VERSION, UPDATED): Remove.
42445         (version.texi): Include.
42447 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
42449         * sysdeps/posix/spawni.c: Include <signal.h>.
42450         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
42451         * sysdeps/pthread/aio_fsync.c: Likewise.
42453 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
42455         * conform/Makefile (tests): Run only when not cross-compiling and
42456         when fast-check is not defined.
42458         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
42459         * conform/data/limits.h-data: Fixes for POSIX2008.
42460         * conform/run-conformtest.sh: Run all tests.
42461         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
42462         headers.
42463         * include/bits/dlfcn.h: Likewise.
42464         * include/langinfo.h: Likewise.
42465         * include/monetary.h: Likewise.
42466         * include/sys/poll.h: Likewise.
42468         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
42469         for __USE_GNU.
42470         * posix/spawn.h: Define __need_sigset_t.
42471         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
42472         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
42473         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
42474         to get sigevent_t only.
42475         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
42476         only for __USE_GNU.
42477         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42478         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42479         process_vm_writev only for __USE_GNU.
42480         * termios/termios.h: Declare tcgetsid also for POSIX2008.
42482         * conform/Makefile: For now ignore errors from run-conformtest.
42483         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
42484         POSIX to avoid namespace pollution.  Don't prepend headers.
42485         * conform/data/aio.h-data: Fixes for POSIX testing.
42486         * conform/data/fcntl.h-data: Likewise.
42487         * conform/data/glob.h-data: Likewise.
42488         * conform/data/grp.h-data: Likewise.
42489         * conform/data/pthread.h-data: Likewise.
42490         * conform/data/pwd.h-data: Likewise.
42491         * conform/data/signal.h-data: Likewise.
42492         * conform/data/spawn.h-data: Likewise.
42493         * conform/data/stdio.h-data: Likewise.
42494         * conform/data/stdlib.h-data: Likewise.
42495         * conform/data/stropts.h-data: Likewise.
42496         * conform/data/sys/mman.h-data: Likewise.
42497         * conform/data/sys/stat.h-data: Likewise.
42498         * conform/data/sys/types.h-data: Likewise.
42499         * conform/data/sys/wait.h-data: Likewise.
42500         * conform/data/time.h-data: Likewise.
42501         * conform/data/unistd.h-data: Likewise.
42502         * conform/data/utime.h-data: Likewise.
42504         * io/sys/stat.h: fchmod was always in POSIX.
42505         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
42506         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
42507         * rt/aio.h: Define __need_timespec before including <time.h>.
42508         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
42509         struct.  Add forward declaration of pthread_attr_t and use it in
42510         sigevent.
42511         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42512         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42513         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
42514         always remove CLK_TCK definition.
42516 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
42518         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
42520 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
42522         * conform/run-conformtest.sh: New file.
42523         * conform/Makefile: Run run-conformtest for tests.
42524         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
42525         support.
42527         * conform/data/uchar.h-data: New file.
42528         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
42529         * conform/data/arpa/inet.h-data: Likewise.
42530         * conform/data/assert.h-data: Likewise.
42531         * conform/data/complex.h-data: Likewise.
42532         * conform/data/cpio.h-data: Likewise.
42533         * conform/data/ctype.h-data: Likewise.
42534         * conform/data/dirent.h-data: Likewise.
42535         * conform/data/dlfcn.h-data: Likewise.
42536         * conform/data/errno.h-data: Likewise.
42537         * conform/data/fcntl.h-data: Likewise.
42538         * conform/data/float.h-data: Likewise.
42539         * conform/data/fmtmsg.h-data: Likewise.
42540         * conform/data/fnmatch.h-data: Likewise.
42541         * conform/data/ftw.h-data: Likewise.
42542         * conform/data/glob.h-data: Likewise.
42543         * conform/data/grp.h-data: Likewise.
42544         * conform/data/iconv.h-data: Likewise.
42545         * conform/data/inttypes.h-data: Likewise.
42546         * conform/data/langinfo.h-data: Likewise.
42547         * conform/data/libgen.h-data: Likewise.
42548         * conform/data/limits.h-data: Likewise.
42549         * conform/data/locale.h-data: Likewise.
42550         * conform/data/math.h-data: Likewise.
42551         * conform/data/monetary.h-data: Likewise.
42552         * conform/data/mqueue.h-data: Likewise.
42553         * conform/data/ndbm.h-data: Likewise.
42554         * conform/data/net/if.h-data: Likewise.
42555         * conform/data/netdb.h-data: Likewise.
42556         * conform/data/netinet/in.h-data: Likewise.
42557         * conform/data/nl_types.h-data: Likewise.
42558         * conform/data/poll.h-data: Likewise.
42559         * conform/data/pthread.h-data: Likewise.
42560         * conform/data/pwd.h-data: Likewise.
42561         * conform/data/regex.h-data: Likewise.
42562         * conform/data/sched.h-data: Likewise.
42563         * conform/data/search.h-data: Likewise.
42564         * conform/data/semaphore.h-data: Likewise.
42565         * conform/data/setjmp.h-data: Likewise.
42566         * conform/data/signal.h-data: Likewise.
42567         * conform/data/spawn.h-data: Likewise.
42568         * conform/data/stdarg.h-data: Likewise.
42569         * conform/data/stdio.h-data: Likewise.
42570         * conform/data/stdlib.h-data: Likewise.
42571         * conform/data/string.h-data: Likewise.
42572         * conform/data/strings.h-data: Likewise.
42573         * conform/data/stropts.h-data: Likewise.
42574         * conform/data/sys/ipc.h-data: Likewise.
42575         * conform/data/sys/mman.h-data: Likewise.
42576         * conform/data/sys/msg.h-data: Likewise.
42577         * conform/data/sys/resource.h-data: Likewise.
42578         * conform/data/sys/select.h-data: Likewise.
42579         * conform/data/sys/sem.h-data: Likewise.
42580         * conform/data/sys/shm.h-data: Likewise.
42581         * conform/data/sys/socket.h-data: Likewise.
42582         * conform/data/sys/stat.h-data: Likewise.
42583         * conform/data/sys/statvfs.h-data: Likewise.
42584         * conform/data/sys/time.h-data: Likewise.
42585         * conform/data/sys/timeb.h-data: Likewise.
42586         * conform/data/sys/times.h-data: Likewise.
42587         * conform/data/sys/types.h-data: Likewise.
42588         * conform/data/sys/uio.h-data: Likewise.
42589         * conform/data/sys/un.h-data: Likewise.
42590         * conform/data/sys/utsname.h-data: Likewise.
42591         * conform/data/sys/wait.h-data: Likewise.
42592         * conform/data/syslog.h-data: Likewise.
42593         * conform/data/tar.h-data: Likewise.
42594         * conform/data/termios.h-data: Likewise.
42595         * conform/data/utime.h-data: Likewise.
42596         * conform/data/utmpx.h-data: Likewise.
42597         * conform/data/varargs.h-data: Likewise.
42598         * conform/data/wchar.h-data: Likewise.
42599         * conform/data/wctype.h-data: Likewise.
42600         * conform/data/wordexp.h-data: Likewise.
42602         * include/stropts.h: New file.
42603         * include/uchar.h: New file.
42604         * include/aio.h: Changes to allow conformtest.pl to use the headers.
42605         * include/assert.h: Likewise.
42606         * include/ctype.h: Likewise.
42607         * include/dirent.h: Likewise.
42608         * include/dlfcn.h: Likewise.
42609         * include/fcntl.h: Likewise.
42610         * include/fnmatch.h: Likewise.
42611         * include/glob.h: Likewise.
42612         * include/grp.h: Likewise.
42613         * include/libio.h: Likewise.
42614         * include/locale.h: Likewise.
42615         * include/math.h: Likewise.
42616         * include/net/if.h: Likewise.
42617         * include/netdb.h: Likewise.
42618         * include/netinet/in.h: Likewise.
42619         * include/pthread.h: Likewise.
42620         * include/pwd.h: Likewise.
42621         * include/regex.h: Likewise.
42622         * include/sched.h: Likewise.
42623         * include/search.h: Likewise.
42624         * include/setjmp.h: Likewise.
42625         * include/signal.h: Likewise.
42626         * include/stdio.h: Likewise.
42627         * include/stdlib.h: Likewise.
42628         * include/string.h: Likewise.
42629         * include/sys/cdefs.h: Likewise.
42630         * include/sys/mman.h: Likewise.
42631         * include/sys/msg.h: Likewise.
42632         * include/sys/resource.h: Likewise.
42633         * include/sys/select.h: Likewise.
42634         * include/sys/socket.h: Likewise.
42635         * include/sys/stat.h: Likewise.
42636         * include/sys/statvfs.h: Likewise.
42637         * include/sys/time.h: Likewise.
42638         * include/sys/times.h: Likewise.
42639         * include/sys/uio.h: Likewise.
42640         * include/sys/utsname.h: Likewise.
42641         * include/sys/wait.h: Likewise.
42642         * include/termios.h: Likewise.
42643         * include/time.h: Likewise.
42644         * include/ulimit.h: Likewise.
42645         * include/unistd.h: Likewise.
42646         * include/utime.h: Likewise.
42647         * include/wchar.h: Likewise.
42648         * include/wctype.h: Likewise.
42649         * include/wordexp.h: Likewise.
42651         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
42653         * time/time.h: TIME_UTC must be a macro.
42654         Make timespec_get available for ISO C11 only as well.
42656 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
42658         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
42659         Reported by Peng Haitao <penght@cn.fujitsu.com>.
42661 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42663         * configure.in: Use -o not -a in test for unsupported multi-arch.
42665 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42667         * manual/texinfo.tex: Update to version 2012-01-19.16.
42669 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
42671         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
42673 2012-02-24  Roland McGrath  <roland@hack.frob.com>
42675         [BZ #13738]
42676         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
42677         * manual/fdl-1.3.texi: New file.
42678         * manual/fdl-1.1.texi: File removed.
42680         [BZ #13738]
42681         * manual/libc.texinfo (FDL_VERSION): New @set.
42682         Use it for mention of FDL in cover text.
42683         (Documentation License): Use it in @include file name.
42685 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42686             Roland McGrath  <roland@hack.frob.com>
42688         [BZ #5461]
42689         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
42690         (not LONG_LONG_MAX and LONG_LONG_MIN.
42691         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
42692         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
42693         name.
42694         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
42696 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42698         [BZ #2547]
42699         [BZ #11365]
42700         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
42701         manipulate bits before adding and subtracting TWO23[sx].
42702         * math/libm-test.inc (nearbyint_test): Add more tests.
42704 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42706         [BZ #2548]
42707         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
42708         bits before adding and subtracting TWO23[sx].
42709         * math/libm-test.inc (rint_test): Add more tests.
42710         (rint_test_tonearest): Likewise.
42711         (rint_test_towardzero): Likewise.
42712         (rint_test_downward): Likewise.
42713         (rint_test_upward: Likewise.
42715 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42717         [BZ #10110]
42718         * include/stdc-predef.h: New file.  Extracted from features.h.
42719         * include/features.h: Include stdc-predef.h.
42720         * Makefile (headers): Add stdc-predef.h.
42721         * CONFORMANCE (Compiler limitations): Update.
42723 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
42725         * manual/libc.texinfo (VERSION, UPDATED): Revert.
42727 2012-02-21  David S. Miller  <davem@davemloft.net>
42729         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
42730         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42732 2012-02-20  David S. Miller  <davem@davemloft.net>
42734         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
42735         using a normal save/restore sequence, rather than allocating a
42736         dummy stack frame just to store a frame pointer and restore.
42737         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42739 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42741         * manual/install.texi: Fix stray word in line-wrapped comment.
42743 2012-02-20  David S. Miller  <davem@davemloft.net>
42745         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
42746         both binutils and gcc support GOTDATA.
42748         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
42749         "rd %pc" in the PIC register setup sequences.
42751         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
42752         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
42753         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42754         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
42755         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42757         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42758         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42759         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
42760         (SYSCALL_ERROR_HANDLER): Likewise.
42761         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42762         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42763         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
42764         (SYSCALL_ERROR_HANDLER): Likewise.
42766         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
42767         (HAVE_GCC_GOTDATA): New.
42768         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
42769         relocation support in both binutils and gcc.
42770         * sysdeps/sparc/elf/configure: Regenerate.
42772         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
42773         * sysdeps/sparc/sparc32/elf/configure: Delete.
42774         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
42775         * sysdeps/sparc/sparc64/elf/configure: Delete.
42776         * sysdeps/sparc/elf/configure.in: New file.
42777         * sysdeps/sparc/elf/configure: Generate.
42779         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
42780         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
42781         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42782         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
42783         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
42785 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42787         * manual/install.texi: Do not mention specific glibc version
42788         numbers.
42789         * manual/libc.texinfo (VERSION, UPDATED): Update.
42790         (@copying): Use @copyright{} and range of years.
42792 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
42794         [BZ #13695]
42795         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
42796         [crti.S not in sysdirs] (generated): Do not append.
42797         [crti.S not in sysdirs] (omit-deps): Likewise.
42798         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
42799         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
42800         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
42801         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
42802         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
42803         Likewise.
42804         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
42805         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
42806         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
42807         * csu/defs.awk: Remove file.
42808         * sysdeps/generic/initfini.c: Likewise.
42809         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
42810         variable.
42811         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
42812         Likewise.
42814 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42816         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
42817         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
42818         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
42819         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
42820         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42821         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
42822         <bits/epoll.h>.
42823         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
42824         (__EPOLL_PACKED): Define to empty if not defined by
42825         <bits/epoll.h>.
42826         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
42827         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42828         bits/epoll.h.
42830 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42832         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
42833         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
42834         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
42835         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
42836         <bits/timerfd.h>.
42837         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
42838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42839         bits/timerfd.h.
42841 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
42843         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
42844         in C locale.
42845         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42846         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
42847         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
42848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42850 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
42852         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42853         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
42855 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
42857         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
42858         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
42859         defined.
42860         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
42861         Likewise.
42862         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
42863         entry for 2.16.
42865 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
42867         * math/w_acos.c: Use non-signaling floating-point comparisons.
42868         * math/w_acosf.c: Likewise.
42869         * math/w_acosh.c: Likewise.
42870         * math/w_acoshf.c: Likewise.
42871         * math/w_acoshl.c: Likewise.
42872         * math/w_acosl.c: Likewise.
42873         * math/w_asin.c: Likewise.
42874         * math/w_asinf.c: Likewise.
42875         * math/w_asinl.c: Likewise.
42876         * math/w_atanh.c: Likewise.
42877         * math/w_atanhf.c: Likewise.
42878         * math/w_atanhl.c: Likewise.
42879         * math/w_exp2.c: Likewise.
42880         * math/w_exp2f.c: Likewise.
42881         * math/w_exp2l.c: Likewise.
42882         * math/w_j0.c: Likewise.
42883         * math/w_j0f.c: Likewise.
42884         * math/w_j0l.c: Likewise.
42885         * math/w_j1.c: Likewise.
42886         * math/w_j1f.c: Likewise.
42887         * math/w_j1l.c: Likewise.
42888         * math/w_jn.c: Likewise.
42889         * math/w_jnf.c: Likewise.
42890         * math/w_log.c: Likewise.
42891         * math/w_log10.c: Likewise.
42892         * math/w_log10f.c: Likewise.
42893         * math/w_log10l.c: Likewise.
42894         * math/w_log2.c: Likewise.
42895         * math/w_log2f.c: Likewise.
42896         * math/w_log2l.c: Likewise.
42897         * math/w_logf.c: Likewise.
42898         * math/w_logl.c: Likewise.
42899         * math/w_sqrt.c: Likewise.
42900         * math/w_sqrtf.c: Likewise.
42901         * math/w_sqrtl.c: Likewise.
42902         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42903         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
42904         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42905         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42906         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42908 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42910         [BZ #9739]
42911         * manual/string.texi (strnlen): Use correct parameter name in
42912         equivalent expression.
42914 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42916         [BZ #11174]
42917         * manual/users.texi (seteuid): Consistently use neweuid for
42918         argument name.
42920 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
42922         [BZ #13704]
42923         * manual/nss.texi (Services in the NSS configuration): Correct
42924         list of services in example configuration file.
42926 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
42928         [BZ #11322]
42929         * manual/arith.texi: Remove statements about negative zero
42930         behaving identically to zero.
42932 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42934         [BZ #5993]
42935         * manual/install.texi: Do not document upgrading from libc5.
42937 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
42939         [BZ #4596]
42940         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
42942 2012-02-18  David S. Miller  <davem@davemloft.net>
42944         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
42945         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
42946         %o7 across the call.
42947         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
42948         instead.
42949         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
42950         SETUP_PIC_REG_LEAF.
42951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42952         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
42953         * sysdeps/sparc/crtn.S: Likewise.
42955 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
42957         * aout/Makefile: Remove.
42959 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
42961         [BZ #13058]
42962         * manual/examples/argp-ex1.c (main): Format definition in GNU
42963         style.
42964         * manual/examples/argp-ex2.c (main): Likewise.
42965         * manual/examples/argp-ex3.c (main): Likewise.
42966         * manual/examples/argp-ex4.c (main): Likewise.
42967         * manual/examples/longopt.c (main): Use new-style prototype
42968         definition.
42969         * manual/examples/strncat.c (main): Specify return type and use
42970         (void) for arguments.
42971         * manual/examples/subopt.c (main): Use char **argv argument.
42973 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42975         [BZ #5077]
42976         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
42977         rounding modes.
42979 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
42981         [BZ #6907]
42982         * manual/string.texi (strchr): Change when strchrnul is
42983         recommended.
42985 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
42987         [BZ #174]
42988         * manual/locale.texi (setlocale): Document LOCPATH.
42990 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
42992         [BZ #10210]
42993         * manual/process.texi (execle): Move @dots{} before last argument.
42995 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
42997         [BZ #12047]
42998         * manual/charset.texi (Generic Charset Conversion): Fix typo
42999         (LC_TYPE -> LC_CTYPE).
43001 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
43003         [BZ #5805]
43004         * manual/arith.texi (scalbn): Use @var{} on parameter names.
43005         (scalbnf): Likewise.
43006         (scalbnl): Likewise.
43007         (scalbln): Likewise.
43008         (scalblnf): Likewise.
43009         (scalblnl): Likewise.
43010         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43011         (vwarnx): Likewise.
43012         (verr): Likewise.
43013         (verrx): Likewise.
43014         * manual/filesys.texi (telldir): Use braces around return type.
43015         * manual/llio.texi (mmap): Add space after comma.
43016         (mmap64): Likewise.
43017         * manual/math.texi (jn): Use @var{} on parameter names.
43018         (jnf): Likewise.
43019         (jnl): Likewise.
43020         (yn): Likewise.
43021         (ynf): Likewise.
43022         (ynl): Likewise.
43023         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43024         line.
43025         * manual/resource.texi (ulimit): Use @dots{} instead of literal
43026         "...".
43027         (sched_get_priority_min): Remove semicolon on @deftypefun line.
43028         (sched_get_priority_max): Likewise.
43029         * manual/signal.texi (sigvec): Add space after comma.
43030         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43031         names.
43032         (if_indextoname): Likewise.
43033         (if_freenameindex): Likewise.
43034         (sendto): Use ',' instead of '.' in prototype.
43035         * manual/startup.texi (syscall): Use @dots{} instead of literal
43036         "...".
43037         * manual/stdio.texi (__fpending): Separate initial words of
43038         paragraph from @deftypefun line.
43039         * manual/syslog.texi (syslog): Use @dots{} instead of literal
43040         "...".
43041         (vsyslog): Use @var{} on parameter names.
43042         * manual/terminal.texi (stty): Use @var{} on parameter names.
43043         * manual/users.texi (getutmp): Use @var{} on parameter names.
43044         (getutmpx): Likewise.
43046 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43048         [BZ #6884]
43049         * manual/stdio.texi (fopen): Fix typos in description of
43050         ",ccs=STRING".
43052 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
43054         [BZ #4026]
43055         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43056         get clock_id definition.
43058 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
43060         [BZ #4822]
43061         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43062         (madvise): Cast every argument to void on its own.
43064 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43066         [BZ #9902]
43067         * manual/startup.texi (Exit Status): Fix typo.
43069 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
43071         [BZ #10140]
43072         * manual/examples/argp-ex1.c: Include <stdlib.h>.
43073         * manual/examples/argp-ex2.c: Likewise.
43074         * manual/examples/argp-ex3.c: Likewise.
43076 2012-02-16  Richard Henderson  <rth@redhat.com>
43078         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43079         * sysdeps/s390/s390-32/initfini.c: Remove.
43080         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43081         * sysdeps/s390/s390-64/initfini.c: Remove.
43083 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43085         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43086         compiler output for sysdeps/generic/initfini.c.
43087         * sysdeps/sh/elf/initfini.c: Remove file.
43089 2012-02-16  David S. Miller  <davem@davemloft.net>
43091         [BZ #11494]
43092         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43094         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43095         * sysdeps/sparc/crti.S: New file.
43096         * sysdeps/sparc/crtn.S: New file.
43097         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43098         * sysdeps/sparc/sparc64/Makefile: Likewise.
43100 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
43102         [BZ #3335]
43103         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43105 2012-02-15  Roland McGrath  <roland@hack.frob.com>
43107         [BZ #4822]
43108         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43110         * mach/devstream.c (cookie_io_functions_t): Macro removed.
43111         (write, read, close): Likewise.
43112         Patch by Aurelien Jarno <aurelien@aurel32.net>.
43114 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
43116         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43117         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43118         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43119         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43120         <bits/signalfd.h>.
43121         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43122         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43123         bits/signalfd.h.
43125 2012-02-14  Marek Polacek  <polacek@redhat.com>
43127         * sysdeps/x86_64/crti.S: New file.
43128         * sysdeps/x86_64/crtn.S: New file.
43129         * sysdeps/x86_64/elf/initfini.c: Remove file.
43131 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43133         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43134         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43135         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43136         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43137         <bits/inotify.h>.
43138         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43140         bits/inotify.h.
43142 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
43144         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43145         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43146         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43147         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43148         <bits/eventfd.h>.
43149         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43151         bits/eventfd.h.
43153 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
43155         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43156         __feraiseexcept instead of feraiseexcept.
43158         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43159         nanosleep invocations.
43160         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43161         strings, and add error checking for a nanosleep invocations.
43163 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
43165         Replace FSF snail mail address with URLs, as per GNU coding standards.
43166         Most of the snail mail addresses were wrong anyway, and omitting
43167         them makes the source code easier to maintain.  Almost all of the
43168         changes are to license notices and to locale LC_IDENTIFICATION
43169         addresses, except for this one:
43170         * manual/libc.texinfo: In "Published by", give the FSF's URL,
43171         not its snail mail address.
43173 2012-02-09  Richard Henderson  <rth@twiddle.net>
43175         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43176         of kernel-features.h.
43178         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43180 2012-02-08  Marek Polacek  <polacek@redhat.com>
43182         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43183         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43184         * sysdeps/gnu/_G_config.h: Likewise.
43185         * sysdeps/generic/_G_config.h: Likewise.
43187 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
43189         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43190         tests.
43191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43193         * sysdeps/powerpc/powerpc32/crti.S: New file.
43194         * sysdeps/powerpc/powerpc32/crtn.S: New file.
43195         * sysdeps/powerpc/powerpc64/crti.S: New file.
43196         * sysdeps/powerpc/powerpc64/crtn.S: New file.
43198         * Makeconfig (have-initfini): Don't set.
43199         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43200         * configure.in (nopic_initfini): Don't substitute.
43201         * config.h.in (HAVE_INITFINI): Don't #undef.
43202         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43203         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43205 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
43207         Support crti.S and crtn.S provided directly by architectures.
43208         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43209         [crti.S in sysdirs] (omit-deps): Likewise.
43210         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43211         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43212         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43213         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43214         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43215         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43216         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43217         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43218         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43219         compiler output for sysdeps/generic/initfini.c.
43220         * sysdeps/i386/elf/Makefile: Remove file.
43221         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43223 2012-02-07  Marek Polacek  <polacek@redhat.com>
43225         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
43226         * sysdeps/gnu/_G_config.h: Likewise.
43227         * sysdeps/mach/hurd/_G_config.h: Likewise.
43229 2012-02-07  Marek Polacek  <polacek@redhat.com>
43231         * math/Makefile (tests): Add tst-CMPLX2.
43232         * math/tst-CMPLX2.c: New file.
43234 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
43236         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43238         * math/libm-test.inc (jn_test): Add missing L suffix.
43240 2012-02-06  Marek Polacek  <polacek@redhat.com>
43242         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
43243         * sysdeps/i386/fpu/e_powf.S: Likewise.
43244         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43245         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43246         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43247         * sysdeps/i386/fpu/e_pow.S: Likewise.
43248         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43249         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43250         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43251         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43252         * sysdeps/i386/fpu/e_log2.S: Likewise.
43253         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43254         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43255         * sysdeps/i386/fpu/e_powl.S: Likewise.
43256         * sysdeps/i386/fpu/s_log1p.S: Likewise.
43257         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43258         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43259         * sysdeps/i386/fpu/e_logl.S: Likewise.
43260         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43261         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
43262         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43263         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43264         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43265         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43266         * sysdeps/i386/fpu/e_log.S: Likewise.
43267         * sysdeps/i386/fpu/s_cexp.S: Likewise.
43268         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43269         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
43270         * sysdeps/i386/fpu/e_logf.S: Likewise.
43271         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43272         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43273         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
43274         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43275         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43276         * sysdeps/i386/fpu/e_log10.S: Likewise.
43277         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43278         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43279         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43280         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43281         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43282         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43283         * sysdeps/i386/asm-syntax.h: Likewise.
43284         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43285         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43286         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43287         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
43288         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
43289         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43290         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43291         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43292         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43293         * sysdeps/powerpc/sysdep.h: Likewise.
43294         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
43295         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43297 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43299         [BZ #411]
43300         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
43302 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
43304         * sysdeps/i386/sysdep.h: Include <features.h>.
43305         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
43306         version.
43308 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
43310         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
43311         Define.
43312         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
43313         LOAD_PIC_REG_STR.
43315 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43317         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
43318         (SETUP_PIC_REG): Use GET_PC_THUNK.
43319         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
43320         macro.
43322 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43324         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
43325         for non-PIC compilation.
43326         (SETUP_PIC_REG): Add .p2align directive.
43327         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
43328         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43329         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43330         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43331         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43332         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43333         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43334         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43335         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43336         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43337         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43338         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43339         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43340         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43341         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43342         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43343         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43344         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43345         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43346         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43347         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43348         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43349         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43350         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43351         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43352         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43353         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43354         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43355         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43356         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43357         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43358         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43359         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43360         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43361         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43362         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43363         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43364         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43365         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43366         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43367         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43369 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
43371         * math/tst-CMPLX.c: Include <stdio.h>.
43373 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
43375         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
43376         float.
43377         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43378         * sysdeps/sparc/bits/mathdef.h: Likewise.
43380 2012-01-31  Marek Polacek  <polacek@redhat.com>
43382         * libio/libio.h: Don't define _PARAMS.
43383         * locale/programs/config.h: Don't define PARAMS.
43384         * stdlib/strtol_l.c: Likewise.
43385         (__strtol_l): Remove PARAMS from the prototype.
43387 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
43389         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
43390         names.  Just use the correct names.  Remove unnecessary wrapper
43391         functions.
43392         * malloc/arena.c: Likewise.
43393         * malloc/hooks.c: Likewise.
43395         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
43396         ARENA_TEST says not to.  Simplify test for creation of a new arena.
43397         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
43399 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
43401         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
43402         into tail calls.
43403         (update_get_addr): New function.
43404         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
43405         GET_ADDR_MODULE parameter.
43407 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43409         * crypt/cert.c: Remove __STDC__ conditionals.
43410         * crypt/crypt-entry.c: Likewise.
43411         * crypt/crypt_util.c: Likewise.
43412         * libio/filedoalloc.c: Likewise.
43413         * libio/fileops.c: Likewise.
43414         * libio/genops.c: Likewise.
43415         * libio/iofclose.c: Likewise.
43416         * libio/iofdopen.c: Likewise.
43417         * libio/iofopen.c: Likewise.
43418         * libio/iofopen64.c: Likewise.
43419         * libio/iogetdelim.c: Likewise.
43420         * libio/iopopen.c: Likewise.
43421         * libio/obprintf.c: Likewise.
43422         * libio/oldfileops.c: Likewise.
43423         * libio/oldiofclose.c: Likewise.
43424         * libio/oldiofdopen.c: Likewise.
43425         * libio/oldiofopen.c: Likewise.
43426         * libio/oldiopopen.c: Likewise.
43427         * libio/wfiledoalloc.c: Likewise.
43428         * libio/wgenops.c: Likewise.
43429         * locale/programs/xmalloc.c: Likewise.
43430         * misc/syslog.c: Likewise.
43431         * stdio-common/xbug.c: Likewise.
43432         * string/memchr.c: Likewise.
43433         * string/memcmp.c: Likewise.
43434         * string/memrchr.c: Likewise.
43435         * string/rawmemchr.c: Likewise.
43436         * sysdeps/posix/getcwd.c: Likewise.
43437         * time/strftime_l.c: Likewise.
43439 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
43441         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
43442         * config.make.in (config-cflags-sse2avx): Define.
43443         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
43444         Fix typo.
43446 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
43448         * scripts/config.guess: Update from upstream config git repository.
43449         * scripts/config.sub: Likewise.
43451 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
43453         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
43454         (EM_NUM): Update.
43455         (R_TILEPRO_*, R_TILEGX_*): New macros.
43457         * scripts/firstversions.awk: Fix bug in version range handling.
43459         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
43461         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
43463         * include/sys/epoll.h: New file.
43464         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
43465         libc_hidden_def.
43467 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
43469         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
43470         Avoid unnecessary __WORDSIZE == 64 test.
43471         (fmaxf): Use VEX format if possible.
43472         (fmax): Likewise.
43473         (fminf): Likewise.
43474         (fmin): Likewise.
43476         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
43477         * math/math_private.h: Remove libc_fegetround* and
43478         libc_fesetround*.
43479         * sysdeps/i386/configure.in: Check for -msse2avx.
43480         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
43481         also if SSE2AVX is defined.
43482         Remove libc_fegetround* and libc_fesetround*.
43483         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
43484         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
43485         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
43486         of HAS_YMM_USABLE.
43487         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43488         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43489         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43490         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43491         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43493         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
43495 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43497         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
43498         size is not set.
43499         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43501 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
43503         [BZ #13618]
43504         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
43505         relocation.
43506         * Makeconfig (libm): Define.
43507         * elf/Makefile: Add rules to build and run tst-relsort1.
43508         * elf/tst-relsort1.c: New file.
43509         * elf/tst-relsort1mod1.c: New file.
43510         * elf/tst-relsort1mod2.c: New file.
43512 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
43514         * math/s_ldexp.c: Remove __STDC__ conditionals.
43515         * math/s_ldexpf.c: Likewise.
43516         * math/s_ldexpl.c: Likewise.
43517         * math/s_nextafter.c: Likewise.
43518         * math/s_nexttowardf.c: Likewise.
43519         * math/s_significand.c: Likewise.
43520         * math/s_significandf.c: Likewise.
43521         * math/s_significandl.c: Likewise.
43522         * math/w_jnl.c: Likewise.
43523         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43524         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43525         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43526         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43527         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43528         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43529         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
43530         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43531         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43532         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43533         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43534         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43535         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43536         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43537         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43538         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43539         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43540         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43541         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43542         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43543         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43544         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43545         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43546         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43547         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43548         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43549         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43550         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43551         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43552         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43553         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43554         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43555         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43556         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43557         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43558         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43559         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43560         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43561         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43562         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43563         * sysdeps/ieee754/k_standard.c: Likewise.
43564         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43565         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43566         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43567         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43568         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43569         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43570         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43571         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43572         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43573         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43574         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43575         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43576         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43577         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43578         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43579         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43580         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43581         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43582         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43583         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43584         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43585         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43586         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43587         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43588         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43589         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43590         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43591         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43592         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43593         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43594         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43595         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
43596         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43597         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43598         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43599         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43600         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
43601         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43602         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43603         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
43604         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
43605         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43606         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
43607         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
43608         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43609         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
43610         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
43611         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43612         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43613         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
43614         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
43615         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43616         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43617         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43618         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43619         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43620         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
43621         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43622         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43623         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43624         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43625         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43626         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43627         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43628         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43629         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43630         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43631         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43632         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43633         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43634         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43635         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43636         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43637         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43638         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43639         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43640         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43641         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43642         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43643         * sysdeps/ieee754/s_matherr.c: Likewise.
43644         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43645         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43646         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43647         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43649 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43651         * crypt/md5.h: Remove __STDC__ conditionals.
43652         * libio/libioP.h: Likewise.
43653         * locale/programs/config.h: Likewise.
43654         * sysdeps/generic/sysdep.h: Likewise.
43655         * sysdeps/i386/asm-syntax.h: Likewise.
43656         * sysdeps/s390/asm-syntax.h: Likewise.
43657         * sysdeps/unix/sysdep.h: Likewise.
43658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43661 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
43663         * libio/libio.h: Remove __STDC__ conditionals.
43664         * malloc/obstack.h: Likewise.
43665         * math/complex.h: Likewise.
43666         * math/math.h: Likewise.
43667         * sysdeps/generic/_G_config.h: Likewise.
43668         * sysdeps/gnu/_G_config.h: Likewise.
43669         * sysdeps/mach/hurd/_G_config.h: Likewise.
43670         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43671         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
43672         * sysdeps/sparc/bits/mathdef.h: Likewise.
43674 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
43676         [BZ #13583]
43677         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
43678         Clean up HAS_* macros.
43679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
43680         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
43681         possible.
43682         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
43683         HAS_AVX.
43684         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43685         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43686         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43687         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43688         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43690 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
43692         * elf/tst-unique3.cc (gets): Remove declaration.
43693         * elf/tst-unique3lib.cc (gets): Likewise.
43694         * elf/tst-unique3lib2.cc (gets): Likewise.
43695         * elf/tst-unique4.cc (gets): Likewise.
43697 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
43699         * include/stdio.h: Add C++ protection.  Add gets declarations and
43700         definitions.
43701         * debug/tst-chk1.c: Don't declare gets here.
43702         * stdio-common/tst-gets.c: Likewise.
43704 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43706         * posix/glob: Remove directory.
43708 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
43710         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
43712 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
43714         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
43715         of the non-standard EPFNOSUPPORT.
43717 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43719         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
43720         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
43721         ANYWHERE set to 1 only on KERN_NO_SPACE error.
43723 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
43725         * wcsmbs/uchar.h: Test __STDC_VERSION__.
43727 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
43729         * nscd/aicache.c (addhstaiX): Do not cache negative results of
43730         transient errors.
43731         * nscd/grpcache.c (cache_addgr): Likewise.
43732         * nscd/hstcache.c (cache_addhst): Likewise.
43733         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43734         * nscd/pwdcache.c (cache_addpw): Likewise.
43735         * nscd/servicescache.c (cache_addserv): Likewise.
43737 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
43739         * malloc/malloc.c: Various cleanups.
43740         * malloc/hooks.c: Likewise.
43742         * stdlib/Makefile (tests): Add bug-fmtmsg1.
43743         * stdlib/bug-fmtmsg1.c: New file.
43745         * stdlib/fmtmsg.c (init): Add missing unlock.
43746         Patch by Peng Haitao <penght@cn.fujitsu.com>.
43748 2012-01-12  Marek Polacek  <polacek@redhat.com>
43750         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
43751         and _GNU_SOURCE.
43753 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43755         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
43756         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
43757         macro to ensure uniqueness of label name.
43758         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43759         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43761 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
43763         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
43765         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
43766         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43767         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43768         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
43770 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
43772         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
43774         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
43775         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43776         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43778         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
43780         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
43781         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43782         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43783         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
43785         * math/bits/math-finite.h: Add ldexp support.
43787 2012-01-10  Marek Polacek  <polacek@redhat.com>
43789         * locale/programs/localedef.h (show_archive_content): Add noreturn
43790         attribute.
43792 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
43794         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
43796 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43798         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
43800         * io/Makefile (headers): Add bits/poll2.h.
43802 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
43804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
43805         typo #include statement.
43807 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43809         * include/sys/cdefs.h: Define __attribute_alloc_size.
43810         * catgets/gencat.c: Add alloc_size attribute and apply consistently
43811         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
43812         * elf/pldd.c: Likewise.
43813         * iconv/iconv_charmap.c: Likewise.
43814         * iconv/iconvconfig.c: Likewise.
43815         * iconv/strtab.c: Likewise.
43816         * locale/programs/locale.c: Likewise.
43817         * locale/programs/localedef.h: Likewise.
43818         * locale/programs/simple-hash.c: Likewise.
43819         * nscd/nscd.h: Likewise.
43820         * nss/makedb.c: Likewise.
43821         * sysdeps/generic/ldconfig.h: Likewise.
43822         * locale/programs/localedef.c: Remove xmalloc prototype.
43823         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
43825 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43827         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
43828         appropriate.
43830 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
43832         * math/Makefile (tests): Add tst-CMPLX.
43833         * math/tst-CMPLX.c: New file.
43835         * math/complex.h (CMPLXL): Fix typo.
43837         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
43838         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
43839         GLIBC_2.16.
43840         * debug/tst-chk1.c: Add poll and ppoll tests.
43841         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
43842         * include/sys/poll.h: Add hidden proto for ppoll.
43843         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
43844         * sysdeps/mach/hurd/ppoll.c: Likewise.
43845         * io/ppoll.c: Likewise.
43846         * debug/poll_chk.c: New file.
43847         * debug/ppoll_chk.c: New file.
43848         * include/bits/poll2.h: New file.
43849         * io/bits/poll2.h: New file.
43851         [BZ #1350]
43852         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
43854         * configure.in: static is always set to yes.  Remove.
43855         * config.make.in: Don't set build-static.
43856         * Makeconfig: Remove use of build-static.
43857         * dlfcn/Makefile: Likewise.
43858         * elf/Makefile: Likewise.
43859         * math/Makefile: Likewise.
43860         * misc/Makefile: Likewise.
43861         * nptl/Makefile: Likewise.
43862         * sysdeps/mach/hurd/Makefile: Likewise.
43864         * configure.in: PWD_P is not used anymore.
43865         * config.make.in: Remove PWD_P entry.
43867         * configure.in: Remove last remnants of RANLIB.
43868         No need to check for signed size_t anymore.
43869         Don't set libc_commonpagesize and libc_relro_required here for Alpha
43870         and IA-64.
43871         Remove __builtin_expect test because we require at least gcc 3.4.
43872         * aclocal.m4: Likewise.
43874         * wcsmbs/mbrtoc16.c: Implement using towc function.
43875         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
43876         * wcsmbs/wcsmbsload.c: Likewise.
43877         * iconv/gconv_simple.c: Likewise.
43878         * iconv/gconv_int.h: Likewise.
43879         * iconv/gconv_builtin.h: Likewise.
43880         * iconv/iconv_prog.c: Remove CHAR16 handling.
43882         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
43884         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
43886         * configure.in: Remove --with-elf and --enable-bounded options.
43887         Dont set base_machine for ia64.  More non-ELF conditions removed.
43888         Remove testing and setting of leading underscore information.
43889         * config.make.in (build-bounded): Set to no.
43890         * config.h.in: Remove NO_UNDERSCORES entry.
43891         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
43892         them.
43893         * csu/start.c: Remove !NO_UNDERSCORE code.
43894         * locale/localeinfo.h: Likewise.
43895         * sysdeps/generic/machine-gmon.h: Likewise.
43896         * sysdeps/generic/sysdep.h: Likewise.
43897         * sysdeps/i386/sysdep.h: Likewise.
43898         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
43899         * sysdeps/mach/sysdep.h: Likewise.
43900         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43901         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43902         * sysdeps/sh/sysdep.h: Likewise.
43903         * sysdeps/sparc/sparc32/alloca.S: Likewise.
43904         * sysdeps/unix/i386/sysdep.S: Likewise.
43905         * sysdeps/unix/sparc/start.c: Likewise.
43906         * sysdeps/unix/sparc/sysdep.S: Likewise.
43907         * sysdeps/unix/sparc/sysdep.h: Likewise.
43908         * sysdeps/unix/start.c: Likewise.
43909         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43910         * sysdeps/x86_64/sysdep.h: Likewise.
43912 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
43914         [BZ #13553]
43915         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
43916         for non-gcc.
43917         * argp/argp-fmtstream.h: Use const instead __const.
43918         * argp/argp.h: Likewise.
43919         * assert/assert.h: Likewise.
43920         * bits/fenv.h: Likewise.
43921         * bits/sched.h: Likewise.
43922         * bits/sigset.h: Likewise.
43923         * bits/sigthread.h: Likewise.
43924         * catgets/nl_types.h: Likewise.
43925         * conform/data/pthread.h-data: Likewise.
43926         * crypt/crypt-private.h: Likewise.
43927         * crypt/crypt.h: Likewise.
43928         * crypt/crypt_util.c: Likewise.
43929         * ctype/ctype.h: Likewise.
43930         * debug/execinfo.h: Likewise.
43931         * debug/mbsnrtowcs_chk.c: Likewise.
43932         * debug/mbsrtowcs_chk.c: Likewise.
43933         * debug/wcsnrtombs_chk.c: Likewise.
43934         * debug/wcsrtombs_chk.c: Likewise.
43935         * debug/wcstombs_chk.c: Likewise.
43936         * dirent/dirent.h: Likewise.
43937         * dlfcn/dlfcn.h: Likewise.
43938         * elf/neededtest4.c: Likewise.
43939         * grp/grp.h: Likewise.
43940         * gshadow/gshadow.h: Likewise.
43941         * iconv/gconv.h: Likewise.
43942         * iconv/gconv_int.h: Likewise.
43943         * iconv/gconv_simple.c: Likewise.
43944         * iconv/iconv.h: Likewise.
43945         * iconv/loop.c: Likewise.
43946         * iconv/skeleton.c: Likewise.
43947         * include/aio.h: Likewise.
43948         * include/aliases.h: Likewise.
43949         * include/argz.h: Likewise.
43950         * include/arpa/inet.h: Likewise.
43951         * include/assert.h: Likewise.
43952         * include/dirent.h: Likewise.
43953         * include/dlfcn.h: Likewise.
43954         * include/execinfo.h: Likewise.
43955         * include/fcntl.h: Likewise.
43956         * include/fenv.h: Likewise.
43957         * include/glob.h: Likewise.
43958         * include/grp.h: Likewise.
43959         * include/libintl.h: Likewise.
43960         * include/mntent.h: Likewise.
43961         * include/netdb.h: Likewise.
43962         * include/pwd.h: Likewise.
43963         * include/rpc/netdb.h: Likewise.
43964         * include/sched.h: Likewise.
43965         * include/search.h: Likewise.
43966         * include/shadow.h: Likewise.
43967         * include/signal.h: Likewise.
43968         * include/stdio.h: Likewise.
43969         * include/stdlib.h: Likewise.
43970         * include/string.h: Likewise.
43971         * include/sys/socket.h: Likewise.
43972         * include/sys/stat.h: Likewise.
43973         * include/sys/statfs.h: Likewise.
43974         * include/sys/statvfs.h: Likewise.
43975         * include/sys/syslog.h: Likewise.
43976         * include/sys/time.h: Likewise.
43977         * include/sys/uio.h: Likewise.
43978         * include/time.h: Likewise.
43979         * include/unistd.h: Likewise.
43980         * include/utmp.h: Likewise.
43981         * include/wchar.h: Likewise.
43982         * include/wctype.h: Likewise.
43983         * inet/aliases.h: Likewise.
43984         * inet/arpa/inet.h: Likewise.
43985         * inet/netinet/ether.h: Likewise.
43986         * inet/netinet/in.h: Likewise.
43987         * intl/libintl.h: Likewise.
43988         * io/bits/fcntl2.h: Likewise.
43989         * io/fcntl.h: Likewise.
43990         * io/ftw.h: Likewise.
43991         * io/sys/poll.h: Likewise.
43992         * io/sys/stat.h: Likewise.
43993         * io/sys/statfs.h: Likewise.
43994         * io/sys/statvfs.h: Likewise.
43995         * io/utime.h: Likewise.
43996         * libio/bits/stdio.h: Likewise.
43997         * libio/bits/stdio2.h: Likewise.
43998         * libio/libio.h: Likewise.
43999         * libio/libioP.h: Likewise.
44000         * libio/stdio.h: Likewise.
44001         * locale/lc-ctype.c: Likewise.
44002         * locale/locale.h: Likewise.
44003         * login/utmp.h: Likewise.
44004         * malloc/arena.c: Likewise.
44005         * malloc/malloc.c: Likewise.
44006         * malloc/malloc.h: Likewise.
44007         * malloc/mcheck.c: Likewise.
44008         * malloc/mtrace.c: Likewise.
44009         * math/bits/mathcalls.h: Likewise.
44010         * math/fenv.h: Likewise.
44011         * math/math_private.h: Likewise.
44012         * misc/bits/error.h: Likewise.
44013         * misc/bits/syslog.h: Likewise.
44014         * misc/err.h: Likewise.
44015         * misc/error.h: Likewise.
44016         * misc/fstab.h: Likewise.
44017         * misc/mntent.h: Likewise.
44018         * misc/regexp.h: Likewise.
44019         * misc/search.h: Likewise.
44020         * misc/sgtty.h: Likewise.
44021         * misc/sys/mman.h: Likewise.
44022         * misc/sys/syslog.h: Likewise.
44023         * misc/sys/uio.h: Likewise.
44024         * misc/sys/xattr.h: Likewise.
44025         * misc/ttyent.h: Likewise.
44026         * nis/rpcsvc/ypclnt.h: Likewise.
44027         * nss/nss.h: Likewise.
44028         * posix/bits/unistd.h: Likewise.
44029         * posix/fnmatch.h: Likewise.
44030         * posix/glob.h: Likewise.
44031         * posix/sched.h: Likewise.
44032         * posix/spawn.h: Likewise.
44033         * posix/sys/wait.h: Likewise.
44034         * posix/unistd.h: Likewise.
44035         * posix/wordexp.h: Likewise.
44036         * pwd/pwd.h: Likewise.
44037         * resolv/netdb.h: Likewise.
44038         * resource/sys/resource.h: Likewise.
44039         * rt/aio.h: Likewise.
44040         * rt/bits/mqueue2.h: Likewise.
44041         * rt/mqueue.h: Likewise.
44042         * shadow/shadow.h: Likewise.
44043         * signal/signal.h: Likewise.
44044         * socket/send.c: Likewise.
44045         * socket/sendto.c: Likewise.
44046         * socket/sys/socket.h: Likewise.
44047         * stdio-common/printf.h: Likewise.
44048         * stdlib/bits/stdlib.h: Likewise.
44049         * stdlib/fmtmsg.h: Likewise.
44050         * stdlib/monetary.h: Likewise.
44051         * stdlib/stdlib.h: Likewise.
44052         * stdlib/ucontext.h: Likewise.
44053         * streams/stropts.h: Likewise.
44054         * string/argz.h: Likewise.
44055         * string/bits/string2.h: Likewise.
44056         * string/string.h: Likewise.
44057         * string/strings.h: Likewise.
44058         * sunrpc/rpc/auth.h: Likewise.
44059         * sunrpc/rpc/auth_des.h: Likewise.
44060         * sunrpc/rpc/clnt.h: Likewise.
44061         * sunrpc/rpc/netdb.h: Likewise.
44062         * sunrpc/rpc/pmap_clnt.h: Likewise.
44063         * sunrpc/rpc/xdr.h: Likewise.
44064         * sysdeps/generic/inttypes.h: Likewise.
44065         * sysdeps/generic/net/if.h: Likewise.
44066         * sysdeps/generic/sys/swap.h: Likewise.
44067         * sysdeps/gnu/net/if.h: Likewise.
44068         * sysdeps/gnu/utmpx.h: Likewise.
44069         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44070         * sysdeps/i386/i486/bits/string.h: Likewise.
44071         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44072         * sysdeps/s390/bits/string.h: Likewise.
44073         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44074         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44075         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44076         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44077         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44078         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44079         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44080         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44081         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44082         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44083         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44084         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44085         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44086         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44087         * sysdeps/unix/sysv/linux/readv.c: Likewise.
44088         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44089         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44090         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44091         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44092         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44093         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44094         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44095         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44096         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44097         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44098         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44099         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44100         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44101         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44102         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44103         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44104         * sysvipc/sys/ipc.h: Likewise.
44105         * sysvipc/sys/msg.h: Likewise.
44106         * sysvipc/sys/sem.h: Likewise.
44107         * sysvipc/sys/shm.h: Likewise.
44108         * termios/termios.h: Likewise.
44109         * time/sys/time.h: Likewise.
44110         * time/time.h: Likewise.
44111         * wcsmbs/bits/wchar2.h: Likewise.
44112         * wcsmbs/uchar.h: Likewise.
44113         * wcsmbs/wchar.h: Likewise.
44114         * wctype/wctype.h: Likewise.
44116         [BZ #13551]
44117         * Makeconfig: Remove all but ELF support including AIX support.
44118         * Makerules: Likewise.
44119         * config.h.in: Likewise.
44120         * config.make.in: Likewise.
44121         * configure: Likewise.
44122         * configure.in: Likewise.
44123         * csu/Makefile: Likewise.
44124         * csu/version.c: Likewise.
44125         * debug/Makefile: Likewise.
44126         * dlfcn/Makefile: Likewise.
44127         * elf/Makefile: Likewise.
44128         * extra-lib.mk: Likewise.
44129         * iconv/Makefile: Likewise.
44130         * include/libc-symbols.h: Likewise.
44131         * include/shlib-compat.h: Likewise.
44132         * resolv/Makefile: Likewise.
44133         * resolv/res_libc.c: Likewise.
44134         * rt/Makefile: Likewise.
44135         * sysdeps/i386/asm-syntax.h: Likewise.
44136         * sysdeps/i386/sysdep.h: Likewise.
44137         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44138         * sysdeps/mach/sysdep.h: Likewise.
44139         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44140         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44141         * sysdeps/s390/asm-syntax.h: Likewise.
44142         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44143         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44144         * sysdeps/sh/sysdep.h: Likewise.
44145         * sysdeps/unix/sparc/sysdep.h: Likewise.
44146         * sysdeps/wordsize-32/divdi3.c: Likewise.
44147         * sysdeps/x86_64/sysdep.h: Likewise.
44149         * argp/Versions: Remove _argp_unlock_xxx.
44151         [BZ #13559]
44152         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
44153         * abilist/libBrokenLocale.abilist: Likewise.
44154         * abilist/libanl.abilist: Likewise.
44155         * abilist/libc.abilist: Likewise.
44156         * abilist/libcrypt.abilist: Likewise.
44157         * abilist/libdl.abilist: Likewise.
44158         * abilist/libm.abilist: Likewise.
44159         * abilist/libnsl.abilist: Likewise.
44160         * abilist/libpthread.abilist: Likewise.
44161         * abilist/libresolv.abilist: Likewise.
44162         * abilist/librt.abilist: Likewise.
44163         * abilist/libthread_db.abilist: Likewise.
44164         * abilist/libutil.abilist: Likewise.
44165         * abilist/libnss_db.abilist: New file.
44167         * scripts/abilist.awk: Add support for indirect functions.
44169         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44171         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44173         * shlib-versions: Remove entries for ports architectures.
44175         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
44176         files in ports.
44177         * elf/stackguard-macros.h: Remove support for IA-64.
44178         * elf/tst-auditmod1.c: Likewise.
44179         * sysdeps/generic/ldsodefs.h: Likewise.
44181         * sysdeps/unix/sysv/linux/configure.in: Ports should define
44182         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44183         configure files.
44185         [BZ #13552]
44186         * configure.in: Remove --enable-omitfp support.
44187         * FAQ.in: Adjust.
44188         * config.make.in: Likewise.
44189         * Makeconfig: Likewise.
44190         * manual/install.texi: Likewise.
44192         In case anyone cares, the IA-64 architecture could move to ports.
44193         * sysdeps/ia64/*: Removed.
44194         * sysdeps/unix/sysv/linux/ia64/*: Removed.
44195         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44197         [BZ #13555]
44198         * configure.in: Remove entries for unsupported architectures.
44200         [BZ #13533]
44201         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44202         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
44203         routines.
44204         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44205         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44206         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
44207         fall back to using wcrtomb.
44208         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44209         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
44210         renaming.
44211         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44212         * wcsmbs/tst-c16c32-1.c: New file.
44214         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44215         local variable.
44217         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44219         * elf/tst-unique3.cc: Add explicit declaration of gets.
44220         * elf/tst-unique3lib.cc: Likewise.
44221         * elf/tst-unique3lib2.cc: Likewise.
44222         * elf/tst-unique4.cc: Likewise.
44224         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
44226 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
44228         [BZ #13566]
44229         * assert/assert.h (static_assert): Don't define for C++.
44230         * libio/stdio.h (gets): Do declare for C++ <= C++11.
44231         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
44233 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
44235         * iconv/loop.c (single loop): Fix assertion in storing of
44236         remaining bytes.
44238         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
44240 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
44242         * posix/getconf.c: Update copyright year.
44243         * nss/getent.c: Likewise.
44244         * nss/makedb.c: Likewise.
44245         * iconv/iconvconfig.c: Likewise.
44246         * iconv/iconv_prog.c: Likewise.
44247         * elf/ldconfig.c: Likewise.
44248         * elf/pldd.c: Likewise.
44249         * elf/sotruss.ksh: Likewise.
44250         * catgets/gencat.c: Likewise.
44251         * csu/version.c: Likewise.
44252         * elf/ldd.bash.in: Likewise.
44253         * elf/sprof.c (print_version): Likewise.
44254         * locale/programs/locale.c: Likewise.
44255         * locale/programs/localedef.c: Likewise.
44256         * login/programs/pt_chown.c: Likewise.
44257         * nscd/nscd.c (print_version): Likewise.
44258         * debug/xtrace.sh: Likewise.
44259         * malloc/memusage.sh: Likewise.
44260         * malloc/mtrace.pl: Likewise.
44261         * debug/catchsegv.sh: Likewise.
44263 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
44265         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
44266         pure attribute.
44268 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
44270         [BZ #13533]
44271         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
44272         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
44273         transformations.
44274         * iconv/gconv_int.h: Likewise.
44275         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
44276         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
44277         from libc for GLIBC_2.16.
44278         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
44279         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
44280         * wcsmbs/uchar.h: Really define mbstate_t.
44281         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
44282         * wcsmbs/c16rtomb.c: New file.
44283         * wcsmbs/mbrtoc16.c: New file.
44284         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
44285         for C/POSIX locale.
44286         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
44287         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
44289         * wcsmbs/wchar.h: Add missing __restrict.
44291 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44293         [BZ #13532]
44294         * time/Makefile (routines): Add timespec_get.
44295         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
44296         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
44297         timespec for ISO C11.
44298         * time/timespec_get.c: New file.
44299         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
44300         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
44302         [BZ #13531]
44303         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
44304         * stdlib/stdlib.h: Declare aligned_alloc.
44305         * Versions.def: Add GLIBC_2.16 for libc.
44306         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
44308         [BZ 13527]
44309         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
44310         ISO C11.
44312         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
44313         code.
44315         [BZ #13528]
44316         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
44318         [BZ #13529]
44319         * assert/assert.h (static_assert): Define.
44321         * version.h: Update for 2.16 development version.
44323         [BZ #13526]
44324         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
44325         _ISOC11_SOURCE.
44327         * version.h (RELEASE): Bump for 2.15 release.
44328         * include/features.h (__GLIBC_MINOR__): Bump to 15.
44330         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
44331         Patch by Marek Polacek <mpolacek@redhat.com>.
44333         * bits/byteswap.h: Protect long long constants with __extension__.
44334         * sysdeps/i386/bits/byteswap.h: Likewise.
44335         * sysdeps/ia64/bits/byteswap.h: Likewise.
44336         * sysdeps/s390/bits/byteswap.h: Likewise.
44337         * sysdeps/x86_64/bits/byteswap.h: Likewise.
44339 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44341         [BZ #13540]
44342         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
44343         destination buffer.
44344         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
44346 2011-12-23  Marek Polacek  <polacek@redhat.com>
44348         * elf/dl-addr.c (determine_info): Add inline keyword.
44349         * elf/tst-auditmod4b.c (check_avx): Likewise.
44350         * elf/tst-auditmod6b.c (check_avx): Likewise.
44351         * elf/tst-auditmod6c.c (check_avx): Likewise.
44352         * elf/tst-auditmod7b.c (check_avx): Likewise.
44354 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
44356         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
44357         !__SSE_MATH__.
44359 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44361         [BZ #13540]
44362         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
44363         processing for last bytes.
44365 2011-08-06  Bruno Haible  <bruno@clisp.org>
44367         [BZ #13061]
44368         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
44369         U+0385, not to U+1FEE.
44371         [BZ #13062]
44372         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
44373         entry for U+00A5 U+0301.
44375 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44377         [BZ #13166]
44378         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
44379         buffer for the output is too small.
44381         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
44382         optimization.
44384         [BZ #13185]
44385         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
44386         SSE flags if possible.
44388 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44390         [BZ #13540]
44391         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
44392         processing for last bytes.
44394 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
44396         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
44397         (syscall-list-default-options, syscall-list-default-condition)
44398         (syscall-list-includes): Define.
44399         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
44400         list of ABIs and options and #if conditions for each ABI.  Do not
44401         handle common syscalls between ABIs specially.
44402         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
44403         Remove.
44404         (syscall-list-variants, syscall-list-32bit-options)
44405         (syscall-list-32bit-condition, syscall-list-64bit-options)
44406         (syscall-list-64bit-condition): Define.
44407         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
44408         (syscall-list-variants, syscall-list-32bit-options)
44409         (syscall-list-32bit-condition, syscall-list-64bit-options)
44410         (syscall-list-64bit-condition): Define.
44411         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
44412         Remove.
44413         (syscall-list-variants, syscall-list-32bit-options)
44414         (syscall-list-32bit-condition, syscall-list-64bit-options)
44415         (syscall-list-64bit-condition): Define.
44416         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
44417         Remove.
44418         (syscall-list-variants, syscall-list-32bit-options)
44419         (syscall-list-32bit-condition, syscall-list-64bit-options)
44420         (syscall-list-64bit-condition): Define.
44422 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
44424         * locale/iso-639.def: Add brx entry.
44426         [BZ #13328]
44427         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
44428         Proposed by Mariusz_Cukr <marcukr@op.pl>.
44430         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
44431         __feraiseexcept_renamed.
44433 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44435         [BZ #13538]
44436         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
44437         EPOLLET with unsigned values.
44438         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44439         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44441         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
44442         to large cancellation.
44443         * math/s_cacoshf.c: Likewise.
44444         * math/s_cacoshl.c: Likewise.
44446 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
44448         [BZ #13305]
44449         [BZ #12786]
44450         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
44451         * math/s_cacoshf.c: Likewise.
44452         * math/s_cacoshl.c: Likewise.
44454 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
44456         [BZ #13439]
44457         * iconv/gconv.h: Define __GCONV_SWAP.
44458         * iconvdata/unicode.c: The swap bit must be stored in __flags.
44459         * iconvdata/utf-16.c: Likewise.
44460         * iconvdata/utf-32.c: Likewise.
44462 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
44464         [BZ #13524]
44465         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
44466         numerator after shifting it by one limb.
44468 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
44470         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
44471         under [__USE_EXTERN_INLINES].
44473 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44475         [BZ #13446]
44476         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
44478 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44480         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
44481         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
44482         optimized code.
44483         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
44484         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
44485         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
44486         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
44487         for strncasecmp/strncasecmp_l compilation.
44488         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
44489         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
44491 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
44493         [BZ #13484]
44494         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
44495         of __asm__.
44497 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
44499         [BZ #13506]
44500         * time/tzfile.c (__tzfile_read): Check values from file header.
44502 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
44504         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
44505         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
44506         * powerpc/powerpc32/dl-start.S: Likewise.
44507         * powerpc/powerpc32/elf/start.S: Likewise.
44508         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
44509         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
44510         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
44511         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
44512         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44513         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
44514         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
44515         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44516         * powerpc/powerpc32/fpu/s_round.S: Likewise.
44517         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44518         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44519         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44520         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
44521         * powerpc/powerpc32/memset.S: Likewise.
44522         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44523         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44524         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44525         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44526         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44527         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44528         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44529         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44530         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
44531         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
44532         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
44533         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44534         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44536 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44538         * math/libm-test.inc: Added more nearbyint tests.
44539         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
44540         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
44541         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
44542         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
44544 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
44546         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
44547         FD_CLOEXEC.
44549 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44551         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
44552         Add wcscpy-ssse3 wcscpy-c.
44553         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
44554         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
44555         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
44556         * sysdeps/x86_64/wcschr.S: New file.
44557         * sysdeps/x86_64/wcsrchr.S: New file.
44558         * string/test-strcmp.c: Remove checking of wcscmp function for
44559         wrong alignments.
44560         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
44561         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
44562         wcsrchr-sse2 wcsrchr-c.
44563         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
44564         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
44565         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
44566         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
44567         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
44568         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
44569         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
44570         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
44571         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
44572         * wcsmbc/wcschr.c (WCSCHR): New macro.
44574 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44576         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
44577         * wcsmbs/test-wcsrchr.c: New file.
44578         * string/test-strrchr.c: Add wcsrchr support.
44579         (WIDE): New macro.
44580         * wcsmbs/test-wcscpy.c: New file.
44581         * string/test-strcpy.c: Add wcscpy support.
44582         (WIDE): New macro.
44584 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
44586         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
44587         the inner loop.
44589 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
44591         [BZ #13472]
44592         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
44594 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
44596         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
44597         Minor optimizations.
44599         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
44600         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
44601         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
44603 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
44605         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
44606         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
44607         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
44608         for gcc to avoid warnings.
44609         * inet/Makefile (tests): Add tst-checks.
44610         * inet/tst-checks.c: New file.
44612         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
44613         warning.
44615         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
44616         __wmemcmp_sse2.
44618         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
44619         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
44621         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
44623 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
44625         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
44626         problem.
44628         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
44630 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
44632         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
44633         conditional on GCC version.
44634         (__arch_compare_and_exchange_val_8_acq)
44635         (__arch_compare_and_exchange_val_16_acq)
44636         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
44637         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
44638         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
44640 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
44642         * sysdeps/sh/backtrace.c: New file.
44644 2011-12-02  Andreas Schwab  <schwab@redhat.com>
44646         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
44647         parenthesis.
44649 2011-12-01  Andreas Schwab  <schwab@redhat.com>
44651         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
44652         falling back to utime.
44654 2011-11-30  Andreas Schwab  <schwab@redhat.com>
44656         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
44657         expectations for float.
44659 2011-11-29  Andreas Schwab  <schwab@redhat.com>
44661         * locale/weight.h (findidx): Add parameter len.
44662         * locale/weightwc.h (findidx): Likewise.
44663         * posix/fnmatch_loop.c (FCT): Adjust caller.
44664         * posix/regcomp.c (build_equiv_class): Likewise.
44665         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
44666         * posix/regexec.c (check_node_accept_bytes): Likewise.
44667         * string/strcoll_l.c (STRCOLL): Likewise.
44668         * string/strxfrm_l.c (STRXFRM): Likewise.
44670 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
44672         * Makefile.in: Remove CVSOPT handling.
44673         * configure.in: Remove use of AC_REVISION.
44674         * iconvdata/Makefile (distribute): No need to filter out CVS.
44675         * scripts/list-sources.sh: Remove CVS, subversion and monotone
44676         handling.
44678 2011-11-16  Andreas Schwab  <schwab@redhat.com>
44680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
44681         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
44682         [USE_AS_STRNCASECMP_L]: Likewise.
44683         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
44684         NO_TLS_DIRECT_SEG_REFS.
44685         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
44686         Fix argument offsets for non-PIC.
44687         [USE_AS_STRNCASECMP_L]: Likewise.
44688         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
44689         NO_TLS_DIRECT_SEG_REFS.
44691 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44693         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
44694         O_CLOEXEC.
44695         * locale/loadlocale.c (_nl_load_locale): Likewise.
44697 2011-11-15  Andreas Schwab  <schwab@redhat.com>
44699         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
44700         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
44701         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
44702         (SYSCALL_GETTIME): Set errno on error.
44704         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
44705         count references to noai6ai_cached.
44707 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
44709         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
44711         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
44712         FD_CLOEXEC for /proc/self/maps.
44714         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
44715         FD_CLOEXEC for /proc/meminfo.
44717         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
44718         gai.conf.
44720         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
44721         FD_CLOEXEC for given file.
44723         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
44725         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
44726         FD_CLOEXEC for /etc/hosts.
44727         (_gethtent): Likewise.
44729         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
44731         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
44732         cancellation and set FD_CLOEXEC for /etc/netgroup.
44734         * nss/nss_files/files-key.c (search): Don't allow cancellation when
44735         reading /etc/publickey.
44737         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
44738         allow cancellation when reading /etc/group.
44740         * nss/nss_files/files-alias.c (internal_setent): Don't allow
44741         cancellation.
44742         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
44744         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
44745         when using data file.
44747         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
44749         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
44750         (write_nis_obj): Use "c" and "e" in fopen.
44752         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
44754         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
44756         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
44758         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
44760         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
44761         locale.alias.
44763         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
44765         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
44767         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
44769         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
44770         file parsing and set FD_CLOEXEC.
44772 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44774         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
44776 2011-11-14  Andreas Schwab  <schwab@redhat.com>
44778         * malloc/arena.c (arena_get2): Don't call reused_arena when
44779         _int_new_arena failed.
44781 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
44783         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
44784         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
44785         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
44786         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44787         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44788         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
44789         to compile strcasecmp and strncasecmp.
44790         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
44791         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
44793         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
44795 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
44797         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
44798         locale-defines.sym to gen-as-const-headers.
44799         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
44800         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
44801         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
44802         to compile strcasecmp and strncasecmp.
44803         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
44804         strcasecmp_l and strncasecmp_l.
44805         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
44806         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
44807         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
44808         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
44809         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
44810         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
44811         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
44812         * sysdeps/i386/i686/multiarch/strncase.S: New file.
44813         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
44814         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
44815         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
44817 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
44819         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
44820         result of SYSDEP_GETTIME_CPU to retval.
44821         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
44822         parameter list to macro.  Remove trailing semicolon.  Adjust users.
44824         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
44825         variable.
44827         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
44828         mantissa words.
44829         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
44831         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
44832         from unused variable.
44834         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
44835         DWARF definitions.
44836         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
44837         for assembling.
44839         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
44840         over namespaces.
44842         * sunrpc/rpc_prot.c (rejected): Fix case value.
44844         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
44845         unsigned long long int to avoid warnings in shift.
44847         * posix/regex_internal.c (re_string_reconstruct): Actually use result
44848         of use of trans.
44849         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
44850         variable tmp.
44852         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
44853         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
44854         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
44856         * nis/nis_table.c (nis_list): Use variable of correct type for
44857         result of __follow_path call.
44859 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44861         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
44862         of math functions ceil, trunc, floor, round, and sqrt, when
44863         avaliable on the platform.
44864         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
44865         name clash.
44866         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44867         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44868         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44870 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
44872         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
44873         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44875 2011-11-11  Roland McGrath  <roland@hack.frob.com>
44877         * include/unistd.h: Fix __readlink return type.
44878         Reported by Chris Metcalf <cmetcalf@tilera.com>.
44880 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
44882         * stdlib/ucontext.h: Undo last change for makecontext.
44884 2011-11-11  Andreas Schwab  <schwab@redhat.com>
44886         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
44888         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
44889         * setjmp/setjmp.h: Mark functions as non-leaf.
44890         * setjmp/bits/setjmp2.h: Likewise.
44891         * stdlib/ucontext.h: Likewise.
44893 2011-11-10  Andreas Schwab  <schwab@redhat.com>
44895         * malloc/arena.c (_int_new_arena): Don't increment narenas.
44896         (reused_arena): Don't check arena limit.
44897         (arena_get2): Atomically check arena limit.
44899 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
44901         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
44902         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
44904         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
44905         instructions.
44907 2011-11-07  Andreas Schwab  <schwab@redhat.com>
44909         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
44910         handler when locking.
44912         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44913         Fix size of allocated buffer.
44915 2011-11-04  Andreas Schwab  <schwab@redhat.com>
44917         [BZ #10103]
44918         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
44919         declarations for long double functions.
44920         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
44922         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
44924 2011-11-03  Andreas Schwab  <schwab@redhat.com>
44926         * nscd/nscd.c (main): Don't start AVC thread until credentials are
44927         installed.
44929         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
44930         is disabled.
44932 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44934         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
44936 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44938         * include/alloca.h (stackinfo_alloca_round): Define.
44939         (extend_alloca): Use it.
44940         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
44941         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
44942         here.
44944         * scripts/check-local-headers.sh: Ignore libaudit.h.
44946         * nscd/Makefile (extra-objs): Make recursively expanded.
44948 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
44950         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
44951         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
44953         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
44954         * posix/tst-rfc3484-2.c: Likewise.
44955         * posix/tst-rfc3484-3.c: Likewise.
44957         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44958         process_vm_writev.
44959         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
44960         process_vm_writev.
44961         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
44962         process_vm_writev from libc using GLIBC_2.15 version.
44964         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
44966 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
44968         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
44969         stack usage.
44971 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
44973         [BZ #13367]
44974         * nss/getent.c (initgroups_keys): Show error message in case no group
44975         names are given.
44977         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
44978         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
44979         __bump_nl_timestamp.
44980         * nscd/connections (nscd_init): When host database is served open
44981         netlink socket and request notification about configuration changes.
44982         (main_loop_poll): Track netlink file descriptor and bump timestamp
44983         in case data becomes available.
44984         (main_loop_epoll): Likewise.
44985         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
44986         (database_pers_head): Add extra_data fileds.
44987         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
44988         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
44989         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
44990         Adjust caller.
44991         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
44992         in6ai data, call __free_in6ai.
44993         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
44994         Add -DHAVE_NETLINK.
44995         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
44996         interface information.  Reuse previous data if netlink timestamp
44997         is not changed.
44998         (__bump_nl_timestamp): New function.
44999         (__free_in6ai): New function.
45001 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
45003         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45004         close_not_cancel_no_status here.
45005         (__check_pf): Reorganize code a bit to not call close twice if OOM.
45007 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45009         [BZ #13276]
45010         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45011         return value.
45013         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45014         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45015         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45017 2011-07-03  Andreas Jaeger  <aj@suse.de>
45019         [BZ #10709]
45020         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45021         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45022         * math/libm-test.inc (sin_test): Add test case.
45024 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
45026         [BZ #13337]
45027         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45028         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45030         * elf/chroot_canon.c (chroot_canon): Cleanups.
45032         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45034         [BZ #13335]
45035         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45036         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45038         * string/test-strchr.c: Make usable for strchrnul testing.
45039         * string/test-strchrnul.c: New file.
45040         * string/Makefile (strop-tests): Add strchrnul.
45042         * po/it.po: Update from translation team.
45043         * po/es.po: Likewise.
45045 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
45047         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45048         the three constants needed as parameters.  Drop the others.
45049         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45050         __m128i_strloadu_tolower.
45051         Create and initialize variable zero and use it in all the places
45052         where _mm_setzero_si128 was used.
45054         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45055         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45056         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45057         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45058         anymore.
45059         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45060         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45061         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45062         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45063         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45064         __mpranred, __mptan.
45065         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45066         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45067         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45068         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45069         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45070         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45071         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45072         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45073         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45075 2011-10-28  Andreas Schwab  <schwab@redhat.com>
45077         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45078         redefine if SHARED.
45079         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45081         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45082         wide char related routines to wcsmbs subdir.
45084 2011-10-27  Andreas Schwab  <schwab@redhat.com>
45086         [BZ #13344]
45087         * misc/sys/cdefs.h (__THROWNL): Define.
45088         * posix/unistd.h: Use __THREADNL instead of __THREAD
45089         for memory synchronization functions.
45091 2011-10-26  Roland McGrath  <roland@hack.frob.com>
45093         [BZ #13349]
45094         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45095         doesn't exist.
45096         * manual/stdio.texi (Obstack Streams): Node removed.
45098 2011-10-26  Andreas Schwab  <schwab@redhat.com>
45100         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45101         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45102         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45104         * math/math_private.h (math_force_eval): Allow non-addressable
45105         arguments.
45106         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45108 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45110         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45111         file is not needed.
45113         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45114         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45115         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45116         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45117         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45118         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45119         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45120         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45121         Add AVX variants.
45122         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45123         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45124         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45125         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45126         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45127         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45128         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45129         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45130         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45131         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45132         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45133         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45134         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45135         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45136         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45137         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45138         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45139         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45140         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45142         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45143         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
45145         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45146         place.  Use VEX encoding when compiling for AVX.
45148 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45150         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45151         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45153         * string/test-strchr.c (do_test): Don't generate NUL bytes.
45155 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45157         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45158         useless if() expression.
45159         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45160         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45161         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45162         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45163         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45164         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45165         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45166         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45167         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45168         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45169         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45170         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45171         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45172         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45173         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45174         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45175         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45176         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45177         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45179         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45181 2011-10-25  Andreas Schwab  <schwab@redhat.com>
45183         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45184         condition.
45185         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45187 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
45189         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45190         .text section.  Avoid duplicate constants.
45191         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45192         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45193         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45194         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45195         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45196         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45197         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45198         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45199         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45200         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45201         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45202         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45203         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45204         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45205         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45206         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45207         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45208         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45209         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45210         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45211         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45212         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45213         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45214         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45215         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45216         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45217         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45218         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45219         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45220         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45221         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45222         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45223         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45224         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45225         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
45226         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
45227         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
45228         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
45229         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
45230         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
45231         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
45232         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
45233         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
45234         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
45235         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
45237 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
45239         * sysdeps/x86_64/dla.h: Move to ...
45240         * sysdeps/x86_64/fpu/dla.h: ...here.
45241         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
45242         situations.  Use __builtin_fma only for gcc 4.6 and up.
45244         * config.make.in: Add have-mfma4 entry.
45245         * configure.in: Substitute libc_cv_cc_fma4.
45246         * math/Makefile (dbl-only-routines): Add sincostab.
45247         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
45248         Use __sincostab not sincos.
45249         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
45250         name is a macro.
45251         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45252         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45253         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45254         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
45255         using __copysign.
45256         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
45257         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
45258         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
45259         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
45260         and __inv.
45261         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
45262         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
45263         __copysign.
45264         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
45265         define aliases when function name is a macro.
45266         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
45267         sysdeps/ieee754/dbl-64/sincos.tbl.
45268         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
45269         fma4-enabled routines.
45270         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
45271         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
45272         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
45273         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
45274         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
45275         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
45276         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
45277         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
45278         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
45279         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
45280         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
45281         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
45282         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
45283         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
45284         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
45285         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
45286         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
45287         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
45288         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
45289         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
45290         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
45291         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
45292         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
45293         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
45294         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
45295         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
45296         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
45297         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
45298         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
45299         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
45301         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
45302         rename.
45303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45304         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45306         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45307         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45308         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45309         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45310         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45312 2011-10-24  Andreas Schwab  <schwab@redhat.com>
45314         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
45316 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45318         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
45320         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
45321         prediction.
45322         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
45324         * string/strnlen.c: Don't define STRNLEN, reverse logic.
45325         Remove unused variable magic_bits.
45326         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
45328         * string/strnlen.c: Define and use STRNLEN macro.
45329         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
45330         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
45331         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
45332         * wcsmbs/wcslen.c: Define and use WCSLEN.
45333         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
45334         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
45335         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
45336         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
45337         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
45338         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
45339         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45341 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45343         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45344         strnlen-sse2-no-bsf.
45345         Rename strlen-no-bsf to strlen-sse2-no-bsf.
45346         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
45347         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
45348         Add strnlen support.
45349         (USE_AS_STRNLEN): New macro.
45350         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
45351         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
45352         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
45353         * sysdeps/x86_64/wcslen.S: New file.
45355 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
45357         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45358         XMM-moves are used for copying on small sizes.
45360 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45362         * wcsmbs/Makefile (strop-tests): Add wcschr.
45363         * wcsmbs/test-wcschr.c: New file.
45364         * string/test-strchr.c: Update.
45365         Add wcschr support.
45366         (WIDE): New macro.
45368 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45370         * wcsmbs/Makefile (strop-tests): Add wcslen.
45371         * wcsmbs/test-wcslen.c: New file.
45372         * string/test-strlen.c: Update.
45373         Add wcslen support.
45374         (WIDE): New macro.
45376 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45378         * po/it.po: Update from translation team.
45380 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45382         * sysdeps/x86_64/wcscmp.S: Update.
45383         Fix wrong comparison semantics.
45384         wcscmp shall use signed comparison not unsigned.
45385         Don't use substraction to avoid overflow bug.
45386         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
45387         * wcsmbc/wcscmp.c: Likewise.
45388         * string/test-strcmp.c: Likewise.
45389         Add new tests to check cases with negative values.
45391 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
45393         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
45394         * sysdeps/x86_64/dla.h: ...here.  New file.
45395         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
45396         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45398         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45399         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45400         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45402         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45403         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45405 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
45407         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
45408         __ynl_finite aliases.
45410 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45412         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45414         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
45415         define DLA_FMA.
45416         [DLA_FMA] (EMULV): Use DLA_FMA.
45417         [DLA_FMA] (MUL12): Use EMULV.
45418         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
45419         that are not needed.
45420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45421         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45422         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45423         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45424         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45425         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45426         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45428 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
45430         * math/s_nan.c: Undef __nan.
45431         * math/s_nanf.c: Undef __nanf.
45432         * math/s_nanl.c: Undef __nanl.
45433         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
45434         "math_private.h".
45436 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
45438         * math/s_catan.c: Add branch predictions.
45439         * math/s_catanf.c: Likewise.
45440         * math/s_catanh.c: Likewise.
45441         * math/s_catanhf.c: Likewise.
45442         * math/s_catanhl.c: Likewise.
45443         * math/s_catanl.c: Likewise.
45444         * math/s_cexp.c: Likewise.
45445         * math/s_cexpf.c: Likewise.
45446         * math/s_cexpl.c: Likewise.
45447         * math/s_clog.c: Likewise.
45448         * math/s_clog10.c: Likewise.
45449         * math/s_clog10f.c: Likewise.
45450         * math/s_clog10l.c: Likewise.
45451         * math/s_clogf.c: Likewise.
45452         * math/s_clogl.c: Likewise.
45453         * math/s_csqrt.c: Likewise.
45454         * math/s_csqrtf.c: Likewise.
45455         * math/s_csqrtl.c: Likewise.
45456         * math/s_ctanf.c: Likewise.
45457         * math/s_ctanh.c: Likewise.
45458         * math/s_ctanhf.c: Likewise.
45459         * math/s_ctanhl.c: Likewise.
45460         * math/s_ctanl.c: Likewise.
45462         * math/math_private.h: Define __nan, __nanf, __nanl.
45463         * math/s_cacosh.c: Include <math_private.h>.
45464         * math/s_cacoshl.c: Likewise.
45465         * math/s_casinh.c: Likewise.
45466         * math/s_casinhf.c: Likewise.
45467         * math/s_casinhl.c: Likewise.
45468         * math/s_ccos.c: Rely entire on ccosh.
45469         * math/s_ccosf.c: Rely entire on ccoshf.
45470         * math/s_ccosl.c: Rely entirely on ccoshl.
45471         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
45472         Remove tests for FE_INVALID.
45473         * math/s_ccoshf.c: Likewise.
45474         * math/s_ccoshl.c: Likewise.
45475         * math/s_csin.c: Likewise.
45476         * math/s_csinf.c: Likewise.
45477         * math/s_csinh.c Likewise.
45478         * math/s_csinhf.c: Likewise.
45479         * math/s_csinhl.c: Likewise.
45480         * math/s_csinl.c: Likewise.
45481         * math/s_ctan.c: Likewise.
45482         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
45483         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
45484         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
45486 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
45488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
45489         compilation problems.
45491         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
45492         __builtin_expect.
45494 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
45496         * sysdeps/i386/configure.in: Test for -mfma4 option.
45497         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
45498         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
45499         COMMON_CPUID_INDEX_80000001.
45500         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
45501         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
45502         use it if FMA3 is not supported.
45503         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
45505         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
45506         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45508 2011-10-20  Andreas Schwab  <schwab@redhat.com>
45510         [BZ #12892]
45511         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
45512         it would create a cycle with a link time dependency.
45514 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
45516         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
45517         instruction.
45518         * string/Makefile (strop-tests): Add rawmemchr.
45519         * string/test-rawmemchr.c: New file.
45521         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
45522         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
45523         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
45524         when compiling str{,n}casecmp and when AVX is available.  Hook up
45525         new optimized code in initializers.
45527 2011-10-19  Andreas Schwab  <schwab@redhat.com>
45529         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
45530         __feraiseexcept instead of feraiseexcept.
45532 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
45534         * math/math_private.h: Define defaults for libc_fetestexcept and
45535         libc_feupdateenv.
45536         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
45537         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
45538         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45539         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45540         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45541         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45542         libc_fetestexcept and libc_feupdateenv.
45544         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
45545         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
45546         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
45547         * sysdeps/x86_64/fpu/math_private.h: Define special version of
45548         libc_feholdexcept_setround.
45550         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
45551         Add s_nearbyint-c and s_nearbyintf-c.
45552         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
45553         nearbyintf inlines.
45554         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
45555         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
45556         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
45557         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
45559         * math/math_private.h: Define defaults for libc_fegetround,
45560         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
45561         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
45562         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
45563         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
45564         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
45565         standard functions.
45566         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45567         Remove comments and hacks for old compiler versions.
45568         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
45569         libc_fegetround, libc_fesetround, libc_feholdexcept, and
45570         libc_feholdexceptl.
45572 2011-10-18  Andreas Schwab  <schwab@redhat.com>
45574         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
45575         (__feraiseexcept_renamed): Add __NTH.
45576         (feraiseexcept): Add __NTH.  Rename local variables to fix
45577         namespace violations.
45579 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
45581         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
45583         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
45585         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
45586         recently added interfaces.
45587         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
45589         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
45590         about macro parameter expansion.
45592         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
45593         __NO_MATH_INLINES is defined.  Cleanups.
45595         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
45596         and __floorf is target has SSE4.1.
45597         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
45598         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
45599         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
45600         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
45602         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
45603         name.
45604         (floorf): Likewise.
45606         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
45608 2011-10-17  Andreas Schwab  <schwab@redhat.com>
45610         * misc/sys/cdefs.h: Fix last change.
45612         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
45613         database lookup.
45615 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
45617         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
45619         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
45620         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45621         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45622         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45623         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45624         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45625         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45626         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45627         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45628         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
45629         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
45630         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
45631         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
45632         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
45633         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
45634         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
45635         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
45636         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
45637         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
45638         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
45639         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
45640         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
45642         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
45643         ceil, ceilf, floor, floorf.
45645         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
45646         Perform IRELATIVE relocations last.
45648         * elf/do-rel.h: Add another parameter nrelative, replacing the
45649         local variable with the same name.  Change name of the function
45650         to end in Rel or Rela (uppercase).
45651         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
45652         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
45653         elf_dynamic_do_##reloc function.
45655 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45657         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
45658         is sufficient, at least on modern CPUs.
45660         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
45662         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
45663         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
45665         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
45666         __expl_finite.
45667         * math/bits/math-finite.h: Add entries for exp.
45668         * math/e_expl.c: Add __*_finite alias.
45669         * sysdeps/i386/fpu/e_exp.S: Likewise.
45670         * sysdeps/i386/fpu/e_expf.S: Likewise.
45671         * sysdeps/i386/fpu/e_expl.c: Likewise.
45672         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45673         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
45674         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45675         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45676         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
45677         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45678         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45680         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
45681         is sufficient, at least on modern CPUs.
45683         * ctype/ctype-info.c (__ctype_init): Define.
45684         * include/ctype.h (__ctype_init): Declare.
45685         (__ctype_b_loc): The variable is always initialized.
45686         (__ctype_toupper_loc): Likewise.
45687         (__ctype_tolower_loc): Likewise.
45688         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
45689         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
45691 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
45693         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
45695         * configure.in: Also look in $cxxmachine/include for C++ system
45696         headers.
45698 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45700         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
45701         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
45702         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
45703         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
45704         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
45705         (USE_AS_WMEMCMP): New macro.
45706         Fixing indents.
45707         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
45708         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
45709         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
45710         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
45711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45712         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
45713         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
45714         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
45715         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
45716         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
45717         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
45718         (USE_AS_WMEMCMP): New macro.
45719         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
45720         * sysdeps/string/test-memcmp.c: Update.
45721         Fix simple_wmemcmp.
45722         Add new tests.
45723         * wcsmbs/wmemcmp.c: Update.
45724         (WMEMCMP): New macro.
45725         Fix overflow bug.
45727 2011-10-12  Andreas Jaeger  <aj@suse.de>
45729         [BZ #13268]
45730         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
45732 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
45734         * libio/iofwide.c (do_length): Avoid warning.
45736         * ctype/ctype.h (__isctype_f): Add missing __THROW.
45738 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
45740         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
45742         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
45743         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
45744         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
45745         * sysdeps/i386/i686/fpu/e_log.S: New file.
45746         * sysdeps/i386/i686/fpu/e_logf.S: New file.
45747         * sysdeps/i386/i686/fpu/e_logl.S: New file.
45749         * ctype/ctype.h: Add support for inlined isXXX functions when
45750         compiling C++ code.
45752 2011-10-14  Andreas Schwab  <schwab@redhat.com>
45754         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45756         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
45758 2011-10-13  Roland McGrath  <roland@hack.frob.com>
45760         [BZ #13291]
45761         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
45763 2011-10-13  Andreas Schwab  <schwab@redhat.com>
45765         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
45766         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
45767         feraiseexcept.
45769         * sysdeps/x86_64/memrchr.S: Check for zero size.
45771         * string/stratcliff.c: Add memrchr tests.
45773 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45775         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45776         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
45777         rawmemchr-sse2 rawmemchr-sse2-bsf.
45778         * sysdeps/i386/i686/multiarch/memchr.S: New file.
45779         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
45780         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
45781         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
45782         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
45783         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
45784         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
45785         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
45786         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
45787         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
45788         * string/memrchr.c (MEMRCHR): New macro.
45790 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
45792         Add integration with gcc's -ffinite-math-only and optimize wrapper
45793         functions in libm.
45794         * Versions.def: Define GLIBC_2.15 version for libm.
45795         * math/Makefile (headers): Add bits/math-finite.h.
45796         * math/bits/math-finite.h: New file.
45797         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
45798         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
45799         * math/e_acoshl.c: Add __*_finite alias.
45800         * math/e_acosl.c: Likewise.
45801         * math/e_asinl.c: Likewise.
45802         * math/e_atan2l.c: Likewise.
45803         * math/e_atanhl.c: Likewise.
45804         * math/e_coshl.c: Likewise.
45805         * math/e_exp10.c: Likewise.
45806         * math/e_exp10f.c: Likewise.
45807         * math/e_exp10l.c: Likewise.
45808         * math/e_exp2l.c: Likewise.
45809         * math/e_fmodl.c: Likewise.
45810         * math/e_gammal_r.c: Likewise.
45811         * math/e_hypotl.c: Likewise.
45812         * math/e_j0l.c: Likewise.
45813         * math/e_j1l.c: Likewise.
45814         * math/e_jnl.c: Likewise.
45815         * math/e_lgammal_r.c: Likewise.
45816         * math/e_log10l.c: Likewise.
45817         * math/e_log2l.c: Likewise.
45818         * math/e_logl.c: Likewise.
45819         * math/e_powl.c: Likewise.
45820         * math/e_sinhl.c: Likewise.
45821         * math/e_sqrtl.c: Likewise.
45822         * math/e_scalb.c: Completely rewritten and optimized.
45823         * math/e_scalbf.c: Likewise.
45824         * math/e_scalbl.c: Likewise.
45825         * math/w_acos.c: Likewise.
45826         * math/w_acosf.c: Likewise.
45827         * math/w_acosl.c: Likewise.
45828         * math/w_acosh.c: Likewise.
45829         * math/w_acoshf.c: Likewise.
45830         * math/w_acoshl.c: Likewise.
45831         * math/w_asin.c: Likewise.
45832         * math/w_asinf.c: Likewise.
45833         * math/w_asinl.c: Likewise.
45834         * math/w_atan2.c: Likewise.
45835         * math/w_atan2f.c: Likewise.
45836         * math/w_atan2l.c: Likewise.
45837         * math/w_atanh.c: Likewise.
45838         * math/w_atanhf.c: Likewise.
45839         * math/w_atanhl.c: Likewise.
45840         * math/w_exp10.c: Likewise.
45841         * math/w_exp10f.c: Likewise.
45842         * math/w_exp10l.c: Likewise.
45843         * math/w_fmod.c: Likewise.
45844         * math/w_fmodf.c: Likewise.
45845         * math/w_fmodl.c: Likewise.
45846         * math/w_j0.c: Likewise.
45847         * math/w_j0f.c: Likewise.
45848         * math/w_j0l.c: Likewise.
45849         * math/w_j1.c: Likewise.
45850         * math/w_j1f.c: Likewise.
45851         * math/w_j1l.c: Likewise.
45852         * math/w_jn.c: Likewise.
45853         * math/w_jnf.c: Likewise.
45854         * math/w_log.c: Likewise.
45855         * math/w_logf.c: Likewise.
45856         * math/w_logl.c: Likewise.
45857         * math/w_log10.c: Likewise.
45858         * math/w_log10f.c: Likewise.
45859         * math/w_log10l.c: Likewise.
45860         * math/w_log2.c: Likewise.
45861         * math/w_log2f.c: Likewise.
45862         * math/w_log2l.c: Likewise.
45863         * math/w_pow.c: Likewise.
45864         * math/w_powf.c: Likewise.
45865         * math/w_powl.c: Likewise.
45866         * math/w_remainder.c: Likewise.
45867         * math/w_remainderf.c: Likewise.
45868         * math/w_remainderl.c: Likewise.
45869         * math/w_scalb.c: Likewise.
45870         * math/w_scalbf.c: Likewise.
45871         * math/w_scalbl.c: Likewise.
45872         * math/w_sqrt.c: Likewise.
45873         * math/w_sqrtf.c: Likewise.
45874         * math/w_sqrtl.c: Likewise.
45875         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
45876         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
45877         used.
45878         * math/math_private.h: Declare __kernel_standard_f.
45879         * math/w_cosh.c: Remove cruft and optimize a bit.
45880         * math/w_coshf.c: Likewise.
45881         * math/w_coshl.c: Likewise.
45882         * math/w_exp2.c: Likewise.
45883         * math/w_exp2f.c: Likewise.
45884         * math/w_exp2l.c: Likewise.
45885         * math/w_hypot.c: Likewise.
45886         * math/w_hypotf.c: Likewise.
45887         * math/w_hypotl.c: Likewise.
45888         * math/w_lgamma.c: Likewise.
45889         * math/w_lgamma_r.c: Likewise.
45890         * math/w_lgammaf.c: Likewise.
45891         * math/w_lgammaf_r.c: Likewise.
45892         * math/w_lgammal.c: Likewise.
45893         * math/w_lgammal_r.c: Likewise.
45894         * math/w_sinh.c: Likewise.
45895         * math/w_sinhf.c: Likewise.
45896         * math/w_sinhl.c: Likewise.
45897         * math/w_tgamma.c: Likewise.
45898         * math/w_tgammaf.c: Likewise.
45899         * math/w_tgammal.c: Likewise.
45900         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45901         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45902         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
45903         Minor optimizations.  Pretty printing.  Remove cruft.
45904         * sysdeps/i386/fpu/e_acosf.S: Likewise.
45905         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45906         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45907         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45908         * sysdeps/i386/fpu/e_acosl.c: Likewise.
45909         * sysdeps/i386/fpu/e_asin.S: Likewise.
45910         * sysdeps/i386/fpu/e_asinf.S: Likewise.
45911         * sysdeps/i386/fpu/e_atan2.S: Likewise.
45912         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
45913         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
45914         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45915         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45916         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45917         * sysdeps/i386/fpu/e_exp10.S: Likewise.
45918         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
45919         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
45920         * sysdeps/i386/fpu/e_exp2.S: Likewise.
45921         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
45922         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
45923         * sysdeps/i386/fpu/e_fmod.S: Likewise.
45924         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
45925         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
45926         * sysdeps/i386/fpu/e_hypot.S: Likewise.
45927         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
45928         * sysdeps/i386/fpu/e_log.S: Likewise.
45929         * sysdeps/i386/fpu/e_log10.S: Likewise.
45930         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45931         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45932         * sysdeps/i386/fpu/e_log2.S: Likewise.
45933         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45934         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45935         * sysdeps/i386/fpu/e_logf.S: Likewise.
45936         * sysdeps/i386/fpu/e_logl.S: Likewise.
45937         * sysdeps/i386/fpu/e_pow.S: Likewise.
45938         * sysdeps/i386/fpu/e_powf.S: Likewise.
45939         * sysdeps/i386/fpu/e_powl.S: Likewise.
45940         * sysdeps/i386/fpu/e_remainder.S: Likewise.
45941         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
45942         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
45943         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45944         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45945         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45946         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
45947         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
45948         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
45949         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45950         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45951         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45952         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45953         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45954         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45955         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45956         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45957         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45958         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45959         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45960         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45961         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45962         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45963         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45964         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45965         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45966         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45967         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45968         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45969         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45970         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45971         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45972         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45973         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45974         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45975         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
45976         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45977         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
45978         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45979         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45980         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45981         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45982         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45983         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45984         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45985         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45986         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45987         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45988         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45989         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45990         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45991         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45992         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45993         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45994         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45995         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45996         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45997         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45998         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
45999         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46000         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46001         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46002         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46003         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46004         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46005         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46006         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46007         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46008         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46009         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46010         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46011         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46012         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46013         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46014         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46015         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46016         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46017         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46018         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46019         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46020         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46021         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46022         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46023         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46025         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46026         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46027         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46028         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46029         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46030         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46031         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46032         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46033         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46034         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46035         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46036         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46037         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46038         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46039         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46040         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46041         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46042         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46043         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46044         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46045         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46046         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46047         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46048         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46049         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46050         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46051         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46052         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46053         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46054         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46055         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46056         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46057         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46058         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46059         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
46060         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46061         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46062         (__isnanf): Likewise.
46063         (__isinf_ns): Likewise.
46064         (__isinf_nsf): Likewise.
46065         (__finite): Likewise.
46066         (__finitef): Likewise.
46067         (__ieee754_sqrt): Define as macro.
46068         (__ieee754_sqrtf): Define as macro.
46069         (__ieee754_sqrtl): Define as macro.
46070         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46071         inlined copy.
46072         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46073         __FINITE_MATH_ONLY__ consistent.
46074         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46076 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
46078         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46079         of rawmemchr.
46081         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46083 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
46085         * po/ja.po: Update from translation team.
46087 2011-10-08  Roland McGrath  <roland@hack.frob.com>
46089         * locale/programs/locarchive.c (prepare_address_space): New function.
46090         (create_archive, enlarge_archive, open_archive): Use it.
46092         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46093         inside [SHARED], where it is used.
46095         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46097         * nss/getent.c (netgroup_keys): Remove unused variable.
46098         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46100 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
46102         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46103         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46104         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46105         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46106         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46107         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46108         * math/Makefile (libm-calls): Add s_isinf_ns.
46109         * math/divtc3.c: Use __isinf_nsl instead of isinf.
46110         * math/multc3.c: Likewise.
46111         * math/s_casin.c: Likewise.
46112         * math/s_casinf.c: Likewise.
46113         * math/s_casinl.c: Likewise.
46114         * math/s_ccos.c: Likewise.
46115         * math/s_ccosf.c: Likewise.
46116         * math/s_ccosl.c: Likewise.
46117         * math/s_ctan.c: Likewise.
46118         * math/s_ctanf.c: Likewise.
46119         * math/s_ctanh.c: Likewise.
46120         * math/s_ctanhf.c: Likewise.
46121         * math/s_ctanhl.c: Likewise.
46122         * math/s_ctanl.c: Likewise.
46123         * math/w_fmod.c: Likewise.
46124         * math/w_fmodf.c: Likewise.
46125         * math/w_fmodl.c: Likewise.
46126         * math/w_remainder.c: Likewise.
46127         * math/w_remainderf.c: Likewise.
46128         * math/w_remainderl.c: Likewise.
46129         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46130         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46131         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46132         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46133         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46134         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46135         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46136         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46138         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46139         of the number.
46140         * stdio-common/printf_fphex.c: Likewise.
46141         * stdio-common/printf_size.c: Likewise.
46143         * math/e_exp10.c: Include math_private.h using <...> not "...".
46144         * math/e_exp10f.c: Likewise.
46145         * math/e_exp10l.c: Likewise.
46146         * math/e_exp2l.c: Likewise.
46147         * math/e_j0l.c: Likewise.
46148         * math/e_j1l.c: Likewise.
46149         * math/e_jnl.c: Likewise.
46150         * math/e_lgammal_r.c: Likewise.
46151         * math/e_rem_pio2l.c: Likewise.
46152         * math/e_scalb.c: Likewise.
46153         * math/e_scalbf.c: Likewise.
46154         * math/e_scalbl.c: Likewise.
46155         * math/k_cosl.c: Likewise.
46156         * math/k_sinl.c: Likewise.
46157         * math/k_tanl.c: Likewise.
46158         * math/s_cacoshf.c: Likewise.
46159         * math/s_catan.c: Likewise.
46160         * math/s_catanf.c: Likewise.
46161         * math/s_catanh.c: Likewise.
46162         * math/s_catanhf.c: Likewise.
46163         * math/s_catanhl.c: Likewise.
46164         * math/s_catanl.c: Likewise.
46165         * math/s_ccosh.c: Likewise.
46166         * math/s_ccoshf.c: Likewise.
46167         * math/s_ccoshl.c: Likewise.
46168         * math/s_cexp.c: Likewise.
46169         * math/s_cexpf.c: Likewise.
46170         * math/s_cexpl.c: Likewise.
46171         * math/s_clog.c: Likewise.
46172         * math/s_clog10.c: Likewise.
46173         * math/s_clog10f.c: Likewise.
46174         * math/s_clog10l.c: Likewise.
46175         * math/s_clogf.c: Likewise.
46176         * math/s_clogl.c: Likewise.
46177         * math/s_csin.c: Likewise.
46178         * math/s_csinf.c: Likewise.
46179         * math/s_csinh.c: Likewise.
46180         * math/s_csinhf.c: Likewise.
46181         * math/s_csinhl.c: Likewise.
46182         * math/s_csinl.c: Likewise.
46183         * math/s_csqrt.c: Likewise.
46184         * math/s_csqrtf.c: Likewise.
46185         * math/s_csqrtl.c: Likewise.
46186         * math/s_ctan.c: Likewise.
46187         * math/s_ctanf.c: Likewise.
46188         * math/s_ctanh.c: Likewise.
46189         * math/s_ctanhf.c: Likewise.
46190         * math/s_ctanhl.c: Likewise.
46191         * math/s_ctanl.c: Likewise.
46192         * math/s_ldexp.c: Likewise.
46193         * math/s_ldexpf.c: Likewise.
46194         * math/s_ldexpl.c: Likewise.
46195         * math/s_significand.c: Likewise.
46196         * math/s_significandf.c: Likewise.
46197         * math/s_significandl.c: Likewise.
46198         * math/w_acos.c: Likewise.
46199         * math/w_acosf.c: Likewise.
46200         * math/w_acosh.c: Likewise.
46201         * math/w_acoshf.c: Likewise.
46202         * math/w_acoshl.c: Likewise.
46203         * math/w_acosl.c: Likewise.
46204         * math/w_asin.c: Likewise.
46205         * math/w_asinf.c: Likewise.
46206         * math/w_asinl.c: Likewise.
46207         * math/w_atan2.c: Likewise.
46208         * math/w_atan2f.c: Likewise.
46209         * math/w_atan2l.c: Likewise.
46210         * math/w_atanh.c: Likewise.
46211         * math/w_atanhf.c: Likewise.
46212         * math/w_atanhl.c: Likewise.
46213         * math/w_cosh.c: Likewise.
46214         * math/w_coshf.c: Likewise.
46215         * math/w_coshl.c: Likewise.
46216         * math/w_dremf.c: Likewise.
46217         * math/w_exp10.c: Likewise.
46218         * math/w_exp10f.c: Likewise.
46219         * math/w_exp10l.c: Likewise.
46220         * math/w_exp2.c: Likewise.
46221         * math/w_exp2f.c: Likewise.
46222         * math/w_fmod.c: Likewise.
46223         * math/w_fmodf.c: Likewise.
46224         * math/w_fmodl.c: Likewise.
46225         * math/w_hypot.c: Likewise.
46226         * math/w_hypotf.c: Likewise.
46227         * math/w_hypotl.c: Likewise.
46228         * math/w_j0.c: Likewise.
46229         * math/w_j0f.c: Likewise.
46230         * math/w_j0l.c: Likewise.
46231         * math/w_j1.c: Likewise.
46232         * math/w_j1f.c: Likewise.
46233         * math/w_j1l.c: Likewise.
46234         * math/w_jn.c: Likewise.
46235         * math/w_jnf.c: Likewise.
46236         * math/w_jnl.c: Likewise.
46237         * math/w_lgamma.c: Likewise.
46238         * math/w_lgamma_r.c: Likewise.
46239         * math/w_lgammaf.c: Likewise.
46240         * math/w_lgammaf_r.c: Likewise.
46241         * math/w_lgammal.c: Likewise.
46242         * math/w_lgammal_r.c: Likewise.
46243         * math/w_log.c: Likewise.
46244         * math/w_log10.c: Likewise.
46245         * math/w_log10f.c: Likewise.
46246         * math/w_log10l.c: Likewise.
46247         * math/w_log2.c: Likewise.
46248         * math/w_log2f.c: Likewise.
46249         * math/w_log2l.c: Likewise.
46250         * math/w_logf.c: Likewise.
46251         * math/w_logl.c: Likewise.
46252         * math/w_pow.c: Likewise.
46253         * math/w_powf.c: Likewise.
46254         * math/w_powl.c: Likewise.
46255         * math/w_remainder.c: Likewise.
46256         * math/w_remainderf.c: Likewise.
46257         * math/w_remainderl.c: Likewise.
46258         * math/w_scalb.c: Likewise.
46259         * math/w_scalbf.c: Likewise.
46260         * math/w_scalbl.c: Likewise.
46261         * math/w_sinh.c: Likewise.
46262         * math/w_sinhf.c: Likewise.
46263         * math/w_sinhl.c: Likewise.
46264         * math/w_sqrt.c: Likewise.
46265         * math/w_sqrtf.c: Likewise.
46266         * math/w_sqrtl.c: Likewise.
46267         * math/w_tgamma.c: Likewise.
46268         * math/w_tgammaf.c: Likewise.
46269         * math/w_tgammal.c: Likewise.
46271         * po/ja.po: Update from translation team.
46273 2011-09-29  Andreas Jaeger  <aj@suse.de>
46275         [BZ #13179]
46276         * sunrpc/netname.c (netname2host): Fix logic.
46278         [BZ #6779]
46279         [BZ #6783]
46280         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
46281         correctly.
46282         * math/w_remainder.c (__remainder): Likewise.
46283         * math/w_remainderf.c (__remainderf): Likewise.
46284         * math/libm-test.inc (remainder_test): Add test cases.
46286 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46288         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
46289         sdiv_qrnnd.
46291 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46293         * string/test-memcmp.c: Avoid unncessary #defines.
46294         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46296 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46298         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
46299         Use new sse2 version for core i3 - i7 as it's faster
46300         than sse42 version.
46301         (bit_Prefer_PMINUB_for_stringop): New.
46302         * sysdeps/x86_64/rawmemchr.S: Update.
46303         Replace with faster SSE2 version.
46304         * sysdeps/x86_64/memrchr.S: New file.
46305         * sysdeps/x86_64/memchr.S: Update.
46306         Replace with faster SSE2 version.
46308 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
46310         * elf/dl-load.c (lose): Add cast to avoid warning.
46312 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
46314         * po/ca.po: Update from translation team.
46316         * inet/getnetgrent_r.c: Hook up nscd.
46317         * nscd/Makefile (routines): Add nscd_netgroup.
46318         (nscd-modules): Add netgroupcache.
46319         (CFLAGS-netgroupcache.c): Define.
46320         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
46321         (cache_search): Add const to second parameter.
46322         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
46323         INNETGR.
46324         (dbs): Add netgrdb entry.
46325         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
46326         (verify_persistent_db): Handle netgrdb.
46327         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
46328         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
46329         GETFDNETGR.
46330         (netgroup_response_header): Define.
46331         (innetgroup_response_header): Define.
46332         (datahead): Add netgroup_response_header and innetgroup_response_header
46333         elements.
46334         * nscd/nscd.conf: Add entries for netgroup cache.
46335         * nscd/nscd.h (dbtype): Add netgrdb.
46336         (_PATH_NSCD_NETGROUP_DB): Define.
46337         (netgroup_iov_disabled): Declare.
46338         (xmalloc, xcalloc, xrealloc): Move declarations here.
46339         (cache_search): Adjust prototype.
46340         Add netgroup-related prototypes.
46341         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
46342         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
46343         (__nscd_innetgr): Declare.
46344         * nscd/selinux.c (perms): Use access_vector_t as element type and
46345         add netgroup-related initializers.
46346         * nscd/netgroupcache.c: New file.
46347         * nscd/nscd_netgroup.c: New file.
46348         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
46349         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
46350         For four parameters use innetgr.
46351         * nss/nss_files/files-init.c: Add definition and callback for netgr.
46352         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
46353         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
46354         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
46356         * nscd/connections.c (register_traced_file): Don't register file
46357         for disabled databases.
46359 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
46361         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
46363         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
46364         from tree and freeing node.
46366 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
46368         * nss/nsswitch.c (__nss_database_lookup): Handle
46369         nss_parse_service_list out of memory case.
46371 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
46373         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
46374         out of memory case.
46376 2011-10-04  Andreas Schwab  <schwab@redhat.com>
46378         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
46379         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
46380         pass it down.
46381         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
46382         elf_machine_rela, elf_machine_lazy_rel.
46383         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
46384         (ELF_DYNAMIC_DO_REL): Likewise.
46385         (ELF_DYNAMIC_DO_RELA): Likewise.
46386         (ELF_DYNAMIC_RELOCATE): Likewise.
46387         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
46388         to ELF_DYNAMIC_DO_REL.
46389         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
46390         (dl_main): In trace mode always set __RTLD_NOIFUNC.
46391         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
46392         elf_machine_rela.
46393         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
46394         skip_ifunc, don't call ifunc function if non-zero.
46395         (elf_machine_rela): Likewise.
46396         (elf_machine_lazy_rel): Likewise.
46397         (elf_machine_lazy_rela): Likewise.
46398         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
46399         (elf_machine_lazy_rel): Likewise.
46400         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
46401         Likewise.
46402         (elf_machine_lazy_rel): Likewise.
46403         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46404         Likewise.
46405         (elf_machine_lazy_rel): Likewise.
46406         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
46407         (elf_machine_lazy_rel): Likewise.
46408         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
46409         (elf_machine_lazy_rel): Likewise.
46410         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46411         (elf_machine_lazy_rel): Likewise.
46412         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
46413         (elf_machine_lazy_rel): Likewise.
46414         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
46415         (elf_machine_lazy_rel): Likewise.
46416         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
46417         (elf_machine_lazy_rel): Likewise.
46419 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
46421         * nss/nss_files/files-init.c (_nss_files_init): Use static
46422         initialization for all the *_traced_file variables.
46424 2011-09-28  Andreas Schwab  <schwab@redhat.com>
46426         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46428 2011-09-27  Roland McGrath  <roland@hack.frob.com>
46430         [BZ #13226]
46431         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
46433 2011-09-27  Andreas Schwab  <schwab@redhat.com>
46435         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46436         Reread the line before reparsing it.
46438 2011-09-26  Andreas Schwab  <schwab@redhat.com>
46440         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
46442 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
46443             Maxim Kuvyrkov  <maxim@codesourcery.com>
46444             Joseph Myers  <joseph@codesourcery.com>
46446         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
46447         if needed for __stack_chk_guard.
46449 2011-09-19  Roland McGrath  <roland@hack.frob.com>
46451         * sysdeps/posix/spawni.c (script_execute): Always define it.
46452         It will be optimized away if unused.
46453         (maybe_script_execute): New function.
46454         (__spawni): Call it.
46456         * Makerules: Don't include tls.make.
46457         (config-tls): Always set to thread.
46458         * tls.make.c: File removed.
46460 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
46462         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
46463         * config.make.in (CPPFLAGS-config): New substituted variable.
46465 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46467         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
46469         [BZ #13192]
46470         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
46471         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
46473 2011-09-15  Roland McGrath  <roland@hack.frob.com>
46475         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
46476         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
46477         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46478         (CALL_FAIL): Likewise.
46479         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
46480         (CALL_FAIL): Macro removed.
46481         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
46483 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
46485         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
46486         for __FINITE_MATH_ONLY__ == 1.
46488 2011-09-15  Andreas Schwab  <schwab@redhat.com>
46490         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
46491         __ieee754_sqrt instead of sqrt.
46492         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
46493         __ieee754_sqrtf instead of sqrtf.
46494         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
46495         __floorf instead of floorf.
46496         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
46497         __floorf, __truncf instead of floorf, truncf.
46499 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
46501         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
46503         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
46504         __extern_always_inline.
46505         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
46506         32-bit.
46508 2011-09-14  Andreas Schwab  <schwab@redhat.com>
46510         * elf/rtld.c (dl_main): Also relocate in dependency order when
46511         doing symbol dependency testing.
46513 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
46515         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46516         Always define `refsym'.
46518 2011-09-13  Andreas Schwab  <schwab@redhat.com>
46520         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
46521         (__FD_ELT): Renamed from __FDELT.
46522         * misc/bits/select2.h (__FD_ELT): Likewise.
46523         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
46524         __FD_MASK instead of __FDELT, __FDMASK.
46525         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46526         Likewise.
46527         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
46528         Likewise.
46530         * elf/Makefile (gen-ldd): Fix pattern.
46532         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
46533         (init_tls): Likewise.
46535 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
46537         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
46539 2011-09-12  Andreas Schwab  <schwab@redhat.com>
46541         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
46542         `struct cmsghdr *' instead of `void *'.
46543         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
46544         Likewise.
46546 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
46548         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
46549         if non-absolute.
46550         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
46551         ldd_rewrite_script.
46553 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
46555         * configure.in: Remove --with-tls option.
46556         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
46557         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
46558         out in case it is missing.
46559         * sysdeps/ia64/elf/configure.in: Likewise.
46560         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
46561         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
46562         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
46563         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
46564         * sysdeps/sh/elf/configure.in: Likewise.
46565         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
46566         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46567         * sysdeps/x86_64/elf/configure.in: Likewise.
46568         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
46569         * sysdeps/mach/hurd/tls.h: Likewise.
46571         [BZ #13067]
46572         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
46574         [BZ #13090]
46575         * configure.in: Fix use of AC_INIT.
46577         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
46579 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
46581         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
46582         __set_errno.
46583         * malloc/hooks.c: Likewise.
46585         [BZ #11929]
46586         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
46587         variables statically.
46588         (narenas): Initialize.
46589         (list_lock): Initialize.
46590         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
46591         initializtion of main_arena and list_lock.  Small cleanups.
46592         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
46593         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
46594         Add initializers to main_arena and mp_.
46595         (malloc_state): Remove pagesize member.  Change all users to use
46596         GLRO(dl_pagesize).
46598         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
46599         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
46600         is always initialized.
46602         * malloc/malloc.c: Removed unused configurations and dead code.
46603         * malloc/arena.c: Likewise.
46604         * malloc/hooks.c: Likewise.
46605         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
46607         * include/tls.h: Removed.  USE___THREAD must always be defined.
46608         * bits/libc-tsd.h: Don't handle !USE___THREAD.
46609         * elf/dl-libc.c: Likewise.
46610         * elf/dl-tsd.c: Likewise.
46611         * include/errno.h: Likewise.
46612         * include/netdb.h: Likewise.
46613         * include/resolv.h: Likewise.
46614         * inet/herrno-loc.c: Likewise.
46615         * inet/herrno.c: Likewise.
46616         * malloc/arena.c: Likewise.
46617         * malloc/hooks.c: Likewise.
46618         * malloc/malloc.c: Likewise.
46619         * resolv/res-state.c: Likewise.
46620         * resolv/res_libc.c: Likewise.
46621         * sysdeps/i386/dl-machine.h: Likewise.
46622         * sysdeps/ia64/dl-machine.h: Likewise.
46623         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46624         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46625         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46626         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
46627         * sysdeps/sh/dl-machine.h: Likewise.
46628         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46629         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46630         * sysdeps/unix/i386/sysdep.S: Likewise.
46631         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46632         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
46633         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
46634         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
46636         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46637         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46638         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46639         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46641         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46642         * sysdeps/x86_64/dl-machine.h: Likewise.
46643         * tls.make.c: Likewise.
46645         * configure.in: Remove --with-__thread option.  Make tests for
46646         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
46647         tls_model attribute fail if no support is available.  Remove
46648         USE_IN_LIBIO.
46649         * Makeconfig: Adjust for dropped configure option.  All features are
46650         now mandatory.
46651         * Makerules: Likewise.
46652         * Versions.def: Likewise.
46653         * argp/argp-fmtstream.c: Likewise.
46654         * argp/argp-fmtstream.h: Likewise.
46655         * argp/argp-help.c: Likewise.
46656         * assert/assert.c: Likewise.
46657         * config.h.in: Likewise.
46658         * config.make.in: Likewise.
46659         * configure: Likewise.
46660         * configure.in: Likewise.
46661         * csu/Versions: Likewise.
46662         * csu/init.c: Likewise.
46663         * elf/tst-audit2.c: Likewise.
46664         * elf/tst-tls10.c: Likewise.
46665         * elf/tst-tls10.h: Likewise.
46666         * elf/tst-tls11.c: Likewise.
46667         * elf/tst-tls12.c: Likewise.
46668         * elf/tst-tls14.c: Likewise.
46669         * elf/tst-tlsmod11.c: Likewise.
46670         * elf/tst-tlsmod12.c: Likewise.
46671         * elf/tst-tlsmod13.c: Likewise.
46672         * elf/tst-tlsmod13a.c: Likewise.
46673         * elf/tst-tlsmod14a.c: Likewise.
46674         * elf/tst-tlsmod15b.c: Likewise.
46675         * elf/tst-tlsmod16a.c: Likewise.
46676         * elf/tst-tlsmod16b.c: Likewise.
46677         * elf/tst-tlsmod7.c: Likewise.
46678         * elf/tst-tlsmod8.c: Likewise.
46679         * elf/tst-tlsmod9.c: Likewise.
46680         * gmon/gmon.c: Likewise.
46681         * grp/fgetgrent_r.c: Likewise.
46682         * grp/putgrent.c: Likewise.
46683         * hurd/fopenport.c: Likewise.
46684         * include/libc-symbols.h: Likewise.
46685         * include/tls.h: Likewise.
46686         * intl/gettextP.h: Likewise.
46687         * intl/loadinfo.h: Likewise.
46688         * locale/global-locale.c: Likewise.
46689         * locale/localeinfo.h: Likewise.
46690         * mach/devstream.c: Likewise.
46691         * malloc/arena.c: Likewise.
46692         * malloc/set-freeres.c: Likewise.
46693         * misc/err.c: Likewise.
46694         * misc/getttyent.c: Likewise.
46695         * misc/mntent_r.c: Likewise.
46696         * posix/getopt.c: Likewise.
46697         * posix/wordexp.c: Likewise.
46698         * pwd/fgetpwent_r.c: Likewise.
46699         * resolv/Versions: Likewise.
46700         * resolv/res_hconf.c: Likewise.
46701         * shadow/fgetspent_r.c: Likewise.
46702         * shadow/putspent.c: Likewise.
46703         * stdio-common/printf_fphex.c: Likewise.
46704         * stdio-common/tmpfile.c: Likewise.
46705         * stdlib/abort.c: Likewise.
46706         * stdlib/fmtmsg.c: Likewise.
46707         * sunrpc/auth_unix.c: Likewise.
46708         * sunrpc/clnt_perr.c: Likewise.
46709         * sunrpc/clnt_tcp.c: Likewise.
46710         * sunrpc/clnt_udp.c: Likewise.
46711         * sunrpc/clnt_unix.c: Likewise.
46712         * sunrpc/openchild.c: Likewise.
46713         * sunrpc/svc_simple.c: Likewise.
46714         * sunrpc/svc_tcp.c: Likewise.
46715         * sunrpc/svc_udp.c: Likewise.
46716         * sunrpc/svc_unix.c: Likewise.
46717         * sunrpc/xdr.c: Likewise.
46718         * sunrpc/xdr_array.c: Likewise.
46719         * sunrpc/xdr_rec.c: Likewise.
46720         * sunrpc/xdr_ref.c: Likewise.
46721         * sunrpc/xdr_stdio.c: Likewise.
46723 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46725         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46727 2011-07-03  Andreas Jaeger  <aj@suse.de>
46729         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
46730         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
46731         regenerate with gen-libm-tests.pl.
46733 2010-05-12  Petr Baudis  <pasky@suse.cz>
46735         [BZ #11589]
46736         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
46737         around j0() zero points by switching to j1().
46738         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46739         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46740         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46741         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46743 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46745         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
46746         instead of 0.
46747         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
46748         instead of 0.
46749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46750         Patch in part by Pavel Roskin <proski@gnu.org>.
46752         [BZ #13138]
46753         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
46754         realloc.
46755         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
46756         Free memory block if necessary.
46758         [BZ #12847]
46759         * libio/genops.c (INTDEF): For string streams the _lock pointer can
46760         be NULL.  Don't lock in this case.
46762 2011-09-09  Roland McGrath  <roland@hack.frob.com>
46764         * elf/elf.h (ELFOSABI_GNU): New macro.
46765         (ELFOSABI_LINUX): Define to that.
46767 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
46769         * string/strncat.c (strncat): Undef the symbol in case it has been
46770         defined in bits/string.h.
46772 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
46774         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
46776         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
46777         link map.
46779 2011-08-17  Andreas Jaeger  <aj@suse.de>
46781         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
46783 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46784             Ian Lance Taylor  <iant@google.com>
46786         * math/libm-test.inc (lround_test): New testcase.
46787         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
46789 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
46791         * Makefile: Remove support for automatic cvs check-ins.
46792         * Makerules: Likewise.
46793         * config.make.in: Likewise.
46794         * configure.in: Likewise.
46795         * intl/Makefile: Likewise.
46796         * locale/Makefile: Likewise.
46797         * po/Makefile: Likewise.
46798         * posix/Makefile: Likewise.
46799         * sysdeps/gnu/Makefile: Likewise.
46800         * sysdeps/mach/hurd/Makefile: Likewise.
46801         * sysdeps/sparc/sparc32/Makefile: Likewise.
46803         [BZ #13118]
46804         * posix/Makefile (bug-regex32-ENV): Define.
46805         Patch by John Stanley <jpsinthemix@verizon.net>.
46807         * misc/Makefile (headers): Add bits/select2.h.
46808         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
46809         * misc/bits/select2.h: New file.
46810         * include/bits/select2.h: New file.
46811         * debug/Makefile (routines): Add fdelt_chk.
46812         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
46813         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
46814         FD_ISSET.
46815         * debug/fdelt_chk.c: New file.
46817         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
46818         * wcsmbs/test-wmemcmp.c: Likewise.
46819         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
46820         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
46822 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46824         * string/Makefile (strop-tests): Add memcmp.
46825         * string/test-wmemcmp.c: New file.
46826         * string/test-memcmp.c: Add wmemcmp support.
46828 2011-09-08  Roland McGrath  <roland@hack.frob.com>
46830         [BZ #13153]
46831         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
46832         2011-07-19 change.
46834         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
46835         garbage value in a __mach_port_mod_refs call in the cases of the
46836         task-self and thread-self ports.
46838 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46840         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
46842 2011-09-08  Andreas Schwab  <schwab@redhat.com>
46844         * elf/dl-load.c (lose): Check for non-null L.
46846 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46848         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
46850         * elf/dl-libc.c (dlerror_run): Pass back error code from
46851         dl_catch_error.
46853         [BZ #13123]
46854         * elf/dl-load.c (lose): Free l_origin if it is valid.
46856         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
46857         names.
46858         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
46859         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46860         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46861         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46862         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
46863         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
46865 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46867         * sysdeps/powerpc/fpu/e_hypot.c: New file.
46868         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
46869         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
46870         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
46871         * sysdeps/powerpc/fpu/k_cosf.c: New file.
46872         * sysdeps/powerpc/fpu/k_sinf.c: New file.
46873         * sysdeps/powerpc/fpu/s_cosf.c: New file.
46874         * sysdeps/powerpc/fpu/s_sinf.c: New file.
46875         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
46876         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
46878 2011-08-15  Alan Modra  <amodra@gmail.com>
46880         [BZ #13092]
46881         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
46882         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
46883         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
46884         ppc_mcount to static-only-routines.
46885         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
46886         __mcount_internal.
46887         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
46888         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
46890 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
46892         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
46893         for finite and infinity parameters.
46895 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46897         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
46898         and add nop instructions for throughput optimization.
46899         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46901 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
46903         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
46904         aligned copy for power7 with vector-scalar instructions.
46905         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46907 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
46909         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
46910         AVX check.
46912 2011-09-07  Andreas Schwab  <schwab@redhat.com>
46914         [BZ #13144]
46915         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
46916         last change.
46918 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
46920         * sysdeps/unix/sysv/linux/x86_64/init-first.c
46921         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
46922         syscall wrapper around clock_gettime in __vdso_clock_gettime.
46923         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
46924         clock_gettime.
46926 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46928         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
46929         Forgot to demangle the pointer.
46931         * sysdeps/i386/sysdep.h: Define atom_text_section.
46932         * sysdeps/x86_64/sysdep.h: Likewise.
46933         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
46934         section with atom_text_section.
46935         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
46936         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
46937         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
46938         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46939         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
46941         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
46942         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
46943         already be defined.  Change to take two parameters and don't assign
46944         result to variable.  Adjust all users.
46945         Define INTERNAL_GETTIME if not already defined.
46946         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
46947         call.
46948         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
46949         HAVE_CLOCK_GETTIME_VSYSCALL.
46950         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
46952         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
46953         gettimeofday vsyscall, just use time.
46955 2011-09-06  Andreas Schwab  <schwab@redhat.com>
46957         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
46958         <errno.h>.
46960 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
46962         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
46963         syscall on x86-64.
46964         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
46965         syscall.
46966         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
46967         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
46968         syscall if possible.
46970 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46972         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
46973         e_ident.  Don't pass to find_mapsXX.
46974         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
46976 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46979         strchr-sse2-no-bsf strrchr-sse2-no-bsf
46980         * sysdeps/x86_64/multiarch/strchr.S: Update.
46981         Check bit_slow_BSF bit.
46982         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46983         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
46984         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
46986 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
46988         [BZ #13134]
46989         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
46990         before glibc 2.15.
46991         (tryshell): Define.
46992         (__spawni): Change last parameter to be flag.  Test
46993         SPAWN_XFLAGS_USE_PATH flag to use path or not.
46994         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
46995         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
46996         * posix/spawni.c: Likewise.
46997         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
46998         * posix/spawnp.c: Likewise.  Change normal version to use
46999         SPAWN_XFLAGS_USE_PATH.
47000         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47001         SPAWN_XFLAGS_TRY_SHELL.
47003         [BZ #13150]
47004         * posix/glob.h: Remove gcc 1.x support.
47006         [BZ #13068]
47007         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47009 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47012         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47013         strrchr-sse2-bsf
47014         * sysdeps/i386/i686/multiarch/strchr.S: New file.
47015         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47016         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47017         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47018         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47019         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47021 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47023         * sysdeps/x86_64/wcscmp.S: New file.
47025         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47026         wcscmp-c wcscmp-sse2
47027         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47028         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47029         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47030         * wcsmbs/wcscmp.c: Allow renaming.
47032 2011-09-05  David S. Miller  <davem@davemloft.net>
47034         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47035         stack slot, rather than the struct return pointer slot.
47036         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47037         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47039         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47041 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
47043         * po/ja.po: Update from translation team.
47045         [BZ #13144]
47046         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47047         kernel in 64-bit binaries.
47049 2011-09-01  David S. Miller  <davem@davemloft.net>
47051         * elf/elf.h (HWCAP_SPARC_*): Move to..
47052         * sysdeps/sparc/sysdep.h: this new file and add new values.
47053         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47054         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47055         _DL_HWCAP_COUNT to 24.
47056         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47057         entries.
47058         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47059         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47060         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47061         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47062         instead of magic constants.
47063         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47065 2011-08-31  David S. Miller  <davem@davemloft.net>
47067         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47068         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47069         Reimplement to do errno handling inline.
47070         (SYSCALL_ERROR_HANDLER): New macro.
47071         (__SYSCALL_STRING): Do not do errno handling in asm.
47072         (__CLONE_SYSCALL_STRING): Delete.
47073         (__INTERNAL_SYSCALL_STRING): Delete.
47074         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47075         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47076         (PSEUDO): Reimplement to do errno handling inline.
47077         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47078         (SYSCALL_ERROR_HANDLER): New macro.
47079         (__SYSCALL_STRING): Do not do errno handling in asm.
47080         (__CLONE_SYSCALL_STRING): Delete.
47081         (__INTERNAL_SYSCALL_STRING): Delete.
47082         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47083         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47084         i386.
47085         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47086         (inline_syscall*): Add 'err' argument.
47087         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47088         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47089         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47090         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47092         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47093         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47095 2011-08-30  Andreas Schwab  <schwab@redhat.com>
47097         * elf/rtld.c (dl_main): Relocate objects in dependency order.
47099 2011-08-29  Jiri Olsa <jolsa@redhat.com>
47101         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47102         directive.
47104 2011-08-24  David S. Miller  <davem@davemloft.net>
47106         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47108 2011-08-24  Andreas Schwab  <schwab@redhat.com>
47110         * elf/Makefile: Add rules to build and run unload8 test.
47111         * elf/unload8.c: New file.
47112         * elf/unload8mod1.c: New file.
47113         * elf/unload8mod1x.c: New file.
47114         * elf/unload8mod2.c: New file.
47115         * elf/unload8mod3.c: New file.
47117         * elf/dl-close.c (_dl_close_worker): Reset private search list if
47118         it wasn't used.
47120 2011-08-23  David S. Miller  <davem@davemloft.net>
47122         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47123         subtract stack bias.
47124         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47125         %sp not %fp in calculations.
47126         (_JMPBUF_UNWINDS_ADJ): Likewise.
47128         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47129         (aio_suspend): Call it to force an exception region around the
47130         AIO_MISC_WAIT() invocation.
47132 2011-08-23  Andreas Schwab  <schwab@redhat.com>
47134         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47135         backslash.
47137 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
47139         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47140         protection macro.
47141         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47142         and <dl-machine.h>.
47143         (Elf64_FuncDesc): Remove.
47145 2011-08-22  David S. Miller  <davem@davemloft.net>
47147         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47148         sigaltstack check, add missing cfi directives.
47149         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47150         missing cfi directives, and sigaltstack handling.
47152 2011-08-16  Andreas Schwab  <schwab@redhat.com>
47154         [BZ #11724]
47155         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47156         object is seen twice.
47157         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47159         * elf/Makefile (distribute): Add tst-initorder2.c.
47160         (tests): Add tst-initorder2.
47161         (modules-names): Add tst-initorder2a tst-initorder2b
47162         tst-initorder2c tst-initorder2d.  Add rules to build them.
47163         ($(objpfx)tst-initorder2.out): New rule.
47164         * elf/tst-initorder2.c: New file.
47165         * elf/tst-initorder2.exp: New file.
47167 2011-08-22  Andreas Schwab  <schwab@redhat.com>
47169         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47171         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47172         dependencies back to end of function.
47174         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47175         $(elfobjdir)/ld.so.
47177 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
47179         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47180         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47181         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47182         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47183         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47184         of __vdso_gettimeofday.
47185         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47186         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
47187         attribute_hidden.
47188         (_libc_vdso_platform_setup): Remove initialization of
47189         __vdso_gettimeofday and __vdso_time.
47191 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47193         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47194         and fgetc_unlocked.
47195         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47196         getc_unlocked.
47198         * elf/dl-open.c (add_to_global): Report additions to the global scope
47199         for LD_DEBUG=scopes.
47200         (dl_open_worker): Also print scope of newly loaded dependencies.
47201         (_dl_show_scope): Indicate if there is no scope.
47203         [BZ #13114]
47204         * stdio-common/Makefile (tests): Add bug24.
47205         * stdio-common/bug24.c: New file.
47207 2011-08-19  Andreas Jaeger  <aj@suse.de>
47209         [BZ #13114]
47210         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47211         non-existant file when using close-on-exec mode.
47213 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
47215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47216         the very first instruction.
47218         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47219         the CFI state in the end.
47220         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47221         inclusion of dl-trampoline.h.
47222         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47224 2011-08-19  Andreas Schwab  <schwab@redhat.com>
47226         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
47227         expectations for long double.
47229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
47230         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
47232 2011-08-14  David S. Miller  <davem@davemloft.net>
47234         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
47235         artificual limit depends upon the system page size.
47237 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47239         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
47240         * resolv/Makefile: Define CFLAGS-libresolv.
47242 2011-08-17  Andreas Schwab  <schwab@redhat.com>
47244         * nss/makedb.c (compute_tables): Make variables used in nested
47245         function static.
47247 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
47249         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
47250         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
47251         if buffer was too small.
47253         * elf/pldd.c (main): Attach to all threads in the process.
47254         Rewrite /proc handling to use *at functions.
47256 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
47258         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
47259         specifies first scope to show.
47260         (dl_open_worker): Update callers.  Move printing scope of new
47261         object to before the relocation.
47262         * elf/rtld.c (dl_main): Update _dl_show_scope call.
47263         * sysdeps/generic/ldsodefs.h: Update declaration.
47265         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
47266         string for the scope number.
47268 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
47270         * nscd/servicescache.c (cache_addserv): Make sure written is always
47271         initialized.
47273 2011-08-14  Roland McGrath  <roland@hack.frob.com>
47275         * sysdeps/i386/i486/bits/atomic.h
47276         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
47277         statement expression, so as to suppress "set but not used" warning.
47278         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
47280         * string/strncat.c (STRNCAT): Use prototype definition.
47282         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
47283         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
47284         -Iprograms here.
47285         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
47286         (localedef-modules): Add localedef.
47287         (locale-modules): Add locale.
47289         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
47290         * elf/rtld.c (dl_main): Invert order of assignment in last change,
47291         to avoid a warning.
47293 2011-08-14  David S. Miller  <davem@davemloft.net>
47295         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
47296         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
47298 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
47300         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
47301         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
47302         * elf/rtld.c (dl_main): Set l_name of vDSO.
47303         Call _dl_show_scope when DL_DEBUG_SCOPES.
47304         (process_dl_debug): Recognize scopes flag and also set it for all.
47305         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
47306         Declare _dl_show_scope.
47308         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
47309         (do_dlopen): Pass caller_dlopen to dl_open.
47310         (__libc_dlopen_mode): Initialize caller_dlopen.
47312         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
47313         of libc.  Make tolower call locale-independent.  Optimize a bit by
47314         using isdigit instead of isalnum.
47315         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
47317 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
47319         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
47320         was a dependency or dynamically loaded.
47322 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
47324         * intl/l10nflist.c: Allow architecture-specific pop function.
47325         * sysdeps/x86_64/l10nflist.c: New file.
47327         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
47328         classification.
47330 2011-08-10  Andreas Schwab  <schwab@redhat.com>
47332         * include/dirent.h: Add libc_hidden_proto for scandirat and
47333         scandirat64.  Don't declare __scandirat64.
47334         * dirent/scandirat.c: Add libc_hidden_def.
47335         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
47336         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
47338 2011-08-10  David S. Miller  <davem@davemloft.net>
47340         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
47341         enum.
47342         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47343         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47344         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47346 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
47348         * Versions.def [libc]: Add GLIBC_2.15.
47349         * dirent/Makefile (routines): Add scandirat and scandirat64.
47350         * dirent/Versions [libc]: Export scandirat and scandirat64 for
47351         GLIBC_2.15.
47352         * dirent/dirent.h: Declare scandirat and scandirat64.
47353         * dirent/scandirat.c: New file.
47354         * dirent/scandirat64.c: New file.
47355         * sysdeps/wordsize-64/scandirat.c: New file.
47356         * sysdeps/wordsize-64/scandirat64.c: New file.
47357         * dirent/opendir.c: Define opendirat.
47358         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
47359         using scandirat.
47360         * dirent/scandir64.c: Adjust for scandir.c change.
47361         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
47362         __scandirat64, and __scandir_cancel_handler.
47363         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
47364         additional parameter and use openat instead of open (outside of ld.so).
47365         Add new __opendir as wrapper around __opendirat.
47366         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
47367         here without requiring old scandirat implementation.
47369 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
47371         * dirent/scandir.c (cancel_handler): Renamed to
47372         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
47373         defined.  Adjust users.
47374         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
47375         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
47377 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
47379         * string/test-string.h (IMPL): Use __STRING to expand name and then
47380         stringify it.
47382         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
47383         of cleanups.
47385 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47387         * string/Makefile: Update.
47388         (strop-tests): Append strncat.
47389         * string/test-wcscmp.c: New file.
47390         New comprehensive test for wcscmp.
47391         * string/test-strcmp.c: Update.
47392         (WIDE): New define.
47394 2011-07-22  Andreas Schwab  <schwab@redhat.com>
47396         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
47397         line.
47399 2011-07-26  Andreas Schwab  <schwab@redhat.com>
47401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47402         encoding to ACE if AI_IDN.
47404 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
47406         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
47407         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
47409 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47411         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
47412         Fix overflow bug in strncat.
47413         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
47415         * string/test-strncat.c: Update.
47416         Add new tests for checking overflow bugs.
47418 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47420         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47421         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
47422         * sysdeps/i386/i686/multiarch/strcat.S: New file.
47423         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
47424         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
47425         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
47426         * sysdeps/i386/i686/multiarch/strncat.S: New file.
47427         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
47428         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
47430         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
47431         (USE_AS_STRCAT): Define.
47432         Add strcat and strncat support.
47433         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47435 2011-07-25  Andreas Schwab  <schwab@redhat.com>
47437         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
47438         __n bigger than INT_MAX+1.
47439         (__strncmp_g): Likewise.
47441 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
47443         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
47444         * libio/stido.h: Likewise.
47446         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
47447         (AF_NFC): Define.
47448         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
47449         (AF_NFC): Define.
47451         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
47452         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47453         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47454         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
47455         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47457         [BZ #13021]
47458         * scripts/test-installation.pl: Don't expect libnss_test1 to be
47459         installed.
47461         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
47462         typo.
47463         (_dl_x86_64_save_sse): Likewise.
47465 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
47467         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
47468         OSXSAVE.
47469         (_dl_x86_64_save_sse): Likewise.
47471         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
47473         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
47475 2011-07-21  Andreas Schwab  <schwab@redhat.com>
47477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
47478         change.
47479         (_dl_x86_64_save_sse): Use correct AVX check.
47481 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47483         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
47484         bug in strncpy/strncat.
47485         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
47487 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
47489         * string/tester.c (test_strcat): Add tests for different alignments
47490         of source and destination.
47491         (test_strncat): Likewise.
47493 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47495         [BZ #12852]
47496         * posix/glob.c (glob): Check passed in values before using them in
47497         expressions to avoid some overflows.
47498         (glob_in_dir): Likewise.
47500         [BZ #13007]
47501         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
47502         check for AVX enablement so that we don't crash with old kernels and
47503         new hardware.
47504         * elf/tst-audit4.c: Add same checks here.
47505         * elf/tst-audit6.c: Likewise.
47507         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
47509 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
47511         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
47513 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
47515         * po/cs.po: Update from translation team.
47516         * po/bg.po: Likewise.
47518 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
47520         * misc/sys/cdefs.h: Add support for const attribute.
47521         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
47522         to gnu_dev_{major,minor,makedev} functions.
47524 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
47526         * intl/dcigettext.c (get_output_charset): Add missing bracket.
47528 2011-07-20  Andreas Schwab  <schwab@redhat.com>
47530         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
47531         strlen results.
47533 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
47536         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
47537         register in order to avoid conflicts with the soft frame pointer
47538         being held in r11 when necessary.
47539         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
47540         (INTERNAL_VSYSCALL_NCS): Likewise.
47542 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
47544         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
47545         * elf/dl-fini.c (_dl_fini): Adjust caller.
47546         * elf/dl-close.c (_dl_close_worker): Likewise.
47547         * sysdeps/generic/ldsodefs.h: Adjust declaration.
47549 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47551         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
47552         "aux_cache->nlibs < 0".
47554         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
47555         in the reload-count case.
47557 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47559         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47560         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
47561         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
47562         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
47563         * sysdeps/x86_64/multiarch/strcat.S: New file.
47564         * sysdeps/x86_64/multiarch/strncat.S: New file.
47565         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
47566         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
47567         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
47568         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
47569         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
47570         (USE_AS_STRCAT): Define.
47571         Add strcat and strncat support.
47572         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47573         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47574         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
47575         * string/strncat.c: Update.
47576         (USE_AS_STRNCAT): Define.
47577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47578         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
47579         and i7.
47580         * sysdeps/x86_64/multiarch/init-arch.h
47581         (bit_Prefer_PMINUB_for_stringop): New.
47582         (index_Prefer_PMINUB_for_stringop): Likewise.
47583         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
47584         bit_Prefer_PMINUB_for_stringop.
47586 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47588         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
47589         buffer64.
47590         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
47591         of casting of buffer.
47592         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
47593         buffer32 and buffer64.
47594         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
47595         writes instead of casting of buffer.
47596         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
47597         buffer32.
47598         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
47599         casting of buffer.
47601 2011-07-19  Andreas Schwab  <schwab@redhat.com>
47603         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
47605 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
47607         * nscd/nscd.c (termination_handler): Don't do anything for a database
47608         if it has not yet been initialized.
47610 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47612         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47614 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
47616         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
47618 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
47620         * po/nl.po: Update from translation team.
47621         * po/sv.po: Likewise.
47623 2011-07-16  Roland McGrath  <roland@hack.frob.com>
47625         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
47626         now disallowed by GCC.
47628         * configure.in (use-default-link): Default to yes if a test -shared
47629         link meets our qualifications.
47630         * configure: Regenerated.
47632         * config.make.in (output-format): New variable.
47633         * configure.in: Check for ld --print-output-format support.
47634         * configure: Regenerated.
47635         * Makerules ($(common-objpfx)format.lds)
47636         [$(output-format) != unknown]: Just use $(output-format),
47637         instead of the linker-script munging.
47639 2011-07-14  Roland McGrath  <roland@hack.frob.com>
47641         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
47642         of $(common-objpfx)shlib.lds.
47643         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
47645         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
47646         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
47648         * configure.in (-z relro check): Adjust test code to add a large
47649         writable data section after it.
47650         * configure: Regenerated.
47652 2011-07-11  Roland McGrath  <roland@hack.frob.com>
47654         * configure.in (-z relro check): Fix test code to make the variable
47655         truly const.
47656         * configure: Regenerated.
47658 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
47660         * nscd/nscd.h (struct traced_file): Define.
47661         (struct database_dyn): Remove inotify_descr, reset_res, and filename
47662         elements.  Add traced_files.
47663         (inotify_fd): Declare.
47664         (register_traced_file): Declare.
47665         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
47666         (inotify_fd): Export.
47667         (resolv_conf_descr): Remove.
47668         (nscd_init): Move inotify descriptor creation to main.
47669         Don't register files for notification here.
47670         (register_traced_file): New function.
47671         (invalidate_cache): Don't use reset_res to determine whether to call
47672         res_init, go through the list of registered files.
47673         (main_loop_poll): The inotify descriptors are now stored in the
47674         structures for the traced files.
47675         (main_loop_epoll): Likewise
47676         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
47677         to __nss_disable_nscd.
47678         * nscd/cache.c (prune_cache): There is no single inotify descriptor
47679         for a database anymore.  Check the records for all the registered
47680         files instead.
47681         * nss/Makefile (libnss_files-routines): Add files-init.
47682         (libnss_db-routines): Add db-init.
47683         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
47684         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
47685         * nss/nss_db/db-init.c: New file.
47686         * nss/nss_files/files-init.c: New file.
47687         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
47688         __nss_lookup_function.
47689         (__nss_lookup_function): Call nss_load_library.
47690         (nss_load_all_libraries): New function.
47691         (__nss_disable_nscd): Take parameter with callback function for files
47692         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
47693         used for the cached services.
47694         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
47695         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
47696         options for features to all the files in nscd.
47698         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
47700 2011-07-10  Roland McGrath  <roland@hack.frob.com>
47702         * csu/elf-init.c (__libc_csu_init): Comment typo.
47704 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
47706         * po/pl.po: Update from translation team.
47707         * po/ja.po: Likewise.
47708         * po/ru.po: Likewise.
47709         * po/ko.po: Likewise.
47710         * po/fr.po: Likewise.
47712 2011-07-09  Roland McGrath  <roland@hack.frob.com>
47714         * configure.in (.ctors/.dtors header and trailer check):
47715         Use an empirical test on a built program.
47716         * configure: Regenerated.
47718         * configure.in (-z relro check): Use an empirical test on a built DSO.
47719         Detect, but do not require, on ia64.
47720         * configure: Regenerated.
47722         * configure.in (READELF): Find it with AC_CHECK_TOOL.
47723         Update tests that use readelf to use $READELF instead.
47724         * configure: Regenerated.
47726 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
47728         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
47729         if the result is not used.
47731 2011-07-05  Andreas Jaeger  <aj@suse.de>
47733         [BZ#9696]
47734         * stdlib/tst-strtod.c: Add testcase.
47736 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
47738         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
47739         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
47740         The latter has a higher limit.  Take additional parameter to pass to
47741         the new function.
47742         (__pathconf): Pass file to __statfs_link_max.
47743         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
47744         __statfs_link_max.
47745         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
47746         __statfs_link_max.
47748         [BZ #12868]
47749         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
47750         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47751         Handle Lustre.
47752         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
47753         (__statfs_filesize_max): Likewise.
47754         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
47756 2011-07-05  Andreas Jaeger  <aj@suse.de>
47758         * resolv/res_comp.c (dn_skipname): Remove unused variable.
47760 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
47762         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
47763         `status' variable.
47764         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
47765         Likewise.
47767 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
47769         * Makefile (strop-tests): Add strncat.
47770         * string/test-strncat.c: New file.
47772 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
47774         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
47776 2011-06-21  Andreas Jaeger  <aj@suse.de>
47778         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
47779         Copy rule from iconvdata/Makefile.
47781 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47783         [BZ #12922]
47784         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
47785         but no long options are defined, just return 'W'.
47787 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
47789         [BZ #9696]
47790         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
47792 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
47794         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
47795         netgroups to read.
47796         (innetgr): Likewise.
47798 2011-07-05  Roland McGrath  <roland@hack.frob.com>
47800         * config.make.in (install_root): Default to $(DESTDIR).
47802 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
47804         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
47806 2011-07-02  Roland McGrath  <roland@hack.frob.com>
47808         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
47810         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
47811         containing directory rather than embedding absolute directory names.
47813         * scripts/check-local-headers.sh: Rewritten using awk.
47814         Match by word, not by line.  Print error messages for matches.
47815         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
47817         * Makerules [shlib-lds-flags empty]:
47818         ($(common-objpfx)libc_pic.opts): New target.
47819         ($(common-objpfx)libc_pic.os.clean): New target.
47820         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
47822         * config.make.in (OBJCOPY): New variable.
47823         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
47824         * configure: Regenerated.
47826         * config.make.in (use-default-link): New variable.
47827         * configure.in (use_default_link): Grok --with-default-link to set it.
47828         * configure: Regenerated.
47829         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
47830         (shlib-lds, shlib-lds-flags): Define to empty.
47832         * Makerules (shlib-lds): New variable.
47833         (shlib-lds-flags): New variable.
47834         (build-shlib, build-moduile, build-module-asneeded): Use it.
47835         ($(common-objpfx)libc.so): Use $(shlib-lds).
47836         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
47837         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
47839         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
47840         DT_FLAGS/DT_FLAGS_1 with zero flags.
47842         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
47843         linker script munging.
47845 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
47847         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
47848         as 128-bit value.
47849         * crypt/sha512.c (sha512_process_block): Perform total addition using
47850         128-bit if possible.
47851         (__sha512_finish_ctx): Likewise.
47852         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
47853         as 64-bit value.
47854         * crypt/sha256.c (SWAP64): Define.
47855         (sha256_process_block): Perform total addition using 64-bit if
47856         possible.
47857         (__sha256_finish_ctx): Likewise.
47859 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
47861         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
47862         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47863         * nscd/hstcache.c (cache_addhst): Likewise.
47864         * nscd/grpcache.c (cache_addgr): Likewise.
47865         * nscd/aicache.c (addhstaiX): Likewise
47866         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
47868 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
47870         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
47871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47872         * nscd/hstcache.c (cache_addhst): Likewise.
47873         * nscd/grpcache.c (cache_addgr): Likewise.
47874         * nscd/aicache.c (addhstaiX): Likewise
47876 2011-07-01  Andreas Schwab  <schwab@redhat.com>
47878         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
47879         domain only when needed.
47881 2011-06-30  Andreas Schwab  <schwab@redhat.com>
47883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
47884         is always restored.
47886 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
47888         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
47889         are re-adding the entry.
47890         * nscd/servicescache.c (cache_addserv): Likewise.
47892 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
47894         * sysdeps/generic/dl-irel.h: fix protection against multiple
47895         inclusions.
47896         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
47898 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
47900         [BZ #12935]
47901         * malloc/memusage.sh: Fix quoting in message.
47902         * debug/xtrace.sh: Likewise.
47904         * configure.in: Remove support for --experimental-malloc option, make
47905         it the default.
47906         * config.make.in: Likewise.
47907         * malloc/Makefile: Likewise.
47909 2011-06-27  Andreas Schwab  <schwab@redhat.com>
47911         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
47912         two-byte characters.
47914 2011-06-27  Roland McGrath  <roland@hack.frob.com>
47916         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
47917         AC_CACHE_CHECK invocation.
47918         * configure: Regenerated.
47920         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
47922 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
47924         [BZ #12350]
47925         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
47926         bit from old_res_options.
47928         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
47930         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
47931         value type for setfct.
47933 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
47935         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
47936         __gettimeofday instead of gettimeofday.
47938 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
47940         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
47942 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
47944         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
47946         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
47947         info.
47949 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47951         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47952         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47953         strcpy-sse2-unaligned strncpy-sse2-unaligned
47954         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
47955         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
47956         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
47957         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
47958         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
47959         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
47960         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
47961         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
47962         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
47963         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
47964         (STRCPY): Support SSE2 and SSSE3 versions.
47966 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
47968         [BZ #12874]
47969         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
47970         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
47971         kernels which artificially limit size of requests.
47973 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
47975         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47976         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
47977         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
47978         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
47979         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
47980         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
47981         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
47982         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
47983         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
47984         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
47985         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
47986         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
47987         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
47988         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
47989         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
47990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47991         Enable unaligned load optimization for Intel Core i3, i5 and i7
47992         processors.
47993         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
47994         Define.
47995         (index_Fast_Unaligned_Load): Define.
47996         (HAS_FAST_UNALIGNED_LOAD): Define.
47998 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
48000         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48002 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48004         [BZ #12907]
48005         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48006         until it is clear that the information is realy needed.
48007         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48009 2011-06-22  Andreas Schwab  <schwab@redhat.com>
48011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48013 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
48015         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48016         /sys/devices/system/cpu/online if it is usable.
48018         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48019         reading the information from the /proc filesystem to once a second.
48021 2011-06-21  Andreas Jaeger  <aj@suse.de>
48023         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48024         NULL after inclusion of kernel headers.
48026 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
48028         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48029         calls to internal_setent.
48031         [BZ #12885]
48032         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48033         addresses using gethostbyname4_r ignore IPv4 addresses.
48035         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48036         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
48038         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48040 2011-06-20  David S. Miller  <davem@davemloft.net>
48042         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48043         inclusions.
48044         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48046         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48047         (elf_irel): Use it.
48048         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48049         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48050         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48051         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48052         * sysdeps/x86_64/dl-irel.h: Likewise.
48054         * elf/dl-runtime.c: Use elf_ifunc_invoke.
48055         * elf/dl-sym.c: Likewise.
48057 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48059         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
48060         need to dereference resplen2.
48062 2011-06-14  Andreas Schwab  <schwab@redhat.com>
48064         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48066 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
48068         * Makeconfig: Define vardbdir and inst_vardbdir.
48069         * nss/Makefile: Add rules to install db-Makefile.
48071         * nss/nss_db/db-XXX.c: Cleanup.
48073         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48074         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48075         GLIBC_PRIVATE.
48076         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48077         * nss/makedb.c: Implement -g option to specify that value strings
48078         are generated and should not be added to table iterated over for
48079         get*ent calls.
48080         * nss/nss_db/db-initgroups.c: New file.
48082         * nss/getent.c: Add support for initgroups lookups through getgrouplist
48083         interface.
48085         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48086         (internal_getgrouplist): Adjust to name change.
48087         Update use_initgroups_entry if this is not the first call.
48088         * nss/databases.def: Add initgroups entry.
48090         * nss/makedb.c (compute_tables): Check result of multiple hash table
48091         sizes to minimize maximum chain length.
48093 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
48095         * Versions.def: Add entry for libnss_db.
48096         * shlib-versions: Likewise.
48097         * nss/Makefile: Add rules to build libnss_db.
48098         * nss/Versions: Add libnss_db information.  Organize libnss_files
48099         entries better.
48100         * nss/db-Makefile: Add gshadow support.  Change rules for the new
48101         makedb progra.  Some minor improvements to generate smaller files.
48102         * nss/nss_db/nss_db.h: Move NSS database header data structures to
48103         here from...
48104         * nss/makedb.c: ...here.
48105         Improve database format to be smaller and require less memory at
48106         runtime.
48107         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
48108         db anymore.
48109         * nss/nss_db/db-netgrp.c: Likewise.
48110         * nss/nss_db/db-open.c: Likewise.
48111         * nss/nss_files/flies-XXX.x: Adjust comments.
48112         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48113         * nss/nss_files/files-grp.c: Likewise.
48114         * nss/nss_files/files-hosts.c: Likewise.
48115         * nss/nss_files/files-network.c: Likewise.
48116         * nss/nss_files/files-proto.c: Likewise.
48117         * nss/nss_files/files-pwd.c: Likewise.
48118         * nss/nss_files/files-rpc.c: Likewise.
48119         * nss/nss_files/files-service.c: Likewise.
48120         * nss/nss_files/files-sgrp.c: Likewise.
48121         * nss/nss_files/files-spwd.c: Likewise.
48122         * nss/nss_db/db-alias.c: Removed.
48123         * nss/nss_db/dummy-db.h: Removed.
48125 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
48127         * nss/makedb.c: Rewritten to not use database library.
48128         * nss/Makefile: Update to build new makedb program.
48130 2011-06-14  Andreas Jaeger  <aj@suse.de>
48132         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48133         memset declaration.
48135 2011-06-10  Andreas Schwab  <schwab@redhat.com>
48137         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48138         tmpbuf.
48140 2011-06-10  Roland McGrath  <roland@hack.frob.com>
48142         * Makerules (shlib.lds): Fail if the linker script comes out empty.
48143         * elf/Makefile ($(objpfx)ld.so): Likewise.
48145         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48146         Don't list ld.so twice in dependencies.
48148         * posix/bug-regex31.c: Include <stdlib.h>.
48150         * nscd/hstcache.c (cache_addhst): Remove unused variable.
48152         * nis/nss_compat/compat-spwd.c
48153         (getspent_next_nss_netgr): Remove unused variable.
48154         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48156         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48157         nonmembers" output to use the right array.
48159         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48161         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48163         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48164         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48165         * catgets/gencat.c (read_input_file): Likewise.
48166         * locale/programs/locarchive.c (enlarge_archive): Likewise.
48168         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48169         variable definition inside #if's controlling its use.
48171         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48173         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48175         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48177         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48178         unreachable code.
48180         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48182         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48183         * configure: Regenerated.
48185         * Makerules: Revert last change.
48186         * elf/Makefile: Likewise.
48188 2011-06-09  Roland McGrath  <roland@hack.frob.com>
48190         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48191         * elf/Makefile ($(objpfx)librtld.os): Likewise.
48192         (reloc-link): Likewise.
48194 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
48196         * elf/Makefile: Add rules to build pldd.
48197         * elf/pldd.c: New file.
48198         * elf/pldd-xx.c: New file.
48200 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
48202         * version.h: Update for 2.15 development version.
48204 2011-06-07  David S. Miller  <davem@davemloft.net>
48206         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48207         ifuncs.
48208         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48209         elf_machine_lazy_rel): Likewise.
48210         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48211         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48212         elf_machine_lazy_rel): Likewise.
48213         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48214         dl_hwcap via passed in argument.
48215         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48216         Likewise.
48218 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48220         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
48222 2011-06-06  Roland McGrath  <roland@hack.frob.com>
48224         [BZ #12849]
48225         * manual/fdl-1.1.texi: New file, verbatim from:
48226         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
48227         * manual/lgpl-2.1.texi: New file, verbatim from:
48228         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
48229         * manual/Makefile (licenses): New variable, list those new file names.
48230         (texis): Use it.
48231         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
48233         * manual/fdl.texi: File removed.
48234         * manual/lesser.texi: File removed.
48235         * manual/libc.texinfo (Copying, Documentation License):
48236         Use new @include file names, put @appendix directive before @include.
48238 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
48240         [BZ #12841]
48241         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
48242         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
48243         (mq_open): Add __NTH.
48245 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
48247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48248         Assume Intel Core i3/i5/i7 processor if AVX is available.
48250 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48252         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48253         typo.
48255 2011-05-31  Andreas Schwab  <schwab@redhat.com>
48257         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
48258         memory.  Use alloca_account.  Fix memory leak when retrying.
48260 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
48262         * version.h (RELEASE): Bump for 2.14 release.
48263         * include/features.h (__GLIBC_MINOR__): Bump to 14.
48265         * config.make.in (RANLIB): Remove entry.
48267 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
48269         * po/Makefile (po-sed-cmd): Add ksh to extensions.
48270         (libc.pot): Work around missing support for .ksh extension in xgettext.
48272         [BZ #12684]
48273         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
48274         if both request failed.
48275         (send_dg): In case of server errors clear resplen or *resplen2.
48277         [BZ #12454]
48278         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
48279         when there are multiple maps.
48280         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
48281         (_dl_fini): Remove test here.
48283         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
48285 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
48287         [BZ #12350]
48288         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
48289         bit from old_res_options.
48290         (gaih_inet): Likewise.
48292         [BZ #11099]
48293         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
48294         as signed.
48296         * resolv/res_init.c (res_setoptions): Make the code more compact.
48298         [BZ #11558]
48299         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
48300         set RES_USEVC.
48302         [BZ #11634]
48303         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
48305         * malloc/malloc.h: Mark malloc hook variables as deprecated.
48307         [BZ #11781]
48308         * malloc/malloc.h: Declare malloc hook variables as volatile.
48310         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
48311         in last patch.
48313         [BZ #11799]
48314         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
48315         raise in the comment.
48316         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48318         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
48320 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
48322         [BZ #12811]
48323         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
48324         grow the buffers more if it already has to be sufficient.
48325         (build_wcs_upper_buffer): Likewise.
48326         * posix/regexec.c (check_matching): Likewise.
48327         (clean_state_log_if_needed): Likewise.
48328         (extend_buffers): Don't enlarge buffers beyond size of the input
48329         buffer.
48330         Patches mostly by Emil Wojak <emil@wojak.eu>.
48331         * posix/bug-regex32.c: New file.
48332         * posix/Makefile (tests): Add bug-regex32.
48334         * locale/findlocale.c (_nl_find_locale): Return right away if
48335         _nl_explode_name failed.
48336         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
48338         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
48340         * debug/xtrace.sh: Unify messages.
48341         * malloc/memusage.sh: Likewise.
48343         [BZ #12813]
48344         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
48345         time symbol from vDSO.  Substitute with vsyscall if not available.
48346         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
48347         __vdso_time.
48349         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
48350         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
48351         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
48352         Add sendmmsg and internal_sendmmsg.
48353         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
48354         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
48355         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
48357         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
48358         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
48359         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
48361 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
48363         [BZ #12813]
48364         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
48365         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
48366         available.
48367         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
48368         __vdso_getcpu.
48370         [BZ #12814]
48371         * iconvdata/Makefile (tests): Add bug-iconv9.
48372         * iconvdata/bug-iconv9.c: New file.
48374 2011-05-27  Andreas Schwab  <schwab@redhat.com>
48376         [BZ #12814]
48377         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
48379 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
48381         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48382         (struct user_regs_struct): Change intcs field back to cs.
48384 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
48386         * po/ja.po: Update from translation team.
48388 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
48390         [BZ #12795]
48391         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
48392         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
48394 2011-05-20  Andreas Schwab  <schwab@redhat.com>
48396         * stdlib/longlong.h: Update from GCC.
48398 2011-05-23  Andreas Schwab  <schwab@redhat.com>
48400         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
48401         parameter name.
48402         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
48403         Add parameter name.
48404         (__sysconf): Pass it down.
48406 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
48408         [BZ #12671]
48409         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
48410         some situations.
48411         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
48412         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
48413         add in in __libc_use_alloca calls.  Adjust callers.
48414         (glob): Use malloc in some situations.
48416         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
48417         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
48418         pltexit.
48420 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
48422         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
48423         and CLOCK_BOOTTIME_ALARM.
48425         [BZ #12782]
48426         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
48427         is returned.
48429         * string/_strerror.c (__strerror_r): Print negative errors as signed
48430         numbers.
48432         [BZ #12777]
48433         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
48434         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
48435         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
48437         * configure.in: Fix typo in redirection and correct removal of test
48438         files in two cases.
48440         [BZ #12788]
48441         * locale/setlocale.c (new_composite_name): Fix test to check for
48442         identical name of all categories.
48444         [BZ #12792]
48445         * libio/filedoalloc.c (local_isatty): New function.
48446         (_IO_file_doallocate): Use local_isatty.
48447         * stdio-common/perror.c (perror): In case a new stream is used
48448         forward the stream error.
48449         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
48450         error flag.
48452 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
48454         [BZ #11869]
48455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
48456         alloca.
48457         * include/alloca.h (extend_alloca_account): Define.
48459         [BZ #11857]
48460         * posix/regex.h: Fix comments with documentation of user-accessible
48461         fields after compilation and describe correct free'ing of pattern
48462         after re_compile_pattern.
48463         Patch by Reuben Thomas <rrt@sc3d.org>.
48465 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
48467         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
48468         and -mno-altivec to prevent the compiler from using Altivec and/or
48469         VSX instructions when the corresponding registers are not available.
48471 2011-05-19  Andreas Schwab  <schwab@redhat.com>
48473         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
48475 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
48477         * libio/freopen.c (freopen): Use __dup2, not dup2.
48478         * libio/freopen64.c (freopen64): Likewise.
48480 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
48482         [BZ #12775]
48483         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
48484         * math/Makefile (tests): Add test-powl.
48485         (CFLAGS-test-powl.c): Define.
48486         * math/test-powl.c: New file.
48488 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48490         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
48492 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
48494         [BZ #11837]
48495         * iconvdata/gb18030.c: Update to GB18020-2005.
48497 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
48499         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
48500         RE_SYNTAX_POSIX_AWK): Update to match recent development.
48501         Patch by Aharon Robbins <arnold@skeeve.com>.
48503         [BZ #11892]
48504         * stdlib/putenv.c (putenv): Don't always create copy of the variable
48505         on the stack.
48507         [BZ #11895]
48508         * misc/pselect.c (__pselect): Handle timeout value errors hidden
48509         through underflows.
48511         [BZ #12766]
48512         * misc/error.c (error_at_line): Ensure file_name and old_file_name
48513         point to strings before performing equality test for error_one_per_line
48514         mode.
48516         [BZ #11697]
48517         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
48519         [BZ #11820]
48520         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
48521         (struct user_fpregs_struct): Avoid __uint*_t types.
48523         [BZ #6420]
48524         * malloc/mtrace.c (tr_where): Add additional parameter to point to
48525         symbol info.  Use it instead of calling _dl_addr locally.
48526         (lock_and_info): New function.
48527         (tr_freehook): Call lock_and_info and pass symbol info as additional
48528         parameter to tr_where.
48529         (tr_mallochook): Likewise.
48530         (tr_reallochook): Likewise.
48531         (tr_memalignhook): Likewise.
48533         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
48534         used and couldn't be at all thread-safe.
48536 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
48538         * libio/freopen.c (freopen): Don't close old file descriptor
48539         before the new one is opened.  Instead dup the new file descriptor
48540         to the old one after the new stream is created.
48541         * libio/freopen64.c (freopen64): Likewise.
48542         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
48543         * libio/fileops.c (_IO_new_file_close_it): Handle new
48544         _IO_FLAGS2_NOCLOSE flag.
48545         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
48546         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
48547         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
48548         _IO_FLAGS2_NOCLOSE flag.
48549         * include/unistd.h: Add hidden_proto for dup3.
48550         Define __have_dup3.
48551         * io/dup3.c: Define hidden symbol.
48552         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
48554         [BZ #7101]
48555         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
48556         when an incomplete long option is used.
48557         * posix/tst-getopt_long1.c: New file.
48558         * posix/Makefile (tests): Add tst-getopt_long1.
48560         [BZ #10138]
48561         * scripts/config.guess: Update from autoconf-2.68.
48562         * scripts/config.sub: Likewise.
48564         [BZ #10157]
48565         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
48566         tests into ...
48567         (has_cpuclock): ...this.  New function.
48568         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
48569         macro here based on has_cpuclock code.
48571         [BZ #10149]
48572         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48573         First byte (not low byte) is now always NUL.
48574         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
48576         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48577         Use non-cancelable interfaces.
48579         [BZ #9809]
48580         * locale/iso-639.def: Add entry for Sorani.
48582         [BZ #11901]
48583         * include/stdlib.h: Move include protection to the right place.
48584         Define abort_msg_s.  Declare __abort_msg with it.
48585         * stdlib/abort.c (__abort_msg): Adjust type.
48586         * assert/assert.c (__assert_fail_base): New function.  Majority
48587         of code from __assert_fail.  Allocate memory for __abort_msg with
48588         mmap.
48589         (__assert_fail): Now call __assert_fail_base.
48590         * assert/assert-perr.c: Remove bulk of implementation.  Use
48591         __assert_fail_base.
48592         * include/assert.hL Declare __assert_fail_base.
48593         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
48594         mmap.
48595         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
48597 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
48599         [BZ #11952]
48600         [BZ #12453]
48601         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
48602         until all modules are registered in the DTV.
48603         * elf/Makefile: Add rules to build and run tst-tls19.
48604         * elf/tst-tls19.c: New file.
48605         * elf/tst-tls19mod1.c: New file.
48606         * elf/tst-tls19mod2.c: New file.
48607         * elf/tst-tls19mod3.c: New file.
48608         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
48610         [BZ #12083]
48611         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
48612         correctly.
48614         [BZ #12601]
48615         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
48616         two-byte sequence errors.
48617         * iconvdata/Makefile (tests): Add bug-iconv8.
48618         * iconvdata/bug-iconv8.c: New file.
48620         [BZ #12626]
48621         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
48622         buf2 definition.
48624         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
48626         [BZ #12432]
48627         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
48628         (dummy_getcfa): New function.
48629         (init): Get _Unwind_GetCFA address, use dummy if not found.
48630         (backtrace_helper): In recursion check, also check whether CFA changes.
48631         (__backtrace): Completely initialize arg.
48633         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
48634         storing incomplete byte sequence in state object.  Avoid testing for
48635         guaranteed too small input if we know there is enough data available.
48637 2011-05-11  Andreas Schwab  <schwab@redhat.com>
48639         * Makeconfig (+link-pie): Indent.
48640         * Rules (binaries-pie): Define if $(have-fpie) and
48641         $(build-shared).
48642         (binaries-shared): Also filter out $(binaries-pie).
48643         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
48644         * nscd/Makefile (others-pie): Add nscd.
48645         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
48646         ($(objpfx)nscd): Remove command override.
48647         * login/Makefile (others-pie): Add pt_chown.
48648         ($(objpfx)pt_chown): Remove command override.
48649         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
48650         remove command overrides.
48652 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
48654         * libio/tst_putwc.c: Fix error messages.
48656         [BZ #12724]
48657         * libio/fileops.c (_IO_new_file_close_it): Always flush when
48658         currently writing and seek to current position when not.
48659         * libio/Makefile (tests): Add bug-fclose1.
48660         * libio/bug-fclose1.c: New file.
48662 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
48664         [BZ #12511]
48665         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
48666         don't set DF_1_NODELETE here.
48667         (do_lookup_x): When entering new entry test for copy relocation
48668         and if necessary set DF_1_NODELETE flag.
48669         * elf/tst-unique4.cc: New file.
48670         * elf/tst-unique4.h: New file.
48671         * elf/tst-unique4lib.cc: New file.
48672         * elf/Makefile: Add rules to build and run tst-unique4.
48673         Patch by Piotr Bury <pbury@goahead.com>.
48675 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
48677         [BZ #12052]
48678         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
48680         [BZ #12625]
48681         * misc/mntent_r.c (addmntent): Flush the stream after the output
48683         [BZ #12393]
48684         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
48685         (is_trusted_path_normalize): Skip initial colon.  Append slash
48686         to empty buffer.  Duplicate is_trusted_path code but allow
48687         constructed patch to be prefix.
48688         (is_dst): Allow $ORIGIN followed by /.
48689         (_dl_dst_substitute): Correct clearing of check_for_trusted.
48690         Correct testing of result of is_trusted_path_normalize
48691         (decompose_rpath): Fix warning.
48693 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
48695         [BZ #11257]
48696         * grp/initgroups.c (internal_getgrouplist): When we found the service
48697         list through the initgroups entry in nsswitch.conf do not always
48698         continue on a successful lookup.  Don't always use the
48699         __nss_group_database value if it is set.
48700         * nss/nsswitch.conf (initgroups): Change action for successful db
48701         lookup to continue for compatibility.
48703 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
48705         [BZ #11532]
48706         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
48707         and CP774 modules.
48708         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
48709         and CP774 modules.
48710         * iconvdata/tst-tables.sh: Likewise.
48711         * iconvdata/cp770.c: New file.
48712         * iconvdata/cp771.c: New file.
48713         * iconvdata/cp772.c: New file.
48714         * iconvdata/cp773.c: New file.
48715         * iconvdata/cp774.c: New file.
48716         * iconvdata/testdata/CP770: New file.
48717         * iconvdata/testdata/CP770..UTF8: New file.
48718         * iconvdata/testdata/CP771: New file.
48719         * iconvdata/testdata/CP771..UTF8: New file.
48720         * iconvdata/testdata/CP772: New file.
48721         * iconvdata/testdata/CP772..UTF8: New file.
48722         * iconvdata/testdata/CP773: New file.
48723         * iconvdata/testdata/CP773..UTF8: New file.
48724         * iconvdata/testdata/CP774: New file.
48725         * iconvdata/testdata/CP774..UTF8: New file.
48727         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
48728         END CHARMAP line.
48729         * iconvdata/gen-8bit-gap.sh: Likewise.
48730         * iconvdata/gen-8bit.sh: Likewise.
48732         * locale/iso-639.def: Add ary entry.
48734         [BZ #11258]
48735         * locale/C-translit.h.in: Add U20A1 transliteration.
48737         [BZ #12178]
48738         * locale/iso-639.def: Add wae entry.
48739         Patch by Kevin Bortis <bortis@translate-wae.ch>.
48741         [BZ #12545]
48742         * locale/programs/localedef.c (construct_output_path): Use ssize_t
48743         for n.
48745         [BZ #12711]
48746         * locale/C-translit.h.in: Add entry for U20B9.
48747         Patch by pravin.d.s@gmail.com.
48749 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
48751         [BZ #12713]
48752         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
48753         ENAMETOOLONG use generic getcwd.
48754         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
48755         in rtld.  Use *stat64.
48756         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
48757         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
48758         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
48759         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
48760         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
48761         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
48762         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
48763         __fstatat64 macros.
48764         * include/dirent.h: Add libc_hidden_proto for rewinddir.
48765         * dirent/rewinddir.c: Add libc_hidden_def.
48766         * sysdeps/mach/hurd/rewinddir.c: Likewise.
48767         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
48769         * include/dirent.h (__alloc_dir): Add flags parameter.
48770         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
48771         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
48772         __alloc_dir.
48773         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
48774         from fdopendir if O_CLOEXEC is already set.
48776 2011-03-15  Alan Modra  <amodra@gmail.com>
48778         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
48779         l_tls_firstbyte_offset non-zero.  Save padding offset in
48780         l_tls_firstbyte_offset for later use.
48781         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
48782         freeing static tls block.
48784 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
48786         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
48787         where #ifdef was intended.  The intent is to prevent ARG_MAX from
48788         being defined by the kernel headers.
48790 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
48792         [BZ #12734]
48793         * resolv/resolv.h: Define RES_NOTLDQUERY.
48794         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
48795         no-tld-query and set RES_NOTLDQUERY.
48796         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
48797         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
48798         modern BIND to search name as TLD unless forbidden.
48800 2011-05-07  Petr Baudis  <pasky@suse.cz>
48801             Ulrich Drepper  <drepper@gmail.com>
48803         [BZ #12393]
48804         * elf/dl-load.c (fillin_rpath): Move trusted path check...
48805         (is_trusted_path): ...to here.
48806         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
48807         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
48808         using is_trusted_path_normalize() in setuid scripts.
48810 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48812         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
48813         __BEGIN/__END_DECLS.
48815 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
48817         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
48818         NSS_STATUS_NOTFOUND if no record was found.
48820 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48822         * sunrpc/Makefile (headers): Add rpc/netdb.h.
48823         (headers-not-in-tirpc): Remove rpc/netdb.h
48824         * resolv/netdb.h: Revert last change.
48826 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48828         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
48829         circular dependency between libgcc.a and libc.a.
48831 2011-05-05  Andreas Schwab  <schwab@redhat.com>
48833         * resolv/netdb.h: Don't include <rpc/netdb.h>.
48834         * nis/Makefile: Don't install rpcsvc/*.
48835         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
48836         instead of <rpc/types.h>.
48837         (MAXHOSTNAMELEN): Define.
48839 2011-05-03  Andreas Schwab  <schwab@redhat.com>
48841         * elf/ldconfig.c (add_dir): Don't crash on empty path.
48843 2011-04-28  Maciej Babinski  <mbabinski@google.com>
48845         [BZ #12714]
48846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
48847         gethostbyname4_r when IPv6 results are possible.
48849 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
48851         [BZ #12723]
48852         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
48853         _PC_PIPE_BUF handling.
48855 2011-04-30  Bruno Haible  <bruno@clisp.org>
48857         [BZ #12717]
48858         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
48859         * resolv/netdb.h (getnameinfo): Change type of flags parameter
48860         to 'int'.
48861         * inet/getnameinfo.c (getnameinfo): Likewise.
48863 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
48865         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
48866         to groups setting in database lookup.
48867         * nss/nsswitch.conf: Add initgroups entry.
48869 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
48871         [BZ #12685]
48872         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
48873         mode string.
48874         Patch by Eric Blake <eblake@redhat.com>.
48876 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
48878         * sunrpc/Makefile (need-export-routines): Add svc_run.
48879         (routines): Remove svc_run.
48880         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
48881         * sunrpc/clnt_perr.c (clnt_perrno): Export.
48882         * sunrpc/svc_run.c (svc_run): Likewise.
48883         * sunrpc/svc_udp.c (svcudp_create): Likewise.
48885 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
48887         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
48888         problem in reallocation in last patch.
48890 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
48892         * sunrpc/Makefile: Move inclusion of Rules.
48894 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48896         * nss/nss_files/files-initgroups.c: New file.
48897         * nss/Makefile (libnss_files-routines): Add files-initgroups.
48898         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
48899         _nss_files_initgroups_dyn.
48901 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
48903         * elf/elf.h (R_ARM_IRELATIVE): Define.
48905 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
48907         * po/ru.po: Update from translation team.
48909 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48911         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
48912         dependencies.
48914 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
48916         [BZ #12653]
48917         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
48918         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
48919         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48920         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48921         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48923 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
48925         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
48926         differing bytes.
48927         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48929         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48931 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
48933         [BZ #12420]
48934         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
48935         storing it.
48936         * stdlib/bug-getcontext.c: New file.
48937         * stdlib/Makefile: Add rules to build and run bug-getcontext.
48939 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48941         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
48942         instructions into .machine "z9-109".
48943         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
48944         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
48946 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48948         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
48949         between environment variables and auxiliary vector.
48951 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
48953         * Makefile: Add rules to build linkobj/libc.so.
48954         * include/libc-symbols.h: Define libc_hidden_nolink.
48955         * include/rpc/auth.h: Mark functions which are to be hidden.
48956         * include/rpc/auth_des.h: Likewise.
48957         * include/rpc/auth_unix.h: Likewise.
48958         * include/rpc/clnt.h: Likewise.
48959         * include/rpc/des_crypt.h: Likewise.
48960         * include/rpc/key_prot.h: Likewise.
48961         * include/rpc/pmap_clnt.h: Likewise.
48962         * include/rpc/pmap_prot.h: Likewise.
48963         * include/rpc/pmap_rmt.h: Likewise.
48964         * include/rpc/rpc_msg.h: Likewise.
48965         * include/rpc/svc.h: Likewise.
48966         * include/rpc/svc_auth.h: Likewise.
48967         * include/rpc/xdr.h: Likewise.
48968         * nis/Makefile: Link all DSOs against linkobj/libc.so.
48969         * nss/Makefile: Likewise.
48970         * sunrpc/Makefile: Don't install headers.  Build library with normal
48971         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
48972         * sunrpc/auth_des.c: Hide exported symbols by default, export some
48973         for the compat linking library.  Remove use of INTDEF/INTUSE.
48974         * sunrpc/auth_none.c: Likewise.
48975         * sunrpc/auth_unix.c: Likewise.
48976         * sunrpc/authdes_prot.c: Likewise.
48977         * sunrpc/authuxprot.c: Likewise.
48978         * sunrpc/clnt_gen.c: Likewise.
48979         * sunrpc/clnt_perr.c: Likewise.
48980         * sunrpc/clnt_raw.c: Likewise.
48981         * sunrpc/clnt_simp.c: Likewise.
48982         * sunrpc/clnt_tcp.c: Likewise.
48983         * sunrpc/clnt_udp.c: Likewise.
48984         * sunrpc/clnt_unix.c: Likewise.
48985         * sunrpc/des_crypt.c: Likewise.
48986         * sunrpc/des_soft.c: Likewise.
48987         * sunrpc/get_myaddr.c: Likewise.
48988         * sunrpc/key_call.c: Likewise.
48989         * sunrpc/key_prot.c: Likewise.
48990         * sunrpc/netname.c: Likewise.
48991         * sunrpc/pm_getmaps.c: Likewise.
48992         * sunrpc/pm_getport.c: Likewise.
48993         * sunrpc/pmap_clnt.c: Likewise.
48994         * sunrpc/pmap_prot.c: Likewise.
48995         * sunrpc/pmap_prot2.c: Likewise.
48996         * sunrpc/pmap_rmt.c: Likewise.
48997         * sunrpc/publickey.c: Likewise.
48998         * sunrpc/rpc_cmsg.c: Likewise.
48999         * sunrpc/rpc_common.c: Likewise.
49000         * sunrpc/rpc_dtable.c: Likewise.
49001         * sunrpc/rpc_prot.c: Likewise.
49002         * sunrpc/rpc_thread.c: Likewise.
49003         * sunrpc/rtime.c: Likewise.
49004         * sunrpc/svc.c: Likewise.
49005         * sunrpc/svc_auth.c: Likewise.
49006         * sunrpc/svc_authux.c: Likewise.
49007         * sunrpc/svc_raw.c: Likewise.
49008         * sunrpc/svc_run.c: Likewise.
49009         * sunrpc/svc_simple.c: Likewise.
49010         * sunrpc/svc_tcp.c: Likewise.
49011         * sunrpc/svc_udp.c: Likewise.
49012         * sunrpc/svc_unix.c: Likewise.
49013         * sunrpc/svcauth_des.c: Likewise.
49014         * sunrpc/xcrypt.c: Likewise.
49015         * sunrpc/xdr.c: Likewise.
49016         * sunrpc/xdr_array.c: Likewise.
49017         * sunrpc/xdr_float.c: Likewise.
49018         * sunrpc/xdr_intXX_t.c: Likewise.
49019         * sunrpc/xdr_mem.c: Likewise.
49020         * sunrpc/xdr_rec.c: Likewise.
49021         * sunrpc/xdr_ref.c: Likewise.
49022         * sunrpc/xdr_sizeof.c: Likewise.
49023         * sunrpc/xdr_stdio.c: Likewise.
49025 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
49027         [BZ #12650]
49028         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49029         * sysdeps/ia64/dl-tls.h: Likewise.
49030         * sysdeps/powerpc/dl-tls.h: Likewise.
49031         * sysdeps/s390/dl-tls.h: Likewise.
49032         * sysdeps/sh/dl-tls.h: Likewise.
49033         * sysdeps/sparc/dl-tls.h: Likewise.
49034         * sysdeps/x86_64/dl-tls.h: Likewise.
49035         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49037 2011-03-14  Andreas Schwab  <schwab@redhat.com>
49039         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49040         rpath element also skip the following colon.
49041         (expand_dynamic_string_token): Add is_path parameter and pass
49042         down to DL_DST_REQUIRED and _dl_dst_substitute.
49043         (decompose_rpath): Call expand_dynamic_string_token with
49044         non-zero is_path.  Ignore empty rpaths.
49045         (_dl_map_object_from_fd): Call expand_dynamic_string_token
49046         with zero is_path.
49048 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
49050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49051         Make cancelable.
49053 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
49055         [BZ #12655]
49056         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49057         Patch by Filipe David Manana <fdmanana@apache.org>.
49059 2011-04-07  Andreas Schwab  <schwab@redhat.com>
49061         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49062         Maintain aligned stack.
49063         (CHECK_RSP): Remove unused macro.
49065 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
49067         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49068         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49070 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
49072         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49074         * include/features.h: Mention __USE_XOPEN2K8 in comment.
49076 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
49078         [BZ #12518]
49079         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49080         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49081         * sysdeps/x86_64/memmove.c: New file.
49082         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49083         (memcpy): Renamed to ...
49084         (__new_memcpy): This.
49085         (memcpy): Provide GLIBC_2_14 memcpy.
49086         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49087         (memcpy): Provide GLIBC_2_2_5 memcpy.
49089 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49091         [BZ #12631]
49092         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49094 2011-03-30  Andreas Schwab  <schwab@redhat.com>
49096         * misc/syncfs.c: New file.
49097         * misc/Makefile (routines): Add syncfs.
49098         * posix/unistd.h: Declare syncfs.
49099         * sysdeps/unix/syscalls.list: Add syncfs.
49101 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49103         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49104         open_by_handle_at.
49105         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49106         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49107         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49108         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49109         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49110         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49111         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49113 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49115         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49116         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49117         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49118         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49119         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49121         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49123         * io/Makefile: Compile fallocate.c, fallocate64.c, and
49124         sync_file_range.c with -fexceptions.
49125         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49126         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49127         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49128         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49129         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49130         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49132         sync_file_range as cancellation point
49133         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
49134         now a wrapper around __call_sync_file_range with cancellation handling.
49135         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49136         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
49137         function name to __call_sync_file_range.
49138         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49139         Add call_sync_file_range.
49141 2011-04-01  Andreas Schwab  <schwab@redhat.com>
49143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49144         bits/timex.h.
49146 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
49148         * iconv/iconv.h: Fix typo in comment.
49149         * io/fcntl.h: Likewise.
49150         * libio/stdio.h: Likewise.
49151         * posix/spawn.h: Likewise.
49152         * posix/unistd.h: Likewise.
49153         * stdlib/stdlib.h: Likewise.
49154         * time/time.h: Likewise.
49155         * wcsmbs/wchar.h: Likewise.
49157         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49158         open_by_handle): Add.
49159         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49160         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
49161         Augment a few comments.
49162         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49163         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49164         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49166         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49167         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49168         open_by_handle.
49170         * io/fcntl.h (AT_EMPTY_PATH): Define.
49172 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
49174         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49175         * sysdeps/unix/sysv/linux/bits/time.h: New file.
49176         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49177         to...
49178         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
49179         * Versions.def: Add GLIBC_2.14.
49180         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49181         Export.
49183 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
49185         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49186         round counter.
49187         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49189 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
49191         [BZ #12597]
49192         * string/test-strncmp.c (do_page_test): New function.
49193         (check2): Likewise.
49194         (test_main): Call check2.
49195         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49197 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
49199         [BZ #12587]
49200         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49201         Handle cache information in CPU leaf 4.
49202         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49204 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
49206         [BZ #12583]
49207         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49208         character representation.
49209         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49211 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
49213         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49214         END(__isnan) to END(__isnanf) to match function entry point/label
49215         EALIGN(__isnanf,...).
49217 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
49219         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49221 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
49223         [BZ #12510]
49224         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49225         copy from the symbol referenced in the relocation to initialize the
49226         used variable.
49227         Patch by Piotr Bury <pbury@goahead.com>.
49228         * elf/Makefile: Add rules to build and tst-unique3.
49229         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
49230         * elf/tst-unique3.cc: New file.
49231         * elf/tst-unique3.h: New file.
49232         * elf/tst-unique3lib.cc: New file.
49233         * elf/tst-unique3lib2.cc: New file.
49235         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
49237 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
49239         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
49240         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
49241         to _start.
49243 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
49245         * elf/dl-load.c (_dl_map_object): If we are looking for the first
49246         to-be-loaded object along a path to loader is ld.so.
49248 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49249             Ulrich Drepper  <drepper@gmail.com>
49251         * sysdeps/x86_64/memset.S: After aligning destination, code
49252         branches to different locations depending on the value of
49253         misalignment, when multiarch is enabled. Fix this.
49255 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
49257         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
49258         Set _x86_64_preferred_memory_instruction for AMD processsors.
49259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49260         Set bit_Prefer_SSE_for_memop for AMD processors.
49262 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
49264         * libio/fmemopen.c (fmemopen): Optimize a bit.
49266 2011-03-03  Andreas Schwab  <schwab@redhat.com>
49268         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
49270 2011-03-03  Roland McGrath  <roland@redhat.com>
49272         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
49274 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
49276         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
49277         __bzero_ultra1 instead of __memset_ultra1.
49279 2011-02-23  Andreas Schwab  <schwab@redhat.com>
49280             Ulrich Drepper  <drepper@gmail.com>
49282         [BZ #12509]
49283         * include/link.h (struct link_map): Add l_orig_initfini.
49284         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
49285         returning unsuccessfully.
49286         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
49287         close of a file loaded at startup, restore the original l_initfini
49288         list.
49289         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
49290         list, store the pointer.
49291         * elf/Makefile ($(objpfx)noload-mem): New rule.
49292         (noload-ENV): Define.
49293         (tests): Add $(objpfx)noload-mem.
49294         * elf/noload.c: Include <memcheck.h>.
49295         (main): Call mtrace.  Close all opened handles.
49297 2011-02-17  Andreas Schwab  <schwab@redhat.com>
49299         [BZ #12454]
49300         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
49301         dependencies are missing.
49303 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49305         Fix __if_freereq crash: Unlike the generic version which uses free,
49306         Hurd needs munmap.
49307         * sysdeps/mach/hurd/ifreq.h: New file.
49309 2011-01-27  Petr Baudis  <pasky@suse.cz>
49310             Ulrich Drepper  <drepper@gmail.com>
49312         [BZ 12445]#
49313         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
49314         to extend_alloca().
49315         * stdio-common/bug23.c: New file.
49316         * stdio-common/Makefile (tests): Add bug23.
49318 2010-09-28  Andreas Schwab  <schwab@redhat.com>
49319             Ulrich Drepper  <drepper@gmail.com>
49321         [BZ #12489]
49322         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
49323         before performing relro protection.  At old place add assertion
49324         to make sure nothing changed.
49326 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
49327             Glauber de Oliveira Costa  <glommer@gmail.com>
49329         * elf/elf.h: Add new ARM TLS relocs.
49331 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
49333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49334         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
49335         cast from r3.
49336         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
49337         'tests' variable.
49338         * sysdeps/wordsize-64/tst-writev.c: New file.
49340 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
49342         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
49343         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
49344         insns in _dl_start to prevent a TOC reference before relocs are
49345         resolved.
49347 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
49349         [BZ #12469]
49350         * Makeconfig: Remove RANLIB definition.
49351         * Makerules: Don't use RANLIB.
49352         * aclocal.m4: Remove ranlib test.
49353         * configure.in: No need to check for ranlib.
49354         * elf/rtld-Rules: Don't use RANLIB.
49356 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49358         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
49359         protection macro.
49360         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
49361         inclusion protection macro.
49363         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
49364         SIGRTMIN and SIGRTMAX and print information in that case only when
49365         SIGRTMIN is defined.
49367 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
49369         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
49370         arginfo fn returning -1.
49372         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
49373         and thousands string is zero terminated.
49375 2011-02-03  Andreas Schwab  <schwab@redhat.com>
49377         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
49378         sysdeps/unix/sysv/linux/bits/socket.h.
49380 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49382         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
49383         (__CPU_COUNT): Remove old macros.
49384         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
49385         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
49386         (__CPU_ALLOC, __CPU_FREE): Add macros.
49387         (__sched_cpualloc, __sched_cpufree): Add declarations.
49389 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
49391         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
49392         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
49393         * nscd/aicache.c (addhstaiX): Return timeout of added value.
49394         (readdhstai): Return value of addhstaiX call.
49395         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
49396         (addgrbyX): Return value returned by cache_addgr.
49397         (readdgrbyname): Return value returned by addgrbyX.
49398         (readdgrbygid): Likewise.
49399         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
49400         (addpwbyX): Return value returned by cache_addpw.
49401         (readdpwbyname): Return value returned by addhstbyX.
49402         (readdpwbyuid): Likewise.
49403         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
49404         (addservbyX): Return value returned by cache_addserv.
49405         (readdservbyname): Return value returned by addservbyX:
49406         (readdservbyport): Likewise.
49407         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
49408         (addhstbyX): Return value returned by cache_addhst.
49409         (readdhstbyname): Return value returned by addhstbyX.
49410         (readdhstbyaddr): Likewise.
49411         (readdhstbynamev6): Likewise.
49412         (readdhstbyaddrv6): Likewise.
49413         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
49414         (readdinitgroups): Return value returned by addinitgroupsX.
49415         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
49416         (prune_cache): Keep track of timeout value of re-added entries.
49417         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
49418         * nscd/nscd.h: Adjust prototypes of readd* functions.
49420 2011-02-04  Roland McGrath  <roland@redhat.com>
49422         * nis/nis_server.c (nis_servstate): Use the right name for 0.
49423         (nis_stats): Likewise.
49424         * nis/nis_modify.c (nis_modify): Likewise.
49425         * nis/nis_remove.c (nis_remove): Likewise.
49426         * nis/nis_add.c (nis_add): Likewise.
49428         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
49430         * posix/fnmatch_loop.c: Add some consts.
49432         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
49434 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
49436         [BZ #12460]
49437         * config.make.in (config-cflags-novzeroupper): Define.
49438         * configure.in: Substitute libc_cv_cc_novzeroupper.
49439         * elf/Makefile (AVX-CFLAGS): Define.
49440         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
49441         (CFLAGS-tst-auditmod4a.c): Likewise.
49442         (CFLAGS-tst-auditmod4b.c): Likewise.
49443         (CFLAGS-tst-auditmod6b.c): Likewise.
49444         (CFLAGS-tst-auditmod6c.c): Likewise.
49445         (CFLAGS-tst-auditmod7b.c): Likewise.
49446         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
49448 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
49450         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
49451         function to the callback.
49452         Patch partly by Jiri Olsa <jolsa@redhat.com>.
49454 2011-02-02  Andreas Schwab  <schwab@redhat.com>
49456         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
49457         of errno.
49459 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
49461         [BZ #11724]
49462         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
49463         of constructors.
49464         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
49465         of destructors.
49466         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
49468         [BZ #11724]
49469         * elf/Makefile: Add rules to build and run new test.
49470         * elf/tst-initorder.c: New file.
49471         * elf/tst-initorder.exp: New file.
49472         * elf/tst-initordera1.c: New file.
49473         * elf/tst-initordera2.c: New file.
49474         * elf/tst-initordera3.c: New file.
49475         * elf/tst-initordera4.c: New file.
49476         * elf/tst-initorderb1.c: New file.
49477         * elf/tst-initorderb2.c: New file.
49478         * elf/tst-order-a1.c: New file.
49479         * elf/tst-order-a2.c: New file.
49480         * elf/tst-order-a3.c: New file.
49481         * elf/tst-order-a4.c: New file.
49482         * elf/tst-order-b1.c: New file.
49483         * elf/tst-order-b2.c: New file.
49484         * elf/tst-order-main.c: New file.
49485         New test case by George Gensure <werkt0@gmail.com>.
49487 2010-10-01  Andreas Schwab  <schwab@redhat.com>
49489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49490         decoding ACE if AI_CANONIDN.
49492 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
49494         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
49496 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
49498         * version.h (RELEASE): Bump for 2.13 release.
49499         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
49501         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
49503         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
49504         MADV_NOHUGEPAGE.
49505         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
49506         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49507         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49508         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49509         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49510         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49512         * posix/getconf.c: Update copyright year.
49513         * catgets/gencat.c: Likewise.
49514         * csu/version.c: Likewise.
49515         * debug/catchsegv.sh: Likewise.
49516         * debug/xtrace.sh: Likewise.
49517         * elf/ldconfig.c: Likewise.
49518         * elf/ldd.bash.in: Likewise.
49519         * elf/sprof.c (print_version): Likewise.
49520         * iconv/iconv_prog.c: Likewise.
49521         * iconv/iconvconfig.c: Likewise.
49522         * locale/programs/locale.c: Likewise.
49523         * locale/programs/localedef.c: Likewise.
49524         * malloc/memusage.sh: Likewise.
49525         * malloc/mtrace.pl: Likewise.
49526         * nscd/nscd.c (print_version): Likewise.
49527         * nss/getent.c: Likewise.
49529         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
49530         PF_CAIF, and PF_ALG.
49531         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49533 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
49535         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
49536         (modules-names): Use them.
49537         (ifunc-test-modules, ifunc-pie-tests): Define.
49538         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
49539         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
49540         (test-extras): Likewise.
49541         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
49542         $(compile-command.c).
49543         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
49544         (all-built-dso): Define.
49545         (check-textrel.out, check-execstack.out): Depend on it.
49547         * configure.in: Don't override --enable-multi-arch.
49549 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
49551         [BZ #6812]
49552         * nscd/hstcache.c (tryagain): Define.
49553         (cache_addhst): Return tryagain not notfound for temporary errors.
49554         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
49555         failed.
49557 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
49559         [BZ #10563]
49560         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
49561         to make the syscall.
49562         * sysdeps/unix/sysv/linux/setgroups.c: New file.
49564         [BZ #12378]
49565         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
49566         and fall back to matching as normal character if the string ends before
49567         the matching ']' is found.  This is what POSIX requires.
49568         * posix/testfnm.c: Adjust test result.
49569         * posix/globtest.sh: Adjust test result.  Add new test.
49570         * posix/tst-fnmatch.input: Likewise.
49571         * posix/tst-fnmatch2.c: Add new test.
49573 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
49575         * elf/Makefile (check-execstack): Revert last change.  Depend on
49576         check-execstack.h.
49577         (check-execstack.h): New target.
49578         (generated): Add check-execstack.h.
49579         * elf/check-execstack.c: Include "check-execstack.h".
49580         (main): Revert last change.
49581         (handle_file): Return zero if GNU_STACK is absent and
49582         DEFAULT_STACK_PERMS doesn't include PF_X.
49584 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
49586         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
49587         in child fails because the descriptor is already closed.
49588         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
49589         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
49590         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
49592         [BZ #12397]
49593         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
49594         syscall.
49596         [BZ #10484]
49597         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
49598         temporary buffer used to handle multi lookups locally.
49599         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
49601 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49603         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
49604         loader is ld.so.
49606 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
49608         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
49609         alignment for SSE2.
49611 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
49613         [BZ #12394]
49614         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
49615         characters.  When rounding increased number of integer digits recompute
49616         number of groups.
49617         * stdio-common/tst-grouping.c: New file.
49618         * stdio-common/Makefile: Add rules to build and run tst-grouping.
49620 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
49622         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
49623         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
49625         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
49626         void.
49627         * bits/select.h: Likewise.
49629 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
49631         * po/ja.po: Update from translation team.
49633 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
49635         [BZ #11155]
49636         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
49637         implementation just like for lxstat, fxstatat, et al.
49639 2010-12-27  Jim Meyering  <meyering@redhat.com>
49641         [BZ #12348]
49642         * posix/regexec.c (build_trtable): Return failure indication upon
49643         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
49645 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
49647         [BZ #12201]
49648         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
49649         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
49650         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
49651         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
49653         [BZ #12207]
49654         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
49656         [BZ #12204]
49657         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
49658         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
49660 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
49662         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
49663         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
49664         script has SORT_BY_INIT_PRIORITY.
49665         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
49666         NO_CTORS_DTORS_SECTIONS is defined.
49667         * elf/soinit.c: Likewise.
49668         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
49669         NO_CTORS_DTORS_SECTIONS is defined.
49670         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
49671         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
49672         * sysdeps/sh/init-first.c: Likewise.
49673         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
49675 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
49677         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
49678         always use the slow path.
49680 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
49682         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
49683         similar rule which adds the sysdep directories to the header search in
49684         order to pick up the correct platform stackinfo.h.
49685         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
49686         perform test if it is, otherwise return successfully without testing.
49687         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
49688         DEFAULT_STACK_PERMS define in stackinfo.h.
49689         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
49690         defined in stackinfo.h.
49691         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
49692         DEFAULT_STACK_PERMS defined in stackinfo.h.
49693         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
49694         * sysdeps/ia64/stackinfo.h: Likewise.
49695         * sysdeps/s390/stackinfo.h: Likewise.
49696         * sysdeps/sh/stackinfo.h: Likewise.
49697         * sysdeps/sparc/stackinfo.h: Likewise.
49698         * sysdeps/x86_64/stackinfo.h: Likewise.
49699         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
49700         PF_X for powerpc64.  Retain PF_X for powerpc32.
49702 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
49704         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
49705         accurately.
49706         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
49707         GETDENTS_64BIT_ALIGNED.
49709 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
49711         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
49713 2010-12-10  Andreas Schwab  <schwab@redhat.com>
49715         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
49716         _GNU_SOURCE.
49718         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
49719         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
49720         Remove __restrict.
49721         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
49722         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
49724 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
49726         [BZ #11655]
49727         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
49728         are initialized.
49730 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
49732         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
49734 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
49736         * po/it.po: Update from translation team.
49738 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
49740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
49741         unused codes.
49743 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
49745         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
49747 2010-11-24  Andreas Schwab  <schwab@redhat.com>
49749         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
49750         specially.
49751         (gaih_getanswer_slice): Likewise.
49753 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
49755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
49757 2010-05-31  Petr Baudis  <pasky@suse.cz>
49759         [BZ #11149]
49760         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
49761         silently even in the chroot mode.
49763 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
49765         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
49766         last patch a bit.  Pretty printing
49768 2010-05-31  Petr Baudis <pasky@suse.cz>
49770         [BZ #10085]
49771         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
49772         initialization of skip_initgroups_dyn.
49774 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
49776         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
49777         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
49779 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
49781         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
49783 2010-11-11  Andreas Schwab  <schwab@redhat.com>
49785         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
49786         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
49787         (tst-fnmatch-ENV): Set MALLOC_TRACE.
49788         ($(objpfx)tst-fnmatch-mem): New rule.
49789         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
49790         * posix/tst-fnmatch.c (main): Call mtrace.
49792 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
49794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49795         Support Intel processor model 6 and model 0x2c.
49797 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
49799         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
49800           signed comparison.
49802 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
49804         [BZ #12205]
49805         * string/test-strncasecmp.c (check_result): New function.
49806         (do_one_test): Use it.
49807         (check1): New function.
49808         (test_main): Use it.
49809         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
49810         Support strcasecmp and strncasecmp.
49812 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
49814         [BZ #12194]
49815         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
49816         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49818 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49820         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
49821         IFUNC support.
49822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49823         memset-x86-64.
49824         * sysdeps/x86_64/multiarch/bzero.S: New file.
49825         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
49826         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
49827         * sysdeps/x86_64/multiarch/memset.S: New file.
49828         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
49829         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49830         Set bit_Prefer_SSE_for_memop for Intel processors.
49831         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
49832         Define.
49833         (index_Prefer_SSE_for_memop): Define.
49834         (HAS_PREFER_SSE_FOR_MEMOP): Define.
49836 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
49838         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
49839         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
49841 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
49843         [BZ #12191]
49844         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49845         (__x86_64_raw_data_cache_size_half): Likewise.
49846         (__x86_64_raw_shared_cache_size): Likewise.
49847         (__x86_64_raw_shared_cache_size_half): Likewise.
49849         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
49850         (__x86_64_raw_data_cache_size_half): Likewise.
49851         (__x86_64_raw_shared_cache_size): Likewise.
49852         (__x86_64_raw_shared_cache_size_half): Likewise.
49853         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
49854         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
49855         and __x86_64_raw_shared_cache_size_half.  Round
49856         __x86_64_data_cache_size_half, __x86_64_data_cache_size
49857         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
49858         to multiple of 256 bytes.
49860 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
49862         [BZ #12167]
49863         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
49864         of inacessible symlinks.  Verify result of symlink before returning it.
49865         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49866         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
49868 2010-10-28  Erich Ritz  <erichritz@gmail.com>
49870         * math/math.h (isinf): Fix typo in comment.
49872 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
49874         * po/da.po: Update from translation team.
49876 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
49878         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
49879         is added to the list.
49881 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49882             Ulrich Drepper  <drepper@gmail.com>
49884         * elf/dl-object.c (_dl_new_object): Don't append the new object to
49885         the global list here.  Move code to...
49886         (_dl_add_to_namespace_list): ...here.  New function.
49887         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
49888         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
49889         * elf/dl-load.c (lose): Don't remove the element from the list.
49890         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
49891         (_dl_map_object): Likewise.
49893 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
49895         [BZ #12159]
49896         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
49897         into all bytes of SSE register.
49898         Patch by Richard Li <richardpku@gmail.com>.
49900 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
49902         [BZ #12140]
49903         * malloc/malloc.c (_int_free): Fill correct number of bytes when
49904         perturbing.
49906 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
49908         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
49909         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
49910         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
49911         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
49913         submachine.
49914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
49916 2010-10-22  Andreas Schwab  <schwab@redhat.com>
49918         * include/dlfcn.h (__RTLD_SECURE): Define.
49919         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
49920         mode & __RTLD_SECURE instead.
49921         (open_path): Rename preloaded parameter to secure.
49922         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
49923         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
49924         * elf/dl-deps.c (openaux): Likewise.
49925         * elf/rtld.c (struct map_args): Remove is_preloaded.
49926         (map_doit): Don't use it.
49927         (dl_main): Likewise.
49928         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
49929         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
49931 2010-09-09  Andreas Schwab  <schwab@redhat.com>
49933         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
49934         (sysd-rules-targets): Remove duplicates.
49935         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
49936         rtld-%.$o dependency.
49938 2010-10-18  Andreas Schwab  <schwab@redhat.com>
49940         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
49941         _dl_map_object do it.
49943 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
49945         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
49946         fast fma builtins, define the macros in the C99 standard.
49947         (FP_FAST_FMAF): Likewise.
49948         (FP_FAST_FMAL): Likewise.
49949         * sysdeps/x86_64/bits/mathdef.h: Likewise.
49951         * bits/mathdef.h: Update copyright year.
49952         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49954 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
49956         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
49957         builtins, define the macros in the C99 standard.
49958         (FP_FAST_FMAF): Likewise.
49959         (FP_FAST_FMAL): Likewise.
49960         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
49961         multiply/add.
49962         (FP_FAST_FMAF): Likewise.
49964 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
49966         [BZ #3268]
49967         * math/libm-test.inc (fma_test): Some new testcases.
49968         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
49969         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
49970         y and infinite z.  Do multiplication by C already in long double.
49971         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
49972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
49973         y and infinite z.  Do bitwise or of inexact bit into u.d.
49974         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
49975         * sysdeps/i386/fpu/s_fmaf.S: Removed.
49976         * sysdeps/i386/fpu/s_fma.S: Removed.
49977         * sysdeps/i386/fpu/s_fmal.S: Removed.
49979 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
49981         [BZ #3268]
49982         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
49983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
49984         computation is not scheduled after fetestexcept.  Fix value
49985         of minimum denormal long double.
49987 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
49989         [BZ #3268]
49990         * math/libm-test.inc (fma_test): Add some more tests.
49991         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
49992         correctly.
49994 2010-10-15  Andreas Schwab  <schwab@redhat.com>
49996         * scripts/data/localplt-s390-linux-gnu.data: New file.
49997         * scripts/data/localplt-s390x-linux-gnu.data: New file.
49999 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
50001         [BZ #3268]
50002         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50003         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50004         instead of dbl-64.
50005         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50006         inlines.
50007         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50008         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50009         if one of x and y is very large and the other is subnormal.
50010         * sysdeps/s390/fpu/s_fmaf.c: New file.
50011         * sysdeps/s390/fpu/s_fma.c: New file.
50012         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50013         * sysdeps/powerpc/fpu/s_fma.S: New file.
50014         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50015         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50016         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50018 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
50020         [BZ #3268]
50021         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50022         fma tests.
50023         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50024         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50025         * sysdeps/i386/i686/multiarch/s_fma.c: Include
50026         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50027         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50028         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50029         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50031 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
50033         [BZ #12078]
50034         * posix/regcomp.c (parse_branch): One more memory leak plugged.
50035         * posix/bug-regex31.input: Add test case.
50037 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50039         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50040         * posix/bug-regex31.input: New file.
50042         [BZ #12078]
50043         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50044         (parse_sub_exp): Fix last change, use postorder.
50046         * posix/bug-regex31.c: New file.
50047         * posix/Makefile: Add rules to build and run bug-regex31.
50049         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50051         [BZ #12078]
50052         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50054         [BZ #12108]
50055         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50056         to have entries in sys_siglist.
50058         [BZ #12093]
50059         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50060         be NULL.
50062 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
50064         [BZ #3268]
50065         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50066         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50067         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50068         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50069         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50070         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50071         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50072         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50073         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50074         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50075         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50076         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50077         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50078         * math/ftestexcept.c (fetestexcept): Likewise.
50079         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50080         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50081         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50082         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50083         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50084         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50085         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50087 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
50089         [BZ #12107]
50090         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50091         newline.
50093 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
50095         * string/bug-strstr1.c: New file.
50096         * string/Makefile: Add rules to build and run bug-strstr1.
50098 2010-10-05  Eric Blake  <eblake@redhat.com>
50100         [BZ #12092]
50101         * string/str-two-way.h (two_way_long_needle): Always clear memory
50102         when skipping input due to the shift table.
50104 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
50106         [BZ #12005]
50107         * malloc/mcheck.c: Handle large requests.
50109         [BZ #12077]
50110         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50111         for strncmp and strncasecmp.
50112         * string/stratcliff.c: Add tests for strcmp and strncmp.
50113         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50115 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50117         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50118         __set_fpscr.
50120 2010-09-30  Andreas Jaeger  <aj@suse.de>
50122         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50123         (CGROUP_SUPER_MAGIC): Define.
50124         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50125         Handle btrfs and cgroup file systems.
50126         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50127         Likewise.
50129 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
50131         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50132         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50134 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50136         [BZ #12067]
50137         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50138         trying to locate the ELF header.
50140 2010-09-27  Andreas Schwab  <schwab@redhat.com>
50142         [BZ #11611]
50143         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50144         Mask out sign-bit copies when constructing f_fsid.
50146 2010-09-24  Petr Baudis <pasky@suse.cz>
50148         * debug/stack_chk_fail_local.c: Add missing licence exception.
50149         * debug/warning-nop.c: Likewise.
50151 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
50153         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50154         implementing getdents64 using getdents syscall, set d_type if
50155         __ASSUME_GETDENTS32_D_TYPE.
50157 2010-09-16  Andreas Schwab  <schwab@redhat.com>
50159         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50160         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50162 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
50164         [BZ #12037]
50165         * posix/unistd.h: Undo change of feature selection for ftruncate from
50166         2010-01-11.
50168 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
50170         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50171         detection.
50173 2010-09-20  Andreas Schwab  <schwab@redhat.com>
50175         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50176         fanotify_mark.
50177         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50179 2010-09-14  Andreas Schwab  <schwab@redhat.com>
50181         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50182         variables after CHECK_SP call.
50183         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50185 2010-09-13  Andreas Schwab  <schwab@redhat.com>
50186             Ulrich Drepper  <drepper@redhat.com>
50188         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50189         re-relocationg ld.so.
50190         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50191         _dl_init_paths call.
50192         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
50193         here anymore.
50195 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
50197         * resolv/res_init.c (__res_vinit): Count the default server we added.
50199 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
50200             Ulrich Drepper  <drepper@redhat.com>
50202         [BZ #11968]
50203         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50204         (____longjmp_chk): Use %ebx for saving value across system call.
50205         Add unwind info.
50207 2010-09-06  Andreas Schwab  <schwab@redhat.com>
50209         * manual/Makefile: Don't mix pattern rules with normal rules.
50211 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50213         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50214         operation.
50215         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50216         * libio/iofopncook.c (_IO_cookie_init): Likewise.
50217         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50218         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50219         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50220         Likewise.
50222 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
50224         [BZ #11979]
50225         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
50226         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
50228 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
50230         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
50231         * sysdeps/x86_64/addmul_1.S: Likewise.
50232         * sysdeps/x86_64/lshift.S: Likewise.
50233         * sysdeps/x86_64/mul_1.S: Likewise.
50234         * sysdeps/x86_64/rshift.S: Likewise.
50235         * sysdeps/x86_64/sub_n.S: Likewise.
50236         * sysdeps/x86_64/submul_1.S: Likewise.
50238 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50240         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
50241         Define __sched_param instead of SCHED_* and sched_param when
50242         <bits/sched.h> is included with __need_schedparam defined.
50243         * bits/sched.h [__need_schedparam]
50244         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
50245         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
50246         (__defined_schedparam): Define to 1.
50247         (__sched_param): New structure, identical to sched_param.
50248         (__need_schedparam): Undefine.
50250 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
50252         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
50253         (epoll_create1): Declare.
50255         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
50257 2010-08-31  Andreas Schwab  <schwab@redhat.com>
50259         [BZ #7066]
50260         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
50261         shifting retval into place.
50263 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
50265         * nis/rpcsvc/nis.h: Update copyright notice.
50266         * nis/rpcsvc/nis.x: Likewise.
50267         * nis/rpcsvc/nis_callback.h: Likewise.
50268         * nis/rpcsvc/nis_callback.x: Likewise.
50269         * nis/rpcsvc/nis_object.x: Likewise.
50270         * nis/rpcsvc/nis_tags.h: Likewise.
50271         * nis/rpcsvc/yp.h: Likewise.
50272         * nis/rpcsvc/yp.x: Likewise.
50273         * nis/rpcsvc/ypupd.h: Likewise.
50274         * nis/yp_xdr.c: Likewise.
50275         * nis/ypupdate_xdr.c: Likewise.
50277         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
50278         mainly the body of pmap_getport.  Add parameters to specify timeouts.
50279         (pmap_getport): Use __libc_rpc_getport.
50280         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
50281         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
50282         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
50284 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
50286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
50287         fanotify_mark.
50289 2010-08-27  Roland McGrath  <roland@redhat.com>
50291         * sysdeps/i386/i686/multiarch/Makefile
50292         (CFLAGS-varshift.c): New variable.
50294 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
50296         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
50297         * sysdeps/i386/i686/multiarch/varshift.c: New file.
50299         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
50301         * sysdeps/x86_64/strlen.S: Minimal code improvement.
50303 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
50305         * sysdeps/x86_64/strlen.S: Unroll the loop.
50306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50307         strlen-sse2 strlen-sse2-bsf.
50308         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
50309         __strlen_no_bsf if bit_Slow_BSF is set.
50310         (__strlen_sse42): Removed.
50311         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
50312         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
50314 2010-08-25  Roland McGrath  <roland@redhat.com>
50316         * sysdeps/x86_64/multiarch/varshift.S: File removed.
50317         * sysdeps/x86_64/multiarch/varshift.c: New file.
50318         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
50319         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
50320         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
50321         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
50323 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
50325         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50326         strlen-sse2 strlen-sse2-bsf.
50327         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
50328         __strlen_sse2_bsf if bit_Slow_BSF is unset.
50329         (__strlen_sse2): Removed.
50330         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
50331         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
50332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50333         bit_Slow_BSF for Atom.
50334         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
50335         (index_Slow_BSF): Define.
50336         (HAS_SLOW_BSF): Define.
50338 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
50340         [BZ #10851]
50341         * resolv/res_init.c (__res_vinit): When no server address at all
50342         is given default to loopback.
50344 2010-08-24  Roland McGrath  <roland@redhat.com>
50346         * configure.in: Remove config-name.h generation.
50347         * configure: Regenerated.
50348         * config-name.in: File removed.
50349         * scripts/config-uname.sh: New file.
50350         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
50351         ($(objdir)config-name.h): New target.
50353         * sunrpc/rpc_parse.h: Avoid nested comment.
50355 2010-08-24  Richard Henderson  <rth@redhat.com>
50356             Ulrich Drepper  <drepper@redhat.com>
50357             H.J. Lu  <hongjiu.lu@intel.com>
50359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
50360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
50361         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
50362         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
50363         _mm_alignr_epi8 with _mm_loadu_si128.
50364         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
50365         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
50366         (__m128i_shift_right): Removed.
50367         * sysdeps/i386/i686/multiarch/varshift.h: New file.
50368         * sysdeps/i386/i686/multiarch/varshift.S: New file.
50369         * sysdeps/x86_64/multiarch/varshift.h: New file.
50370         * sysdeps/x86_64/multiarch/varshift.S: New file.
50372 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
50374         * configure.in: Move assembler checks to before sysdep dir checking.
50376 2010-08-20  Petr Baudis  <pasky@suse.cz>
50378         * LICENSES: Sync the sunrpc license.
50380 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
50382         * sunrpc/auth_des.c: Update copyright notice once again.
50383         * sunrpc/auth_none.c: Likewise.
50384         * sunrpc/auth_unix.c: Likewise.
50385         * sunrpc/authdes_prot.c: Likewise.
50386         * sunrpc/authuxprot.c: Likewise.
50387         * sunrpc/bindrsvprt.c: Likewise.
50388         * sunrpc/clnt_gen.c: Likewise.
50389         * sunrpc/clnt_perr.c: Likewise.
50390         * sunrpc/clnt_raw.c: Likewise.
50391         * sunrpc/clnt_simp.c: Likewise.
50392         * sunrpc/clnt_tcp.c: Likewise.
50393         * sunrpc/clnt_udp.c: Likewise.
50394         * sunrpc/clnt_unix.c: Likewise.
50395         * sunrpc/des_crypt.c: Likewise.
50396         * sunrpc/des_soft.c: Likewise.
50397         * sunrpc/get_myaddr.c: Likewise.
50398         * sunrpc/getrpcport.c: Likewise.
50399         * sunrpc/key_call.c: Likewise.
50400         * sunrpc/key_prot.c: Likewise.
50401         * sunrpc/openchild.c: Likewise.
50402         * sunrpc/pm_getmaps.c: Likewise.
50403         * sunrpc/pm_getport.c: Likewise.
50404         * sunrpc/pmap_clnt.c: Likewise.
50405         * sunrpc/pmap_prot.c: Likewise.
50406         * sunrpc/pmap_prot2.c: Likewise.
50407         * sunrpc/pmap_rmt.c: Likewise.
50408         * sunrpc/rpc/auth.h: Likewise.
50409         * sunrpc/rpc/auth_unix.h: Likewise.
50410         * sunrpc/rpc/clnt.h: Likewise.
50411         * sunrpc/rpc/des_crypt.h: Likewise.
50412         * sunrpc/rpc/key_prot.h: Likewise.
50413         * sunrpc/rpc/netdb.h: Likewise.
50414         * sunrpc/rpc/pmap_clnt.h: Likewise.
50415         * sunrpc/rpc/pmap_prot.h: Likewise.
50416         * sunrpc/rpc/pmap_rmt.h: Likewise.
50417         * sunrpc/rpc/rpc.h: Likewise.
50418         * sunrpc/rpc/rpc_des.h: Likewise.
50419         * sunrpc/rpc/rpc_msg.h: Likewise.
50420         * sunrpc/rpc/svc.h: Likewise.
50421         * sunrpc/rpc/svc_auth.h: Likewise.
50422         * sunrpc/rpc/types.h: Likewise.
50423         * sunrpc/rpc/xdr.h: Likewise.
50424         * sunrpc/rpc_clntout.c: Likewise.
50425         * sunrpc/rpc_cmsg.c: Likewise.
50426         * sunrpc/rpc_common.c: Likewise.
50427         * sunrpc/rpc_cout.c: Likewise.
50428         * sunrpc/rpc_dtable.c: Likewise.
50429         * sunrpc/rpc_hout.c: Likewise.
50430         * sunrpc/rpc_main.c: Likewise.
50431         * sunrpc/rpc_parse.c: Likewise.
50432         * sunrpc/rpc_parse.h: Likewise.
50433         * sunrpc/rpc_prot.c: Likewise.
50434         * sunrpc/rpc_sample.c: Likewise.
50435         * sunrpc/rpc_scan.c: Likewise.
50436         * sunrpc/rpc_scan.h: Likewise.
50437         * sunrpc/rpc_svcout.c: Likewise.
50438         * sunrpc/rpc_tblout.c: Likewise.
50439         * sunrpc/rpc_util.c: Likewise.
50440         * sunrpc/rpc_util.h: Likewise.
50441         * sunrpc/rpcinfo.c: Likewise.
50442         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
50443         * sunrpc/rpcsvc/key_prot.x: Likewise.
50444         * sunrpc/rpcsvc/klm_prot.x: Likewise.
50445         * sunrpc/rpcsvc/mount.x: Likewise.
50446         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
50447         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
50448         * sunrpc/rpcsvc/rex.x: Likewise.
50449         * sunrpc/rpcsvc/rstat.x: Likewise.
50450         * sunrpc/rpcsvc/rusers.x: Likewise.
50451         * sunrpc/rpcsvc/sm_inter.x: Likewise.
50452         * sunrpc/rpcsvc/spray.x: Likewise.
50453         * sunrpc/rpcsvc/yppasswd.x: Likewise.
50454         * sunrpc/rtime.c: Likewise.
50455         * sunrpc/svc.c: Likewise.
50456         * sunrpc/svc_auth.c: Likewise.
50457         * sunrpc/svc_authux.c: Likewise.
50458         * sunrpc/svc_raw.c: Likewise.
50459         * sunrpc/svc_run.c: Likewise.
50460         * sunrpc/svc_simple.c: Likewise.
50461         * sunrpc/svc_tcp.c: Likewise.
50462         * sunrpc/svc_udp.c: Likewise.
50463         * sunrpc/svc_unix.c: Likewise.
50464         * sunrpc/svcauth_des.c: Likewise.
50465         * sunrpc/xcrypt.c: Likewise.
50466         * sunrpc/xdr.c: Likewise.
50467         * sunrpc/xdr_array.c: Likewise.
50468         * sunrpc/xdr_float.c: Likewise.
50469         * sunrpc/xdr_mem.c: Likewise.
50470         * sunrpc/xdr_rec.c: Likewise.
50471         * sunrpc/xdr_ref.c: Likewise.
50472         * sunrpc/xdr_sizeof.c: Likewise.
50473         * sunrpc/xdr_stdio.c: Likewise.
50475         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
50476         handling.
50478 2010-08-19  Andreas Schwab  <schwab@redhat.com>
50480         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
50482 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
50484         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
50485         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
50486         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
50487         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
50488         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
50489         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
50490         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
50491         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
50492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
50493         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
50494         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
50495         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
50496         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
50497         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
50499 2010-07-26  Anton Blanchard  <anton@samba.org>
50501         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
50502         * malloc/arena.c (heap_trim): Likewise.
50504 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
50506         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
50507         here.  Not...
50508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
50509         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
50511 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
50513         * sysdeps/i386/elf/Makefile: New file.
50515 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50517         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
50518         from fanotify_init.
50519         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
50520         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50522 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
50524         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
50525         of strncasecmp_l.
50526         * sysdeps/multiarch/strcmp.S: Likewise.
50528 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
50530         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50531         strncase_l-nonascii.
50532         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50533         Add strncase_l-ssse3.
50534         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
50535         * sysdeps/x86_64/strcmp.S: Likewise.
50536         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
50537         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
50538         * sysdeps/x86_64/strncase.S: New file.
50539         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
50540         * sysdeps/x86_64/strncase_l.S: New file.
50541         * string/Makefile (strop-tests): Add strncasecmp.
50542         * string/test-strncasecmp.c: New file.
50544         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
50545         warning.
50547         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
50548         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
50550 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
50552         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
50554 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
50556         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
50557         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
50558         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
50560 2010-05-01  Alan Modra  <amodra@gmail.com>
50562         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
50563         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
50564         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
50565         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
50566         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
50567         tidying.  Don't tail-call __sigjmp_save for static lib.
50568         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
50569         save location.
50570         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
50571         (CALL_MCOUNT): Add eh info, and nop after bl.
50572         (TAIL_CALL_SYSCALL_ERROR): New macro.
50573         (PSEUDO_RET): Use it.
50574         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50575         Correct save location of integer regs and cr.
50576         (_dl_profile_resolve): Correct cr save location.  Delete nops
50577         after bl when SHARED.  Reduce cfi size a little by better
50578         placement of cfi directives.
50579         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
50580         make a stack frame.  Instead use parm save area as a temp.
50581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
50582         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
50583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50584         Don't make a stack frame for parent, use parm save area.
50585         Increase child stack frame to 112 bytes.  Don't save unused reg,
50586         and adjust reg usage.  Set up cfi on error recovery and
50587         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
50588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50589         (__makecontext): Add dummy nop after jump to exit.
50590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
50591         Use correct parm save area and cr save, reduce stack frame.
50592         Correct cfi for possible PSEUDO_RET frame setup.
50593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
50594         Branch to local label emitted by PSEUDO_RET rather than
50595         __syscall_error.
50597 2010-08-12  Andreas Schwab  <schwab@redhat.com>
50599         [BZ #11904]
50600         * locale/programs/locale.c (print_assignment): New function.
50601         (show_locale_vars): Use it.
50603 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
50605         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
50606         field.
50607         (struct statfs64): Likewise.
50608         (_STATFS_F_FLAGS): Define.
50609         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
50610         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50611         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
50612         (ST_VALID): Define locally.
50613         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
50614         __statvfs_getflags, use the provided value.
50615         * sysdeps/unix/sysv/linux/kernel-features.h: Define
50616         __ASSUME_STATFS_F_FLAGS.
50618         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
50620         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
50621         Add sys/fanotify.h.
50622         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
50623         fanotify_mask for GLIBC_2.13.
50624         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
50625         fanotify_init and fanotify_mark.
50626         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
50627         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
50629         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
50630         Add prlimit.
50631         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
50632         prlimit64 for GLIBC_2.13.
50633         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
50634         prlimit64.
50635         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
50636         syscall.
50637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
50638         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50639         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
50640         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
50641         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
50642         add prlimit alias.
50643         * sysdeps/unix/sysv/linux/prlimit.c: New file.
50645         [BZ #11903]
50646         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
50647         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
50649         * nss/Makefile: Add rules to build and run tst-nss-test1.
50650         * shlib-versions: Add entry for libnss_test1.
50651         * nss/nss_test1.c: New file.
50652         * nss/tst-nss-test1.c: New file.
50654         * nss/nsswitch.c (__nss_database_custom): Define new variable.
50655         (__nss_configure_lookup): Set appropriate entry in
50656         __nss_configure_lookup to true.
50657         * nss/nsswitch.h: Define enum with indeces of databases in
50658         databases and __nss_database_custom arrays.  Declare
50659         __nss_database_custom.
50660         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
50661         to avoid using nscd when custom rules are installed.
50662         * nss/getXXbyYY_r.c: Likewise.
50663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50665         * nss/nss_files/files-parse.c: Whitespace fixes.
50667 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
50669         [BZ #11883]
50670         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
50671         * posix/fnmatch_loop.c: Likewise.
50673 2010-07-17  Andi Kleen  <ak@linux.intel.com>
50675         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
50676         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
50677         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
50678         * Versions.def [GLIBC_2.13]: Add.
50680 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
50682         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50683         Also fail if tpwd after pwuid call is NULL.
50685 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50687         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
50688         when converting to ms.
50690 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50692         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
50693         EOPNOTSUPP errors with ENOTTY.
50694         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
50695         EOPNOTSUPP errors with ENOTTY.
50697 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
50699         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
50700         Add strcasecmp_l-ssse3.
50701         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
50702         strcasecmp.
50703         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
50704         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
50705         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
50707 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
50709         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
50711         * string/Makefile (strop-tests): Add strcasecmp.
50712         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
50713         strcasecmp_l-nonascii.
50714         (gen-as-const-headers): Add locale-defines.sym.
50715         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
50716         * sysdeps/x86_64/strcasecmp.S: New file.
50717         * sysdeps/x86_64/strcasecmp_l.S: New file.
50718         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
50719         * sysdeps/x86_64/locale-defines.sym: New file.
50720         * string/test-strcasecmp.c: New file.
50722         * string/test-strcasestr.c: Test both ends of the range of characters.
50723         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
50725 2010-07-29  Roland McGrath  <roland@redhat.com>
50727         [BZ #11856]
50728         * manual/locale.texi (Yes-or-No Questions): Fix example code.
50730 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
50732         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
50733         for ld.so.
50735 2010-07-27  Andreas Schwab  <schwab@redhat.com>
50737         * manual/memory.texi (Malloc Tunable Parameters): Document
50738         M_PERTURB.
50740 2010-07-26  Roland McGrath  <roland@redhat.com>
50742         [BZ #11840]
50743         * configure.in (-fgnu89-inline check): Set and substitute
50744         gnu89_inline, not libc_cv_gnu89_inline.
50745         * configure: Regenerated.
50746         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
50748 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
50750         * string/test-strnlen.c: New file.
50751         * string/Makefile (strop-tests): Add strnlen.
50752         * string/tester.c (test_strnlen): Add a few more test cases.
50753         * string/tst-strlen.c: Better error reporting.
50755         * sysdeps/x86_64/strnlen.S: New file.
50757 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
50759         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
50760         lower-latency instructions.
50762 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
50764         * string/test-strcasestr.c: New file.
50765         * string/test-strstr.c: New file.
50766         * string/Makefile (strop-tests): Add strstr and strcasestr.
50767         * string/str-two-way.h: Don't undefine MAX.
50768         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
50770 2010-07-21  Andreas Schwab  <schwab@redhat.com>
50772         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50773         strcasestr-nonascii.
50774         (CFLAGS-strcasestr-nonascii.c): Define.
50775         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
50776         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
50777         Remove unused attribute.
50779 2010-07-20  Roland McGrath  <roland@redhat.com>
50781         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
50782         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
50783         ld.so.cache was broken.  With it, there is no way to disable dsocaps
50784         like LD_HWCAP_MASK can disable hwcaps.
50786 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50788         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
50790 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
50792         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
50793         call in strcasestr.
50794         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
50795         __strcasestr_sse42_nonascii.
50796         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
50797         strcasestr-nonascii.c.
50798         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
50800 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
50802         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
50803         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
50804         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
50805         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
50807 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
50809         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
50810         fcntl.
50812 2010-07-06  Andreas Schwab  <schwab@redhat.com>
50814         [BZ #11577]
50815         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
50816         dl_signal_cerror.
50818 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
50820         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
50821         _PC_PIPE_BUF using F_GETPIPE_SZ.
50823 2010-07-05  Roland McGrath  <roland@redhat.com>
50825         * manual/arith.texi (Rounding Functions): Fix rint description
50826         implicit in round description.
50828 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
50830         * elf/Makefile: Fix linking for a few tests to make recent linker
50831         happy.
50833 2010-06-30  Andreas Schwab  <schwab@redhat.com>
50835         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50836         $(common-objpfx)libc_nonshared.a.
50838 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
50840         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
50841         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
50842         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50843         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50844         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
50845         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
50846         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50847         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
50849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
50850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
50851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
50852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
50853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
50854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
50855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
50856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
50857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
50858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
50859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
50860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
50861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
50862         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
50863         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
50864         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
50865         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
50866         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
50867         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
50868         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
50869         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
50870         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
50871         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
50872         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
50873         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
50874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
50875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
50876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
50877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
50878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
50879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
50880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
50881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
50882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
50883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
50884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
50885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
50886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
50887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
50889 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
50891         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
50892         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
50893         * string/memmove.c (memmove): Renamed to ...
50894         (MEMMOVE): ...this.  Default to memmove.
50895         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
50896         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
50897         (END_CHK): Define.
50898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50899         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
50900         mempcpy-ssse3-back memmove-ssse3-back.
50901         * sysdeps/x86_64/multiarch/bcopy.S: New file .
50902         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
50903         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
50904         * sysdeps/x86_64/multiarch/memcpy.S: New file.
50905         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
50906         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
50907         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
50908         * sysdeps/x86_64/multiarch/memmove.c: New file.
50909         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
50910         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
50911         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
50912         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
50913         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
50914         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
50915         Define.
50916         (index_Fast_Copy_Backward): Define.
50917         (HAS_ARCH_FEATURE): Define.
50918         (HAS_FAST_REP_STRING): Define.
50919         (HAS_FAST_COPY_BACKWARD): Define.
50921 2010-06-21  Andreas Schwab  <schwab@redhat.com>
50923         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
50924         Restore proper fallback handling.
50926 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
50928         [BZ #11701]
50929         * posix/group_member.c (__group_member): Correct checking loop.
50931         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
50932         OOM in getpwuid_r correctly.  Return error number when the caller
50933         should return, otherwise -1.
50934         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
50935         call returning > 0 value.
50936         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
50938 2010-06-07  Andreas Schwab  <schwab@redhat.com>
50940         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
50941         libc_nonshared.a from targets in modules-names.
50943 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
50945         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
50946         requires it.
50948 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
50950         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
50951         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
50952         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
50953         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
50955 2010-06-02  Andreas Schwab  <schwab@redhat.com>
50957         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
50959 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
50961         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
50962         and F_GETPIPE_SZ.
50963         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50964         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50965         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50967         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50968         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
50970 2010-06-14  Roland McGrath  <roland@redhat.com>
50972         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
50974 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
50976         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
50977         __REDIRECT followed by __THROW.
50978         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
50979         * posix/getopt.h (getopt): Likewise.
50981 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
50983         * hurd/lookup-at.c (__file_name_lookup_at): Accept
50984         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
50985         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
50986         in AT_FLAGS.
50987         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
50988         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
50990 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
50992         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
50994 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
50996         [BZ #11640]
50997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50998         Properly check family and model.
51000 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
51002         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51004 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
51006         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51008 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
51010         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51011         symbol reference.
51013 2010-05-19  Andreas Schwab  <schwab@redhat.com>
51015         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51016         symbol reference.
51018 2010-05-21  Andreas Schwab  <schwab@redhat.com>
51020         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51021         and internal_recvmmsg.
51022         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51023         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51024         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51025         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51027         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51028         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51029         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51031 2010-05-20  Andreas Schwab  <schwab@redhat.com>
51033         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51035 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
51037         POWER7 optimizations.
51038         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51039         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51041 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
51043         * version.h: Update for 2.13 development version.
51045 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
51047         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51048         exceptions.  Return 0.
51050 2010-05-07  Roland McGrath  <roland@redhat.com>
51052         * elf/ldconfig.c (main): Add a const.
51054 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
51056         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51057         (args_options): Add no-idn option.
51058         (ahosts_keys_int): Add idn_flags to ai_flags.
51059         (parse_option): Handle 'i' option to clear idn_flags.
51061         * malloc/malloc.c (_int_free): Possible race in the most recently
51062         added check.  Only act on the data if no current modification
51063         happened.
51065 See ChangeLog.17 for earlier changes.